/* Base styles */
*,::after,::before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0 100px;
    background-color: #ffeae0;
    font-family: sans-serif;
}

/* Navigation styles */
.nav {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    list-style: none;
}

#tiktoks{
    display: none;
}
.nav .logo h1 {
    font-weight: 500;
    color: #000000;
    font-family: "Libre Franklin", sans-serif;
}

.nav ul {
    display: flex;
    list-style: none;
}

.nav ul li {
    margin-right: 30px;
}

.nav ul li a {
    text-decoration: none;
    color: #000000;
    font-weight: 500;
    font-size: 17px;
}

.nav ul .active::after {
    content: '';
    width: 50%;
    height: 3px;
    background-color: #ff511c;
    display: flex;
    position: relative;
    margin-left: 10px;
}

/* Content styles */
.content {
    display: grid;
    grid-template-columns: 50% auto;
    gap: 30px;
    margin-top: 120px;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.content .content-left .info h2 {
    font-size: 60px;
    margin-bottom: 30px;
    font-weight: 500;
    font-family: "Libre Franklin", sans-serif;
}

.content .content-left .info p {
    font-size: 20px;
    line-height: 2pc;
    margin-bottom: 30px;
}

.content .content-right img {
    width: 400px;
    height: auto;
    position: relative;
    user-select: none;
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Category styles */
.category {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.category .list-items {
    width: 90%;
    margin-top: 50px;
}

.category .list-items h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 70px;
    font-family: "Libre Franklin", sans-serif;
}

.category .list-items .card-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.category .card-list .card {
    width: 200px;
    padding: 10px;
    border-radius: 10px;
    background-color: #ffffff;
    outline: 2px solid #faad96;
    position: relative;
    text-align: center;
}

.category .card-list .card img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 15px 20px #faad96;
    border-radius: 50%;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
}

.category .card-list .card .food-title {
    margin-top: 60px;
}

.category .card-list .card .food-title h1 {
    font-weight: 500;
    font-size: 16px;
    margin-bottom: 15px;
    font-family: "Libre Franklin", sans-serif;
}

.category .card .desc-food p {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 20px;
}

.category .card .price span {
    font-weight: bold;
}

/* Social icons styles */
.social-icons {
    display: flex;
    gap: 50px;
}

.social-icons a {
    text-decoration: none;
    color: #000;
    font-size: 24px;
}

/* Scrollbar styles */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-thumb {
    border-radius: 20px;
    background-color: #ff511c;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    body {
        margin: 0 50px;
    }

    .content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .content .content-right img {
        width: 300px;
    }

    .category .list-items .card-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    body {
        margin: 0 20px;
    }

    .nav {
        flex-direction: row;
        align-items: flex-start;
    }

    .nav ul {
        flex-direction: row;
        gap: 10px;
        align-items: flex-start;
    }

    .nav ul li {
        margin-right: 0;
        margin-bottom: 10px;
    }
    #tiktoks{
        display: block;
    }

    .content {
        grid-template-columns: 1fr;
        margin-top: 80px;
    }

    .content .content-left .info h2 {
        font-size: 40px;
    }

    .content .content-right img {
        width: 250px;
    }

    .category .list-items .card-list {
        grid-template-columns: 1fr;
        gap: 20px; /* Menambah jarak antar card */
    }

    .category .card-list .card {
        width: 100%;
        margin-bottom: 20px; /* Menambah jarak antar card di bawah */
    }

    .category .card-list .card img {
        width: 80px;
        height: 80px;
    }

    .category .card-list .card .food-title h1 {
        font-size: 14px;
    }

    .category .card .desc-food p {
        font-size: 12px;
    }

    .category .card .price span {
        font-size: 14px;
    }

    .social-icons {
        gap: 30px;
    }

    .category .card-list .card img {
        top: -30px;
    }
}

@media (max-width: 480px) {
    .content .content-left .info h2 {
        font-size: 30px;
    }

    .content .content-left .info p {
        font-size: 16px;
    }

    .category .list-items h3 {
        font-size: 18px;
    }

    .category .card-list .card {
        margin-bottom: 20px; /* Menambah jarak antar card di bawah untuk tampilan lebih kecil */
    }
}
