*, html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

li {
    list-style-type: none;
}

a {
    text-decoration: none;
    background: inherit;
    color: inherit;
}

/* NAVBAR */

.nav-top {
    position: absolute;
    width: 100%;
    height: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    padding: 1rem;
    border-bottom: 1px solid white;
    z-index: 50;
}

.container-nav-top {
    display: flex;
    justify-content: space-between;
    width: 90%;
}

.ul-nav-top {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.ul-nav-top li a {
    cursor: pointer;
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .5rem;
}

.ul-nav-top li a:hover {
    opacity: .7;
}

.ul-nav-top li a i {
    color: white;
}

.ul-nav-top li a span {
    color: white;
    font-size: 0.7rem;
    line-height: 1.25rem;
}

.navbar {
    background-color: transparent;
    color: white;
    position: absolute;
    top: 4rem;
    left: 0;
    width: 100%;
    z-index: 50;
    transition: background-color .5s ease-in-out;
}

.container-navbar {
    padding: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container-navbar img {
    display: none;
    width: 2.5rem;
}

.container-navbar button {
    display: none;
    color: white;
    outline: none;
}

.container-navbar div ul {
    display: flex;
    gap: 1vw;
}

.navbar-icon {
    display: none;
}

.container-navbar div ul li a:hover {
    opacity: .8;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    height: 20px;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.menu-toggle input {
    position: absolute;
    width: 43px;
    height: 28px;
    opacity: 0;
    left: -8px;
    top: -8px;
    cursor: pointer;
    z-index: 2;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: white;
    border-radius: 3px;
    transition: .5s;
}

.menu-toggle span:nth-child(2) {
    transform-origin: 0 0;
}

.menu-toggle span:nth-child(4) {
    transform-origin: 0 100%;
}

.menu-toggle input:checked~span:nth-child(2) {
    transform: rotate(45deg) translate(-1px, -1px);
}

.menu-toggle input:checked~span:nth-child(4) {
    transform: rotate(-45deg) translate(-1px, 0);
}

.menu-toggle input:checked~span:nth-child(3) {
    opacity: 0;
    transform: scale(0);
}

/* HEADER */

.header {
    position: relative;
    width: 100%;
}


.inner-header {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.item-header {
    float: left;
    width: 100%;
    height: 100%;
}

.item-header img {
    display: block;
    width: 100%;
    object-fit: cover;
    object-position: center;
}


.overlay-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
}

h3 {
    font-family: "Lilita One", sans-serif;
}

#button {
    display: none; 
}

#button.show {
    display: block; 
}

@media (max-width: 768px) {
    .ul-nav-top span {
        display: none;
    }

    .container-navbar {
        justify-content: space-between;
    }

    .container-navbar img {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .container-navbar div ul li {
        background-color: transparent;
    }

    .container-navbar div ul li:first-child {
        margin-top: 7.5rem;
    }

    .navbar-icon {
        position: fixed;
        bottom: 20px;
        right: 20px;
        gap: 1rem;
        display: flex;
    }

    .navbar-icon i {
        font-size: 1.5rem;
        overflow: hidden;
    }

    .container-navbar div ul {
        position: fixed;
        right: 0;
        top: 0;
        height: 100vh;
        width: 50%;
        flex-direction: column;
        align-items: center;
        gap: 2em;
        transform: translateX(100%);
        transition: all 1s;
        opacity: 0;
        background-color: #111827;
    }

    .container-navbar ul.slide {
        opacity: 1;
        transform: translateX(0);
    }
}