/* -------------- font google --------- */
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&family=Poppins:wght@300;400;500;600;700&display=swap");

* {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  font-style: normal;
}

#banner {
  background: linear-gradient(rgba(0, 0, 0, 0.1), #fff),
    url("../img/banner2.jpg");
  background-size: cover;
  background-position: center;
  height: 100vh;
}

.logo {
  width: 140px;
  position: absolute;
  top: 4%;
  left: 10%;
}

.banner-text {
  text-align: center;
  color: #fe5f59;
  padding-top: 180px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.banner-text h1 {
  font-size: 42px;

}

.banner-text h1 span {
  font-size: 42px;
  color: #38424d;
}

.banner-text p {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #5e5f5e;
  margin: 0;
  text-align: justify;
  padding: 20px;
}

.banner-btn {
  margin: 70px auto 0;
}

.banner-btn a {
  width: 150px;
  text-decoration: none;
  display: inline-block;
  margin: 0 10px;
  padding: 12px 0;
  color: #5e5f5e;
  border: 0.5px solid #5e5f5e;
  position: relative;
  z-index: 1;
  transition: color 0.5s;
}

.banner-btn a span {
  width: 0%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: #fe5f59;
  z-index: -1;
  transition: 0.5s;
}

.banner-btn a:hover {
  color: #fff;
}

.banner-btn a:hover span {
  width: 100%;
}

#sideNav {
  width: 250px;
  height: 100vh;
  position: fixed;
  right: -250px;
  top: 0;
  background: #a3a3a3d5;
  z-index: 2;
  transition: 0.5s;
}

nav ul li {
  list-style: none;
  margin: 50px 20px;
}

nav ul li a {
  text-decoration: none;
  color: #fff;
}

#menuBtn {
  width: 50px;
  height: 50px;
  background: #a3a3a3d5;
  text-align: center;
  position: fixed;
  right: 30px;
  top: 20px;
  border-radius: 3px;
  z-index: 3;
  cursor: pointer;
}

#menuBtn img {
  width: 20px;
  margin-top: 15px;
}

@media only screen and (max-width: 770px) {
  .banner-text {
    padding-top: 100px;
  }

  .banner-text h1 {
    font-size: 32px;
  }
  .banner-text h1 span {
    font-size: 32px;
  }
  .banner-text p {
    font-size: 14px;
  }
  .banner-text a {
    display: block;
    margin-bottom: 20px;
  }

  .banner-btn {
    margin: 10px auto;
  }

  .banner-btn a {
    display: block;
    margin: 10px auto;
  }
}

/* SECCION TRANSPORTES */

#transporte {
  width: 100%;
  padding: 70px 0;
}

.title-text {
  text-align: center;
  padding-bottom: 70px;
}

.title-text p {
  margin: auto;
  font-size: 20px;
  color: #fe5f59;
  font-weight: bold;
  position: relative;
  z-index: 1;
  display: inline-block;
}

.title-text h1 {
  font-size: 36px;
}

.transporte-box {
  width: 80%;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  text-align: center;
}

.transporte {
  flex-basis: 50%;
}

.transporte-img {
  flex-basis: 50%;
  margin: auto;
}

.transporte-img img {
  width: 70%;
  border-radius: 10px;
}

.transporte h1 {
  text-align: left;
  margin-bottom: 10px;
  font-weight: 100;
  color: #fe5f59;
}

.transporte-desc {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}

.transporte-icon .fas {
  width: 50px;
  height: 50px;
  font-size: 30px;
  line-height: 50px;
  border-radius: 8px;
  color: #fe5f59;
  border: 1px solid #fe5f59;
}

.transporte-text p {
  padding: 0 20px;
  text-align: initial;
}

@media only screen and (max-width: 992px) {
  .title-text h1 {
    font-size: 22px;
  }

  .transporte {
    flex-basis: 100%;
    font-size: 14px;
  }

  .transporte-img {
    flex-basis: 100%;
  }

  .transporte-img img {
    width: 70%;
  }
}

/* SECCION DESARROLLO */

#desarrollo {
  width: 100%;
  padding: 70px 0;
  background: #efefef;
}

.desarrollo-box {
  width: 80%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin: auto;
}

.single-desarrollo {
  flex-basis: 48%;
  text-align: center;
  border-radius: 7px;
  margin-bottom: 20px;
  color: #fff;
  position: relative;
}

.single-desarrollo img {
  width: 50%;
  border-radius: 7px;
}

.overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  border-radius: 7px;
  cursor: pointer;
  background: linear-gradient(rgba(0, 0, 0, 0.7), #a89292);
  opacity: 0;
  transition: 1s;
}

.single-desarrollo:hover .overlay {
  opacity: 1;
}

.desarrollo-desc {
  width: 80%;
  position: absolute;
  left: 50%;
  top:20%;
  opacity: 0;
  transform: translate(-50%);
  transition: 1s;
}

.single-desarrollo:hover .desarrollo-desc {
  bottom: 0%;
  opacity: 1;
}

@media only screen and (max-width: 770px) {
  .single-desarrollo {
    flex-basis: 100%;
  }

  .single-desarrollo:hover .desarrollo-desc {
    opacity: 1;
  }
}

/* SECCION GPS */

#gps {
  width: 100%;
  padding: 70px 0;
}

.gps-row {
  width: 80%;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}

.gps-col {
  flex-basis: 28%;
  padding: 10px;
  margin-bottom: 30px;
  border-radius: 5px;
  box-shadow: 0 10px 20px 3px #fe5f5914;
  cursor: pointer;
  transition: transform 0.5s;
}

.gps-col p {
  font-size: 14px;
}

.icono {
  display: flex;
  align-items: center;
  margin: 20px 0;
}

.icono i {
  font-size: 40px;
  color: #fe5f59;
  margin-right: 20px;
}

.gps-col:hover {
  transform: translateY(-7px);
}

@media only screen and (max-width: 770px) {
  .gps-col {
    flex-basis: 100%;
  }
  .title-text h1 {
    font-size: 26px;
  }
}

/* FOOTER */

#footer {
  padding: 100px 0 20px;
  background: #efefef;
  position: relative;
}

.footer-row {
  width: 80%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-left,
.footer-right {
  flex-basis: 45%;
  padding: 10px;
  margin-bottom: 20px;
}

.footer-right {
  text-align: right;
}

.footer-row h1 {
  margin: 10px 0;
}

.footer-row p {
  line-height: 35px;
}

.footer-left .fas,
.footer-right .fas {
  font-size: 20px;
  color: #fe5f59;
  margin: 10px;
}

.footer-img {
  max-width: 200px;
  opacity: 0.1;
  position: absolute;
  left: 50%;
  top: 35%;
  transform: translate(-50%, -50%);
}

.social-links {
  text-align: center;
}

.social-links .fab {
  height: 40px;
  width: 40px;
  font-size: 20px;
  line-height: 40px;
  border: 1px solid #fe5f59;
  margin: 40px 5px 0;
  color: #fe5f59;
  cursor: pointer;
  transition: 0.5s;
}

.social-links .fab:hover {
  background: #fe5f59;
  color: #fff;
  transform: translateY(-7px);
}

.social-links p {
  font-size: 12px;
  margin-top: 20px;
}

@media only screen and (max-width: 770px) {
  .footer-left,
  .footer-right {
    flex-basis: 100%;
  }

  .footer-img {
    top: 25%;
  }
}
