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

img{
    max-width: 100%;
}

body {
    font-family: sans-serif;
    margin: 0;  
}

#logo{
    padding-bottom: 15px;
    display: flex;
    width: 100%;
    
}

header {
    padding-left: 6%;
    padding-top: 6%;
    padding-right: 6%;
    margin-bottom: 3ex;
}

header .contenedora{
    display: flex;
    flex-direction: column;
    align-items: center;
}

header ul{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 0%;
}

header ul li{
    display: flex;
    justify-content: space-between;
}

header ul li a{
    color:white;
    font-weight: bold;
    font-size: 12pt;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: lightsalmon;
    padding: 5px;
    border-radius: .25em;
}

.menu{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu li{
    width: 100%;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

main {
    margin-left: 15px;
    margin-right: 15px;
}

h1 {
    color: hsl(36, 100%, 73%);
    margin-bottom: 2ex;
    font-size: 25pt;
    display: flex;
    justify-content: center;
    text-align: center;
}

h3{
    margin-top: 2ex;
    margin-bottom: 1ex;
    font-size:x-large;
}

.actividad a{
    color: white;
    background-color: hsl(180, 100%, 39%);
    padding: 10px;
    border-radius: .25em;
}

.actividad{
    margin-top: 30px;
    margin-bottom: 50px;
}
h4{
    margin-bottom: 1ex;
    font-size:large;
}

a{
    text-decoration: none;
    font-size: 16pt;
    font-weight: bold;
}

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

.integrantes{
    padding-bottom: 4ex;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.integrantes > a{
    color: white;
    background-color: hsl(36, 100%, 73%);
    padding: 10px;
    border-radius: .25em;
}

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

.menu nav ul li{
    padding-bottom: 20px;    
}

figure{
    width: 75%;
    padding-bottom: 1ex;
    display: flex;
}

figure a{
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

figure img{
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

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

ul{
    margin-bottom: 20px;
    margin-top: 5px;
    font-size: 12pt;
}

.instituciones{
    width:35%;
    margin-bottom: 10px;
}

.instituciones img{
    width: 100%;
}

.académicos{
    margin-bottom: 30px;
}

footer{
    font-size: 10pt;
    line-height: 12pt;
    padding-left: 6%;
    padding-right: 6%;
    padding-top: 4%;
    padding-bottom: 6%;
    margin-top: 4%;
    color: hsl(0, 0%, 100%);
}

header, footer{
    background-color:hsl(180, 100%, 39%);
    background: -webkit-linear-gradient(to right, hsl(36, 100%, 73%), hsl(180, 100%, 39%));
    background: linear-gradient(to right, hsl(36, 100%, 73%), hsl(180, 100%, 39%));
}

@media (min-width: 30em){

    .contenedora {
        width: min( 100%, 600px );
        margin-inline: auto;
    }

    header{
        padding-top: 30px;
        padding-bottom: 25px;
        padding-left: 0%;
        padding-right: 0%;

    }

    #logo{
        padding-bottom: 25px;
        width: 120px;
        display: flex;
        

    }

    #logo img{
        width: 100%;
        display: flex;
                
    }

    nav ul li a{
        font-size: 24pt;
    }

    .menu nav ul li{

        margin-top: 25px;
    }

    .menu {
        display: contents;        
    }

    .menu li{
        width: 13%;
        
    }

    
    h1{
        font-size: 40pt;
    }

    .integrantes img{
        box-shadow: 1px 2px 3px hsl(180, 100%, 39%);
        border-radius: 100%;
    }

    
    figure{
        width: 85%;
    }

    a{
        font-size: 26pt;
    }

    h3{
        font-size: 24pt;
        margin-bottom: 15px;
    }

    section p{
        font-size: 20pt;
        margin-bottom: 25px;
        line-height: 25pt;
    }
    
    h4{
        font-size: 21pt;
        margin-bottom: 7px;
    }

    ul{
        margin-bottom: 25px;
        font-size: 18pt;
    }

    li{
        line-height: 24pt;
    }

    .académicos{
        margin-bottom: 45px;
    }

    footer{
        font-size: 15pt;
        line-height: 19pt;
        padding-top: 35px;
        padding-bottom: 35px;
    } 
    
    header nav, header nav ul {
        display: contents;
        
    }
    header .contenedora {
        gap: 0.5em;
        align-items: center;
        margin: auto;
        justify-content: center;
        flex-direction: row;
        }
        header .contenedora{
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin: auto;
        }
        
        #logo img {
            
            padding: 0.5rem;
        }
        header nav ul li:nth-of-type(-n + 2) {
            order: -1;
        }
}
    
@media (min-width: 60em){

    .contenedora {
        width: min( 100%, 950px );
        margin-inline: auto;
    }

    header{
        padding-top: 15px;
        padding-bottom: 15px;
    }

    nav ul li a{
        font-size: 16pt;
    }

    header .contenedora{
        flex-direction: row;
    }

    header .menu{
        justify-content: flex-end;
        gap: 40px;
    }

    .menu li{
        padding: 0%;
        margin: 0%;
    }

    #logo{
        padding-bottom: 0%;
    }

    #logo img{
        padding: 0%;
    }

    h1{
        font-size: 35pt;
        text-shadow: none;
    }

    .integrantes img{
        box-shadow: none;
    }
    
    figure{
        width: 75%;
        margin-bottom: 15px;
    }
    
    .integrantes{
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: center;
    }
    
    .integrantes a{
        font-size: 18pt;
        align-items: center;
    }
    
    .equipo{
        display: flex;
        box-shadow: 1px 2px 3px hsl(180, 100%, 39%); 
    }
    
    .equipo ul{
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0%;
    }

    h3{
        font-size: 22pt;
        margin-bottom: 15px;
    }

    section p{
        font-size: 16pt;
        line-height: 19pt;
    }

    .actividad{
        margin-top: 30px;
        margin-bottom: 60px;
    }

    .actividad a{
        font-size: 22pt;
    }
    
    h4{
        font-size: 18pt;
        margin-bottom: 7px;
    }

    ul{
        margin-bottom: 0%;
        font-size: 14pt;
    }

    li{
        line-height: 24pt;
    }

    
    .textos{
        flex-direction: column;
    }
    
    .instituciones{
        width: 12%;
        display: flex;
        margin: 0%;
    }
    
    .instituciones img{
        width: 100%;
        display: flex;
    }

    .instituciones a{
        width: 100%;
    }

    .académicos{
        display: flex;
        gap: 50px;
        align-items:center;
        padding-bottom: 50px;
    }

    footer{
        font-size: 10pt;
        line-height: 13pt;
        padding-top: 25px;
        padding-bottom: 25px;
    } 

    .menu{
        display: flex;
        justify-content: center;
        gap: 1em;
    }
}