@import url(https://fonts.googleapis.com/css?family=Josefin+Sans:300,400);
* {
  margin: 0;
  padding: 0;
}
html, body {
  height: 100%;
}

section {
  position: relative;
  width: 100%;
  height: 100%;
}
section::after {
  position: absolute;
  bottom: 0;
  left: 0;
  content: '';
  width: 100%;
  height: 40%;
  background: -webkit-linear-gradient(top,rgba(0,0,0,0) 0,rgba(0,0,0,.8) 80%,rgba(0,0,0,.8) 100%);
  background: linear-gradient(to bottom,rgba(0,0,0,0) 0,rgba(0,0,0,.8) 80%,rgba(0,0,0,.8) 100%);
}
section h1 {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  color: #fff;
  font : normal 300 64px/1 'Josefin Sans', sans-serif;
  text-align: center;
  white-space: nowrap;
}



#section01 { background:linear-gradient(#997b66,#d9ae94,#d08c60) center center / cover no-repeat;}
#section02 { background:linear-gradient(to right, #cb997e,#ddbea9);}
#section03 { background: #b6ad90;padding-top: 1%; padding-bottom: 0px; }

#section04 { background-color: black}
#section05 { background-color: #efc7c2}


#gracias {
  background-color: #fff;
}

#gracias div {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
}
#gracias h2 {
  margin-bottom: 60px;
  color: #333;
  font : normal 300 64px/1 'Josefin Sans', sans-serif;
  text-align: center;
  white-space: nowrap;
}
#gracias p {
  color: #333;
  font : normal 400 20px/1 'Josefin Sans', sans-serif;
}
#gracias p a {
  color: #333;
  text-decoration: none;
  transition: color .3s;
}
#gracias p a:hover {
  color: #888;
}

/*PORTADA*/
.portada a {
  position: absolute;
  bottom: 20px;
  left: 50%;
  z-index: 2;
  display: inline-block;
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
  color: #fff;
  font : normal 400 20px/1 'Josefin Sans', sans-serif;
  letter-spacing: .1em;
  text-decoration: none;
  transition: opacity .3s;
}
.portada a:hover {
  opacity: .5;
}
#section01 a {
  padding-top: 60px;
}
#section01 a span {
  position: absolute;
  top: 0;
  left: 50%;
  width: 24px;
  height: 24px;
  margin-left: -12px;
  border-left: 1px solid #fff;
  border-bottom: 1px solid #fff;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  box-sizing: border-box;
}
header{
  width: 100%;
  height: 18%;
  z-index: 10;
  background: #b7b7a4;
  
  
}

.menu{
  display:flex;
  justify-content: space-between;
  text-align: center;
  width: 100%;
}
#section01 header img{
  width: 7%;
  height:7%;
  padding:1%;
}

#section01 header a{
  position: unset;
  text-align: center;
  margin-top: 5vh;
  margin-right: 10vw;
  
}

  


/*PRESENTACION*/
#section02 a {
  padding-top: 60px;
}
#section02 a span {
  position: absolute;
  top: 0;
  left: 50%;
  width: 46px;
  height: 46px;
  margin-left: -23px;
  border: 1px solid #fff;
  border-radius: 100%;
  box-sizing: border-box;
}
#section02 a span::after {
  position: absolute;
  top: 50%;
  left: 50%;
  content: '';
  width: 16px;
  height: 16px;
  margin: -12px 0 0 -8px;
  border-left: 1px solid #fff;
  border-bottom: 1px solid #fff;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  box-sizing: border-box;
}
#section02 img{ width: 30%;
    border-radius: 50%;
    position: relative;
    top: 5vh;
    left: 7vw;
    float: left;
    vertical-align: middle;

}
#section02 h3{width: 55%;
    text-align: center;
    border: 0.2vw solid black;
    background-color: #b7b7a4;
    float: right;
    position: relative; 
    font-size: 2vmax;
    font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif ;
    margin-top: 15%;
    margin-right: 3vw;

}
#section02 p a{
  margin-left: 33%;
}


/*ILLIA*/
#section03 a {
  padding-top: 60px;
}
#section03 a span {
  position: absolute;
  top: 0;
  left: 50%;
  width: 46px;
  height: 46px;
  margin-left: -23px;
  border: 1px solid #fff;
  border-radius: 100%;
  box-sizing: border-box;
}
#section03 a span::after {
  position: absolute;
  top: 50%;
  left: 50%;
  content: '';
  width: 16px;
  height: 16px;
  margin: -12px 0 0 -8px;
  border-left: 1px solid #fff;
  border-bottom: 1px solid #fff;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  box-sizing: border-box;
}
#section03 a span::before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  content: '';
  width: 44px;
  height: 44px;
  box-shadow: 0 0 0 0 rgba(255,255,255,.1);
  border-radius: 100%;
  opacity: 0;
  -webkit-animation: sdb03 3s infinite;
  animation: sdb03 3s infinite;
  box-sizing: border-box;
  
}
.galeria{
  display:flex;
  width: 88%;
  margin: auto;
  justify-content: space-around;
  flex-wrap: wrap;
  z-index: 1;
  
}
.galeria .foto{
  display: flex;
  width: 23vmax;
  height: 18vmax;
  position: relative;
  
  border-radius: 2px;
  box-shadow: 0px 0px 5px 0px red;
  transition: 0.5s ease;
  
}

.galeria .foto:hover {
  box-shadow: 0px 0px 15px 0px blue;
}

.foto img{
  width: 23vmax;
  height: 18vmax;
  
  object-fit: cover;
  border-radius: 3px;
  
 
  
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: gray;
  opacity: 90%;
  width: 100%;
  
  height: 0;
  transition: 0.40s ease;
  overflow: hidden;
}
.overlay h1{
  color: white;
  font-size:120%;
  
  
  position: absolute;

  text-align: center;
  transform: translate(-50%, -50%);
}
.foto:hover .overlay{
  height: 100%;
  cursor: pointer;
  border-radius: 3px;
  
}
#section03 p a{
  margin-left: 33%;
}

/*CONTACTO*/

#section04 a {
  padding-top: 60px;
}
#section04 a span {
  position: absolute;
  top: 0;
  left: 50%;
  width: 24px;
  height: 24px;
  margin-left: -12px;
  border-left: 1px solid #fff;
  border-bottom: 1px solid #fff;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -webkit-animation: sdb04 2s infinite;
  animation: sdb04 2s infinite;
  box-sizing: border-box;
}
#section04 p a{
  margin-left: 33%;
}
.redes {
  display:flex;
  width: 88%;
  margin: auto;
  justify-content: space-around;
  flex-wrap: wrap;
  z-index: 1;
  
}
.logos {
  display: flex;
  width: 20vw;
  height: 20vh;
  position: relative;
  margin-top: 40%;
  margin-left:-23%;
}

.logos img{
  width:20vw;
  height:20 vh;
  border-radius: 17%;
 
  
  
}







@-webkit-keyframes sdb04 {
  0% {
    -webkit-transform: rotate(-45deg) translate(0, 0);
  }
  20% {
    -webkit-transform: rotate(-45deg) translate(-10px, 10px);
  }
  40% {
    -webkit-transform: rotate(-45deg) translate(0, 0);
  }
}
@keyframes sdb04 {
  0% {
    transform: rotate(-45deg) translate(0, 0);
  }
  20% {
    transform: rotate(-45deg) translate(-10px, 10px);
  }
  40% {
    transform: rotate(-45deg) translate(0, 0);
  }
}


/*FUTURO*/
#section05 a {
  padding-top: 70px;
}
#section05 a span {
  position: absolute;
  top: 0;
  left: 50%;
  width: 24px;
  height: 24px;
  margin-left: -12px;
  border-left: 1px solid #fff;
  border-bottom: 1px solid #fff;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -webkit-animation: sdb05 1.5s infinite;
  animation: sdb05 1.5s infinite;
  box-sizing: border-box;
}
#section05 p a{
  margin-left: 33%;
}
.conteneddor{
  width: 100%;
  max-width: 120vw;
  height: 43vh;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin:auto;

}
.conteneddor .card{
  width: 26vmax;
  height: 105%;
  border-radius: 8px;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  margin: 2%;
  text-align: center;
  transition: all 0.25s;
  margin-top: 7%;
  background-color: beige;
  
  
}
.conteneddor .card:hover{
  transform: translateY(-15px);
  box-shadow: 0 12px 19px rgba(0, 0, 0, 0.2);

}
.conteneddor .card img {
  display: flex;
  width: 23vmax;
  height: 18vmax;
  position: relative;
  margin-left: 3vh;
  margin-right: 3vh;
  float: center;
  
}
.conteneddor .card h4{
  font-weight: 600;
  font-family: 'Josefin Sans', sans-serif;
  margin-top: 1%;
}
.conteneddor .card p{
  padding: 0 1rem;
  font-size: 16px;
  font-family: 'Josefin Sans', sans-serif;
  margin-top: 1%;
}
@-webkit-keyframes sdb05 {
  0% {
    -webkit-transform: rotate(-45deg) translate(0, 0);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    -webkit-transform: rotate(-45deg) translate(-20px, 20px);
    opacity: 0;
  }
}
@keyframes sdb05 {
  0% {
    transform: rotate(-45deg) translate(0, 0);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: rotate(-45deg) translate(-20px, 20px);
    opacity: 0;
  }
}



