/* Estilos Generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, p, a {
    font-family: 'Poppins', sans-serif;
    text-align: center;
}

body {
    background: linear-gradient(#91C5DA, #FFF1E6);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Estilos para el Header */
.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(#094352bb, #91C5DA);
    padding: 1rem 2rem;
    width: 100vw; 
    box-sizing: border-box; 
}

.left-section {
    display: flex;
    align-items: center;
    justify-content: flex-start; 
    width: 100%;
}

.logo-uba {
    max-height: 3rem;
    margin-right: 2rem;
}

.nav {
    display: flex;
    list-style-type: none;
    gap: 2rem; 
}

.nav li a {
    text-decoration: none;
    color: #2E2F2F;
    font-size: 1.5rem;
    font-weight: bold;
    display: inline-block;
    text-align: center;
    padding: 0.5rem 0;
}

.nav li:not(:last-child)::after {
    content: "";
    display: inline-block;
    height: 1rem;
    width: 1px;
    background-color: #2E2F2F;
    margin-left: 1rem;
}

.right-section {
    background-color: #2E2F2F;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
}

.equipo-btn {
    color: #D1462F; 
    padding: 0.5rem 2rem;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    border-radius: 0;
}

.equipo-btn:hover {
    color: #B23C27; 
}  

/* Main Content */
main {
    margin-bottom: 100px;
}

h1 {
    font-family: 'Anton', sans-serif;
    color: #D1462F;
    font-size: 2rem;
    margin: 2rem 0 1rem 0;
}

/* Grid Section */
.grid-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 2rem;
    text-align: center;
    align-items: center;
}

.grid-section h5 {
    color: #2E2F2F;
    font-size: 1.5rem;
    font-weight: bold;
}

.grid-section img {
    max-width: 100%;
    height: auto;
}
/* Estilos para la sección Brief */
.brief-section {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem;
    gap: 1.5rem;
}
.banner-img {
    width: 90%; /* La imagen ocupará el ancho completo de la pantalla */
    height: auto; /* Mantiene la relación de aspecto */
    margin-bottom: 1.5rem; /* Espacio inferior para separar del contenido */
}

.brief-column {
    background-color: #ffffff; /* Blanco */
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    flex: 1;
    text-align: center; /* Centra todo el contenido dentro de la columna */
}

.brief-column h2 {
    color: #000000; /* Negro */
    font-weight: bold;
    font-size: 1,6 rem;
    text-align: center; /* Centra los títulos */
}

.brief-column h3 {
    color: #000000;
    font-weight: normal;
    font-size: 1,3 rem;
    background-color: #ffffffc3; /* Fondo blanco */
    padding: 0.5rem;
    border-radius: 4px;
    text-align: center; /* Centra los subtítulos */
}

.brief-column p {
    color: #505050; /* Gris oscuro */
    font-size: 1rem;
    line-height: 1.5;
}


.brief-column p {
    color: #505050; /* Gris oscuro */
    font-size: 1rem;
    line-height: 1.5;
    justify-content: center;
}


/* Footer */
footer {
    padding: 2rem 2rem;
    text-align: center;
}

footer h4 {
    font-family: 'Anton', sans-serif;
    color: #2E2F2F;
    background: linear-gradient(#09435277, #91C5DA);
    padding: 1rem;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.datos-obligatorios {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 1rem;
    background: linear-gradient(#91C5DA, #FFF1E6);
    padding: 1rem;
}

.datos-carrera {
    flex: 1 1 200px;
    padding: 1rem;
    text-align: left;
    font-size: 15px;
    align-items: center;
}

.datos-carrera img {
    display: flex;
    max-width: 100px;
    margin-bottom: 1rem;
    align-items: center;
}

.contenidos {
    background-color: #D3D9D5;
    padding: 1rem;
    font-size: 0.9rem;
    color: #2E2F2F;
    margin-top: 1rem;
}

/* Responsividad */
@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        gap: 1rem;
    }

    .datos-obligatorios {
        flex-direction: column;
    }
}
