.botones-nos a{
  display: inline-block;
  text-align: center;
  margin-left: 10px;
  margin-bottom: 45px;
  padding: 6px 12px;
  border: 1px solid rgb(17, 0, 255);
  list-style: none;
  color: rgb(17, 0, 255);
}

.botones-nos a:hover{
  background: rgb(17, 0, 255);
  color: #fff;
  cursor: pointer;
  size: inherit;
}

/*Boton popup 1*/

.overlay { 
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  transition: opacity 1s;
  visibility: hidden;
  opacity: 0;
  z-index: -100;
}

.overlay:target{
  visibility: visible;
  opacity: 1;
  z-index: 200;
}

#popupBody{
  width: 50%;
  padding: 2%;
  border-radius: 15px;
  box-shadow: 0 0 20px #CCC;
  background: #FFF;
  position: relative;
  margin: 20% auto;
  transition: all 5s ease-in-out;
}

.text-nos hr{
  width: 100%;
  margin: 0px 0px 10px 0px;
  padding: 0px 0px 2px 0px;
  background-color: #000;
}

.text-nos p{
  margin: 20px 0px 10px 0px;
  font-size: 20px;
  text-align: justify;
  color: rgb(17, 0, 255);
}

#cerrar{
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: rgb(119, 119, 119);
  transition: .3s ease all;
}

#cerrar:hover{
  color:rgb(255, 0, 0);
}

/*Boton popup 2*/

.overlay2 { 
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  transition: opacity 1s;
  visibility: hidden;
  opacity: 0;
  z-index: -100;
}

.overlay2:target{
  visibility: visible;
  opacity: 1;
  z-index: 200;
}

#popupBody2{
  width: 50%;
  padding: 2%;
  border-radius: 15px;
  box-shadow: 0 0 20px #CCC;
  background: #FFF;
  position: relative;
  margin: 20% auto;
  transition: all 5s ease-in-out;
}

.text-nos2 hr{
  width: 100%;
  margin: 0px 0px 10px 0px;
  padding: 0px 0px 2px 0px;
  background-color: #000;
}

.text-nos2 p{
  margin: 20px 0px 10px 0px;
  font-size: 20px;
  text-align: justify;
  color: rgb(17, 0, 255);
}

/*Boton popup 2*/

.overlay3 { 
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  transition: opacity 1s;
  visibility: hidden;
  opacity: 0;
  z-index: -100;
}

.overlay3:target{
  visibility: visible;
  opacity: 1;
  z-index: 200;
}

#popupBody3{
  width: 50%;
  padding: 2%;
  border-radius: 15px;
  box-shadow: 0 0 20px #CCC;
  background: #FFF;
  position: relative;
  margin: 20% auto;
  transition: all 5s ease-in-out;
}

.text-nos3 hr{
  width: 100%;
  margin: 0px 0px 10px 0px;
  padding: 0px 0px 2px 0px;
  background-color: #000;
}

.text-nos3 p{
  margin: 20px 0px 10px 0px;
  font-size: 20px;
  text-align: justify;
  color: rgb(17, 0, 255);
}

@media screen and (max-width: 768px){
  #popupBody, #popupBody2, #popupBody3 {
    width: 90%;
  }

  #popupBody h3, #popupBody2 h3, #popupBody3 h3 {
    margin: 10px 0px 5px 0px;
  }
  
  .popupimg img{
    width: 90%;
    height:90%;
    align-items: center;
    justify-content: center;
  }
}