* {
margin:0;
padding:0;
}


body a{
  text-decoration: none;
}


nav{
  background: #35aee6;
}

nav ul li{
  list-style-type: none;
  display: inline-block;
  vertical-align: middle;

}


h1{
  font-family: 'Montserrat', sans-serif;
  color:#ffff;
  font-size: 25px;
  font-weight: 700; 
}

nav h1{
  padding-left:2rem;
}




/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* 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 */
}

/* Modal Content */
.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 25px;
  border: 1px solid #888;
  width: 70%;
  display:flex;
}

/* The Close Button */
.close {
  color: #35aee6;
  float: right;
  font-size: 28px;
  font-weight: bold;

}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}


#myBtn{
  display: inline-block;
  float: right;
  padding-top: 20px;
  margin-right: 30px;
  vertical-align: middle;
}


#myBtn:hover{
  background: #2f9ccf;
  color: white;
}


.modal-content h3{
  color:black;
  padding-top: 2rem;
  padding-bottom: 0.5rem;
}

.modal-content ol{
  margin-left: 3rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
}

.modal-content p{
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  margin-left: 3rem;
}

.column1,
.column2 {
   width: 50%;
  padding:1rem;
  align-items: center;


}

h2{
  font-family: 'Montserrat', sans-serif;
  color:#ffff;
  font-size: 20px;
  font-weight: 700; 
  padding-left:2rem;
}


h3{
  font-family: 'Montserrat', sans-serif;
  color:#ffff;
  font-size: 16px;
  font-weight: 400; 
  padding-left:2rem;
}

.cuerpo {
  width: 100%;
  display: flex;
  padding: 4rem 0 4rem 0;
  align-items: center;
  justify-content: space-around;
  background:#ffa5003d;
}



.card {
  width: 260px;
  height: 380px;
  padding: 1rem;
  background: white;
  position: relative;
  display: flex;
  align-items: flex-end;
  transition: 0.4s ease-out;
  box-shadow: 0px 7px 10px rgba(0, 0, 0, 0.5);
}

.card:hover {
  -webkit-transform: translateY(20px);
          transform: translateY(20px);
}
.card:hover:before {
  opacity: 1;
}
.card:hover .info {
  opacity: 1;
  -webkit-transform: translateY(0px);
          transform: translateY(0px);
}
.card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
  transition: 0.5s;
  opacity: 0;
}
.card img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}
.card .info {
  position: relative;
  z-index: 3;
  color: white;
  opacity: 0;
  -webkit-transform: translateY(30px);
          transform: translateY(30px);
  transition: 0.5s;
  text-align: center;
  padding: 0 1.8rem 4rem 1.8rem; /*centra el texto en la tarjeta*/

}
.card .info h1 {
  font-family: 'Roboto', sans-serif;
  font-size:20px;
  font-weight: 700;
  text-align: center;
  line-height: 30px;
  color:#ffff;
 
}
.card .info button,
#myBtn {
  font-family: 'Montserrat', sans-serif;
  color:#43b7ff;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  margin-top:1rem;
  background-color: white;
  border: 2px solid #35aee6;
  border-radius: 10px;
  padding: 10px;
  display: inline-block;
  text-decoration:none;
}
.card .info button:hover{
  background: #35aee6;
  color: white;
}


.card1 {
  width: 254px;
  height: 318px;
  padding: 1rem;
  background: white;
  position: relative;
  display: flex;
  align-items: flex-end;
  transition: 0.4s ease-out;
  box-shadow: 0px 7px 10px rgba(0, 0, 0, 0.5);
}


.card1:hover {
  -webkit-transform: translateY(20px);
          transform: translateY(20px);
}
.card1:hover:before {
  opacity: 1;
}
.card1:hover .info {
  opacity: 1;
  -webkit-transform: translateY(0px);
          transform: translateY(0px);
}
.card1:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
  transition: 0.5s;
  opacity: 0;
}
.card1 img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}
.card1 .info {
  position: relative;
  z-index: 3;
  color: white;
  opacity: 0;
  -webkit-transform: translateY(30px);
          transform: translateY(30px);
  transition: 0.5s;
  text-align: center;
  padding: 0 1.8rem 4rem 1.8rem; /*centra el texto en la tarjeta*/

}
.card1 .info h1 {
  font-family: 'Roboto', sans-serif;
  font-size:20px;
  font-weight: 700;
  text-align: center;
  line-height: 30px;
  color:#ffff;
 
}
.card1 .info button,
#myBtn {
  font-family: 'Montserrat', sans-serif;
  color:#43b7ff;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  margin-top:1rem;
  background-color: white;
  border: 2px solid #35aee6;
  border-radius: 10px;
  padding: 10px;
  display: inline-block;
  text-decoration:none;
}
.card1 .info button:hover{
  background: #35aee6;
  color: white;
}

footer {
  width: 100%;
  display: flex;
  padding: 2rem 0 2rem 0;
  background: #35aee6;
  width: 100%;

}

.foot{
  display: inline-block;
  width: 50%;
}

footer h2, 
footer h3{
  line-height: 2.5rem;
 }

footer .redes{
  display: inline-block;
  width: 50%;
  padding:2rem;
}


.card2 {
  width: 760px;
  height: 380px;
  padding: 1rem;
  background: white;
  position: relative;
  display: flex;
  align-items: flex-end;
  transition: 0.4s ease-out;
  box-shadow: 0px 7px 10px rgba(0, 0, 0, 0.5);
}

.card2:hover {
  -webkit-transform: translateY(20px);
          transform: translateY(20px);
}
.card2:hover:before {
  opacity: 1;
}
.card2:hover .info {
  opacity: 1;
  -webkit-transform: translateY(0px);
          transform: translateY(0px);
}
.card2:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
  transition: 0.5s;
  opacity: 0;
}
.card2 img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}
.card2 .info {
  position: relative;
  z-index: 3;
  color: white;
  opacity: 0;
  -webkit-transform: translateY(30px);
          transform: translateY(30px);
  transition: 0.5s;
  text-align: center;
  padding: 0 1.8rem 4rem 1.8rem; /*centra el texto en la tarjeta*/

}
.card2 .info h1 {
  font-family: 'Roboto', sans-serif;
  font-size:20px;
  font-weight: 700;
  text-align: center;
  line-height: 30px;
  color:#ffff;
 
}
.card2 .info button,
#myBtn {
  font-family: 'Montserrat', sans-serif;
  color:#43b7ff;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  margin-top:1rem;
  background-color: white;
  border: 2px solid #35aee6;
  border-radius: 10px;
  padding: 10px;
  display: inline-block;
  text-decoration:none;
}
.card2 .info button:hover{
  background: #35aee6;
  color: white;
}


/* The Close2 Button */
.close2 {
  color: #35aee6;
  float: right;
  font-size: 28px;
  font-weight: bold;

}

.close2:hover,
.close2:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}


/* The Modal2 (background) */
.modal2 {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 250px; /* 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 */
}

/* Modal Content */
.modal-content2 {
  border-radius: 10px;
  font-family: 'Montserrat', sans-serif;
  background-color: #f2f2f2;
  margin: auto;
  padding: 25px;
  border: 1px solid #888;
  width: 20%;
  display:flex;
}

.cuerpo2 {
  width: 100%;
  height: 10%;
  display: flex;
  padding: 1rem 0 1rem 0;
  align-items: center;
  justify-content: space-around;
  background:#ffa5003d;
}

