.modaldivo{
 
    width: 100%;
    height:100%;
    background: rgba(0, 0, 0, 0.8);
    position: absolute;
    top: 0;
    left: 0;

    display: flex;

    animation: modal 2s 2s forwards;
    
    visibility: hidden;
    opacity: 0;
    z-index: 99999999;

  }

  .contenido2{
  
    text-align: center;
    
    margin: auto;
    width: 80%;
    height: 70%;
    background: #fff;
    border-radius: 15px;
    


  }
  .contenido2 img{
    width: 100%;
      height: 100%;
    
  }
  .contenido2 h2{
    color: black;
  }
  .contenido2 p.warning{
      font-size: 25px;
      color: red;
  }
  #cerrar{
    display: none;
  }

  #cerrar + label{
      text-align: center;
    position: fixed;
    color:#fff;
    font-size: 25px;
    z-index: 10000000003;
    background:darkred;
    height: 40px;
    width: 40px;
    line-height: 40px;
    border-radius: 50%;
    right: 10px;
    cursor: pointer;
    
    animation:modal 2s 3s forwards;
    
    visibility: hidden;
    opacity: 0;

  }

  #cerrar:checked  + label, #cerrar:checked ~ .modaldivo{
    display:none;
  }
  @keyframes modal{
    100%{
      visibility: visible;
      opacity: 1;
    }
  }

  


.flex{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  width:100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;

  
}

.modal{
  /*la seccion de fonodo trasnparente*/
  display:none;
  position: fixed;
  z-index: 1;
  overflow: auto;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background:rgba(0,0,0,0.452);


}

.contenido-modal{
  position: relative;
  background-color: #fff;
  margin: auto;
  width: 70%;
 
  box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.4);
  animation-name: modallibro;
  animation-duration: 1s;

}

@keyframes modallibro{
  from{top:-330px; opacity: 0;}
  to{top: 0; opacity: 1;}

}

.close{
color: #f2f2f2;
font-size:30px;
font-weight: bold;
}
.close:hover{
color:#7f8c8d;
text-decoration: none;
cursor: pointer;
}

.modal-header, .modal-footer{
padding: 8px 16px;
background: #247c9e;
color:#f2f2f2;
}


.modal-body{
padding: 20px 16px;
}

@media screen and (max-width:900px){
.contenido-modal{
  width: 70%;
}
.textos{
  padding: 150px;
}
}

@media screen and (max-width:500px){
.textos{
  padding:50px;
}
}

.portada-intro{
  width: 100%;
  height: 100%;

}

.libro-container{
  width: 160px;
  height: auto;
  margin: auto;

}
.portada-libro{
  width: 100%;
  height: 240px;
  

}
.autor-libro{
  width: 100%;
  height: auto;

  
}

.titulo-libro{
  
      width: 100%;
      height: 60px;
     
      
  
}

.portada-mini{
  cursor: pointer;
  height: 100%;
  width: 100%;
}

.libro-container p{
  text-align: center;
  font-size: 14px;
}

p.autores{
  font-style: italic;
}

div.libro-container p{
  color: black;
}


.departments-section h6.more-btn{
 
  color:yellow;
  
  

}
