@charset "utf-8";

* { box-sizing: border-box; }
/* General */

body {
    margin: 0;
    background-color: #eaeaea
        
}
img {
    max-width: 100%;
    height: auto;
}

a { text-decoration: none; }

img {
    max-width: 100%;
    height: auto;
}
.contenedora {
    max-width: 50rem;
    margin: auto;
}

h2{font-family: "helvetica", sans-serif;
    font-weight: bold;
    font-size: 14pt;
    color: #ff1b61
}
h3{
    font-family: "helvetica", sans-serif;
    font-weight: bold;
    font-size: 25pt;
    margin-bottom: auto
}

h4 {font-family: "helvetica", sans-serif;
    font-weight: lighter;
    font-size: 10pt;
}

/*Header*/

header .contenedora{
    display: flex;
    justify-content: space-between;
    align-items: center;
    
}

#logo {
    padding: .35em;
    width: 8em;
}

header,
footer {
    background-color: #121212;
    color: #b1b1b1;
    padding: 1.5rem;
    font-family: "roboto", sans-serif;
    font-weight: lighter;
    font-size: 75%;
    font-weight: 500;
    
}

header nav ul {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
}

header nav ul li {
    min-width: 7em;
    margin: .25em 0 .25em .25em;
}

header nav ul li a {
    background-color: #ff1b61;
    color: black;
    font-weight: medium;
    padding: .40em .10em;
    text-align: center;
    display: block;
}

header nav ul li a:hover {
    background-color: white;
    color: #ff1b61;
}

header nav ul li a {
    background-color: #ff1b61;
    color: #ffffff;
    font-weight: medium;
    padding: .40em .10em;
    text-align: center;
    display: block;
}

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

/*Main*/
main { padding: 1em;
}

section { padding-bottom: 2rem; }

.perfil {
    padding-top: 2em;
    display: flex;
    align-items: center;
    justify-content: space-around;
    background-color: white;
    border-bottom-left-radius: 2em;
    border-bottom-right-radius: 2em;
    border-top-left-radius: 2em;
    border-top-right-radius: 2em;
    flex-wrap: wrap;
}

.historial {
    display: flex;
    flex-wrap: wrap;
}

.aprobadas{
    flex: 1;
    background-color: white;
    font-family: "helvetica", sans-serif;
    margin-top: 20px;
    margin-left: 0px;
    justify-content: space-between;
    margin-right: 20px;
    padding: 20px 20px 20px 20px; 
    border-bottom-left-radius: 2em;
    border-bottom-right-radius: 2em;
    border-top-left-radius: 2em;
    border-top-right-radius: 2em;
}


.curso {
    flex: 2;
    background-color: white;
    font-family: "helvetica", sans-serif;
    margin-top: 20px;
    margin-right: 0px;
    padding: 20px 20px 20px 20px;
    border-bottom-left-radius: 2em;
    border-bottom-right-radius: 2em;
    border-top-left-radius: 2em;
    border-top-right-radius: 2em;
}
.compañeros h3 {
    display: flex;
    justify-content: flex-start;
    padding-left: 1em;
    font-size: 16pt;
    align-items: center;
    margin-bottom: 1em;
    margin-top: auto;


    
    
}
.compañeros ul {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}
.compañeros ul li {
    display:flex;
    background-color: #ff1b61;
    width: 16em;
    padding: 5;
    margin: .25em 0 .25em .25em;
}

.compañeros ul li a {
    background-color: #ff1b61;
    width: 16em;
    color: #ffffff;
    font-weight: medium;
    font-family: "helvetica", sans-serif;
    padding: .80em .80em .80em .80em;
    text-align: center;
    display: block;
    
}

.compañeros ul li a:hover {
    background-color: white;
    color: #ff1b61;}
/*Footer*/


    footer {
    text-align: center;
    color: darkgray
}

h1 {
font-family: sans-serif;
}
