@charset "utf-8";
/* CSS Document */


body {
    margin:0;
    padding:0;
  }

/* ---------------- WHATSAPP  ------------- */

  .whatsapp {
    position:fixed;
    width:60px;
    height:60px;
    bottom:10px;
    left:10px;
    background-color:#25d366;
    color:#FFF;
    border-radius:50px;
    border-color: #FFF;
    border-style: solid;
    text-align:center;
    font-size:30px;
    z-index:100;
    -webkit-box-shadow: 0px 10px 28px -7px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 10px 28px -7px rgba(0,0,0,0.75);
    box-shadow: 0px 10px 28px -7px rgba(0,0,0,0.75);
    }
  
  .whatsapp-icon {
    margin-top:13px;
  }
  
  
/* ---------------- BACK TO TOP  ------------- */


  #scroll {
    position:fixed;
    right:10px;
    bottom:10px;
    cursor:pointer;
    width:50px;
    height:50px;
    background-color:var(--color-1);
    text-indent:-9999px;
    display:none;
    -webkit-border-radius:60px;
    -moz-border-radius:60px;
    border-radius:60px
}
#scroll span {
    position:absolute;
    top:50%;
    left:50%;
    margin-left:-8px;
    margin-top:-12px;
    height:0;
    width:0;
    border:8px solid transparent;
    border-bottom-color:#ffffff;
}
#scroll:hover {
    background-color:#e74c3c;
    opacity:1;filter:"alpha(opacity=100)";
    -ms-filter:"alpha(opacity=100)";
}


/* ---------------- HEADER  ------------- */

.header {
  background-color: var(--color-1);
  width: 90%;
  height: auto;
  min-height: 100px;
  padding-top:2%;
  padding-left: 5%;
  padding-right: 5%;
  z-index: 1;
}

.header ul {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  
}

.header li a {
  height: 60px;
  display: block;
  text-decoration: none;
  font-family: var(--font-1);
  color: var(--color-3);
}

.header li a:link, a:visited {
  font-family: var(--font-1);
  padding-left: 0px;
}

.header li a:hover,
.header .menu-btn:hover {
  color: var(--color-5);
}

.header .logo {
  display: block;
  float: left;
  font-size: 2em;
  margin-top:0;
  text-decoration: none;
}

/* menu */

.header .menu {
  clear: both;
  max-height: 0;
  transition: max-height .2s ease-out;
}

/* menu icon */

.header .menu-icon {
  cursor: pointer;
  display: block;
  float: right;
  padding: 28px 20px;
  position: relative;
  user-select: none;
}

.header .menu-icon .navicon {
  background: #333;
  display: block;
  height: 2px;
  position: relative;
  transition: background .2s ease-out;
  width: 18px;
}

.header .menu-icon .navicon:before,
.header .menu-icon .navicon:after {
  background: #333;
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  transition: all .2s ease-out;
  width: 100%;
}

.header .menu-icon .navicon:before {
  top: 5px;
}

.header .menu-icon .navicon:after {
  top: -5px;
}

/* menu btn */

.header .menu-btn {
  display: none;
}

.header .menu-btn:checked ~ .menu {
  max-height: 900px;
}

.header .menu-btn:checked ~ .menu-icon .navicon {
  background: transparent;
}

.header .menu-btn:checked ~ .menu-icon .navicon:before {
  transform: rotate(-45deg);
}

.header .menu-btn:checked ~ .menu-icon .navicon:after {
  transform: rotate(45deg);
}

.header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before,
.header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
  top: 0;
}

@media (min-width: 768px) { 


  .header li {
    float: left;
  }
  .header li a {
  padding: 20px 30px;
  }
  
  .header .menu {
    clear: none;
    float: right;
    max-height: none;
  }
  .header .menu-icon {
    display: none;
  }

}


/* ---------------- PRESENTATION  ------------- */

.presentation {
  width: 100%;
  height: 70vh;
  background-image: url(../img/background-section-presentation.jpg);
  background-attachment: fixed;
  background-position: right center;
  display: flex;
  flex-direction: column;
  justify-content:flex-start;
  align-items: center;
}

.presentation h1 {
  width: 40%;
  display:flex;
  justify-content: center;
  align-items: center;
  padding-top: 10%;
  font-family: var(--font-1);
  color: var(--color-4);
  font-size: 30px;
  text-align: center;
}

.button-presentation a {
  display:flex;
  justify-content: center;
  align-items: center;
  padding: 2%;
  text-decoration: none;
  list-style: none;
  cursor:pointer;
  font-family: var(--font-1);
  font-weight: 500;
  font-size: 1.2em;
  padding:7px 40px;
  text-decoration:none;
  background-color:var(--color-1);
  border-radius:28px;
}


.button-presentation a:link {
  color: var(--color-3);
}

.button-presentation a:visited {
  color: var(--color-3);
}

.button-presentation a:hover {
  background-color:var(--color-5);

}

.flecha {
  display:flex;
  justify-content: center;
  align-items: center;
  margin-top: 10%;
  margin-bottom: 10%;
  font-family: var(--font-1);
  color: var(--color-4);
}


/* ---------------- CONTAINER ------------- */

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color:var(--color-4);
  height: auto;
  width: 100%;
  padding-top: 5%;
  padding-bottom: 5%;
}

.card {
  display: flex;
  width: 60%;
  height: auto;
  margin-bottom:5%;
  -webkit-box-shadow: -1px -1px 7px 0px rgba(0,0,0,0.43); 
   box-shadow: -1px -1px 7px 0px rgba(0,0,0,0.43);
}

.card-img {
  width: 50%;
  height: auto;
  background-color: rgb(255, 0, 0);
}

.card-img img { 
  object-fit:cover;
  object-position: center;
  width:100%;
  height:100%;
  
}

.card-text {
  width: 50%;
  padding-bottom: 10%;
  height: auto;
  display: flex;
  flex-direction: column;
  background-color: var(--color-3);
}

.card-text ul {
  padding: 0;
  margin: 0;
}

.card-text li {
  display: flex;
  list-style: none;
  line-height: 25px;
  font-family: var(--font-1);
  color: var(--color-2);
  font-size: 1em;
  margin-left: 3%;
}

.card-text h3 {
  margin-left: 3%;
  margin-right: 3%;
  font-family: var(--font-1);
  font-size: 1.5em;
  color: var(--color-1);
}

.card-text p {
  margin-left: 3%;
  margin-right: 3%;
  font-family: var(--font-1);
  color: var(--color-2);
  font-size: 1em;
  font-weight: 100;
}

.button-card a  {
    margin-left: 3%;
    margin-top: 3%;
    width: auto;
    padding: 2%;
    text-decoration: none;
    list-style: none;
    cursor:pointer;
    font-family: var(--font-1);
    font-weight: 500;
    font-size: 1.2em;
    padding:7px 40px;
    text-decoration:none;
    background-color:var(--color-1);
    border-radius:28px;
  }


  .button-card a:link {
    color: var(--color-3);
  }

  .button-card a:visited {
    color: var(--color-3);
  }

  .button-card a:hover {
    background-color:var(--color-5);

  }



/* ---------------- BLOCK ACTION ------------- */

.block-action {
  background-image: url(../img/background-block-action.jpg);
  background-attachment: fixed;
  background-position: right center;
  display: flex;
  flex-direction: column;
  justify-content:flex-start;
  align-items: center;
  width: 100%;
  height: auto;
  background-color: var(--color-3);
  margin-bottom: 5%;
}

.block-action h3 {
  width: 40%;
  display:flex;
  justify-content: center;
  align-items: center;
  padding-top: 5%;
  font-family: var(--font-1);
  color: var(--color-4);
  font-size: 30px;
  text-align: center;
}

.button-action a {
  display:flex;
  justify-content: center;
  align-items: center;
  padding: 2%;
  margin-bottom: 30%;
  text-decoration: none;
  list-style: none;
  cursor:pointer;
  font-family: var(--font-1);
  font-weight: 500;
  font-size: 1.2em;
  padding:7px 40px;
  text-decoration:none;
  background-color:var(--color-1);
  border-radius:28px;
}


.button-action a:link {
  color: var(--color-3);
}

.button-action a:visited {
  color: var(--color-3);
}

.button-action a:hover {
  background-color:var(--color-5);

}


/* ---------------- FOOTER ------------- */

footer {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto;
  background-color: var(--color-3);
}

.footer-content {
  display: flex;
  width: 100%;
  height: 300px;
}

.map {
  width: 50%;
  height: 300px;
  background-color: aqua;
}

.contact {
  width: 50%;
  height: 300px;
}

.contact h4 {
  margin-left: 3%;
  margin-bottom: 3%;
  font-family: var(--font-1);
  color: var(--color-1);
  font-size: 1.5em;
}

.contact ul {
  padding: 0px;
}

.contact li {
  display: flex;
  margin-left: 3%;
  line-height: 25px;
  list-style: none;
  font-family: var(--font-1);
  color: var(--color-2);
  font-size: 1em;
}


.contact li a:link {
  text-decoration: none;
  color: var(--color-2);
}

.contact li a:visited {
  text-decoration: none;
  color: var(--color-2);
}

.contact li a:hover {
  text-decoration: none;
  color: var(--color-1);
}

.rrhh {
  display: flex;
  width: 30%;
  margin-left: 3%;
  margin-bottom: 3%;
  font-family: var(--font-1);
  color: var(--color-1);
  font-size: 30px;
  border-top: #868686 solid 1px;
}

.rrhh ul {
  padding: 0px;
}

.rrhh li {
  margin-left: 0%;
  margin-right:5%;
  margin-top: 5%;
  list-style: none;
  text-align: center;
  width: 30px;
  height: 30px;
}

.rrhh li:hover {
  opacity: 60%;
}

.legal {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100px;
  background-color: var(--color-1);
  font-family: var(--font-1);
  color: var(--color-3);
  font-size: 0.9em;
  text-align: center;
}





/* --------------- RESPONSIVE ------------------------------------ */
 
/* ----------------Escritorios muy anchos  ------------- */

@media (min-width: 1200px) { }




 
/* ----------------Tablets en horizonal y escritorios normales  ------------- */

@media (max-width: 1024px) { 


.card {
  width: 90%;
}

}

/* ---------------- Móviles en horizontal o tablets en vertical  ------------- */

@media (max-width: 768px) { 

  .menu {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .header li {
    width: 90%;
    padding-top: 3%;
    margin-top: 3%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    border-top: 1px solid gainsboro;
    font-size: 1.2em;
  }


  .presentation h1 {
    width: 90%;
  }


  .card {
    flex-direction: column;
    width: 80%;
    margin-bottom: 10%;
  }


  
  .card-img {
    width: 100%;
    height: 40vh;
  }


  
  .card-text {
    width: 100%;
    height: auto;
    padding-bottom: 10%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .card-text ul {
    width: 80%;
  }

  .button-card a  {
    margin-left:0%;
    margin-top: 5%;
  }

  .block-action h3 {
    width: 80%;
  }

  .footer-content {
    flex-direction: column;
    width: 100%;
    height: auto;
  }

  .map {
    width: 100%;
    height: 300px;
  }
  
  .contact {
    width: 90%;
    height: 300px;
    padding-left: 10%;

  }
  
}

 /* ---------------- Móviles en vertical   ------------- */

@media (max-width: 575px) { 

  .header {
    min-height: 0;
  }
  
  .presentation {
  height: auto;

  }

  .presentation h1 {
    padding-top: 3%;
    }

  .card {
    flex-direction: column;
    width: 95%;
    margin-bottom: 2%;
    margin-bottom: 5%;

  }

  .card-text p {
    margin-left: 5%;
    margin-right: 5%;
  }

  .card-text ul {
    width: 95%;
  }

  .contact {
    padding-left:0;
}
  
  .contact li {
    display: flex;
    margin-left: 3%;
    padding-bottom: 3%;
    padding-top: 3%;
    line-height: 25px;
    list-style: none;
    font-family: var(--font-1);
    color: var(--color-2);
    font-size: 0.9em;
    border-bottom: solid 1px gray;
  }

  .rrhh {
    border-top: none;
  }

  .rrhh li {
    margin-right: 10%;
    margin-top: 10%;
    border-bottom: none;

}

}