body {
    font-family: Arial;
    margin: 0;
    background-color: #efefef;
}

.demo-container {
    padding: 1px;
    border-radius: 2px;
    margin: 0 auto;
}

.login-registration-menu {
    background: #f9f9f9;
    border: #ececec 1px solid;
    padding: 10px 20px;
    text-align: right;
    border-radius: 3px;
}

.input-row {
    margin-bottom: 20px;
}

.input-field {
    width: 98%;
    border-radius: 2px;
    padding: 10px;
    border: #e0dfdf 1px solid;
}

.btn-submit {
    padding: 10px 30px;
    border: #d5d4d5 1px solid;
    font-size: 0.9em;
    width: 150px;
    border-radius: 3px;
    cursor: pointer;
    padding-bottom: 10px;
    color: #808080;
}

.submit-button {
    padding-bottom: 10px;
}

/*#btn-login {
    border: #b5b0b0 1px solid;
    border-radius: 3px;
    font-size: 0.9em;
    width: auto;
    padding: 5px 30px;
}

#btn-register {
    background-color: #ffb162;
    border: #e8aa6a 1px solid;
    border-radius: 3px;
    font-size: 0.9em;
    width: auto;
    padding: 5px 30px;
    margin-left: 15px;
}*/

div.register-class {
    overflow: hidden;
}

img#loaderId {
    vertical-align: middle;
    width: 45px;
    height: 50px;
}


.btn-logout {
    cursor: pointer;
    border: #e2e2e2 1px solid;
    border-radius: 3px;
    padding: 5px 20px;
}

.success-message {
    margin-left: 1px;
    color: #189a18;
    font: 18px;
    display: none;
}

.error-message {
    color: #FF0000;
    display: none;
    margin-top: 15px;
}

.dashboard {
    text-align: right;    background: #f9f9f9;
    border: #ececec 1px solid;
    padding: 10px 20px;
    border-radius: 3px;
}


.thank-you-registration {
    display:none;   
    background: #ace4c0;
    margin-top: 15px;
    padding: 10px;
    font-size: 0.95em;
    border-radius: 3px;
    border: #a9d4b9 1px solid;
}


.container1 {
    width: 400px;
    margin: 0 auto;
}

section article {
    transition: all 1s ease;
    background-color: #fff;
    margin: 1rem 0;
    border-radius: 0.5rem;
    padding: 0.25rem 0;
    cursor: pointer;

}

section article:hover {
    box-shadow: 0rem 0.1rem 0.4rem rgba(0, 0, 0, 0.3);
}


footer {
    background-color: #222;
    padding: 0.5rem;
    color: white;
    position: fixed; /* Hace que el footer esté fijo */
    bottom: 0; /* Lo posiciona en la parte inferior */
    width: 100%; /* Asegura que ocupe todo el ancho de la ventana */
    z-index: 1000; /* Evita que se superponga con otros elementos */
    text-align: center; /* Centra el contenido */
}

footer section {
    float: none; /* Quita el float */
    display: inline-block; /* Para que los elementos internos se alineen */
}

footer p {
    transition: all 0.3s ease; /* Ajusté la duración de la transición */
    margin: 0;
}

footer a {
    transition: color 0.3s ease;
    color: white;
    text-decoration: none;
}

footer a:hover {
    color: lightseagreen;
}

footer p:hover {
    color: rgb(0, 0, 0);
}
h1 {
    font-size: 2.5em; /* Ajusta segÃºn el tamaÃ±o que desees */
    font-weight: bold;
    color: #333; /* Color del texto */
    border-bottom: 2px solid #ddd; /* Borde inferior sutil */
    padding-bottom: 10px; /* Espaciado inferior */
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.3); /* Sombra de texto */
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
  }

/* EVENTOS  EVENTOS  EVENTOS  EVENTOS  EVENTOS  EVENTOS  EVENTOS  EVENTOS  EVENTOS  EVENTOS  EVENTOS  EVENTOS  EVENTOS */

  .contenedor-eventos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
  }

  .evento {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 20px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 400px;
    width: 100%;
  }

  .contenido-evento {
    text-align: center;
    margin-bottom: 15px; 
  }

  .titulo-fecha {
    height: 90px; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .titulo-evento {
    font-size: 1.5em; 
  }

  .imagen-evento {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
  }

  .descripcion-link {
    height: 100px; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    
  }

  .btn-mas-info {
    margin-left: auto;
  }
