body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: rgba(224, 247, 250, 0.5);  /* Fondo claro */
    overflow: hidden;  /* Bloquear desplazamiento vertical y horizontal */
    position: relative; /* Necesario para posicionar el pseudo-elemento */
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('IMG_1617.jpg') no-repeat center 60% fixed;
    background-size: cover;
    filter: grayscale(100%);
    opacity: 0.5;
    z-index: -1; /* Coloca la imagen detrás del contenido */
}

.container {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 10px;
    z-index: 1; /* Asegura que el contenido esté por encima de la imagen */
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 20px 40px;
    font-size: 1.5em;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.btn i {
    font-size: 2em;
}

#pedestrianDoor {
    background-color: #4CAF50;
    color: white;
}

#pedestrianDoor:hover {
    background-color: #45a049;
}

#parkingDoor {
    background-color: #008CBA;
    color: white;
}

#parkingDoor:hover {
    background-color: #007bb5;
}

.btn.opening {
    animation: blinking 1s infinite;
}

.btn.opened {
    background-color: #FFD700;
    color: black;
    animation: none;
}

@keyframes blinking {
    0% { background-color: #4CAF50; }
    50% { background-color: #FF4500; }
    100% { background-color: #4CAF50; }
}