@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400&family=Outfit:wght@500&display=swap');

*{
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
    max-width: 100%;
  }

body {
    margin: 0;
    background-color: #2c0c20;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Be Vietnam Pro', sans-serif;
    font-family: 'Outfit', sans-serif;
  }

a {
    text-decoration: none;
    color: #2c0c20;
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: bold;
  }

ul,ol {
  list-style: none;
  padding: 0;
}

h1,h2,h3,h4,h5 {
  font-family: 'Outfit', sans-serif;
}

header{
    background-color:#682842;
    padding: 1em;
}

.contenedor{
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1em;
}

.ulcontenedor{
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1em;
   
}

header img {
    width: 4em;
    padding: .3em;
    width: 5em;
    margin: 0;
    background-color: #ad918a;
}

header ul li a {
    background-color:#2c0c20;
    padding: 0.5em;
    color: #ad918a;
    border-radius: 9em;
    display: block;
}

header ul li a:hover {
    background-color: #ad918a;
    color:#2c0c20;
}

h1, h2 {
    color: #682842;
    margin: 0em;
}

#datosAcademicos h2 {
    color: #ad918a;
    padding: 0em 1em 0em 1em;
}

article section {
    margin: .0em;
}

#datosEquipo {
    margin: 1em;
    padding: 1em;
    background-color:#96c3b8;
    border-radius:.9em;
}

.alumno {
    margin: 1em;
}

.compañera1, .compañera2 {
    margin: 1em;
}

.equipo {
    display: block;
}

main li {
    font-family: 'Be Vietnam Pro', sans-serif;
    padding: 0.3em 0em 0em;
}

.equipo img {
    display: block;
    width: 20em;
}

.intro p {
    color:#2c0c20;
    margin: 0 0.4em 0 0;
    display: inline-block;
    width: 20em;
    font-family: 'Be Vietnam Pro', sans-serif;
    padding: 0.5em 0em 0em;
}

.equipo h4 {
    font-size: 1.3em;
    margin: 0 0 0.4em 0;
    text-align: left;
}

#datosEquipo h3 {
    padding: 0em 0em 0.5em;
}

#datosEquipo h1 {
    border-bottom: solid 2px;
    width: 40%;
}

.comitente,
.carrera {
    margin: 1em;
    padding: 1em;
    border-radius:.9em;
    background-color: #ad918a;
}

#datosCarrera h3 {
    color:#682842;
    padding: 0.3em 0em 0em;
}

#datosCarrera h2 {
    display: inline;
    border-bottom: solid 2px;
    width: 40%;
}

#datosCarrera p, li {
    color: #2c0c20;
}

#datosCarrera p {
    padding: 0.3em 0em 0em;
}

.datos {
    background-color: #ad918a;
    padding: 2em;
    margin: 1em;
    border-radius: 0.9em;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    width: auto;
    align-items: baseline;
    justify-content: center;
}

#datosAcademicos img {
    width: 10em;
}

#datosAcademicos h5 {
    color: #96c3b8;
}
#datosAcademicos h5 span {
    color: #682842;
}

#datosAcademicos h4 {
    color: #2c0c20;
}

#datosAcademicos h1 {
    width: 40%;
    border-bottom: solid 2px;
}

#datosComitentes h2 {
    display: inline;
    width: 40%;
    border-bottom: solid 2px;
}

#datosComitentes h4 {
    display: inline;
    width: 100%;
    color: #2c0c20;
}

#datosComitentes img {
    display: block;
    padding: 1em 0em;
}

.comitente p {
    font-family: 'Be Vietnam Pro', sans-serif;
    color: #2c0c20;
}

footer {
    padding: 1em;
    background-color:#682842;
    color: #ad918a;
}

footer p {
    margin-block: 0;
    font-family: 'Be Vietnam Pro', sans-serif;
  }

#trabajos img {
    width: 100%;
    display: block;
    padding: 0.3em;
}

#trabajos {
    margin: 1em;
    padding: 1em;
    background-color: #ad918a;
    border-radius: 0.9em;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

#trabajos h2 {
    display: inline;
    width: 1000%;
    border-bottom: solid 2px;
}

#trabajos h3 {
    color:#2c0c20;
    display: block;
    width: 100%;
    padding: 1em 0em;
}

@media only screen and (min-width: 980px){

    header .contenedor, .ulcontenedor{
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .equipo {
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        justify-content: center;
    }

    #datosEquipo h1 {
        width: 40%;
    }
    
    #datosCarrera{
        display: flex;
        flex-wrap: wrap;
        gap: 1em;
        justify-content: center;
        align-items: baseline;
        flex-direction: row;
    }

    #datosCarrera h2 {
        display: inline;
        width: 100%;
    }

    .carrera section {
        flex-basis: 18%;
    }

    #datosAcademicos {
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        justify-content: flex-start;
    }

    .datos {
        flex-basis: 30.9%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.7em;
        text-align: start;
        padding: 1em;
    }

    #datosAcademicos h2 {
        display: inline;
        width: 100%;
    }

    #datosComitentes {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }

    #trabajos img {
        padding: 0.5em;
    }

    #trabajos .trabajoimg {
        display: flex;
        flex-direction: row;
        padding: 0em 1em;
    }

    #trabajos h2 {
        width: 40%;
    }

    #trabajos h3 {
       padding: 1em 1em 0em;
    }
}