body {
    background: url('../img/f5.jpeg') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    position: relative;
    overflow-y: auto; 
}
body::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.menu-container,
.tarjeta {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.3);
    margin: 20px; 
    text-align: center; 
    max-width: 900px; 
    margin: 20px auto; 
}

.tarjeta-header,
.menu-header {
    background-color: #000000;
    color: #08a635;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
    text-align: center; 
    font-family: 'Playfair Display', serif;
}

.tarjeta-contenido-adicional h1 {
    font-size: 1.5em;
    margin-bottom: 15px;
    animation: cambioColor 5s infinite;
}

.tarjeta-contenido-adicional p {
    font-size: 1.2em;
    margin: 3px 0; 
    line-height: 1.6;
}

@keyframes cambioColor {
    0% { color: #545454; } 
    50% { color: #03362f; } 
    100% { color: #545454; } 
}

.tarjeta-contenido,
.menu-contenido {
    text-align: center; 
}

@media (max-width: 768px) {
    .tarjeta-contenido,
    .menu-contenido {
        font-size: 14px; 
    }
}

.tarjeta-logo,
.menu-logo {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
    margin: 0 auto;
}

.tarjeta-descripcion,
.menu-descripcion {
    font-family: 'Playfair Display', serif;
    margin: 15px 0; 
}

.tarjeta-contenido-adicional,
.menu-contenido-adicional {
    margin-top: 20px;
    color: #555;
    font-family: 'Playfair Display', serif;
}


@media (max-width: 768px) {
    .tarjeta-header h1,
    .menu-header h1 {
        font-size: 1.5em;
    }

    .tarjeta,
    .menu-container {
        max-width: 100%; 
    }
}

/* Loader */
#g-load {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 999999;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.load {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid #a17a2c;
    border-top: 3px solid transparent;
    position: relative;
    animation: rotate 0.8s linear infinite; 
}


@keyframes rotate {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
}

.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-content {
    text-align: center;
    background-color: #08a635;
    border: 1px solid #08a635;
    padding: 20px;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 20px;
    color: #333;
}

.popup-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none; 
}
@media (max-width: 767px) {
    .popup {
        width: 90%;
    }
}

.redes-sociales {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 40px;
}

.red-social-icon {
    background-color: #333;
    color: #08a635;
    border-radius: 50%;
    padding: 15px; 
    font-size: 20px;
    transition: background-color 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
}

.red-social-icon:hover {
    background-color: #5ce1e6;
}

@media (max-width: 768px) {
    .redes-sociales {
        flex-wrap: wrap;
        justify-content: center; 
    }

    .red-social-icon {
        margin: 5px; 
    }
}
.hola {
    background-color: #08a635;
    padding: 20px; 
    border-radius: 10px; 
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); 
}

.footer {
color: white;
    
}

.botones-iphone {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.boton-iphone {
    display: inline-block;
    padding: 15px; 
    background-color: #ffffff; 
    color: #03362f; 
    text-align: center;
    text-decoration: none;
    border-radius: 20px;
    font-size: 22px; 
    cursor: pointer;
}

.boton-iphone:hover {
    color: #03362f;
}
.cambio-color {
    animation: cambioColor 3s infinite;
}

@keyframes cambioColor {
    0% {
        color: #000000;
    }
    50% {
        color: #08a635;
    }
    100% {
        color: #000000;
    }
}