@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2? family= Bodoni+Moda:opsz,wght@6..96,400;6..96,700 & family= Roboto:wght@400;500 & mostrar=cambiar');

/* Introducción a css, Hojas de Estilo en Cascada */

/* mobile de 480px. */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-align: center;
}

ol, ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color:blueviolet;
    font-family: Bodoni; 
    font-weight: 700;
}

a:hover {
    background-color: hsl(24B, 25%, 85%);
}

body {
    font-family: Bodoni; 
    font-weight: 400;
    background-color: rgb(9, 35, 50);
    min-height: 100vh;
    display: grid;
}

header {
    background-color: rgb(131, 169, 200);
    padding: 1em;
    box-sizing: border-box;
    box-shadow: 5px 5px #1f8bb2;
}

#logo {
    text-align: center;
}

#logo img {
    border-radius: 0.50em;
}

header nav a {
    display: grid;
    gap: 1em;
    place-items: center;
}

header nav ul {
    margin: auto;
    width: 9em;
}

header ul li a {
    margin: .3em;
    background-color: rgb(6, 57, 57);
    display: flex;
    color: rgb(188, 188, 188);
    justify-content: center;
    align-items: center;
}

#datosalumno {
    text-align: center;
    display: flex;
    flex-direction: column;
    box-shadow: 5px 5px #1f8bb2;
}

#mifoto {
    margin-top: 0.8em;
    width: auto;
    padding: 0;
    display: block;
}

/* articles */

article {
    margin: 1em;
    padding: 1em;
    background-color: rgb(131, 169, 200);
    width: auto;
}

.porcentaje p {
    text-align: center;
}

article h4 {
    font-weight: 600;
    text-align: center;
    margin: .6em;
}

article h3 span {
    display: block;
    font-size: .7em;
    color: hsl(0 0% 0% / 65%);
    border-block-start: skyblue;
}

article.carrera h2::before {
    content:normal;
    font-family:sans-serif;
    color:rgb(31, 139, 178);
    display: inline-block;
    font-size: 1em;
    line-height: 0.9em;
}

h1 {
    color: rgb(9, 35, 50);
    font-size: 3em;
}

h2 {
    color: rgb(6, 57, 57);
    text-align: center;
    margin: .4em;
}

h3 {
    text-align: center;
}

article section {
    margin: .5em 0 0 0;
}

.equipo {
    background-color: rgb(172, 218, 243);
}

.equipo li:not(:last-child) {
    margin: 0 0 1em 0;
    padding-bottom: 1em;
}

li.contenedor {
    width: 70%;
    margin: auto;
}

.contenedordos, .contenedortres, .contenedorcuatro {
    width: 70%;
    margin: auto;
}

li {
    display: list-item;
    color:rgb(6, 57, 57);
    list-style: none;
    text-align: center;
    font-family: Roboto; 
    font-weight: 400;
}

.equipo li a {
    display: block;
    margin: 1em 0 0 0;
    padding: .3em;
    text-align: right;
    background-color:rgb(31, 139, 178);
}

.equipo li p {
    color: white;
    margin: 0 0.4em 0 0;
    text-align: center;
}

p {
    list-style: none;
    text-align: left;
    margin: .2em;
}

.equipo h4 {
    font-size: 1.3em;
    color: rgb(210, 215, 216);
    margin: 0 0 0.4em 0;
    list-style: none;
    text-align: center;
}


/* footer */
footer {
    padding: .8em;
    color: hwb(0 100% 0%);
    font-family: Roboto; 
    font-weight: 500;
}


/* tablet 600px. */
@media  screen and (min-width: 600px)
{

header {
    display: flex;
    box-sizing: border-box;
    justify-content: space-between;
    align-items: center;}

header nav ul{
    width: 9em;}

article h2 h3 {
    display: flex;
    flex-direction: row;
    justify-content: space-around;}

#datosUBA ul li {
    margin: .2em;}

#datosfadu li {
    margin: .2em;}

#logo ul {
    margin: .2em;}

h1 p {
    text-align: left;
    font-size: 2.5em;}

p {
    margin: .4em;}

.equipo {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-bottom: 1em;}
}

/* PC 990px. */                                                
@media screen and (min-width: 990px)
{

header {
    padding: .9em;
}

header ul li a {
    align-items: center;
    max-width: 100%;
    display: flex;}

header nav ul {
    gap: 9em;
    border-radius: 3em;
    display: flex;
    flex-direction: row;
    width: max-content;
}

p {
    text-align: justify;
}

.equipo ul {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    width: 100%;
}

#datosacademicos {
    display: flex;
    flex-direction: row;
    text-align: center;
    justify-content: space-around;
    width: 100%;}

.equipo {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;}
}



