@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500&display=swap');

body {
    position: relative;
    background: url('img/istockphoto-962891818-612x612.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    font-family: 'Orbitron', sans-serif;
    color: #000000;
    min-height: 100vh;
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    filter: blur(15px);
    z-index: -1;
}

.navbar {
    background-color: #000000;
    border-bottom: 2px solid #f2ff00;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 10px 20px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    margin-right: auto;
}

.navbar-brand img {
    height: 180px;
    width: auto;
    margin-right: 10px;
}

.navbar .navbar-toggler {
    position: absolute;
    right: 20px;
    border-color: #ffd103;
    background-color: transparent;
    transition: box-shadow 0.3s ease;
    border-radius: 50%;
    padding: 10px;
}

/* Inicialmente, no tiene iluminación */
.navbar-toggler-icon {
    background-color: #efeb7104;
}

/* Iluminación amarilla y giro */
.navbar-toggler.iluminado {
    box-shadow: 0 0 15px 10px rgba(255, 255, 0, 1) !important;
    animation: resplandorGiro 2s linear infinite !important;
}

/* Animación de giro de la luz */
@keyframes resplandorGiro {
    0% {
        box-shadow: 0 0 10px 10px #ffd10376, 0 0 0 0px rgba(255, 255, 255, 0);
        transform: rotate(0deg); /* Inicio del giro */
    }
    50% {
        box-shadow: 0 0 15px 15px #ffd103, 0 0 5px 5px rgba(255, 255, 255, 1);
        transform: rotate(180deg); /* Medio giro */
    }
    100% {
        box-shadow: 0 0 10px 10px #ffd10376, 0 0 0 0px rgba(255, 255, 255, 0);
        transform: rotate(360deg); /* Giro completo */
    }
}

/* Efecto de luz amarilla al hacer clic */
.navbar-toggler:active {
    animation: resplandorGiro 2s linear infinite;
}

.nav-link {
    color: #ffd103 !important;
    font-size: 1.2rem;
}

.menu-title {
    text-align: center;
    color: #ffd103;
    margin-top: 5px;
    font-size: 3rem;
    text-transform: uppercase;
}

.menu-section {
    padding-bottom: 100px;
}

.menu-section h2 {
    font-size: 2rem;
    color: #ffd103;
    text-transform: uppercase;
    margin-bottom: 30px;
    border-bottom: 3px solid #f2ff00;
}

/* Estilos para las tarjetas de productos */
.product-card {
    background: linear-gradient(135deg, rgba(19, 19, 19, 0.2) 0%, rgba(169, 167, 117, 0.153) 100%);
    border-radius: 15px;
    border: 2px solid rgba(242, 255, 0, 0.3);
    padding: 15px;
    margin-bottom: 30px;
    margin-right: 15px;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 0 10px #ffd103;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.product-card:hover {
    transform: scale(1.15);
}

.product-card img {
    width: 100%;
    height: auto;
    border-bottom: 2px solid #f2ff00;
    margin-bottom: 15px;
}

.product-card h5 {
    color: #fff;
    margin-top: 10px;
    font-size: 1.5rem;
}

.product-card p {
    color: #dcdcdc;
}

.product-card .price {
    color: #f2ff00;
    font-weight: bold;
    font-size: 1.3rem;
}

#total-box {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background-color: #333;
    border-top: 5px solid #f2ff00;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.reset-container {
    display: flex;
    align-items: center; /* Alinea el GIF y el grupo de botones al centro verticalmente */
    gap: 10px; /* Espacio entre el GIF y el grupo de botones */
}

.reset-gif {
    width: 30px;
    height: auto;
    margin-right: 10px; /* Espacio a la derecha del GIF */
}

.button-group {
    display: flex;
    flex-direction: column; /* Coloca los botones en columna */
    gap: 5px; /* Espacio reducido entre los botones */
}

/* Estilos comunes para ambos botones */
.button {
    position: relative;
    padding: 10px 22px;
    border-radius: 6px;
    border: none;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.button:active {
    transform: scale(0.96);
}

.button:before,
.button:after {
    position: absolute;
    content: "";
    width: 150%;
    left: 50%;
    height: 100%;
    transform: translateX(-50%);
    z-index: -1000;
    background-repeat: no-repeat;
}

/* Colores específicos para cada botón */

/* Botón "Registrar" */
#reset-btn {
    background-color: #ffd103; /* Color amarillo */
    color: #333;
}

#reset-btn.clicked:before {
    top: -70%;
    background-image: radial-gradient(circle, #ffd103 20%, transparent 20%),
        radial-gradient(circle, transparent 20%, #ffd103 20%, transparent 30%),
        radial-gradient(circle, #ffd103 20%, transparent 20%),
        radial-gradient(circle, #ffd103 20%, transparent 20%),
        radial-gradient(circle, transparent 10%, #ffd103 15%, transparent 20%),
        radial-gradient(circle, #ffd103 20%, transparent 20%),
        radial-gradient(circle, #ffd103 20%, transparent 20%),
        radial-gradient(circle, #ffd103 20%, transparent 20%),
        radial-gradient(circle, #ffd103 20%, transparent 20%);
    background-size: 10% 10%, 20% 20%, 15% 15%, 20% 20%, 18% 18%, 10% 10%, 15% 15%, 10% 10%, 18% 18%;
    background-position: 50% 120%;
    animation: greentopBubbles 0.6s ease;
}

#reset-btn.clicked:after {
    bottom: -70%;
    background-image: radial-gradient(circle, #ffd103 20%, transparent 20%),
        radial-gradient(circle, #ffd103 20%, transparent 20%),
        radial-gradient(circle, transparent 10%, #ffd103 15%, transparent 20%),
        radial-gradient(circle, #ffd103 20%, transparent 20%),
        radial-gradient(circle, #ffd103 20%, transparent 20%),
        radial-gradient(circle, #ffd103 20%, transparent 20%),
        radial-gradient(circle, #ffd103 20%, transparent 20%);
    background-size: 15% 15%, 20% 20%, 18% 18%, 20% 20%, 15% 15%, 20% 20%, 18% 18%;
    background-position: 50% 0%;
    animation: greenbottomBubbles 0.6s ease;
}

/* Botón "Borrar Total" */
#clear-total-btn {
    background-color: #7d2ae8; /* Color púrpura */
}

#clear-total-btn.clicked:before {
    top: -70%;
    background-image: radial-gradient(circle, #7d2ae8 20%, transparent 20%),
        radial-gradient(circle, transparent 20%, #7d2ae8 20%, transparent 30%),
        radial-gradient(circle, #7d2ae8 20%, transparent 20%),
        radial-gradient(circle, #7d2ae8 20%, transparent 20%),
        radial-gradient(circle, transparent 10%, #7d2ae8 15%, transparent 20%),
        radial-gradient(circle, #7d2ae8 20%, transparent 20%),
        radial-gradient(circle, #7d2ae8 20%, transparent 20%),
        radial-gradient(circle, #7d2ae8 20%, transparent 20%),
        radial-gradient(circle, #7d2ae8 20%, transparent 20%);
    background-size: 10% 10%, 20% 20%, 15% 15%, 20% 20%, 18% 18%, 10% 10%, 15% 15%, 10% 10%, 18% 18%;
    background-position: 50% 120%;
    animation: greentopBubbles 0.6s ease;
}

#clear-total-btn.clicked:after {
    bottom: -70%;
    background-image: radial-gradient(circle, #7d2ae8 20%, transparent 20%),
        radial-gradient(circle, #7d2ae8 20%, transparent 20%),
        radial-gradient(circle, transparent 10%, #7d2ae8 15%, transparent 20%),
        radial-gradient(circle, #7d2ae8 20%, transparent 20%),
        radial-gradient(circle, #7d2ae8 20%, transparent 20%),
        radial-gradient(circle, #7d2ae8 20%, transparent 20%),
        radial-gradient(circle, #7d2ae8 20%, transparent 20%);
    background-size: 15% 15%, 20% 20%, 18% 18%, 20% 20%, 15% 15%, 20% 20%, 18% 18%;
    background-position: 50% 0%;
    animation: greenbottomBubbles 0.6s ease;
}

/* Animaciones de burbujas */
@keyframes greentopBubbles {
    0% {
        background-position: 5% 90%, 10% 90%, 10% 90%, 15% 90%, 25% 90%, 25% 90%, 40% 90%, 55% 90%, 70% 90%;
    }

    50% {
        background-position: 0% 80%, 0% 20%, 10% 40%, 20% 0%, 30% 30%, 22% 50%, 50% 50%, 65% 20%, 90% 30%;
    }

    100% {
        background-position: 0% 70%, 0% 10%, 10% 30%, 20% -10%, 30% 20%, 22% 40%, 50% 40%, 65% 10%, 90% 20%;
        background-size: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%;
    }
}

@keyframes greenbottomBubbles {
    0% {
        background-position: 10% -10%, 30% 10%, 55% -10%, 70% -10%, 85% -10%, 70% -10%, 70% 0%;
    }

    50% {
        background-position: 0% 80%, 20% 80%, 45% 60%, 60% 100%, 75% 70%, 95% 60%, 105% 0%;
    }

    100% {
        background-position: 0% 90%, 20% 90%, 45% 70%, 60% 110%, 75% 80%, 95% 70%, 110% 10%;
        background-size: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%;
    }
}

.product-card {
    position: relative;
    /* Otros estilos */
}

/* Contenedor de contador y botón en la esquina inferior derecha */
.counter-container {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.counter {
    font-size: 1.2rem;
    color: #ffd103;
    font-weight: bold;
}

.decrement-btn {
    background-color: #ff4c4c;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 1rem;
}

.decrement-btn:hover {
    background-color: #ff0000;
}

  
