/* Tailwind does not support ::after pseudo-elements directly, so we use custom CSS */
.menu-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 100%;
    background-color: white;
    transition: background-color 0.3s ease;
}

.menu-link:hover::after {
    background-color: #facc15;
}

.menu-link.active {
    color: #facc15 !important;
}

.menu-link.active::after {
    background-color: #facc15;
}

.header-img {
    background-image: url("../assets/webp/header.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.menu-img {
    background-image: url("../assets/webp/menu.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
}

.about-img {
    background-image: url("../assets/webp/about.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.ulasan-img {
    background-image: url("../assets/webp/ulasan.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.animation {
    animation: animateModal 0.5s;
    -webkit-animation: animateModal 0.5s;
}

@keyframes animateModal {
    from {
        top: -300px;
        opacity: 0;
    }
    to {
        top: 0;
        opacity: 1;
    }
}

.text-shadow {
    text-shadow: 0 4px 4px black;
}

.sauce input[type="radio"]:checked + label {
    background: #e7b800;
    color: white;
    box-shadow: 0 0 10px 4px rgba(211, 47, 47, 0.4);
    transform: scale(1.02);
}

/* Loading Animation */
.animation-round {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Media Screen Check */
.screen-widget {
    position: fixed;
    bottom: 0;
    left: 0;
    padding: 15px 50px;
    background: #000;
    border: 1px solid white;
    border-bottom: none;
    border-left: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.screen-widget::after {
    position: absolute;
    content: "screen: __";
}

@media (min-width: 640px) {
    .screen-widget::after {
        content: "screen: sm";
    }
}

@media (min-width: 768px) {
    .screen-widget::after {
        content: "screen: md";
    }
}

@media (min-width: 1024px) {
    .screen-widget::after {
        content: "screen: lg";
    }
}

@media (min-width: 1280px) {
    .screen-widget::after {
        content: "screen: xl";
    }
}

@media (min-width: 1536px) {
    .screen-widget::after {
        content: "screen: 2xl";
    }
}
