* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Kumbh Sans', sans-serif;
}

body {
    background-color: #f1d4cf;
}

.stardos-stencil-regular {
    font-family: "Stardos Stencil", system-ui;
    font-weight: 400;
    font-style: normal;
}

.stardos-stencil-bold {
    font-family: "Stardos Stencil", system-ui;
    font-weight: 700;
    font-style: normal;
}

.special-elite-regular {
    font-family: "Special Elite", system-ui;
    font-weight: 400;
    font-style: normal;
}

h2 {
    font-size: 10vh;
    font-family: "Stardos Stencil", system-ui;
    font-weight: 700;
    font-style: normal;
}





.navbar {
    background: #352339;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    position: sticky;
    top: 0;
    z-index: 999;
}

.navbar__container {
    display: flex;
    justify-content: space-between;
    height: 80px;
    z-index: 1;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 1rem;
}

#navbar__logo {
    background-color: #f1d4cf;
    background-image: linear-gradient(to top, #e8968b 0%, #f1d4cf 100%);
    background-size: 100%;
    background-clip: text;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    font-size: 2rem;
}

.navbar__menu {
    display: flex;
    align-items: center;
    list-style: none;
    text-align: center;
}

.navbar__item {
    height: 80px;
}

.navbar__links {
    color: #f1d4cf;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 0 1rem;
    margin: 0 1rem;
    height: 100%;
}

.navbar__btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
    width: 100%;
}

.button {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    padding: 10px 20px;
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    border-radius: 4px;
    background: #e8968b;
    color: #f1d4cf;
}

.button:hover {
    background: #130d15;
    transition: all 0.3s ease;
}

.navbar__links:hover {
    color: #e8968b;
    transition: all 0.3s ease;
}



.landing__container {
    display: flex;
    align-items: center;
}

.landing_element1 {
    background-color: #f1d4cf;
    width: 60%;
    padding: 3rem;
    height: 100vh;
    align-items: center;
    justify-content: center;
    display: flex;
}

.landing_element1 h2 {
    font-size: 10vh;
    font-family: "Stardos Stencil", system-ui;
    font-weight: 700;
    font-style: normal;
}

.landing_element1 h2:hover {
    transform: scale(1.1);
    transition: all 0.3s ease;
}

.landing_element1 h3 {
    font-size: 5vh;
    font-family: "Special Elite", system-ui;
    font-weight: 400;
    font-style: normal;
}

.landing_element1 p {
    font-size: 18px;
    font-family: "Special Elite", system-ui;
    font-weight: 300;
    font-style: normal;
    padding-right: 3rem;
}

.landing_element1 p:hover {
    transform: scale(1.1);
    transition: all 0.3s ease;
}

.intro {
    height: fit-content;
    justify-content: center;
}

.landing_element2 {
    display: flex;
    width: 40%;
    background-color: #875991;
    float: left;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

.cool__image {
    display: flex;
    padding: 3rem;
    align-items: center;
    justify-content: center;
}

.cool__image img {
    width: 100%;
}

.cool__image img:hover {
    transform: scale(1.1);
    box-shadow: 2vh 2vh 1vh #352339;
    transition: all 0.3s ease;
}



.header {
    height: 30vh;
    align-items: center;
    padding: 2rem;
    padding-top: 2rem;
    justify-content: center;
    display: flex;
    background-color: #875991;
    width: 100%;
}

.header h2 {
    font-size: 10vh;
    font-family: "Stardos Stencil", system-ui;
    font-weight: 700;
    font-style: normal;
    color: #e8968b;
}

.hobby {
    display: block;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hobby img {
    width: 100%;
}

.overlay {
    align-items: center;
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0000005f;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.overlay h2 {
    color: #f1d4cf;
}

.hobby:hover .overlay {
    opacity: 1;
}

.projects {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5vh;
    background-color: #352339;
    width: 100vw;
    height: 100vh;
    position: relative;
    perspective: 500vw;
}





.carousel {
    width: 100%;
    height: 100%;
    position: absolute;
    transform-style: preserve-3d;
    transition: transform 1s;
}

.project:nth-child(1) {
    transform: rotateY(0deg) translateZ(46vw);
}
.project:nth-child(2) {
    transform: rotateY(72deg) translateZ(46vw);
}
.project:nth-child(3) {
    transform: rotateY(144deg) translateZ(46vw);
}
.project:nth-child(4) {
    transform: rotateY(216deg) translateZ(46vw);
}
.project:nth-child(5) {
    transform: rotateY(288deg) translateZ(46vw);
}

.previous-button {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    padding: 10px 20px;
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    border-radius: 4px;
    background: #e8968b;
    color: #f1d4cf;
}

.previous-button:hover {
    background: #130d15;
    transition: all 0.3s ease;
}

.next-button {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    padding: 10px 20px;
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    border-radius: 4px;
    background: #e8968b;
    color: #f1d4cf;
}

.next-button:hover {
    background: #130d15;
    transition: all 0.3s ease;
}




.Project_Class {
    display: block;
    align-items: center;
    justify-content: center;
    width: 100vw;
    background-color: #352339;
}

.project {
    height: 80vh;
    width: 33.33vw;
    background-color: #f1d4cf;
    border-radius: 5rem;
    border: 5px solid #875991;
    padding: 2rem;
    text-align: center;
    position: absolute;
    left: 33.33vw;
    top: 10vh;
}

.project img {
    height: 35vh;
    width: 100%;
    object-fit: cover;
    border-radius: 2rem;
    border: 3px solid #875991;
}

.project h2 {
    color: #875991;
    font-size: 7vh;
    background-color: #cbaaa9;
    border-radius: 2rem;
    width: 100%;
    margin: 3px;
}

.project p {
    font-size: 16px;
    font-family: "Special Elite", system-ui;
    font-weight: 300;
    font-style: normal;
    background-color: #cbaaa9;
    color: #875991;
    border-radius: 2rem;
    padding: 1rem;
}

.project:hover {
    box-shadow: 0 10px 5px #130d15;
    background-color: #875991;
    transition: all 0.3s ease;
}

footer {
    background-color: #875991;
    height: 7vw;
    width: 100%;
    display: flex;
    padding: 1rem;
    display: flex;
    align-items: center;
}

footer p {
    color: #f1d4cf;
    float: left;
}

.spacer {
    width: 33.33vw;
}

.buttons {
    width: 4vw;
    height: 4vw;
    border-radius: 4vw;
    border: 3px solid #e8968b;
    background-color: #f1d4cf;
    margin: 1rem;
    float: right;
}

.buttons:hover {
    background-color: #e8968b;
}



.projects_class_2 {
    display: none;
    align-items: center;
    justify-content: center;
    width: 100vw;
    background-color: #352339;
}

.projects_p {
    display: block;
    width: 100vw;
    justify-content: center;
    align-items: center;
    padding: 5vh 0;
}

.project_p {
    height: 80vh;
    width: 80vw;
    background-color: #f1d4cf;
    border-radius: 5rem;
    border: 5px solid #875991;
    padding: 2rem;
    text-align: center;
    margin-top: 5vh;
    margin-bottom: 5vh;
    margin-left: 10vw;
    margin-right: 10vw;
}

a {
    text-decoration: none;
}

.project_p img {
    height: 35vh;
    width: 100%;
    object-fit: cover;
    border-radius: 2rem;
    border: 3px solid #875991;
}

.project_p h2 {
    color: #875991;
    font-size: 7vh;
    background-color: #cbaaa9;
    border-radius: 2rem;
    width: 100%;
    margin: 3px;
}

.project_p p {
    font-size: 16px;
    font-family: "Special Elite", system-ui;
    font-weight: 300;
    font-style: normal;
    background-color: #cbaaa9;
    color: #875991;
    border-radius: 2rem;
    padding: 1rem;
}

.project_p:hover {
    box-shadow: 0 10px 5px #130d15;
    background-color: #875991;
    transform: scale(1.1);
    transition: all 0.3s ease;
}





@media screen and (max-width: 960px) {
    .navbar__container {
        display: flex;
        justify-content: space-between;
        height: 80px;
        z-index: 1;
        width: 100%;
        max-width: 1300px;
        padding: 0;
    }

    .navbar__menu {
        display: grid;
        grid-template-columns: auto;
        margin: 0;
        width: 100%;
        position: absolute;
        top: -1000px;
        opacity: 0;
        transition: all 0.5s ease;
        height: 50vh;
        z-index: -1;
    }

    .navbar__menu.active {
        background: #352339;
        top: 100%;
        opacity: 1;
        transition: all 0.5s ease;
        z-index: 99;
        height: 50vh;
        font-size: 1.6rem;
    }

    #navbar__logo {
        padding-left: 25px;
    }

    .navbar__toggle .bar {
        width: 25px;
        height: 3px;
        margin: 5px auto;
        transition: all 0.3x ease-in-out;
        background: #f1d4cf;
    }

    .navbar__item {
        width: 100%;
    }

    .navbar__links {
        text-align: center;
        padding: 2rem;
        width: 100%;
        display: table;
    }

    #mobile-menu {
        position: absolute;
        top: 20%;
        right: 5%;
        transform: translate(5%, 20%);
    }

    .navbar__btn {
        padding-bottom: 2rem;
    }

    .button {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 80%;
        height: 80px;
        margin: 0;
    }

    .navbar__toggle .bar {
        display: block;
        cursor: pointer;
    }

    .landing__container {
        display: block;
    }

    .landing_element1 {
        width: 100%;
    }

    .landing_element2 {
        width: 100%;
        height: 100vh;
    }

    .Project_Class {
        display: none;
    }

    .controls {
        visibility: hidden;
    }

    .projects_class_2 {
        visibility: visible;
        display: block;
    }

    #mobile-menu.is.active .bar:nth-child(2) {
        opacity: 0;
    }

    #mobile-menu.is.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    #mobile-menu.is.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}