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

/*LINKS*/
a:link {
    color:#3e0161;
    }
a:visited {
    color:#2f0441;
    }
a:hover {
    color:#504df1;
    }

/*TEXTO*/
h1, h2, h3 {
    font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    color:#3e0161;
}

h1 {
    margin-bottom: 1rem;
    font-size: 2rem;
    margin-top: .5em;
    border-bottom-style: solid;
 }

h2 {
    margin-bottom: .5em;
    margin-top: 1em;
    border-bottom-style: solid;
}

h3 {
    margin-top: 1em;
    margin-bottom: .5em;
}

p {
    max-width: 600rem;
}

li {
    list-style: none;
}

/*HEADER, BODY Y MAIN*/
header {
    /*background-color: #3e0161;*/
    background-image: url(../imagenes/header.jpeg);
    background-repeat: no-repeat;
    background-size: cover;
}

.contenedor {
    display: flex;
    justify-content:space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-right: 2em;
}

.nav-interna {
    display: flex;
    list-style: none;
    gap: .5rem;
}

.nav-interna a:link {
        color:#f0f5ff;
}
.nav-interna a:visited {
        color:#f0f5ff;
}

header nav a {
    display: grid;
    place-items: end;
    grid-template-columns: 2fr;
    margin-left: 2em;
}

body {
    background-color: #dbc2f7;
    color: #140f16;
    text-align: left;
    font-family:Arial, Helvetica, sans-serif;
}

main {
    max-width: 65rem;
    margin: 2em auto;
    padding-left: 2em;
    padding-right: 2em;
}

/*LOGO*/
#logo-dgpc {
    width: 4em;
    margin: 1em 2em;
}

/*FOTO*/
#avatar {
    width: 40vmin;
    height: auto;
    display: block;
    box-shadow: #5632808f 10px 10px 10px;
    border-radius: 15px;
    object-fit: contain;
}

/*NOMBRE JUNTO A FOTO*/
.presentacion {
    display: flex;
    gap: 2em;
    margin: 3em;
    max-width: 65rem;
}


/*SECCION SOBRE MI*/
.sobre-mi a:link {
    text-decoration: none;
    color:#ffffff;
}
.sobre-mi a:visited {
    text-decoration: none;
    color:#d6b9f7;
}
.sobre-mi a:hover {
    text-decoration: none;
    color:#a2a1f8;
}

.sobre-mi h2 {
 border-bottom: none;
}

.redes-sociales {
    display: inline-block;
    padding: 10px 20px;
    background-color: #3e0161;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin: 2em 1em 0 0;
}

.contenedor-intereses {
    display: flex;
  }
  
.intereses {
   flex: 1;
}

.intereses li {
    list-style: decimal;
    margin-left: 1em;
}


/*RECORRIDO ACADEMICO*/
#materias h2 {
    border-bottom: none;
    margin-bottom: 0;
}
.tachado {
    text-decoration: line-through;
}

.materias {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.nivel-box {
    background-color: #f0f5ff;
    border: 2px solid #3e0161;
    border-radius: 8px;
    padding: 15px;
    margin: 0;
}

.nivel-box h4 {
    background-color: #3e0161;
    color: white;
    padding: 10px;
    margin: -15px -15px 15px -15px;
    text-align: center;
    font-weight: 500;
}

.nivel-box li {
    margin: 5px;
}

/*PORTAFOLIO*/
.portafolio {
   display: flex;
   flex-direction: column;
    align-items: baseline;
}


/*EQUIPO*/
.equipo ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    justify-items: center;
    gap: 20px;
    margin: 20px;
    padding: 0;
    list-style: none;
    text-align: center;
}
.equipo li {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-weight: bold;
}
.equipo img {
    width: 15vmax;
    display: block;
    box-shadow: #5632808f 10px 10px 10px;
    border-radius: 15px;
    margin-bottom: 1em;
}


/*PROTOTIPO*/
.prototipo {
    display: inline-block;
    padding: 10px 20px;
    background-color: #3e0161;
    text-decoration: none;
    border-radius: 5px;
    margin-bottom: 1em;
}

.prototipo a:link {
    color:#ffffff;
}
.prototipo a:visited {
 color: #dbc2f7;
}


/*INFORMACION UBA*/
.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    justify-items: center;
}

#informacion-uba li {
    display: block;
    text-align: left;
    list-style: none;
    line-height: 1.5;
    font-size: 12px;
}

#informacion-uba hr {
    border: none;
    height: 3px;
    background-color: #9c6dd3;
    width: 100%;
    margin-top: 4em;
    margin-bottom: 1em;
}

.negritas-uba {
    font-weight: bold;
    color:#3e0161;
}

/*FOOTER*/
footer {
 background-color: #9c6dd3;
 padding: 10px;
 text-align: center;
}

footer p {
    font-size: 15px;
    color: #ffffff;
    margin-top: 20px;
    max-width: max-content;
}
