html {
    scroll-snap-type: y mandatory;
    /* scroll-snap-type: y proximity; */
}
* {
    box-sizing: border-box;
}
body {
    margin: 0;
}
p {
    margin: 0;
}
#container {
    background-color: black;
    font-family: NittiNormal, sans-serif;
}
.swiper {
    width: 100%;
    height: auto;
    cursor: pointer;
}
@media (min-width: 1000px) {
    .swiper {
        height: 100vh;
    }
}
.swiper-slide img {
    height: 100%;
    display: block;
}
.swiper-slide.mobile img {
    object-fit: contain;
    object-position: top;
    width: 100%;
    /* height: 90%; */
}
.swiper-slide.desktop img {
    object-fit: cover;
    width: auto;
}
.swiper-slide {
    width: auto !important;
}
.swiper-slide.mobile {
    max-width: 100%;
    display: flex;
    flex-direction: column-reverse;
}
.swiper-slide.desktop {
    display: none;
}
@media (min-width: 1000px) {
    .swiper-slide.mobile {
        display: none;
    }
    .swiper-slide.desktop {
        display: flex;
    }
}
.swiper-slide.mobile .swiperText {
    hyphens: auto;
}
.project {
    /* scroll-snap-align: center; */
    scroll-snap-align: start;
    position: relative;
    margin-bottom: 20px;
}
#header {
    position: fixed;
    top: 0px;
    padding-top: 8px;
    left: 0px;
    z-index: 2;
    display: flex;
    width: calc(100% - 24px);
    width: 100%;
    justify-content: space-between;
    gap: 10px 45px;
    font-size: 32px;
    color: white;
    color: #f0f0f0;
    mix-blend-mode: difference;
    flex-wrap: wrap;
}
#header.black {
    mix-blend-mode: unset;
    background-color: black;
}
@media (min-width: 1000px) {
    #header {
        top: 30px;
        left: 20px;
        flex-wrap: nowrap;
        width: calc(100% - 40px);
    }
}
#linkHeader {
    display: flex;
    gap: 45px;
    padding: 0 12px;
    margin-left: calc(100% - 250px);
}
#header a {
    color: white;
    color: #f0f0f0;
    text-decoration: none;
}
@media (min-width: 1000px) {
    #linkHeader {
        margin-left: 0;
    }
}
#title {
    padding: 0 12px;
}
#projectHeader {
    flex-basis: 30%;
    font-size: 18px;
    /* color: #dcdcdc; */
    order: 3;
    margin-left: 42px;
    margin-right: 42px;
    flex-grow: 1;
    hyphens: auto;
}
#projectHeader.hidden {
    display: none;
}
@media (min-width: 1000px) {
    #projectHeader {
        flex-basis: 40%;
        order: initial;
        margin-left: 0px;
        flex-grow: 0;
        margin-right: 0;
        font-size: 25px;
        line-height: 30px;
        hyphens: none;
    }
}
.projectDescription {
    display: none;
}

#mobileMenu {
    display: none;
    flex-direction: column;
    background-color: black;
    flex-basis: 100%;
    border-bottom: 1px solid white;
}
#mobileMenu.visible {
    display: flex;
}
#mobileMenu a {
    color: white;
    color: #f0f0f0;
    padding: 20px 42px;
    border-top: 1px solid white;
    text-decoration: none;
}
.swiperTextContainer {
    margin: 150px 0 0 12px;
    height: calc(100vh - 170px);
    width: calc(100vw - 40px);
    box-sizing: border-box;
}
@media (min-width: 1000px) {
    .swiperTextContainer {
        margin: 150px 0 0 20px;
    }
}
.swiperText {
    color: white;
    color: #dcdcdc;
    display: inline-block;
    word-break: break-word;
    max-width: 100%;
    max-height: 100%;
    font-family: NittiGroteskNormal, sans-serif;
    line-height: 110%;
}
.desktopElement {
    display: none;
}
.mobileElement {
    display: flex;
}
@media (min-width: 1000px) {
    .desktopElement {
        display: block;
    }
    .mobileElement {
        display: none !important;
    }
}
#burgerMenu {
    display: flex;
    gap: 7px;
    width: 40px;
    flex-direction: column;
    margin-top: 8px;
    cursor: pointer;
}
.burgerLine {
    border-top: 2px solid white;
}
.burgerLine.hidden {
    display: none;
}
.closeLine {
    display: none;
    border-top: 2px solid white;
    transform: rotate(45deg) translateY(6px) translateX(10px);
}
.closeLine:last-of-type {
    transform: rotate(-45deg) translateY(5px);
}
.closeLine.visible {
    display: block;
}
#about {
}
#about .text {
    color: white;
    color: #f0f0f0;
    font-size: 18px;
    /* min-height: 100vh; */
    /* scroll-snap-align: start; */
    padding-top: 3em;
}
#about .text a {
    color: white;
}
#titleText {
    line-height: normal !important;
}
#about .text p {
    margin-bottom: 1em;
}
@media (min-width: 1000px) {
    #about .text {
        font-size: 25px;
        line-height: 32px;
    }
    #titleText {
        padding-top: 50vh !important;
    }
}
#about #title {
    font-size: 200px;
    padding-left: 10vw;
    margin-top: -15vh;
    font-family: NittiBold;
    display: none;
}
@media (min-width: 1000px) {
    #about #title {
        display: block;
    }
}
#about #subTitle {
    padding-left: 18vw;
    display: flex;
    flex-direction: column;
}
@media (min-width: 1000px) {
    #about #subTitle {
        padding-left: 40vw;
    }
}
#about .text.grid {
    margin-left: 12px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1em;
}
@media (min-width: 1000px) {
    #about .text.grid {
        grid-template-columns: 1fr 1fr;
        margin-left: 10vw;
    }
}
#overlay {
    width: 100vw;
    height: 100vh;
    width: 100dvw;
    height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    font-size: 20vw;
    font-family: NittiBold;
    overflow: hidden;
    transition: background-color 500ms;
}
#overlay.transparent {
    background-color: rgba(0, 0, 0, 0);
}
#overlay > img {
    max-width: 90vw;
    max-height: 90vh;
    transition: opacity 500ms;
}
#overlay.transparent > img {
    opacity: 0;
}
#overlay > img.desktop {
    display: none;
}
#overlay > img.mobile {
    display: block;
}
@media (min-width: 1000px) {
    #overlay > img.desktop {
        display: block;
    }
    #overlay > img.mobile {
        display: none;
    }
}
