*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
}

.blob-container {
    background: black;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    pointer-events: none;
}

.blob-container:after {
    content: '';
    width: 100%;
    height: 100vh;
    background: url('images/blobgrain.png');
    background-size: 200px;
    mix-blend-mode: overlay;
    position: absolute;
    top: 0;
    left: 0;
}

.blob-container .blobs {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    overflow: hidden;
}

.blob-container .blobs .blob {
    width: 50%;
    height: 50%;
    border-radius: 100%;
    position: absolute;
    background-color: #404040;
    mix-blend-mode: multiply;
    filter: blur(80px);
}

.blob-container .blobs .blob.a {
    background-color: #404040;
    animation: circular2 10s linear infinite;
}

.blob-container .blobs .blob.b {
    background-color: #404040;
    animation: circular 8s linear infinite;
}

.blob-container .blobs .blob.c {
    animation: circular 20s linear infinite;
}

@keyframes circular {
    0% { transform: translate(0, -150px); }
    25% { transform: translate(150px, 0); }
    50% { transform: translate(0, 150px); }
    75% { transform: translate(-150px, 0); }
    100% { transform: translate(0, -150px); }
}

@keyframes circular2 {
    0% { transform: translate(0, 150px); }
    25% { transform: translate(-150px, 0); }
    50% { transform: translate(0, -150px); }
    75% { transform: translate(150px, 0); }
    100% { transform: translate(0, 150px); }
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-thumb {
    background-color: white;
    border-radius: 0px;
}

::-webkit-scrollbar-track {
    background-color: transparent;
}

scrollbar-width: thin;
scrollbar-color: white transparent;

.grain {
    position: fixed;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    background-position: center;
    z-index: 1;
    pointer-events: none;
}

.grain:after {
    content: "";
    background-image: url("images/grain2.jpg");
    height: 300%;
    width: 300%;
    position: fixed;
    opacity: 0.15;
    animation: animateGrain 8s steps(10) infinite;
}

@keyframes animateGrain {
    0%, 100% { transform: translate(0, 0); }
    10% { transform: translate(-5%, -10%); }
    20% { transform: translate(-15%, -20%); }
    30% { transform: translate(-5%, -10%); }
    40% { transform: translate(-15%, -20%); }
    50% { transform: translate(-5%, -10%); }
    60% { transform: translate(-15%, -20%); }
    70% { transform: translate(-5%, -10%); }
    80% { transform: translate(-15%, -20%); }
    90% { transform: translate(-5%, -10%); }
    100% { transform: translate(-15%, -20%); }
}

:root {
    --circle-color: #f8c996;
    --circle-size: 60px;
    --text-p-size: 30px;
    --text-p-weight: 600;
}

@media (max-width: 768px) {
    :root {
        --text-p-size: 20px;
    }
}

.loader {
    width: 100vw;
    max-width: 100%;
    height: 100vh;
    max-height: 100%;
    background: white;
    position: absolute;
    top: 0;
    z-index: 999;
    animation: disappear .1s forwards;
    animation-delay: 2.9s;
}

@keyframes disappear {
    0% { opacity: 1; }
    100% { opacity: 0; pointer-events: none; display: none; background: transparent; }
}

.loader::after {
    content: '';
    width: 100%;
    height: 0%;
    background: black;
    position: absolute;
    bottom: 0;
    z-index: 1000;
    animation: 3s loader ease-in-out;
}

@keyframes loader {
    0% { height: 0%; }
    100% { height: 100%; }
}

@keyframes restore-scroll {
    0% { overflow-y: hidden; }
    100% { overflow-y: auto; }
}

.loader1, .loader2 {
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    mix-blend-mode: exclusion;
    z-index: 1001;
    transform: translate(-50%, -50%);
    opacity: 0;
}

.loader1 {
    animation: 1s loader-letter infinite;
    animation-iteration-count: 3;
}

.loader2 {
    animation: 1s loader-letter infinite;
    animation-iteration-count: 3;
    animation-delay: .5s;
}

@keyframes loader-letter {
    0% { opacity: 0; transform: translate(-50%, -100%); }
    20% { opacity: 1; transform: translate(-50%, -50%); }
    100% { opacity: 0; transform: translate(-50%, -0%); }
}

html {
    scroll-behavior: auto;
}

body {
    background: black;
    color: white;
    font-family: 'Archivo', sans-serif;
    font-size: var(--text-p-size);
    font-weight: var(--text-p-weight);
    overflow-y: hidden;
    animation: restore-scroll 0.1s forwards;
    animation-delay: 3s;
}

section {
    min-height: 600px;
    height: 100svh;
    width: 100svw;
    max-width: 100%;
    position: relative;
}

.section_one_title {
    opacity: 0;
    transform: translateY(30px);
    position: fixed;
    font-size: 12vw;
    font-weight: 900;
    letter-spacing: -2.1vw;
    mix-blend-mode: difference;
    z-index: 10;
    transition: .5s;
    top: -20px;
    left: 30px;
    animation: .5s reveal-title forwards;
    animation-delay: 3.1s;
}

@keyframes reveal-title {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0px); }
}

.section_one_title.scrolled {
    font-size: 6vw;
    transition: .5s;
    letter-spacing: -1vw;
    top: 0px;
}

@media (max-width: 768px) {
    @keyframes reveal-title-mobile {
        0% { opacity: 0; transform: translate(-50%, 30px); }
        100% { opacity: 1; transform: translate(-50%, 0px); }
    }

    .section_one_title {
        width: 100%;
        display: flex;
        gap: 10px;
        justify-content: center;
        letter-spacing: -3vw;
        font-size: 18vw;
        top: 20px;
        left: 50%;
        transform: translate(-50%, 30px);
        animation: .5s reveal-title-mobile forwards;
        animation-delay: 3.1s;
    }

    .section_one_title > span {
        transform: translatex(-12px);
    }

    .section_one_title.scrolled {
        letter-spacing: -2.5vw;
        font-size: 13vw;
        transform: translate(-50%, 0px);
    }
}

@keyframes animate-type {
    0% { font-variation-settings: "wght" 900, "slnt" 0; }
    80% { font-variation-settings: "wght" 900, "slnt" 0; }
    100% { font-variation-settings: "wght" 100, "slnt" 0; }
}

.section_one_title span {
    font-family: 'Archivo', sans-serif;
    animation: animate-type 2s infinite alternate ease-in-out;
    display: inline-block;
}

.section_one_title span:nth-child(1) { animation-delay: 0s; }
.section_one_title span:nth-child(2) { animation-delay: 0.2s; }
.section_one_title span:nth-child(3) { animation-delay: 0.5s; }
.section_one_title span:nth-child(4) { animation-delay: 0.7s; }
.section_one_title span:nth-child(5) { animation-delay: 0.9s; }

.nav {
    overflow: hidden;
    position: fixed;
    display: flex;
    align-items: center;
    padding: 10px 15px;
    gap: 20px;
    width: 250px;
    bottom: 30px;
    left: 50%;
    transform: translate(-50%, -10px);
    z-index: 9;
    animation: .5s reveal-nav forwards;
    animation-delay: 4.1s;
    opacity: 0;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

@keyframes reveal-nav {
    0% { opacity: 0; transform: translate(-50%, -10px); }
    100% { opacity: 1; transform: translate(-50%, 0px); }
}

.nav:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.nav a {
    position: relative;
    z-index: 2;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.nav a img {
    width: 24px;
    height: 24px;
    pointer-events: none;
    transition: .3s;
    filter: brightness(0) invert(1);
}

.nav a.active img {
    filter: brightness(0);
    transition: .3s;
}

.nav a:hover img {
    filter: brightness(0) !important;
    transition: .3s;
}

.nav:hover .nav a.active:not(:hover) img {
    filter: brightness(0) invert(1) !important;
    transition: .3s;
}

.circle {
    position: absolute;
    top: 50%;
    left: 0;
    width: 68px;
    height: var(--circle-size);
    background: white;
    border-radius: 0;
    transform: translate(0, -50%);
    transition: all 0.3s ease;
    z-index: 1;
}

.section_one_video {
    width: 55svh;
    height: 70svh;
    z-index: 0;
    animation: .5s reveal-video forwards;
    animation-delay: 3.7s;
    opacity: 0;
    top: 50%;
    position: absolute;
    transform: translate(-45%, -50%);
    right: 0;
    overflow: hidden;
}

.section_one_video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes reveal-video {
    0% { opacity: 0; transform: translate(-45%, -50%); }
    100% { opacity: 1; transform: translate(-50%, -50%); }
}

@media (max-width: 768px) {
    .section_one_video {
        width: 75svw;
        height: 65svh;
    }

    @keyframes reveal-video {
        0% { opacity: 0; transform: translate(-5%, -55%); }
        100% { opacity: 1; transform: translate(-5%, -50%); }
    }
}

.section_one_subtitle {
    left: 40%;
    top: 45%;
    position: absolute;
    transform: translateY(-45%);
    animation: .5s reveal-sub forwards;
    animation-delay: 3.4s;
    opacity: 0;
    z-index: 1;
}

@media (max-width: 768px) {
    .section_one_subtitle {
        left: 10%;
    }
}

@keyframes reveal-sub {
    0% { opacity: 0; transform: translateY(-45%); }
    100% { opacity: 1; transform: translateY(-50%); }
}

.word {
    position: relative;
}

.line-mask {
    position: absolute;
    top: 0;
    right: 0;
    background-color: black;
    opacity: 0.8;
    height: 100%;
    width: 100%;
    z-index: 0;
}

.split-word {
    font-size: var(--text-p-size);
}

#bio {
    padding: 50px 0;
    height: unset;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

#bio .container .row .split-word + .split-word {
    margin-top: 50px;
}

#bio .container .row div span {
    color: red;
}

.bio-hidden {
    display: none;
}

.read-more-btn {
    margin-top: 50px;
    cursor: pointer;
    background: transparent;
    color: white;
    font-size: 20px;
    opacity: .8;
}

@media (max-width: 768px) {
    .read-more-btn { font-size: 18px; }
    
    #bio .container .row .split-word:nth-child(even) {
        text-align: right;
    }
}

.read-more-btn:hover {
    opacity: 1;
}

.read-more-btn:active {
    transform: translateY(0);
}

#bio .split-word:not(.bio-hidden) {
    opacity: 0;
    transform: translateY(-40px);
    transition: all 0.6s ease-in-out;
}

#bio .split-word:not(.bio-hidden).visible {
    opacity: 1;
    transform: translateY(0);
}

.download-btn {
    text-decoration:none;
    color:white;
    margin-top: 70px;
    padding: 20px;
    border: 1px solid white;
    letter-spacing: -5px;
    font-weight: 600;
    transition: .5s;
}

@media (max-width: 768px) {
    .download-btn { letter-spacing: -3px; font-size: 18px; }
}

@keyframes animate-btn {
    0% { font-variation-settings: "wght" 400, "slnt" 0; }
    50% { font-variation-settings: "wght" 900, "slnt" 0; }
    100% { font-variation-settings: "wght" 400, "slnt" 0; }
}

.download-btn span {
    display: inline-block;
}

.download-btn:hover {
    background: white;
    color: black;
    transition: .5s;
    cursor: pointer;
}

.gallery-container {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    top: 50%;
    transform: translateY(-50%);
}

.gallery-container .img-container {
    position: absolute;
    width: 20vw;
    height: auto;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

.gallery-container .img-container.visible {
    opacity: 1;
}

.gallery-container .img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.2);
    will-change: transform;
}

.gallery-container .img-container:nth-child(1) { --ty: -38%; left: 7%; top: 50%; transform: translateY(var(--ty)); z-index: 1; }
.gallery-container .img-container:nth-child(2) { --ty: -50%; left: 19%; top: 50%; transform: translateY(var(--ty)); z-index: 2; }
.gallery-container .img-container:nth-child(3) { --ty: -59%; left: 34%; top: 50%; transform: translateY(var(--ty)); z-index: 1; }
.gallery-container .img-container:nth-child(4) { --ty: -28%; right: 33%; top: 50%; transform: translateY(var(--ty)); z-index: 3; }
.gallery-container .img-container:nth-child(5) { --ty: -54%; right: 20%; top: 50%; transform: translateY(var(--ty)); z-index: 2; }
.gallery-container .img-container:nth-child(6) { --ty: -65%; right: 6%; top: 50%; transform: translateY(var(--ty)); z-index: 1; }

@media (max-width: 768px) {
    .gallery-container .img-container {
        width: 60vw;
    }

    .gallery-container .img-container:nth-child(1) { --ty: -81%; left: 2%; top: 50%; transform: translateY(var(--ty)); z-index: 1; }
    .gallery-container .img-container:nth-child(2) { --ty: -11%; left: 10%; top: 50%; transform: translateY(var(--ty)); z-index: 2; }
    .gallery-container .img-container:nth-child(3) { --ty: -76%; left: 37%; top: 50%; transform: translateY(var(--ty)); z-index: 1; }
    .gallery-container .img-container:nth-child(4) { --ty: -50%; right: 22%; top: 50%; transform: translateY(var(--ty)); z-index: 3; }
    .gallery-container .img-container:nth-child(5) { --ty: -24%; right: 10%; top: 50%; transform: translateY(var(--ty)); z-index: 2; }
    .gallery-container .img-container:nth-child(6) { --ty: -87%; right: 6%; top: 50%; transform: translateY(var(--ty)); z-index: 1; }
}

@media (hover: hover) and (pointer: fine) {
    .social:hover li:not(:hover) {
        opacity: 0.5;
    }
}

#links {
    position: relative;
}

ul.social {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
    width: 50%;
}

ul.social li {
    opacity: 0;
    transition: .5s;
    position: relative;
    transform: translateY(20px);
}

ul.social li.visible {
    transition: .5s ease-in-out;
    transform: translateY(0px);
    opacity: 1;
}

ul.social a {
    display: inline-block;
    padding: 0 40px;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    line-height: 1.2;
    white-space: nowrap;
    transition: transform 0.2s ease;
}

ul.social a:hover {
    cursor: alias;
}

.copyright {
    position: absolute;
    bottom: 10px;
    left: 10px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Archivo', sans-serif;
    font-weight: 400;
    z-index: 1000;
    pointer-events: none;
}
