.modalPopUp {
     display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    color: #777;
}
h3{
  text-decoration: underline #1ebfb9;
  text-align: center;
}

/* Modal Content */
.modal-content2 {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 650px;
    height: 100%;
    max-height: 550px;
}

/* The Close Button */
.close2 {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close2:hover,
.close2:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}
.contenido {
    width: 100%;
    height: 100%;
    max-height: 450px;
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
}
 .contenido .tema{
    width: 100%;
}
.contenido .logo{
  width: 50%;
}
.imgLogo {
    width: 75%;
    height: auto;
    max-height: 100%;
}
.imgLogo2 {
    width: 90%;
    height: auto;
    max-height: 100%;
}
.texto{
    width: 90%;
}
.title{
  text-decoration: underline #1ebfb9;
}
.pie {
    width: 90%;
    text-align: center;
    margin-top: 10px;
}
.pie a {
  text-decoration: none;
}
hr{
  color:  #1ebfb9;
}
.masinformacion{
  background-color: #1ebfb9;
  color: #fff;
  border: none;
  height: 50px;
  width: 200px;
  font-size: 19px;
}
.parrafo {
    width: 80%;
    margin: 0 auto;
    font-size: 16px;
    margin-left: 14%;
}
.tema{
    display: flex;
    justify-content: center;
    justify-items: center;
    align-items: center;
}

@media only screen and (max-width: 570px){
  .modalPopUp{
    padding-top: 50px;
  }
  .modal-content2{
    height: auto;
    padding-bottom: 70px;
  }
  .tituloPopUp{
    font-size: 21px;
  }
}
@media only screen and (max-width: 470px){
  .modal-content2{
    height: 85%;
  }

}
@media only screen and (max-width: 470px) and (max-height: 650px){
  .modalPopUpl{
    padding-top: 1%;
  }
  .title{
    font-size: 1.7em;
  }
}
@media only screen and (max-width: 470px) and (max-height: 750px){

  .modal-content2{
    height: auto;
    padding-bottom: 70px;
  }
}
@media only screen and (max-width: 350px) and (max-height: 560px){
  .title{
    font-size: 1.7em;
  }
  .modal-content2{
    height: auto;
  }
}
