/* -------------------- HOME.HTML -------------------- */
/* ---------- HERO SECTION ---------- */
#hero {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
}
/* ----- HERO CONTAINER ----- */
#heroContainer {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
}
/* CONTAINER - TRACKER CONTAINER */
#trackerContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}
/* TITLE */
#heroTitle {
    color:var(--darkGrey);
    font-weight: 900;
    width: fit-content;
    font-size: 235px;
}
#heroTitle .line2 {
    font-size: .410em;
}
#heroTitle .matteContainer:has(.line2) {
  transform: translate(.05em,-0.15em);
}
/* LOGO RIVE */
#heroTracker{
    height: 170px;
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%,-50%);
    filter: drop-shadow(var(--dropShadow));
    cursor: pointer;
}

/* ---------- WORKS SECTION ---------- */
#works {
    height: 100%;
    width: 100%;
    display: flex;
    background-color: var(--darkGrey);
    flex-direction: column;
    border-radius: var(--bigRadius);
    padding: var(--mainPadding) 0;
}
/* ----- SCROLL AREA ----- */
#sliderScrollArea {
    width: 100%;
    height: 150vw;
}
/* SLIDER */
#sliderContainer {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    top: 0;
}
#slider {
    height: 100%;
    display: flex;
    gap: var(--mainPadding);
    position: relative;
    will-change: transform;
    padding: var(--gap1) var(--mainPadding);
}
/* PROJECT */
.project {
    padding: 40px;
    position: relative;
    width: 800px;
    height: 100%;
    flex-shrink: 0;
    border-radius: var(--smallRadius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    color: white;
    justify-content: end;
    cursor: pointer;
}

.projectName {
 font-weight: 900;
 font-size: 48px;
}
.projectInfo {
 font-weight: 400;
 font-size: 28px;
}
.projectImage {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
.projectImage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.1);
    transition: all 0.4s ease-in-out;
}

.project:hover .projectImage img {
    transform: scale(1.2);
    transition: all 0.4s ease-in-out;
}

/* ----- BUTTON CONTAINER ----- */
#buttonContainer {
    display: flex;
    justify-content: end;
    padding: 0 var(--mainPadding);
}

/* ---------- ABOUT SECTION ---------- */
#about {
    width: 100%;
    padding: calc(var(--mainPadding) * 2) var(--mainPadding);
    display: flex;
    align-items: center;
}
/* ----- ABOUT CONTAINER ----- */
#aboutContainer {
    width: 100%;
    height: 100%;
    position: relative;
    height: fit-content;
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: var(--gap1);
    position: relative;
}
/* PICTURE */
#aboutPicture {
    width: 100%;
    aspect-ratio: .95;
    overflow: hidden;
    border-radius: var(--smallRadius);
    will-change: transform, opacity;
    transform: translateZ(0);
}
#aboutPicture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* TEXTS */
#aboutTexts {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: var(--gap1);
}
#aboutTexts .textsContainer {
    display: flex;
    flex-direction: column;
    gap: var(--gap2);
}
#aboutTexts .button {
    position: absolute;
    bottom: 0;
    right: 0;
}

/* -------------------- RESPONSIVE -------------------- */
/* ---------- TOUCH DEVICES ---------- */
@media (hover: none), (pointer: coarse) {
  #sliderContainer {
    height: 100svh;
  }
}

/* ---------- MORE 1700px ---------- */
@media (min-width: 1700px) {
    /* ----- HERO SECTION ----- */
    /* TITLE */
    /* ----- WORKS SECTION ----- */
    .project {
        padding: 50px;
        width: 900px;
    }
    .projectName {
        font-size: 55px;
    }
    .projectInfo {
        font-size: 33px;
    }

}
/* ---------- MORE 1570px ---------- */
@media (min-width: 1570px) and (max-width: 1700px) {
    /* ----- HERO SECTION ----- */
    /* TITLE */
    #heroTitle {
        font-size: 300px;
    }
    /* LOGO RIVE */
    #heroTracker{
        height: 210px;
    }

    /* ----- WORKS SECTION ----- */
    .project {
        padding: 45px;
        width: 850px;
    }
    .projectName {
        font-size: 52px;
    }
    .projectInfo {
        font-size: 30px;
    }

}
/* ---------- LESS 1280px ---------- */
@media (max-width: 1280px) {
    /* ----- HERO SECTION ----- */
    /* TITLE */
    #heroTitle {
        font-size: 215px;
    }
    /* LOGO RIVE */
    #heroTracker{
        height: 160px;
    }

    /* ----- WORKS SECTION ----- */
    #sliderScrollArea {
    height: 250vw;
    }
    .project {
        width: 740px;
    }
    .projectName {
        font-size: 44px;
    }
    .projectInfo {
        font-size: 25px;
    }

}

/* ---------- LESS 1135px ---------- */
@media (max-width: 1135px) {
    /* ----- ABOUT SECTION ----- */
    #about {
        height: fit-content;
        min-height: 0px;
        padding: calc(var(--mainPadding) * 1.5) var(--mainPadding);
    }
    /* ABOUT CONTAINER */
    #aboutContainer {
        height: 100%;
        flex-direction: column-reverse;
        gap: var(--gap1);
        position: relative;
    }
    /* ABOUT PICTURE */
    #aboutPicture {
        width: 100%;
        height: 100%;
        aspect-ratio: 1.3;
        overflow: hidden;
        border-radius: var(--smallRadius);
    }
    #aboutTexts .button {
    position: relative;
    }

    #sliderScrollArea {
        height: 400vw;
    }

}

/* ---------- LESS 750px ---------- */
@media (max-width: 750px) {
    /* ----- HERO SECTION ----- */
        /* TITLE */
        #heroTitle {
            font-size: 200px;
        }
        /* LOGO RIVE */
        #heroTracker{
            height: 150px;
        }

        /* ----- WORKS SECTION ----- */
        .project {
            padding: 30px;
            width: 600px;
        }
        .projectName {
            font-size: 40px;
        }
        .projectInfo {
            font-size: 22px;
        }
}

/* ---------- LESS 660px ---------- */
@media (max-width: 660px) {
    /* ----- HERO SECTION ----- */
        /* TITLE */
        #heroTitle {
            font-size: 175px;
        }
        /* LOGO RIVE */
        #heroTracker{
            height: 125px;
        }

        /* ----- WORKS SECTION ----- */
        .project {
            padding: 25px;
            width: 540px;
        }
        .projectName {
            font-size: 35px;
        }
        .projectInfo {
            font-size: 21px;
        }
}

/* ---------- LESS 550px ---------- */
@media (max-width: 550px) {
        /* ----- WORKS SECTION ----- */
        .project {
            width: 460px;
        }
}

/* ---------- LESS 480px ---------- */
@media (max-width: 480px) {
        /* ----- HERO SECTION ----- */
        /* TITLE */
        #heroTitle {
            font-size: 150px;
        }
        /* LOGO RIVE */
        #heroTracker{
            height: 110px;
        }

        /* ----- WORKS SECTION ----- */
        #sliderScrollArea {
            height: 500vw;
        }
        .project {
            padding: 20px;
            width: 380px;
        }
        .projectName {
            font-size: 30px;
        }
        .projectInfo {
            font-size: 20px;
        }
}

/* ---------- LESS 405px ---------- */
@media (max-width: 405px) {
        /* ----- HERO SECTION ----- */
        /* TITLE */
        #heroTitle {
            font-size: 130px;
        }
        /* LOGO RIVE */
        #heroTracker{
            height: 95px;
        }

        /* ----- WORKS SECTION ----- */
        .project {
            width: 320px;
        }
        .projectName {
            font-size: 27px;
        }
        .projectInfo {
            font-size: 19px;
        }
}

/* ---------- LESS 335px ---------- */
@media (max-width: 335px) {
        /* ----- HERO SECTION ----- */
        /* TITLE */
        #heroTitle {
            font-size: 115px;
        }
        /* LOGO RIVE */
        #heroTracker{
            height: 80px;
        }

        /* ----- WORKS SECTION ----- */
        .project {
            padding: 15px;
            width: 270px;
        }
        .projectName {
            font-size: 25px;
        }
        .projectInfo {
            font-size: 18px;
        }
}