.subscribe {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    padding-top: 20px;
    padding-bottom: 40px;   
}

.subscribe-button {
    font-size: 20px;
    font-weight: bold;
    animation: fadeIn 2s ease-in-out; 
    font-family: 'Arial', sans-serif; 
    color: #333;
    border-width: 400px;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);   
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.subscribe-button {
    display: center;
    background-color: #09386f; 
    color: white;
    padding-left: 100px;
    padding-right: 100px;
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
    margin-top: 20px; 
    border-width: 4px; 
   
}

.subscribe-button:hover {
    background-color: #E6D847;
    color: black;
}

.hero-section {
    background-image: url(../images/Backgrounds/ugeragateam.jpg);
    padding: 100px;
    height: 300px;
    background-position: center;
    background-repeat: no-repeat; 
    background-size: cover; 
}

.features-section {
    height: auto;
    color: black;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Lato', sans-serif;
    padding: 20px;
    position: relative; 
    overflow: hidden; 
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    margin-left: 30px;
    margin-right: 30px;
    margin-bottom: 30px;
}

h2 {
    background-color: #09386f;
    color: white;
    border-radius: 10px;
    padding: 5px 10px;
    text-align: center;
    margin-bottom: 20px;
    margin: 0;
    font-size: 1.5em;
}

.news-wrapper {
    width: 100%;
    max-width: 1300px;
    margin-top: 20px;
}

.news-item {
    display: flex;
    justify-content: center;
    text-align: justify;
    align-items: center;
    flex-direction: column;
    letter-spacing: 1px;
    line-height: 30px;
}

.news-item p {
    max-width: 800px;
}

.news-item a {
    text-decoration: none; /* Quitar el subrayado */
    color: inherit; /* Mantener el color del texto original */
    transition: color 0.3s ease; /* Agregar transición para un cambio suave de color */
}

.news-item a:visited {
    color: inherit; /* Mantener el color del texto original después de hacer clic */
}

/* Cambiar el color a dorado al pasar el ratón */
.news-item a:hover {
    color: #E6D847; /* Cambiar a dorado */
    font-weight: bold; /* Hacer el texto más llamativo */
}


.gallery-section {
    padding: 20px;
    text-align: center;
}

.gallery-title {
    font-size: 2em;
    margin-bottom: 20px;
}

.gallery-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.gallery-item {
    margin: 10px;
}

.gallery-image {
    width: 200px; /* Ajusta según tus necesidades */
    height: auto;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s;
}

.gallery-image:hover {
    transform: scale(1.5);
}

.modal {
    display: none; /* Ocultamos el modal por defecto */
    position: fixed;
    z-index: 999;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80%;
}

#caption {
    text-align: center;
    color: #fff;
    margin-top: 10px;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}