﻿body {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
}

h2 {
  font-size: 1.1em;
  margin-top: 2em;
  text-align: center;
}

main {
  width: 80%;
 /*margin-right: 20%;*/
}

#modal {
  background: rgb(239 238 238);
    color: #000;
  position: fixed;
  top: -150vh;
  left: 0;
  height: 100vh;
  width: 100vw;
  transition: all 0.5s;
  z-index:90;
 overflow-y: scroll;
}
#modal p {
  width: 80%;
  height: 40%;
  position: absolute;
  top: -10em;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
      font-size: 2em;
  text-align:justify;
}

#mostrar-modal{
  display: none;
}
#mostrar-modal + label {
    background-color: #fff;
    width: 30%;
    color: #E6282A;
    border-radius: 40px;
    font-size: 14px;
  display: table;
  margin: auto;
  line-height: 3;
  text-transform: uppercase;
  cursor: pointer;
}
#mostrar-modal + label:hover{
  background: #38678f;
}
#mostrar-modal:checked ~ #modal {
  top: 0;
      z-index: 1000;
}
#mostrar-modal:checked ~ #cerrar-modal + label {
  display: block;
      z-index: 2000;
}

#cerrar-modal{
  display: none;
}
#cerrar-modal + label {
  position: absolute;
  top: 10%;
  right: 1em;
  z-index: 100;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  background: tomato;
  width: 40px;
  height: 40px;
      line-height: 33px;
  text-align: center;
  border-radius: 50%;
  display: none;
  transition: all 0.5s;
  font-size: 2em;
}
#cerrar-modal:checked ~ #modal {
  top: -100vh;
}

#cerrar-modal:checked + label {
  display: none;
}

/*-------------------------------------------------modal 2----------------------------------------------------*/


main2 {
  width: 80%;
  margin: auto;
}

#modal2 {
  background: rgb(239 238 238);
    color: #000;
  position: fixed;
  top: -150vh;
  left: 0;
  height: 100vh;
  width: 100vw;
  transition: all 0.5s;
  z-index:90;
   overflow-y: scroll;

}
#modal2 p {
  width: 60%;
  height: 40%;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  font-size: 2.5em;
  text-align: center;
}

#mostrar-modal2{
  display: none;
 
}
#mostrar-modal2 + label{
      width: 100%;
    color: #fff;
    border-radius: 40px;
 
  display: table;
  margin: auto;
  text-transform: uppercase;
  cursor: pointer;
}
#mostrar-modal2 + label:hover{
  background: #38678f;
}
#mostrar-modal2:checked ~ #modal2 {
  top: 0;
   z-index: 1000;
}
#mostrar-modal2:checked ~ #cerrar-modal2 + label {
  display: block;
   z-index: 2000;
}

#cerrar-modal2{
  display: none;
}
#cerrar-modal2 + label {
   position: absolute;
  top: 10%;
  right: 1em;
  z-index: 100;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  background: tomato;
  width: 40px;
  height: 40px;
      line-height: 33px;
  text-align: center;
  border-radius: 50%;
  display: none;
  transition: all 0.5s;
  font-size: 2em;
}
#cerrar-modal2:checked ~ #modal2 {
  top: -100vh;
}

#cerrar-modal2:checked + label {
  display: none;
}


/*-------------------------------------------------modal 3----------------------------------------------------*/


main3 {
  width: 80%;
  margin: auto;
}

#modal3 {
      background: rgb(239 238 238);
    color: #000;
  position: fixed;
  top: -150vh;
  left: 0;
  height: 100vh;
  width: 100vw;
  transition: all 0.5s;
  z-index:90;
   overflow-y: scroll;
}
#modal3 p {
  width: 60%;
  height: 40%;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  font-size: 2.5em;
  text-align: center;
}

#mostrar-modal3{
  display: none;
}
#mostrar-modal3 + label{
      width: 100%;
    color: #fff;
    border-radius: 40px;
 
  display: table;
  margin: auto;
  text-transform: uppercase;
  cursor: pointer;
}
#mostrar-modal3 + label:hover{
  background: #38678f;
}
#mostrar-modal3:checked ~ #modal3 {
  top: 0;
      z-index: 1000;
}
#mostrar-modal3:checked ~ #cerrar-modal3 + label {
  display: block;
      z-index: 2000;
}

#cerrar-modal3{
  display: none;
}
#cerrar-modal3 + label {

    position: absolute;
  top: 10%;
  right: 1em;
  z-index: 100;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  background: tomato;
  width: 40px;
  height: 40px;
      line-height: 33px;
  text-align: center;
  border-radius: 50%;
  display: none;
  transition: all 0.5s;
  font-size: 2em;
}
#cerrar-modal3:checked ~ #modal3 {
  top: -100vh;
}

#cerrar-modal3:checked + label {
  display: none;
}

/*-------------------------------------------------modal 4----------------------------------------------------*/


main4 {
  width: 80%;
  margin: auto;
}

#modal4 {
  background: rgb(239 238 238);
    color: #000;
  position: fixed;
  top: -150vh;
  left: 0;
  height: 100vh;
  width: 100vw;
  transition: all 0.5s;
  z-index:90;
   overflow-y: scroll;
}
#modal4 p {
  width: 60%;
  height: 40%;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  font-size: 2.5em;
  text-align: center;
}

#mostrar-modal4{
  display: none;
}
#mostrar-modal4 + label{
      width: 100%;
    color: #fff;
    border-radius: 40px;
 
  display: table;
  margin: auto;
  text-transform: uppercase;
  cursor: pointer;
}
#mostrar-modal4 + label:hover{
  background: #38678f;
}
#mostrar-modal4:checked ~ #modal4 {
  top: 0;
  z-index: 1000;
}
#mostrar-modal4:checked ~ #cerrar-modal4 + label {
  display: block;
  z-index: 2000;
}

#cerrar-modal4{
  display: none;
}
#cerrar-modal4 + label {
    position: absolute;
  top: 10%;
  right: 1em;
  z-index: 100;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  background: tomato;
  width: 40px;
  height: 40px;
      line-height: 33px;
  text-align: center;
  border-radius: 50%;
  display: none;
  transition: all 0.5s;
  font-size: 2em;
}
#cerrar-modal4:checked ~ #modal4 {
  top: -100vh;
}

#cerrar-modal4:checked + label {
  display: none;
}



