@charset="utf-8";

.{box-sizing:border-box; }

#logo {
    display: flex;
    text-align: center;  
    align-content: center;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
}

#logo img{
    height: 60px;
    align-content: center;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
}

body {
    padding-left: 1.2em;
    padding-right: 1.2em;
    padding-top: 1.2em;
    display: flex;
    flex-direction: column;
    background-color:#393083; 
    font-family: 'Source Sans Pro', sans-serif;
} 

/*menu*/
ul#menu{
    display: flex;
    flex-flow: column wrap;
    padding-bottom: 10px;
    padding-top: 10px;
    padding-left: 0;
    padding-right: 0;
    margin-top: 1rem;
    width: 100%;
    justify-content: center;
    align-content: center;
}

ul#menu li{
    width: 100%;
    display: flex;
  background-color: #e5e8ea;
    justify-content: center;
    align-content: center;
     border-radius: 10px 10px;
    margin-bottom: 4px;
}
ul#menu li a{
    background-color: #e5e8ea; 
    transition: .5s all; 
    color:#393083;
    font-size: 1.5rem;
    justify-content: center;
    align-content: center;

    
}
ul#menu li a:hover{
   background-color: rgba(72, 188, 170);
   color: black;
}
/*menu*/

a{ 
    color: black; 
    text-decoration: none; 
} 

a:hover{
    color: rgba(72, 188, 170);
}


#caja{
    padding-left:  15px;
    padding-right: 15px;
    padding-bottom: 1px;
    background-color: #e5e8ea;
    border-radius: 15px 50px;
    margin-bottom: .8em;
}

#caja p{
    font-size: 18px;
}

.tituloppal{
    color:#393083;
    padding: .3em .3em .3em .3em; 
    text-align: center;
    text-transform: uppercase;
    font-size: 2.3rem;
    display: flex;
     flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-content: center;
    margin-top: 0px;
}


/**desde aca**/

div{
   display: flex;
    flex-direction: column;
    align-items: center;
    
}

.container{
position: relative;
  width: 90%;
height: auto;
  box-sizing: border-box;
}

.image{
 display: block;
  width: 100%;
  height: auto;
    border-radius: 10% 10% 40% 10%;
   margin-bottom: 1.5em;
    margin-top: 0;
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(72, 188, 170);
  overflow: hidden;
  width: 100%;
  height: 0;
  transition: .5s ease;
     border-radius: 10% 10% 41% 10%;
   margin-bottom: 1em;
}

.container:hover .overlay {
  height: 30%;
    width: auto;
}

.text{
list-style: none;
  white-space: nowrap; 
  color: #e5e8ea;
  font-size: 37px;
  position: absolute;
  overflow: hidden;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}

.text a{
    list-style: none;
    color: black;
}

.text a:hover{
    color: #e5e8ea;
}

 
/**hasta aca**/

h2{
    color: #393083;
    text-transform: uppercase;
     padding: .3em .3em .3em .3em;
    font-size: 1.6rem;
    display: flex;
     flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-content: center;
    margin: 0;
}

.docentes{
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
    justify-content: center;
    font-family: 'Noto Sans HK', sans-serif;
    font-size: 3.4rem;
}

ul{
    list-style: none;
}

h3 ul{
    display: flex;
    margin: 0;
    flex-direction: column;
    align-content: flex-start;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0;
    font-weight: bold;
    
}

h4{
    font-size: .9em;
    display: flex;
    align-content: flex-start;
    align-items: flex-start;
    justify-content: flex-start;
   flex-wrap: nowrap; 
    padding: 0;
    margin: 0;
    font-family: 'Noto Sans HK', sans-serif;
    
}
.pantallas{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: space-around;
    align-items:stretch;
    justify-content: space-around;
    margin-top: 10px;
}
.pantallas img{
    width: 40%;
    height: auto;
}

footer{
     background-color: #393083; 
    margin-top: 30px
}

footer p {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-content: flex-start;
    align-items: flex-start;
      font-size: .8em;
    line-height: 17px;
    color: beige;
    font-family: 'Noto Sans HK', sans-serif;
}

@media screen and (min-width: 400px) {
    
    body{
        text-align: left;
    padding-left: .7em;
    padding-right: .7em;
    padding-top: 1.2em;
    display: flex;
    background-color:#393083; 
    font-family: 'Source Sans Pro', sans-serif;
    }
    
    ul#menu {
        list-style: none;
        display: flex;
        flex-flow: row;
        
    }
    ul#menu li{
        width:100%;
    }
    ul#menu li a{
        text-decoration: none;
        font-size: 20px;
        width: 100%;
        display: block;
        padding-top: .5em;
        padding-bottom: .5em;
        text-align: center;
        transition:.7s all;
        color: #393083;
    }
    
    ul#menu li a:hover{
         background-color: rgba(72, 188, 170);
         color: black;
    }
    
    #logo {
        text-align:center;
        margin: 0;   
  }
    div{
   display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-content: space-around;
    align-items: baseline;
    
}
    
    .docentes{
        font-size: 2rem;
    }

.container{
position: relative;
  width: 31%;
height: auto;
  box-sizing: border-box;
    
}

.image{
 display: block;
  width: 100%;
  height: auto;
    border-radius: 10% 10% 40% 10%;

}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(72, 188, 170);
  overflow: hidden;
  width: 100%;
  height: 0;
  transition: .5s ease;
     border-radius: 10% 10% 41% 10%;
}

.container:hover .overlay {
  height: 30%;
}

.text{
list-style: none;
  white-space: nowrap; 
  color: #e5e8ea;
  font-size: 20px;
  position: absolute;
  overflow: hidden;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}

.text a{
    list-style: none;
    color: black;
}

.text a:hover{
    color: #e5e8ea;
}
}