@charset "utf-8";


@font-face {
    font-family: 'latoregular';
    src: url('lato-light-webfont.eot');
    src: url('lato-light-webfont.eot?#iefix') format('embedded-opentype'),
         url('lato-light-webfont.woff2') format('woff2'),
         url('lato-light-webfont.woff') format('woff'),
         url('lato-light-webfont.ttf') format('truetype'),
         url('lato-light-webfont.svg#latoregular') format('svg');
    font-weight: normal;
    font-style: normal;

    }

body {
    background-image: url(../img/flor4.jpg);
    margin-left: 10%;
    margin-right: 10%;
    width: 80;
    font-family: 'lato', sans-serif;
    font-size: 14px;
    text-align: left;
    
    }
.nombre{
    text-align: center;
    display: flex;
    justify-content: center;
    width: 100;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0em;
    }
header { 
    background-color: rgba(247, 134, 134, 0.92);
    width: 100%;
    margin-top: 0%;
    text-align: center;
    margin-top: -5em;
    justify-content: center;
    margin-bottom: 2em;
    padding-left: 20em%
}
.barra{  text-align: center;
    display: flex;
    justify-content: center;
    width: 80;
    margin-left: auto;
    margin-right: 3em;
    text-align: center;
    margin-top: -3em;
}
header h1 {

     font-size: 40px;
    width: 100%;
     color: white;
     text-align: center;
     margin-left: 5em;
     word-spacing: 0.2em;
  
    
    
    }
.imagen{
display: flex;
    justify-content: center;
    width: 100;
    margin-left:auto;
    margin-right:auto;
    margin-top: 8em;
}

header nav ul {

    justify-content: center;
    padding-bottom: 2em;
    margin-top: -1em;
    margin-left: 12em;
    }

header nav ul li {
    text-decoration: none;
    display: block;
    display: inline;

    margin:  3em 2em 0;
    font-size: 10pt;
    color: white;

    
    }

header nav ul li a {
    text-decoration: none;
    padding: 0.4em;
    color: white;
    font-size: 10pt;
    text-align-last: center;
    
    letter-spacing: 0.1em;
    
    
    }
header nav ul li a:hover {
    color: rgba(247, 134, 134, 0.92); 
    background-color: white;
    }

.padre {
  
   
    display: flex;
    justify-content: center;
    flex-direction: row;
 
}

article {
    padding-left: 3em;
    padding-right: 3em;
    padding-bottom: 2em;

  background-color: rgba(255, 255, 255, 0.9);
    width: 180px;
    


}

.padre article:first-child {
    background-color: rgba(247, 134, 134, 0.92);
    text-align: right;
    width: 80;
}

h3 {
    padding-top: 25%;
    color: black;
    font-size: 120%;
    
    
    }
h2 {    
    padding-top: 2em;
    color:white;
    font-size: 140%;
    border-bottom-style: solid;
    
    
}
h4 {
    color: #ffffff;
    letter-spacing: 0.1em;
}

.titulo {
    font-size: 15px;
    color:rgba(247, 134, 134, 0.92);
    line-height: 1.2;
    }

p { 
    line-height: 1.6;
    
    }
.img {
  width: 100%;
    height: 100%;

}



.docentes {
    color: black;
    
}



section article p a {
   
    text-decoration: none;
    color: black;
    line-height: 2.5;
    
    
    }
section article p a:hover {
     
      color: rgba(247, 134, 134, 0.92); 
    background-color: white;
    }


footer {
    width: 55%;
    margin: auto;
    text-align: center;
    padding: 0.3em;
      padding-left: 5.2em;
    padding-right: 5.2em;
    letter-spacing: 0.2em;
    font-size: 9px;
    
    
    }


 @media all and (max-width: 900px)  {

    
     

}

@media all and (max-width: 950px)  {

    body { width: 95%;
  max-width: 900px;
        
        
    }
    
    .cabecera {
         width: 100%;
        font-size: 40px;
  
    }
    
header figure {
 
    padding: 0;
  display:block;
margin:auto;

    
    }
    header h1 {  
    font-size: 40px;
    width: 100%;
     color: white;
     text-align: center;
     word-spacing: 0.2em;
     margin-left: 1em;
   
        margin-top: 0.2em;
   
          display: flex;
    justify-content: center;

    
    
      
    
    }
header nav ul {

    justify-content: center;
    padding-left: -10em;
    padding-bottom: 2em;
    margin-top: -1em;
    margin-left: 0em;
     
  
    }
   
    
}


  
  
    


@media all and (max-width: 480px){
    body {
        width: 480px;
        font-size: 80%;
      
    }
    
   

    
    header{
        background-color: rgba(247, 134, 134, 0.92);
        width: 150;
    }
    
    
    header h1 { font-family: 'lato', sans-serif;
     font-size: 20px;
     color: #ffffff;
     text-align: center;
     margin: auto 0;
        padding-top: 1em;


    
    }
header nav ul {
   
    display: flex;
   width: auto;
   flex-direction: column;
    justify-content: center;
    padding-bottom: 5em;
margin-top: -2em;
 margin-bottom: 1em;
    margin-left: -2em;
  
    }
    
    
    header nav ul li {
    font-family: 'lato', sans-serif;
    text-decoration: none;
    display: block;
    display: inline;

    margin:  3em 1em 0;
       margin-bottom: -2em;
    font-size: 120%;

    
    }
    .padre {
     margin-left: 9em;
   
    display: flex;
    justify-content: center;
    flex-direction: column;
 
}
    
.padre article:first-child {
    border-right-style: none;

     
    background-color: rgba(247, 134, 134, 0.92);
    text-align: right;
}
    
.padre article:last-child {
       margin-top: -2em;
    padding-top: -10em;
    }    
    
footer {
 font-family: 'lato', sans-serif;
   color: black;
    width: 200px;
    margin-left: 14em;
    text-align: center;
    padding: 0.3em;
    letter-spacing: 0.0em;
    font-size: 80%;
    margin-bottom: 1em;
    margin-top: 2em;
   
    
   
    }
    
   
