@font-face {
    font-family: 'Autography';
    src: url('../fonts/Autography.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Cormorant Garamond';
    src: url('../fonts/CormorantGaramond.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Fondo que ocupa toda la pantalla */
body {
    background: url("../img/bg.jpg") no-repeat center center/cover;
    /*height: 100vh;*/
    margin: 0;
    /*overflow: hidden; /* evita scroll */
    position: relative;
    font-family: 'Cormorant Garamond', serif;
    display: flex;
    flex-direction: column;
}

footer {
    display: flex;
    justify-content: center;
    padding: 2rem 0 8rem 0;
}

/* Oscurece un poco el fondo para mejor contraste */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 1;
}

/* Contenido centrado */
.content {
    position: relative;
    z-index: 2;    
}

/* Fondo y centrado del loader */
.loader-overlay {
    position: fixed; /* Ocupa toda la pantalla */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Fondo gris semitransparente */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Encima de todo */
}

/* Loader circular */
.loader {
    border: 8px solid #f3f3f3; /* Fondo del círculo */
    border-top: 8px solid #661A32; /* Parte animada */
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Estilo del contador */
#countdown {
    display: flex;
    justify-content: center;
}
#countdown div {
    min-width: 80px;    
    text-align: center;
}

.img-borde-difuminado {
    border: 5px solid rgba(255, 255, 255, 0.5); /* borde semitransparente */
    border-radius: 15px;                         /* bordes redondeados */
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5); /* difuminado */
    transition: all 0.3s ease;                   /* suaviza cualquier cambio */
}

#btn-audio i {
    font-size: 50px;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.titulo-autography {
    font-family: 'Autography', serif;
    font-size: 24px;
    color: #661A32;
}

.titulo2-autography {
    font-family: 'Autography', serif;
    font-size: 24px;    
}

.tipo-autography {
    font-family: 'Autography', serif;
}

.signal {
    letter-spacing: 0.5rem;
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0;
}

.error-text {
    color: red;
}

.color-secondary {
    color: #661A32;
}

.ws {
    font-size: 1.3rem;
    color: #25D366;
}

#myRVSP .form-select:focus  {
    border: none;

}

.rsvp-btn {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    font-weight: 650;
    text-decoration: none;
    color: black;
    border: 1px dashed black;        
    border-radius: 10px;
    display: flex;
    align-items: center;
}

.mw-600 {
  max-width: 600px;
}

.w-20 {
    width: 20%;
}

.date-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 2.5rem;
    font-weight: 550;
}


.date-column p{
    margin: 0;    
}

.navbar-page {
    position: fixed;
    bottom: 1rem;
    opacity: 1;
    width: 100%;
    z-index: 50;    
}

.navbar-page nav{    
    border-radius: 10px;
    background: url(../img/bg.jpg) no-repeat center center / cover;
    border: 1px dashed;
}

.navbar-page a {
    text-decoration: none;
    color: black;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.btn-submit-form {
    background-color: rgba(102, 26, 50, 0.7); /* tono más suave del #661A32 */
    color: black;        
    padding: 5px 10px;
    transition: 0.3s;
    font-size: 1.2rem;
    font-weight: bold;
}

#ubicaciones .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#ubicaciones .container p {
    text-align: center;
    margin: 0;
    font-size: 18px;
}

#ubicaciones .container a {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    text-decoration: none;
    color: black;
    border: 1px dashed black;        
    border-radius: 10px;
    display: flex;
    align-items: center;    
}

#itinerario img {
    width: 20rem;
}

#info-bus .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#dudas a {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    text-decoration: none;
    color: black;
    border: 1px dashed black;        
    border-radius: 10px;
    display: flex;
    align-items: center;  
    justify-content: space-evenly;
    margin: 1rem 0 1rem 0;
    padding: 0.2rem 0.4rem 0.2rem 0.4rem;
}

#dudas i {
    padding-right: 0.5rem;
}

.w-icons {
    width: 5rem;
}
