/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container {
    max-width: 90%;
    margin: 0 auto;
    padding: 20px;
}

/* Event Cards */
.cards-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.card {
    flex: 1 1 calc(20% - 20px);
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 20px;
}

.card img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 10px;
}

.card h3 {
    font-size: 1.5rem;
    color: #d80000;
}

.card p {
    font-size: 1rem;
    color: #333;
}

.card .btn {
    background-color: #d80000;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    margin-top: 15px;
}

/* Additional Resources */
.additional-resources {
    text-align: center;
    margin: 50px 0;
}

.additional-resources h2 {
    font-size: 2rem;
    color: #d80000;
    margin-bottom: 10px;
    text-align: left;
}

.additional-resources .resource-cards {
    display: flex;
    justify-content: space-around;
    gap: 20px;
}

.resource-card {
    flex: 1 1 45%;
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.resource-card h3 {
    font-size: 1.5rem;
    color: #d80000;
}

.resource-card p {
    font-size: 1rem;
    color: #333;
}

.resource-card .btn {
    background-color: #d80000;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 15px;
    display: inline-block;
}

.resource-cards img {
    width: 400px;
    height: 250px;
    object-fit: cover;
    border-radius: 10%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cards-container {
        flex-direction: column;
        gap: 20px;
    }

    .resource-cards {
        flex-direction: column;
        gap: 20px;
    }

    .event-month .card {
        max-width: 100%;
    }
}

.justify {
    text-align: justify;
}


/* mtm */
.mtm {
    text-align: center;
    margin: 50px 0;
}

.mtm h2 {
    font-size: 2rem;
    color: #d80000;
    margin-bottom: 10px;
    text-align: left;
}

.mtm .mtm-cards {
    display: inline-flex;
    justify-content: space-around;
    gap: 20px;
}

.mtm-card {
    flex: 1 1 45%;
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

.mtm-card h3 {
    font-size: 1.5rem;
    color: #d80000;
}

.mtm-card p {
    font-size: 1rem;
    color: #333;
}

.mtm-card .btn {
    background-color: #d80000;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 15px;
    display: inline-block;
}

.mtm-cards img {
    width: 350px;
    height: 350px;
    object-fit: cover;
    border-radius: 10%;
}

.banner-container {
    /* Agrega tu imagen de fondo */
    background-image: url('../images/eventos/upc_eventos.jpg'); /* Reemplaza con la ruta a tu imagen */
    background-size: cover; /* Hace que la imagen cubra todo el contenedor */
    background-position: center; /* Centra la imagen */
    background-repeat: no-repeat; /* No repite la imagen */
    position: relative; /* Necesario para contener la capa de superposición */
    padding: 20px 0px; /* Espacio alrededor del contenido */
    color: #ffffff; /* Color del texto en blanco */
    height: 400px;
}

.banner-container-encuentros-deportivos {
    /* Agrega tu imagen de fondo */
    background-image: url('../images/eventos/banner_encuentros_deportivos.png'); /* Reemplaza con la ruta a tu imagen */
    background-size: cover; /* Hace que la imagen cubra todo el contenedor */
    background-position: center; /* Centra la imagen */
    background-repeat: no-repeat; /* No repite la imagen */
    position: relative; /* Necesario para contener la capa de superposición */
    padding: 20px 0px; /* Espacio alrededor del contenido */
    color: #ffffff; /* Color del texto en blanco */
    height: 450px;
}

.advisory-committee-card {
    background-color: #d2232a;
    color: white;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    margin: 0 auto;
    max-width: 90%;
    margin-top: 20px;
    font-size: 25px;
}


/* mtm */
.ed {
    text-align: center;
    margin: 20px 0;
}

.ed h2 {
    font-size: 2rem;
    color: #d80000;
    margin-bottom: 10px;
    text-align: left;
}

.ed .ed-cards {
    display: inline-flex;
    justify-content: space-around;
    gap: 20px;
}

.ed-card {
    flex: 1 1 45%;
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 20px;;
}

.ed-card h3 {
    font-size: 1.5rem;
    color: #d80000;
}

.ed-card p {
    font-size: 1rem;
    color: #333;
}

.ed-card .btn {
    background-color: #d80000;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 15px;
    display: inline-block;
}

.ed-cards img {
    width: 500px;
    height: 250px;
    object-fit: cover;
    border-radius: 10%;
    padding: 10px;
}

.h1-titulo{
    text-align: center;
    margin-left: 50px;
    font-size: 36px;
    color: #d2232a;
}