* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
  --color-dark: #2E2E2B;
  --color-light: #ECF2F1;
  --color-blue: #16B1BC;
}

html {
  scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    position: relative;
    cursor: none;
    background-color: white;
    max-width: 1512px;
    margin-inline: auto;
}

a {
    text-decoration: none;
    cursor: none;
}

@font-face {
  font-family: "chayenne regular";
  src: url("../fonts/CheyenneSans-Regular.woff2") format('woff2');
}

@font-face {
  font-family: "chayenne bold";
  src: url("../fonts/CheyenneSans-Bold.woff2") format('woff2');
}

@font-face {
  font-family: "inter regular";
  src: url("../fonts/Inter_24pt-Regular.woff2") format('woff2');
}

@font-face {
  font-family: "inter bold";
  src: url("../fonts/Inter_24pt-Bold.woff2") format('woff2');
}

@font-face {
  font-family: "licorice";
  src: url("../fonts/Licorice-Regular\ \(1\).woff2") format('woff2');
}

h1 {
    font-size: 3rem;
    font-family: "chayenne bold";
    color: var(--color-dark);

    @media (width <= 768px) {
            font-size: 2rem;
        }
}

h2 {
    font-size: 2rem;
    font-family: "chayenne regular";
    color: var(--color-dark);
    margin-bottom: 24px;

        @media (width <= 768px) {
            font-size: 1.25rem;
        }
}

h3 {
    font-size: 1.5rem;
    font-family: "inter regular";
    color: var(--color-dark);

        @media (width <= 768px) {
            font-size: 1rem;
        }
}

h4 {
    font-family: "licorice";
    font-size: 3rem;
    font-weight: 100;
    color: var(--color-dark);

        @media (width <= 768px) {
            font-size: 2rem;
        }
}

h6 {
    font-size: 0.875rem;
    font-family: "inter regular";
    color: var(--color-dark);

        @media (width <= 768px) {
            font-size: 0.5rem;
        }
}

p {
    font-size: 1rem;
    font-family: "inter regular";
    line-height: 2rem;
    color: var(--color-dark);

        @media (width <= 768px) {
            font-size: 0.875rem;
            line-height: 1.78rem;
        }
}

.img100 {
    width: 100%;
}

/*-------------- CURSOR --------------*/

.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  will-change: transform, width, height, background-color;
  transition: width 0.2s ease, height 0.2s ease, background-color 0.2s ease, border-color 0.2s ease; 
  background-color: #ffffff;
  mix-blend-mode: difference; 
}
.cursor-dot {
  width: 8px;
  height: 8px;
}
.cursor-ring {
  width: 40px;
  height: 40px;
  background-color: transparent;
  border: 1px solid #ffffff; 
  background-repeat: no-repeat;
  background-position: center;
  background-size: 0%;
}

.cursor-dot.expand {
  width: 0px;
  height: 0px;
}

.cursor-ring.expand {
  width: 50px;
  height: 50px;
  background-color: white;
}

.cursor-dot.arrow-mode {
  width: 0px;
  height: 0px;
}

.cursor-ring.arrow-mode {
  width: 60px;
  height: 60px;
  border-color: white;
  background-color: rgba(255, 255, 255, 0.9);
  background-size: 45%;
  background-image: url("../images/arrow-up-right.svg");
}

/*-------------- NAVIGATION --------------*/

.navbar {
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    margin: 0 auto;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    max-width: 720px;
    background-color: var(--color-dark);
    border-radius: 50px;
    z-index: 5;
    opacity: 0.9;

        @media (width <= 640px) {
            /* padding: 15px 20px; */
        }
}

.nav-links {
    display: flex;
    gap: 40px;

        @media (width <= 640px) {
            gap: 10px;
        }
}

.nav-links a {
    text-decoration: none;
    color: var(--color-light);
    font-family: "chayenne regular";
    font-size: 1rem;
    text-wrap: nowrap;
    padding: 8px 15px;
    border-radius: 25px;

        @media (width <= 640px) {
            font-size: 0.875rem;
            padding: 5px 0px;
        }
}

.nav-links a:hover {
    background-color: var(--color-light);
    opacity: 0.9;
    color: var(--color-dark);
}

.nav-links li {
    list-style: none;
}

/*-------------- FOOTER --------------*/

footer {
    background-color: var(--color-dark);
    margin-top: 75px;

        @media (width <= 640px) {
            margin-top: 50px;
        }
}

.footer-content {
    display: flex;
    align-items: center;
    margin: 0 auto;
    padding: 30px 50px;
    gap: 60px;

        @media (width <= 1440px) {
            gap: 30px;
        }

        @media (width <= 640px) {
            gap: 20px;
            align-items: start;
            flex-wrap: wrap;
            padding: 25px 15px;
        }
}

.footer-title {
    color: white;
    font-family: "chayenne regular";
    font-size: 2rem;

        @media (width <= 1440px) {
            font-size: 1.2rem;
        }
}

.footer-arrow {
    width: 12%;

        @media (width <= 640px) {
            width: 40%;
        }
}

.footer-contact {
    display: flex;
    align-items: center;
    gap: 20px;

        @media (width <= 640px) {
            gap: 10px;
        }
}

.footer-contact-email {
    width: 10%;
}

.footer-contact-linkedin {
    width: 14%;
}

.footer-contact-text {
    font-family: "licorice";
    text-wrap: nowrap;
    font-size: 1.8rem;
    text-decoration: underline;
    text-underline-offset: 10px;
    text-decoration-thickness: 1px;
    color: white;

        @media (width <= 1440px) {
            font-size: 1.4rem;
        }

        @media (width <= 640px) {
            font-size: 1.2 rem;
        }
}

/*-------------- INDEX PAGE --------------*/

.index-bg {
    background: radial-gradient(circle 30rem at top right, var(--color-blue), var(--color-light));
}

.hero {
    display: block;
    margin: 0 auto;
    width: 60%;
    padding-top: 150px;
    margin-bottom: 86px;

        @media (width <= 640px) {
            width: 90%;
            margin-bottom: 150px;
        }
}

.grid-col4 {
    display: grid;
    justify-content: center;
    grid-template: 1fr / auto auto auto auto;
    justify-content: space-between;
    gap: 50px;
    margin: 0 50px;

        @media (width <= 640px) {
            grid-template: 1fr / auto auto;
            gap: 10px;
            margin: 0 10px;
        }
}

.item-col4 {
    font-family: "inter regular";
    font-size: 1rem;
    color: var(--color-dark);
    line-height: 1.75rem;

        @media (width <= 640px) {
            font-size: 0.75rem;
            line-height: 1rem;
            padding-left: 5px;
            border-left: 1px solid var(--color-dark);
        }
}

.bold {
    font-family: "inter bold";
}

.main-project {
    width: 100%;
}

.title-licorice {
    color: var(--color-blue);
    position: relative;
    top: -30px;
    left: 100px;
    width: 200px;


        @media (width <= 640px) {
            left: 40px;
            top: -20px;
        }
}

.projects {
    margin: 66px;
    padding-top: 30px;

        @media (width <= 1440px) {
            margin: 30px;
        }

        @media (width <= 640px) {
            margin: 15px;
        }
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;

        @media (width <= 640px) {
            grid-template: 1fr / auto;
            gap: 10px;
        }

        @media (width <= 1440px) {
            gap: 20px;
        }
}

.projects-item {
    position: relative;
    overflow: hidden;
}

.projects-item::after {
    content: "";
    position: absolute;
    top: 10px; left: 10px; right: 10px; bottom: 10px;
    border-radius: 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.projects-item:hover::after {
  opacity: 1;

    @media (width <= 640px) {
        opacity: 0;
    }
}

.projects-item img{
    width: 100%;
    object-fit: cover;
    display: block;
}

.projects-content {
    position: absolute;
    bottom: 20px; 
    left: 40px;
    right: 40px;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;

        @media (width <= 1440px) {
            bottom: 10px;
            left: 20px;
            right: 20px;
        }

        @media (width <= 640px) {
            opacity: 1;
            position: unset;
            padding-top: 20px;
        }
}

.projects-item:hover .projects-content {
    opacity: 1;
}

.projects-item h3 {
    color: white;
    margin-bottom: 15px;

        @media (width <= 1440px) {
            font-size: 1.25rem;
        }

        @media (width <= 640px) {
            color: var(--color-dark);
            margin-bottom: 15px;
        }
}

.tags {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;

        @media (width <= 1440px) {
            margin-bottom: 0px;
        }

        @media (width <= 640px) {
            gap: 5px;
            margin-bottom: 10px;
        }
}

.tag-index-p {
    line-height: 1.25rem;
    border: 1px solid white;
    border-radius: 15px;
    color: white;
    padding: 5px 10px;

        @media (width <= 1440px) {
            font-size: 0.75rem;
            padding: 3px 8px;
        }

        @media (width <= 640px) {
            color: var(--color-dark);
            border: 1px solid var(--color-dark);
            padding: 0 8px;
        }
}

.projects-info {
    display: flex;
    gap: 30px;
}

.projects-info p {
    color: white;

        @media (width <= 1440px) {
            font-size: 0.75rem;
        }

        @media (width <= 640px) {
            color: var(--color-dark);
        }
}

.about-me {
    padding: 0 15px;
}

.about-me-text {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
    padding-top: 105px;
}

.about-me-I {
    font-family: "licorice";
    font-size: 5rem;
}

.about-me-img {
    display: block;
    margin: 0 auto;
    width: 60%;
    padding-top: 115px;

        @media (width <= 640px) {
            width: 100%;
        }
}

/*-------------------- CASE STUDIES --------------------*/

.case-study-body {
    background-color: var(--color-light);
}

.case-study-info {
    margin: 77px 50px 34px 50px;

    @media (min-width: 1513px) {
        margin: 77px 0px 34px 0px;
    }

    @media (width <= 768px) {
        margin: 86px 15px 15px 15px;
    }
}

.breadcrumbs-container {
    display: flex;
    gap: 30px;
    margin-bottom: 32px;
}

.case-study-title {
    display: flex;
    gap: 23px;
    align-items: baseline;
    margin-bottom: 17px;

    @media (width <= 640px) {
        margin-bottom: 25px;
        gap: 15px;
        flex-wrap: wrap;
    }
}

.tag-p {
    border: 1px solid var(--color-dark);
    color: var(--color-dark);
    scale: 1;
}

.tag01 {
    animation: tags 1s forwards ease-in-out;
}

.tag02 {
    animation: tags 1s 0.5s forwards ease-in-out;
}

.tag03 {
    animation: tags 1s 1s forwards ease-in-out;
}

.tag04 {
    animation: tags 1s 1.5s forwards ease-in-out;
}

.tag05 {
    animation: tags 1s 2s forwards ease-in-out;
}

@keyframes tags {
    0% {scale: 1;}
    50% {scale: 1.1;}
    100% {scale: 1;}
}

.grid-col4-case-study {
    justify-content: start;
    margin: 0;
    margin-top: 50px;
    gap: 100px;

    @media (width <= 768px) {
        gap: 50px;
    }

    @media (width <= 640px) {
        margin-top: 34px;
        gap: 30px;
    }
}

.squares-container {
    display: grid;
    grid-template-columns: repeat( auto-fit, minmax(250px, 1fr) );
    justify-items: center;
    gap: 46px;
    margin: 0 50px;

    @media (width <= 1024px) {
        gap: 25px;
    }

    @media (width <= 768px) {
        margin: 0 15px;
    }

    @media (width <= 640px) {
        gap: 15px;
    }
}

.square {
    background-color: white;
    border-radius: 75px 25px;
    padding: 25px 35px;
    width: 100%;
    box-shadow: 4px 4px 4px var(--color-dark);
    transition: scale 0.5s ease-in-out;

    @media (width <= 1024px) {
        padding: 35px 35px;
        border-radius: 50px 12.5px;
    }

    @media (width <= 768px) {
        border-radius: 50px 12.5px;
    }
}

.square li {
    font-family: "inter regular";
    font-size: 1rem;
    line-height: 1.7rem;
}

.square:hover {
    scale: 1.09;
}

.square-img {
    display: block;
    margin: 0 auto;
    width: 50%;
    margin-bottom: 24px;

    @media (width <= 768px) {
        width: 40%;
    }
}

.relative-squares {
    position: relative;
    top: 100px;

    @media (width <= 768px) {
        top: 25px;
    }
}

.pagination {
    display: flex;
    gap: 50px;
    justify-content: center;
    margin-top: 75px;
}

.pagination-img {
    width: 70%;
}

/*------------------- MRS WIFE ----------------*/

.fifty-sixty {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    align-items: center;
    overflow: hidden;
    margin: 70px 50px 0px 50px;
    position: relative;

    @media (width <= 768px) {
        margin: 0px 15px 0px 15px;        
        grid-template-columns: repeat(1, 1fr);
        gap: 30px;
    }
}

.fifty-sixty-text {
    grid-column: 1/5;
    grid-row: 1/2;
    z-index: 1;
}

.fifty-sixty-img {
    grid-column: 4/-1;
    grid-row: 1/2;

    @media (width <= 768px) {
        grid-row: 2/3;
    }
}

.wife-poster {
    width: 100%;
}

.wife-logo {
    width: 70%;
    position: absolute;
    top: 400px;
    left: 50%;
    transform: translate(-50%);

    @media (width <= 768px) {
        top: 300px;
    }

    @media (width <= 460px) {
        top: 370px;
    }
}

.wife-quote {
    position: relative;
    left: 0px;
    top: 40px;
    width: 10%;
    z-index: -2;

    @media (width <= 768px) {
        width: 15%;
    }
}

.fifty-fifty {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: white;
    padding: 50px;
    margin: 0 50px;
    border-radius: 25px;
    gap: 100px;
    position: relative;
    top: 80px;

    @media (width <= 768px) {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px;
        margin: 0 15px;
        top: 30px;
    }
}

.wife-screens {
    width: 100%;
}

.wife-process {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 75px 50px;
    gap: 100px;

    @media (width <= 768px) {
        grid-template-columns: 1fr;
        gap: 30px;
        margin: 35px 15px;
        top: 30px;
    }
}

/* --------------------- UNIFY --------------------*/

.unify-quote {
    max-width: 840px;
    margin: 0 auto;
    padding: 100px 15px;
    position: relative;

    @media (width <= 768px) {
        padding: 50px 15px;
    }
}

.unify-quote-img {
    width: 10%;
    position: relative;
    top: 30px;
    left: 2%;
    z-index: -1;
}

.fifty-fifty-unify {
    background-color: var(--color-light);
    padding: 0;
    position: unset;
    margin: 100px 50px;

    @media (width <= 1024px) {
        gap: 25px;
        margin: 50px 50px;
    }

    @media (width <= 768px) {
        gap: 35px;
        margin: 50px 15px;
    }
}

.unify-logo {
    width: 60%;
    margin: 0 auto;
    display: block;
}

.unify-discover {
    background-image: url(../images/unify-discover.png);
    /* background-repeat: no-repeat; */
    background-attachment: fixed;
    background-size: contain;
    height: 430px;

    @media (width <= 768px) {
        height: 200px;
    }
}

/* ---------------------- TAROT -----------------------*/

.tarot-feature-img {
    width: 60%;
    display: block;
    margin: 0 auto;
    position: absolute;
    bottom: 1100px;
    left: 50%;
    transform: translate(-50%);
}

.tarot-video {
    width: 100%;
    margin-top: 75px;
}

.fifty-fifty-tarot {
    margin-bottom: 0;
    margin-top: 25px;
    gap: 0;
}

/* ------------------- GOODREADS -----------------*/

.goodreads-sitemap {
    width: 40%;
    float: right;
    margin: 0 50px 50px 0;
}

.goodreads-improvements {
    clear: both;
    background-image: url(../images/goodreads-bg.png);
    background-size: cover;
    background-repeat: no-repeat;
    padding-top: 120px;
    margin-top: 80px;

    @media (width <= 768px) {
        margin-top: 35px;
    }
}

.goodreads-improvements-h2 {
    color: white; 
    padding: 0 50px;

    @media (width <= 768px) {
        font-size: 2rem;
        padding: 0 15px;
    }
}

.goodreads-quote {
    color: var(--color-dark);
}

.goodreads-quote-h3 {
    text-align: center;
    z-index: 1;
}

.goodreads-mockup {
    width: 70%;
    padding: 50px;
    display: block;
    margin: 0 auto;

    @media (width <= 768px) {
        width: 100%;
        padding: 15px;
    }
}