@charset "utf-8";

    
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    max-width: 100%;
   
}

/* ---- CUALIDADES GENERALES  ---- */
h1 {
    font-family: "bebas neue regular";
    color: #2f8cb2;
    font-size: 5em;
    width: auto;
    text-align: center;
    background-color: #d1ecf4;
}


h2{ 
    font-family: "bebas neue regular";
    color: #81d0e3;
    width: auto;
    margin-left: 1em;
    padding: 1em 0;
}


li, ul  {
    font-family: "montserrat";
    font-size: 15;
}



body{
    background-color: #fff1f1d6;
    min-height: 100vh;
    min-height: -webkit-fill-available;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

/* ------------- HEADER -------------- */

header .contenedor{
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fff1f1d6;
    margin-left: 1em;
}

#logo {
    display: block;
    padding: 20 0 0 0;
}

#llamamenu{
    color: #2f8cb2;
    height: 3em;
    width: 3em;
    cursor: pointer;
    position: fixed;
    margin: -8em -15em;
    z-index: 9990;
    border: none;
}

header nav ul {
    position: fixed;
    width: 50%;
    top: 0;
    bottom: 0;
    left: -100%;
    right: 0;
    background: #81d0e3;
    padding-top: 3em;
    list-style: none;
    transition: all .7s ease;
}

header nav li { 
    padding: .8em .5em .5em 1.2em;
    text-decoration: none;
    justify-content: center;
    align-items: center; 
    font-family: "Raleway";
    font-weight: 700;
    font-size: 1.1em;
}

header nav li a {
    color: white;
    text-decoration: none;
    padding: 2em;
}

.visible {
    left: 0;
    transition: all .5s ease; 
}

/* ------------- MAIN: EQUIPO -------------- */
.equipo{
   
    max-width: 100%;
    margin: auto;    
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 2em;
}

.equipo h3{
    max-width: 100%;
    width: 20em;
    text-align: center;
    padding: 1em;
    color: #2f8cb2;;
    text-align: center;
    font-weight:800;
    font-size: 1em;
    font-family: "montserrat";
    text-transform: uppercase;
}

.equipo ol li {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    padding: 2em;
    margin: 1em 0;
    width: 28em;
    border-radius: 20px;
    background-color: #d1ecf4;
    text-align: center;
    padding: .8em;
}
.equipo ol li a{
    color: #2f8cb2;;
    text-align: center;
    font-size: .8em;
    font-family: "montserrat";
    font-weight: bold;
    text-decoration: none;
}

/* ------------- MAIN: USUARIO -------------- */

.usuario{
    background-color: #f0ffff;
    display: flex;
    flex-direction: column;
    max-width: 100%;
}

 .usuario ul li {
    font-family: "montserrat";
    padding: .5em;
    font-weight:430%;
    font-size: 1em;
    padding-left: 2em;
    list-style: none;
}  

.usuario img{
    width: 300px; 
    height:300px;
    padding: 2em;
    border-radius: 50%;
    display:block;
    margin: auto;
}

.usuario p{
    padding: 2em;
    text-align: center;
    font-family: "montserrat";
    font-weight:430;
    font-size: 1em;
    background-color: #d1ecf4; 
}

/* ------------- MAIN: MATERIAS -------------- */
#materias {
    max-width: 100%;
    margin: auto;
    display: flex;
    width: auto;
    background-color: #f0ffff;
    padding-bottom: 2em;
}
	
#materias ul li{
    width: auto;
    max-width: 90%;
    margin-left: 4em;
    padding: .8em;
}

.boceto h3 {
    max-width: 100%;
    width: 20em;
    padding: 1em;
    margin: 2em;
    border-radius: 20px;
    text-decoration: none;
    text-transform: uppercase;
    background-color: #d1ecf4;
    text-align: center;
    color: #2f8cb2;
    font-family: "montserrat";
    font-size: .8em;
}

.contenedorportfolio {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 2em;
    padding: 20px;
    padding-bottom: 5px;
    padding-top: 5px;
    z-index: 2;
}
/* ------------- PORTFOLIO -------------- */
ul.slider {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 650px;
}

ul.slider li {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    width: inherit;
    height: inherit;
    background-color: white;
    transition: opacity .5s;
    list-style: none;
}

ul.slider li img {
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    z-index: 0;
    }

ul.slider li:first-child {
    opacity: 5;
}

ul.slider li:target {
    opacity: 5;
}


.menu {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    margin-bottom: 10px;
}

.menu li {
    display: inline-block;
    text-align: center;
    margin: 5px;
}

.menu li a {
    display: inline-block;
    text-decoration: none;
    background-color: #2f8cb2;
    padding: 5px;
    width: auto;
    border-radius: 15px;
}

.redes {
    display: flex;
    flex-direction: row;
    justify-content:center;
    text-align: center;
    text-decoration: none;
}

.redes img{
    margin: 1em;
    width:2em;
    height: 2em;
    
}

/* ------------- FOOTER -------------- */
footer{
    
    background-color: #81d0e3;
    padding: 3em;
    text-align: center;
    display: block;
    font-size:80%;
}
/* -------- PARA DISPOSITIVOS TABLET ---------- */
@media screen and (min-width: 768px) {
/* --------- Adaptacón tablet HEADER --------- */

    header .contenedor{
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: auto;
    height: auto;
    transition: all .3s ease;
    }
    
    
    #llamamenu {
        display: none;
    }
    
    header nav {
        margin: 0 auto;
        padding: 1em;
    }
    
    header nav ul {
    position: relative;
    width: 10em;
    height: 2em;
    left: 0;
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    padding: 0;
    background: none;
}
    
    header nav li { 
    padding: .1em 1em .1em 1em;
    background: #d1ecf4;
    text-align: center;
    border-radius: 20px;
    margin: 0 .1em 0 .1em;
    display: flex;
    align-items: center;
    }
    
    
    header nav li a {
    color: #2f8cb2;
}
/* --------- Adaptacón tablet MAIN --------- */
h2{
        display: flex;
        justify-content: center;
        
}
.usuario li{
        display: flex;
        justify-content: center;
        
}
 #materias {
        display: flex;
        justify-content: center;
} 
    
.boceto a{
        display: flex;
        justify-content: center;
} 