body, html {
    height: 100%;
}

html {
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    font-family: sans-serif;
    line-height: 1.15;
}

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

header{
    background-color:hsl(240, 16%, 10%);
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    position: sticky;
    top: 0;
    padding-top: 10px;
}

header nav ul li a{
    color:white;
    font-weight: bold;
    font-size: 12pt;
}

.menu{
    display: flex;
    flex-direction: row;
    list-style: none;
    margin-bottom: 0;
    margin-left: 0.5%;
    
}

.navbar-nav {
    display: flex;
    flex-direction: row;
    list-style: none;
    margin-bottom: 0;
    
}

.nav-item {
    font-size: 8px;
    padding: 0 15px;
    padding-top: 7px;
}

.logo{
    filter: invert(1);
    margin-right: 0.25cm;
    margin-left: 0.25cm;
    padding-bottom: 0.1cm;
}

img{
    max-width: 100%;
}

.container{
    margin-left: 5%;
    margin-right: 5%;    
}

section p{
        font-size: 12pt;
        line-height: 15pt;
    }


a{
    text-decoration: none;
}

div{
    display: block;
}

li{
    list-style-type: none;
    line-height: 15pt;
}

.menu nav ul li{
    display: inline;
    padding-right: 15px;
}

body {
    font-family: sans-serif;
    margin: 0;
}
    
main {
    background-color:rgb(255, 255, 255);
}

figure { 
    margin: auto;
    margin-top: 1cm;
    border: 3px hsl(240, 39%, 14%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar {
    border-radius: 50%;
}

h1 {
    color: hsl(240, 39%, 14%);
    padding-bottom: 10px;
    padding-top: 20px;
    font-size: 30pt;
    display: flex;
    justify-content: center;
    font-weight: bold;
}

h3{
    font-size: 20pt;
    margin-bottom: 15px;
    color: hsl(240, 39%, 14%);
    border-block-end: 1px solid hsl(240, 39%, 14%);
    padding-bottom: 0.25rem;
}

    
h4{
    color: hsl(240, 39%, 14%);
    font-size: 14pt;
    margin-bottom: 10px;
    padding-top: 2px;
}
    
section{
    padding-bottom: 35px;
}

.compas nav ul{
    display: flex;
    justify-content: space-between;
}

.compas nav ul li{
    border-radius: 0.5rem;
    padding: 5px;
    box-shadow: 1px 2px 3px hsl(240, 39%, 14%);
}

.compas nav ul li a{
    color: hsl(240, 39%, 14%);
    font-weight: bold;
    font-size: 14px;
}

.acumar ul{
    display: flex;
    justify-content: left;
    padding-top: 10px;
}

.acumar ul li{
    border-radius: 0.5rem;
    padding: 5px;
    box-shadow: 1px 2px 3px hsl(240, 39%, 14%);
}

.acumar ul li a{
    color: hsl(240, 39%, 14%);
    font-weight: bold;
    font-size: 14px;
}
    
ul{
    margin-bottom: 10px;
    font-size: 12pt;
}


ul .aprobada, .cursada{
    display: flex;
    flex-direction: column;
    display: inline-block
}
    
.mockup{
    color:hsl(240, 16%, 10%);
    font-weight: bold;
    font-size: 13pt;
    text-decoration: none;
}

.youtube{
    margin: auto;
    display: block;
    width: 40px;
    height: auto;
    padding-bottom: 10px;
}

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

.containeracade{
    padding-bottom: 0px;
}

.academicos{
    padding-bottom: 1rem;
}

.academicos > ul > li:not(:last-of-type) {
    border-block-end: 0.5px solid hsl(240, 39%, 14%);
    padding-block-end: 1.5em;
    margin-block-end: 1.5em;
}

.academicos img {
    width: 8em;
    padding-bottom: 1rem;
}
    
footer{
    color: white;
    background-color: hsl(240, 16%, 10%);
    padding-left: 15px;
    padding-top: 15px;
    padding-bottom: 15px;
    padding-right: 15px;
    font-size: 10pt;
    line-height: 12pt;
}
    
    @media (min-width: 30em){
    
        .container {
            width: min( 100%, 700px );
            margin-inline: auto;
            margin-left: 5%;
            margin-right: 5%;
        }
    
        header{
            padding-top: 17px;
            padding-bottom: 10px;
            padding-left: 0px;
        }

        .nav-item{
            padding-top: 2px;
        }
    
        #logo{
            padding-bottom: 25px;
        }
    
        nav ul li a{
            font-size: 20pt;
        }
    
        .menu nav ul li{
            padding-right: 20px;
        }
    
        h1{
            font-size: 38pt;
            font-weight: bold;
        }
    
        figure{
            width: 100%;
        }
    
        h3{
            font-size: 24pt;
            margin-bottom: 15px;
        }

        .compas nav ul{
            display: inline-flex;
            flex-wrap: wrap;
            gap: 60px;
        }
        
        .compas nav ul li{
            border-radius: 0.5rem;
            padding: 5px;
            box-shadow: 1px 2px 3px hsl(240, 39%, 14%);
        }

        .materias{
            display: inline-flex;
            flex-wrap: wrap;
            gap: 60px;
        }
    
        section p{
            font-size: 20pt;
            margin-bottom: 25px;
            line-height: 25pt;
        }
        
        h4{
            font-size: 21pt;
            margin-bottom: 15px;
        }
    
        ul{
            margin-bottom: 25px;
            font-size: 18pt;
        }
    
        li{
            line-height: 24pt;
        }
    
        footer{
            padding-left: 15px;
            padding-top: 15px;
            padding-bottom: 15px;
            padding-right: 15px;
            font-size: 12pt;
            line-height: 12pt;
        } 
    }
    
    @media (min-width: 80em){
    
        .container {
            width: min( 100%, 1000px );
            margin-inline: auto;
        }
    
        header{
            padding-top: 15px;
            padding-bottom: 5px;
            padding-left: 0px;
        }
        
        .nav-item{
            padding-top: 1px;
        }
    
        nav ul li a{
            font-size: 16pt;
        }
    
        .menu nav ul li{
            padding-right: 60px;
        }
    
        h1{
            font-size: 40pt;
            font-weight: bold;
        }
    
        figure{
            width: 35%;
            margin-bottom: 35px;
        }
    
        h3{
            font-size: 22pt;
            margin-bottom: 15px;
        }
    
        section p{
            font-size: 16pt;
            margin-bottom: 25px;
            line-height: 19pt;
        }
        
        h4{
            font-size: 18pt;
            margin-bottom: 15px;
        }
    
        ul{
            margin-bottom: 25px;
            font-size: 14pt;
        }
    
        li{
            line-height: 24pt;
        }
    
        .instituciones{
            width: 10%;
        }
    
        footer{
            font-size: 10pt;
            line-height: 13pt;
            padding-top: 25px;
            padding-bottom: 25px;
        } 
    }