@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

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

html {
    scroll-behavior: smooth;
    transition: all;
    background-color: #0a0a0a;
    overflow-x: hidden;
}

body {
    font-family: "DM Sans", Sans-Serif;
    overflow-x: hidden;
}

h1 {
    text-transform: uppercase;
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
}

img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.preloader,
.split-overlay {
    position: fixed;
    width: 100vw;
    height: 100dvh;
}

.preloader,
.split-overlay {
    background-color: #0a0a0a;
    color: #fff;
}

.preloader {
    z-index: 2;
}

.split-overlay {
    z-index: 1;
}

.intro-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
}

.intro-title .char {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

.intro-title .char span {
    position: relative;
    display: inline-block;
    transform: translateY(-100%);
    will-change: transform;
}

.intro-title .first-char,
.intro-title .first-char-1 {
    transform-origin: top left;
}

.first-char,
.first-char-1 {
    margin-top: 0.8rem;
}

.preloader .intro-title .char span {
    opacity: 0;
    will-change: opacity;
}

.navbar,
.mobile-navbar {
    position: fixed;
    width: 100vw;
    top: 0;
    left: 0;
    transform: translateY(-100%);
    opacity: 0;
    will-change: transform opacity;
    background-color: #0a0a0a;
    z-index: 5;
}

.navbar ul,
.mobile-navbar ul {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #0a0a0a;
}

li {
    text-decoration: none;
    list-style: none;
}

a {
    text-decoration: none;
}

.nav-item,
.mobile-nav-item {
    border: 1px solid #000;
    width: 100%;
    text-transform: uppercase;
    padding: 20px 15px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border-right: 1px solid #555555a8;
    border-bottom: 1px solid #555555a8;
    cursor: pointer;
}

.nav-item:nth-child(6) {
    border-right: 0;
}

.nav-link,
.mobile-nav-link {
    color: #fff;
    font-size: 0.8rem;
    letter-spacing: 2px;
    font-weight: 300;
    transition: color;
    transition-duration: 0.3s;
}

.nav-item:hover,
.nav-item:focus,
.mobile-nav-item:hover,
.mobile-nav-item:focus {
    background-color: #1f1f1f;
}

.nav-item:hover .nav-link,
.nav-item:focus .nav-link,
.mobile-nav-item:hover .mobile-nav-link,
.mobile-nav-item:focus .mobile-nav-link {
    color: #ff813e;
}

.mobile-navbar {
    display: none;
}

.logo {
    font-weight: bold;
}

section {
    /* width: 100%; */
    height: 100svh;
    z-index: 2;
}

.hero {
    width: 100vw;
    height: 100svh;
    background-color: #0a0a0a;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-container {
    width: 90%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    padding: 10rem 1.5rem 2rem 1.5rem;
}

.intro {
    width: 80%;
    height: 100%;
}

.intro p {
    font-size: 1.2rem;
    color: #ff813e;
    position: relative;
    transform: translateX(3rem);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
    opacity: 0;
    will-change: opacity;
}

.intro p:before {
    content: '';
    position: absolute;
    width: 2.5rem;
    height: 1px;
    background-color: #ff813e;
    top: 50%;
    left: -0.3rem;
    transform: translateX(-100%);
}

.intro h2 {
    font-size: 5rem;
    text-transform: capitalize;
    line-height: 1.2;
    letter-spacing: 3px;
    margin-top: 10px;
    position: relative;
    display: inline-block;
    overflow: hidden;
}

.intro h2 span {
    position: relative;
    display: inline-block;
    transform: translateY(100%);
    will-change: transform;
}

.social-links ul li a {
    color: #bababa;
    writing-mode: vertical-rl;
    transition: color;
    transition-duration: 0.3s;
    letter-spacing: 2px;
    transform: translateX(100%);
    will-change: transform;
}

.social-links ul li a:hover,
.social-links ul li a:focus {
    color: #ff813e;
}

.social-links ul li {
    padding: 10px 0;
    overflow: hidden;
}


.intro-scrolldown svg {
    position: relative;
    display: inline-block;
    margin-top: 3rem;
    overflow: hidden;
}

.intro-scrolldown svg path {
    position: relative;
    display: inline-block;
    overflow: hidden;
    fill: #fff;
    transform: translateY(-100%);
    will-change: transform;
}

section.marquees {
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #fff;
}

.marquee-container {
    position: relative;
    width: 120%;
    height: 250px;
    display: flex;
    margin: 1em 0;
    overflow: hidden;
}

.marquee {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    gap: 1em;
}

#marquee-1 .marquee,
#marquee-3 .marquee {
    left: -15%;
}

#marquee-2 {
    background-color: #0a0a0a;
    color: #fff;
}

#marquee-2 h2 {
    font-size: 3.8rem;
}

.item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about {
    width: 100vw;
    background-color: #0a0a0a;
    color: #fff;
}

.about .about-container {
    width: 100%;
    height: 100%;
    padding: 0 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

}

.about .about-container h2 {
    font-size: 5rem;
    text-transform: uppercase;
    transform: scaleX(1.3);
    font-weight: 900;
    -webkit-text-stroke: 1px white;
    color: transparent;
    will-change: color;
}

.about .about-container div {
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-container p {
    font-size: 2rem;
    line-height: 1.5;
    letter-spacing: 1px;
}

.about-container p div {
    padding-top: 0 !important;
    opacity: 0;
    will-change: opacity;
}

.about-container .download {
    width: 250px;
    height: 60px;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 4rem;
    font-weight: 600;
    background-color: #ff813e;
    color: #fff;
    outline: none;
    border: 0;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(-10px);
    will-change: opacity, transform;
}

.about-container .download:hover {
    background-color: #fa7025;
}

.skills,
.experiences {
    width: 100vw;
    height: 100vh;
    background-color: #0a0a0a;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.skills-container,
.experiences-container {
    width: 90%;
    height: 85%;
    display: flex;
    padding-top: 2rem;
    overflow: hidden;
}

.skills-container .title,
.experiences-container .title {
    width: 50%;
}

.skills-container .title h2,
.experiences-container .title h2 {
    font-size: 3.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 900;
}

.skills-container .descriptions {
    position: relative;
    overflow: hidden;
    height: 100%;
}

.skills-container .descriptions .description {
    padding-bottom: 2.5rem;
    margin-bottom: 1.5rem;
    border-top: 2px solid #1f1f1f;
    background-color: #0a0a0a;
    height: 50vh;
}



.skills-container .descriptions .description h3 {
    font-size: 2.5rem;
    font-weight: 300;
}

.skills-container .descriptions .description ul {
    display: flex;
    flex-direction: column;
}

.skills-container .descriptions .description li {
    padding-top: 1rem;
    /* margin-bottom: 1rem; */
    font-size: 1.2rem;
}

.experiences-container .experiences-descriptions {
    width: 50%;
}

.experiences-container .title h2 {
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;
    -webkit-text-stroke: 1px white;
    color: transparent;
    will-change: color;
}


.experiences-descriptions .title {
    font-size: 1.7rem;
    font-weight: bold;
    width: 100%;
}

.experiences-descriptions ul li {
    margin-bottom: 2rem;

}

.experiences-descriptions ul li p {
    font-size: 1.1rem;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    opacity: 0;
    will-change: opacity;
}

.projects {
    width: 100vw;
    color: #fff;
}

.projects-container {
    width: 100%;
    height: 100%;
    padding-top: 4rem;
}

.projects-container h2 {
    text-align: center;
    font-size: 4rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stacking {
    position: relative;
    height: 100%;
}

.stacking-card {
    width: 80%;
    height: 65vh;
    background-color: #ff813e;
    padding: 2rem 3rem;
    border-radius: 3rem;
    margin: 10vh auto;
    overflow: hidden;
    border: 2px solid #fff;
}

.stacking-card .heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.stacking-card .heading h3 {
    font-size: 1.5rem;
    text-transform: capitalize;
    flex: 2;
}

.stacking-card .heading a {
    border: 1px solid #fff;
    padding: 1rem 1.5rem;
    border-radius: 2rem;
    text-decoration: none;
    color: #fff;
}

.stacking-card .heading a:hover,
.stacking-card .heading a:focus {
    transform: scale(1.05);
    transition: all;
    transition-duration: 0.5s;
}

.stacking-card .heading a svg {
    transform: rotate(-120deg);
}

.stacking-card .body {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    line-height: 1.5rem;
    overflow: hidden;
}

.stacking-card .body .left {
    font-size: 1rem;
    width: 50%;
}

.stacking-card .body .right {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stacking-card .body .right img {
    width: 80%;
    height: 100%;
    object-fit: contain;
}

.contact {
    width: 100vw;
    color: #fff;
    display: flex;
    align-items: center;
}

.contact-container {
    width: 80%;
    margin: 10px auto;
    /* padding-top: 4rem; */
}

.contact-container h2 {
    font-size: 4rem;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 3rem;
}

.contact-container p {
    font-size: 2.5rem;
    letter-spacing: 2px;
    margin: auto 10px;
}

.email {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 3rem;
}

.email ul {
    display: flex;
    gap: 2rem;
}

.email a {
    text-decoration: none;
    color: #fff;
    font-size: 1.2rem;
    transition: color 0.5s;
}

.email a:hover,
.email a:focus {
    color: #ff813e;
}

.footer {
    color: #fff;
    text-align: center;
    background-color: #1f1f1f;
    padding: 1rem 0;
}

@media (max-width: 900px) and (min-width:680px) {

    .intro h2 {
        font-size: 4rem;
    }

    section.marquees {
        height: 80vh;
    }

    #marquee-2 h2 {
        font-size: 2.5rem;
    }

    .marquee-container {
        height: 150px;
    }

    .about .about-container h2 {
        font-size: 3rem;
    }

    .about-container p {
        font-size: 1.2rem;
    }

    .skills-container .descriptions .description h3 {
        font-size: 2rem;
    }

    .experiences-container .title h2 {
        font-size: 2.3rem;
    }

    .experiences-description ul li p {
        font-size: 1rem;
    }

    .stacking-card .body {
        flex-direction: column;
    }

    .stacking-card .body .left,
    .stacking-card .body .right {
        width: 100%;
        height: 50%;
    }

    .stacking-card .body .left {
        font-size: 0.8rem;
    }

    .contact-container h2 {
        font-size: 3rem;
    }

    .contact-container p {
        font-size: 2rem;
    }

}


@media (max-width: 680px) {
    h1 {
        font-size: 1.5rem;
    }

    .first-char,
    .first-char-1 {
        margin-top: 0.4rem;
    }

    .navbar {
        display: none;
    }

    .mobile-navbar {
        display: block;
    }

    .hero {
        padding-bottom: 4rem;
    }

    .hero-container {
        flex-direction: column;
    }

    .intro {
        width: 100%;
        height: 80%;
    }

    .intro p {
        font-size: 0.9rem;
        margin-bottom: 2rem;
    }

    .intro h2 {
        font-size: 2.5rem;
    }

    .social-links ul li a {
        writing-mode: horizontal-tb;
        opacity: 0;
        will-change: opacity;
    }

    .social-links ul {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .social-links {
        position: relative;
    }

    .intro-scrolldown svg {
        position: relative;
        left: 50%;
        transform: translateX(-50%);
    }

    .mobile-nav-item:nth-child(2) {
        flex: 1;
    }

    section.marquees {
        height: 60vh;
    }

    #marquee-2 h2 {
        font-size: 2rem;
    }

    .marquee-container {
        height: 100px;
    }

    .about .about-container h2 {
        font-size: 2.5rem;
    }

    .about-container p {
        font-size: 1rem;
    }

    .skills-container {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding-top: 0;
    }

    .skills-container .title h2 {
        margin-bottom: 2rem;
    }

    .experiences-container {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding-top: 0;
    }

    .experiences-container .title h2 {
        font-size: 2.5rem;
        width: 100%;
    }

    .experiences-container .title {
        width: 100%;
        text-align: center;
    }

    .experiences-container .experiences-descriptions {
        width: 80%;
    }

    .experiences-description .title {
        font-size: 1.3rem;
        text-align: left;
    }

    .experiences-description ul li p {
        font-size: 0.8rem;
    }

    .experiences-descriptions {
        margin-top: 1rem;
    }

    .stacking-card .body {
        flex-direction: column;
    }

    .stacking-card .body .left,
    .stacking-card .body .right {
        width: 100%;
        height: 50%;
    }

    .stacking-card .body .left {
        font-size: 0.8rem;
    }

    .right img {
        display: none;
    }

    .contact-container h2 {
        font-size: 2.5rem;
    }

    .contact-container p {
        font-size: 1.5rem;
        padding: 0;
        margin: 0;
    }

    .email {
        flex-direction: column;
        align-items: flex-start;
        font-size: 1rem;
    }

    .email a {
        width: 100%;
        text-align: center;
    }

    .email ul {
        gap: 1rem;
        width: 100%;
        justify-content: space-between;
        margin-top: 2rem;
    }
}