@charset "utf-8";



body {
   
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
    box-sizing: border-box;
}


main {
    flex-grow: 0.5;
    /*movimiento hacia arriba de los nombres*/
    
    display: flex;
    /* es la caja contenedora */
    
    flex-direction:column;
    /* dirección vertical de la caja */
}



.titulo {
    font-family:'Exo 2';
    text-align:center;
    color: rgb(10, 0, 0);

}


h2 {
    text-align: center;
    font-family: sans-serif;
}


nav {
    padding: 0.5em;
    background-color: rgba(70, 62, 62, 0.68);
   
}


nav ul {
    list-style: none;
    padding: 0.5rem;
    background-color:#4d1111;
    font-size: 1.2rem;
    text-align: center;
}


a {
    list-style: none;
    padding: 0.5rem;
    background-color:#0a0a0a;
    font-size: 1rem;
    text-align: center;
    font-family: sans-serif;
    color: white;
}



#actual1 {
    background-color:rgba(57, 57, 57, 0.7);
    font-size: 80%;
    color:black;
    text-align: center;
}

#actual3 {
    color: white;
    font-size: 2.5rem;
    padding: 0.5rem;
    text-align: center;
    font-family: 'Exo 2';
}      

.destacado1 {
    font-family:sans-serif;
    font-size: 1rem;
    color:#fcfbfa;
}



.destacado4 {
    font-family:  sans-serif;
    text-align:justify;
} 


.slider img {
     width: 20%;
     display: flex;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    align-items: center;
   
}


.fotos {
    padding-bottom: .125em;
    max-width: 75em;
    justify-content:center;
    margin: center;
    display:flex; 
    overflow: hidden;
}


.fotos figure {
    display: block;
    box-sizing: content-box;
    position: relative;
    width: 256px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    box-shadow: 5px 10px 8px #888888;
}



.fotos img {
    display: flex;
    margin-left: auto;
    margin-right: auto;
}


.fotos figcaption {
    background-color: rgba(0,0,0,.5);
    color: white;
    padding: .4em;
    line-height: 1em;
    position: absolute;
    height: 100%;
    top: calc(100% - 1.5em);
    transition: all .5s ease;
    font-family: sans-serif;   
}


/* propiedades de figcaption SÓLO cuando
   la mano se coloca encima de "figure" */
.fotos figure:hover figcaption {
    background-color: rgba(96, 9, 9, 0.33);
    top: 70%;
    transition: all .5s ease;
 
    
}

.fotos figcaption span{
    display: block;
    font-size: .75em;
    color: #ddd;
}



.componente {
    padding: 0.125em;
    background-color: rgba(126, 31, 31, 0.28);
    box-shadow: 5px 10px 8px #888888;
    font-family: 'Exo 2';
    
    
}

.perfil {
    font-family: 'Exo 2';
    text-align: center;
    color: white;
    display: flex;
    justify-content: center;
  
}






@font-face {  
    font-family: 'Exo2-SemiBold';    
    src: url('https://fonts.googleapis.com/css?family=Exo+2:300,400,600&display=swap');
}


h1{
     font-family:'Exo 2';
    text-align:center;
    color: rgb(106, 11, 11);
    background-color: rgba(139, 0, 0, 0.31);
    box-shadow: 5px 10px 8px #888888;
    font-size: 1.2rem;
    
}

p {
    font-family:sans-serif;
    text-align: center;
    color: gray;
    font-size: 0.8rem;
    
}
.titular{
    font-family: 'Exo 2';
    text-align: center;
    color:rgb(147, 43, 43);
    background-color:rgba(57, 57, 57, 0.51);
    font-size: 1.5rem;
}






