@import url('https://fonts.googleapis.com/css2?family=Lilita+One&family=Permanent+Marker&display=swap');

*, html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
    scrollbar-width: none;
    scroll-behavior: smooth;
}

li {
    list-style-type: none;
}

a {
    text-decoration: none;
    background: inherit;
    color: inherit;
}

.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    position: absolute;
    left: 0;
    width: 100%;
    z-index: 50;
    transition: background-color .5s ease-in-out;
}

.container-navbar {
    width: 85%;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.container-navbar img {
    width: 3rem;
}

.container-navbar button {
    display: none;
    color: white;
    outline: none;
}

.container-navbar div ul {
    font-weight: 600;
    font-size: 1.1rem;
    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%;
    background-color: #F8F4E1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50vh;
    background-color: rgba(0, 0, 0, 0.5); 
}

.header-img {
    width: 100%;
    height: 50vh;
    object-fit: cover;
}

/* ABOUT */

.about {
    background-color: #F8F4E1;
    color: #543310;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 20px;
}

.about-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 95%;
    gap: 1.5em;
}

.about-text {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 50%;
    gap: .5em;
}

.about-title {
    font-size: calc(1vw + .8rem);
}

.about-description {
    font-size: calc(.8vw + .5rem);
    text-align: center;
    line-height: 1.5;
}

.about-img {
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50%;
    height: 350px;
}

.about-img img {
    width: 85%;
}

/* MENU */

.menu {
    background-color: #F8F4E1;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5em;
}

.container-menu {
    width: 95%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2em;
}

.btn-menu {
    display: flex;
    gap: 2em;
}

button {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #74512D;
    border: none;
    padding: calc(1vw + .3rem);
    font-size: calc(1vw + .3rem);
    width: calc(9vw + .3rem);
    border-radius: 1rem;
    color: white;
    cursor: pointer;
}

button:active {
    color: #F8F4E1;
    transform: translateY(0.2rem);
}

button:hover:not(:disabled) {
    background: #543310;
}

.card-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.card-menu-makanan {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    gap: 1em;
}

.card-image {
    overflow: hidden;
    position: relative;
    width: 18em;
    max-height: 10em;
    border-radius: 20px;
}

.card-image img {
    width: 100%;
}

/* .card-price {
    position: absolute;
    top: 10px;
    right: 10px;
    color: white;
    text-shadow: black 1px 0 1px;
    padding: 5px;
    border-radius: 5px;
} */

.card-title {
    font-family: "Permanent Marker", cursive;
    font-size: 1.5em;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    background: linear-gradient(0deg, #091014 10%, rgba(0, 0, 0, 0) 80%);
    color: white;
    padding: 10px;
}

.card-menu-minuman {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    gap: 1em;
}

/* COMMENT */

.comment {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 50vmax;
    background-image: url(img/ra3.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.comment-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    z-index: 1;
}

.comment-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 95%;
    height: 90%;
    border: 1px solid #f7f7f7;
    color: white;
    z-index: 2;
}

.comment-text {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 50%;
    height: 100%;
    gap: 7vw;
}

.comment-title {
    font-family: "Roboto Slab", serif;
    font-size: calc(1vw + 1.3rem);
    text-align: center;
}

.slider {
    width: 100%;
    height: auto;
}

.comment-description {
    text-align: center;
}

.comment-fill {
    font-size: calc(.8vw + .5rem);
    font-family: "Playpen Sans", cursive;
    opacity: .9;
}

.comment-name {
    font-size: calc(.8vw + .5rem);
    font-weight: bold;
    margin-top: 4vw;
}

/* MAP */

.map iframe {
    width: 100%;
    height: 25vmin;
}

/* FOOTER */

footer {
    display: flex;
    flex-direction: row-reverse;
    background-color: #111111;
}

.footer-container {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    padding: 7px;
    width: 100%;
}

.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
}

.social-icon a {
    padding: 7px;
    background-color: white;
    margin: 5px;
    border-radius: 50%;
}

.social-icon a i {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: .7em;
    color: black;
    opacity: 0.9;
}

.social-icon a:hover {
    background-color: #000;
    transition: 0.5s;
}

.social-icon a:hover i {
    color: white;
    transition: 0.5s;
}

.footer-bottom {
    background-color: #000000;
    padding: 10px;
    text-align: center;
}

.footer-bottom p {
    color: white;
    font-size: .7em;
    margin-right: 10px;
}

/* WA FLOATING */

.whatsapp-button {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    bottom: 6.5rem;
    right: 1.75rem;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    font-size: 1.7rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 40;
    transition: all 0.3s ease;
}

/* BACK TO TOP */

.back-to-top {
    position: fixed;
    display: none;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    bottom: 3rem;
    right: 1.75rem;
    background-color: #74512D;
    color: white;
    border-radius: 50%;
    font-size: 1.7rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 40;
    transition: all 0.3s ease;
}

.back-to-top.show {
    display: flex;
    animation: fadeInUp;
    animation-duration: 0.5s;
}


#buton {
    display: none; 
}

#buton.show {
    display: block; 
}



@media (max-width: 768px) {
    .container-navbar{
        width: 100%;
    }

    .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: #74512D;
    }
    
    .container-navbar ul.slide {
        opacity: 1;
        transform: translateX(0);
    }

    .mid{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .about-container {
        display: flex;
        flex-direction: column;
    }

    .about-text {
        width: 95%;
        gap: .7em;
    }

    .about-title {
        font-size: 1.4em;
    }

    .about-description {
        font-size: 1em;
        text-align: justify;
    }

    .about-img {
        width: 100%;
    }

    .about-img img {
        width: 100%;
    }

    button {
        padding: calc(1vw + 1rem);
        font-size: calc(1vw + .7rem);
        width: calc(10vw + 3.3rem);
    }

    .card-image {
        width: 24em;
    }

    .comment-text {
        width: 80%;
    }

    .whatsapp-button {
        width: 40px;
        height: 40px;
        bottom: 5.3rem;
        right: 1rem;
        font-size: 1rem;
    }

    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 2.5rem;
        right: 1rem;
        font-size: 1rem;
    }

}