@font-face {
  font-family: "Roadgeek";
  src: url("./Roadgeek/transport_heavy-webfont.woff") format("woff"),
    url("./Roadgeek/transport_heavy-webfont.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
}

@font-face {
  font-family: "Roadgeek";
  src: url("./Roadgeek/transport_medium-webfont.woff") format("woff"),
    url("./Roadgeek/transport_medium-webfont.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
}

* {
  font-family: "Roadgeek", Arial, Helvetica, sans-serif;
}

:root {
  --dark-text: #42413F;
  --yellow: #E8BA1D;
  --border-color: #707070;
}

*,
*::after,
*::before {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 12px;
}

body {
  max-width: 100vw;
  overflow-x: hidden;
}

.wrapper {
  width: 90%;
  margin: auto;
  max-width: 1520px;
}

.heavy {
  font-weight: 800;
}

.medium {
  font-weight: 500;
}


h1 {
  font-size: 5.83rem;
  line-height: 86px;
}

h2 {
  font-size: 4rem;
  line-height: 57px;
  font-weight: 800;
}

ul {
  list-style-type: none;
  display: flex;
  justify-content: space-around;
}

ul li p {
  font-size: 20px;
  font-family: "Roadgeek", Arial, Helvetica, sans-serif;
  font-weight: 800;
}

li {
  cursor: pointer;
  position: relative;
}

.black {
  color: var(--dark-text);
}

.white {
  color: white
}

.yellow {
  color: var(--yellow);
}

.yellow-bg {
  background-color: var(--yellow);
}

.slide {
  cursor: grab;
}

p.height {
  line-height: 44px;
}

p.small {
  font-size: 18px;
}

p.heavy {
  font-weight: bold;
}

p.normal {
  font-size: 24px;
}


button,
.button {
  background-color: var(--yellow);
  padding: 12px 30px;
  display: block;
  width: fit-content;
  border: none;
  font-size: 18px;
  position: relative;
  overflow: hidden;
}
button::after, .button::after {
  content: '';
  width: 0;
  height: 100%;
  background: var(--dark-text);
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  transition: .5s;
  clip-path: polygon(0 0%, 100% 0%, calc(100% - 20px) 100%, 0% 100%);
}
button:hover::after, .button:hover::after {
  width: 120%;
}
button:hover p, .button:hover p {
  position: relative;
  z-index: 2;
  color: #fff;
  mix-blend-mode: difference;
}
button p.hover, .button p.hover {
  position: absolute;
  top: 12px;
  left: 30px;
  opacity: 0;
  z-index: 0;
  transtion: .5s;
}
button:hover p.hover, .button:hover p.hover {
  opacity: 1;
  mix-blend-mode: normal;
}

a,
button,
.button {
  cursor: pointer;
}

a,
a:visited,
a:link {
  text-decoration: none;
  color: inherit;
}

input,
textarea {
  padding: 18px 25px;
  border: 1px solid var(--border-color);
  font-weight: 500;
  font-size: 18px;
  max-width: 100%;

  color: var(--dark-text);
}
input::placeholder, textarea::placeholder {
  opacity: 0.5;
  font-size: 18px;
}



input:focus,
textarea:focus{
  outline: none;
}
input.error {
  border-color: red;
}

p.error-msg {
  display: none;
  width: 100%;
  background: #9f1b1b;
  padding: 1rem;
  color: #fff;
  font-size: 14px;
  font-family: 'Open Sans', sans-serif;
  font-weight: normal;
}
.error p.error-msg {
  display: block;
} 

p.success-msg {
  display: none;
  width: 100%;
  background: var(--yellow);
  padding: 1rem;
  color: var(--dark-text);
  font-size: 14px;
  font-family: 'Open Sans', sans-serif;
  font-weight: normal;
  margin-bottom: 1rem;
}
.success p.success-msg {
  display: block;
} 

/* Header */
header {
  position: absolute;
  width: 100vw;
  z-index: 10;
}
/*
header .wrapper nav {
  margin: 0 -5rem;
}*/

.top-nav-bar {
  display: flex;
  justify-content: space-between;
  padding: 3.5rem 5rem;
  background-color: white;
  align-items: center;
}

.top-nav-bar ul {
  width: 50%;
}

nav .item-list .item {
  position: relative;
  text-transform: uppercase;
}

nav .item-list .item:hover::before {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  top: 10px;
  left: -20px;
  background-color: var(--yellow);
}

#page {
  width: 100vw;
  overflow: hidden;
}

/*Home*/
#home {
  background-image: url('./assets/home-img.png');
  background-position: bottom center;
  background-size: cover;
  min-height: 90vh;
  max-height: 100%;
}

.toggle-mobile {
  display: none;
  cursor: pointer;
}

#home .wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90vh;
}

#home::after {
  content: '';
  width: 100vw;
  height: 219px;
  position: absolute;
  top: calc((90vh / 2) - 3.35rem);
  left: 0;
  background-color: var(--dark-text);
  z-index: 1;
}


#home .home-body {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 2;
  padding-top: 10rem;
  width: 100%;
  height: 80vh;
  grid-gap: 1rem;
}

#home .home-body .left .button {
  display: none;
}

#home .home-body h1 {
  width: 100%;
  max-width: 10em;
}

#home .right {
  background-color: white;
  width: 45%;
  max-width: 559px;
  align-self: flex-end;
}



#home form {
  padding: 45px 39px 0px 39px;
  margin-bottom: -20px;
}

#home .right .bottom {
  clip-path: polygon(0 47%, 100% 6%, 100% 100%, 0% 100%);
  height: 171px;
  width: 100%;
  padding: 21px 39px;
  display: flex;
  align-items: flex-end;
  background-color: var(--dark-text);
}

#home .inputs {
  flex-wrap: wrap;
  display: flex;
  gap: 10px 12px;
}

#home .inputs input {
  width: 48.5%;
  flex-grow: 1;
}

#home .inputs textarea {
  width: 100%;
  height: 76px;
  max-height: 200px;
}

#about {
  padding-top: 230px;
}

#about .top {
  width: 95%;
}

#about .top {
  display: flex;
  justify-content: space-between;

  margin-bottom: 128px;
}

#about .top .left {
  max-width: 645px;
}
#about .top .left > p {
  font-family: "Open Sans", sans-serif;
  font-weight: normal;
  max-width: 27em;
}

#about .top .right {
  max-width: 559px;
  width: 50%;
  position: relative;
}

#about .top .left {
  width: 50%;
  max-width: 750px;
}


#about .top .left .button {
  margin-top: 40px;
}

#about .top .right::after {
  content: url('./assets/quote.png');
  position: absolute;
  top: 4rem;
  left: 10rem;
  z-index: -1;
}

#about .mid h2 {
  margin-bottom: 47px;
}

#about .mid .body {
  display: flex;
  position: relative;
  width: 100%;
  overflow: hidden;
  align-items: stretch;
}

#about .mid .left {
/*  background: url('./assets/trapecio-derecho.svg') no-repeat bottom right;*/
  background: var(--dark-text);
  background-size: cover;
  max-width: 747px;
  width: 50%;
  max-height: 100%;
  padding: 50px 40px;
  clip-path: polygon(0 0%, 100% 0%, 75% 100%, 0% 100%);
}
#about .mid .left::before {
  
}

#about .mid .right {
  width: 50%;
  clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%);
}


#about .mid .left p {
  font-family: "Open Sans" !important;
  line-height: 28px !important;
  font-weight: 100;
  margin-bottom: 2.5rem;
}
#about .mid .left p:first-child {
  margin-right: 6rem;
}
#about .mid .left p:nth-child(2) {
  margin-right: 12rem;
}
#about .mid .left p:nth-child(3) {
  margin-right: 18rem;
}

#about .mid .img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left;
  background-color: #f0f0f0;
}
#about .mid .img-wrapper {
  width: 100%;
  height: 100%;
  display: inline-block;
}

#about .bottom {
  margin-top: 95px;
  display: flex;
  gap: 0px 27px;
}

#about .bottom .item-list {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;

}

#about .bottom .item-list .item-tag {
  padding: 22px 18px;
  background: var(--yellow);
}
#about .bottom .item-list .item-tag p {
  font-family: 'Open Sans', sans-serif;
  font-weight: bold;
}

#about .bottom .item-list .big {
  padding-left: 14px;
  padding-right: 14px;
}

@media(max-width: 1660px) {
  #about .bottom {
    max-width: 90em;
    margin: 95px auto 0;
  }
  #about .bottom h2 {
    width: 9em;
  }


}

#we-carry {
  position: relative;
  margin-top: 168px;
  text-align: center;
  z-index: 2;
}

#we-carry .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.75);
  z-index: 1;
}

.parallax-container {
  height: 585px;
  position: relative;

}



.parallax-background {
  background-image:
    url('./assets/parallax.jpg');
  background-attachment: fixed;

  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.parallax-content {
  position: relative;
  z-index: 1;
  padding: 117px 0px;
}

#we-carry h2 {
  margin-bottom: 96px;
  padding: 0 2rem;
  line-height: 57px;
}

#we-carry .slider {
  width: 100%;
  margin: 0 auto;
}

#we-carry .slider img {
  height: auto;
  object-fit: cover;
}

#we-carry .slide {
  padding: 1rem;
}

@media screen and (min-width: 1001px) {
  #we-carry .slick-track {
    display: flex;
    justify-content: space-around;
  }
}

@media screen and (max-width: 1000px) {
  #we-carry .slick-track {
    justify-content: space-evenly;
    display: flex;
  }
  #we-carry .slide .img-wrapper {
    background-color: white;
    padding: 30px 23px;
    width: fit-content;

    width: 100%;
    height: 100%;

    display: flex;
    justify-content: center;
  }

  #we-carry .slide img {
    max-width: 142px;
    max-height: 195px;

    height: 100%;
    width: 100%;

    object-fit: contain;
  }
}

#we-carry .slide .img-wrapper {
  background-color: white;
  padding: 36px 30px;
  width: fit-content;

  width: 100%;
  height: 100%;

  display: flex;
  justify-content: center;
}

#we-carry .slide img {
  max-width: 142px;
  max-height: 195px;

  height: 100%;
  width: 100%;

  object-fit: contain;
}

#contact {
  margin-top: 182px;
}

#contact .contact-body {
  display: flex;
  gap: 0px 174px;
}

#contact .left .contact-info {
  display: flex;
  justify-content: flex-start;
  grid-gap: 1rem 5rem;
  margin: 54px 0px;
  flex-wrap: wrap;
}

#contact .left .contact-info p {
  font-family: 'Open Sans', sans-serif;
  font-weight: bold;
}

#contact .left {
  max-width: 757px;
  width: 65%;
}

#contact .left form .inputs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
}

#contact .left form .inputs input {
  width: 48%;
}

#contact .left form .inputs textarea {
  width: 98%;
  max-width: 757px;
  height: 311px;
  max-height: 400px;
}

#contact .right {
  max-width: 559px;
  width: 35%;
  margin-right: 4rem;
  position: relative;
}

#contact .right h2 {
  position: relative;
  padding-top: 3rem;
  padding-right: 3rem;
}
#contact .right h2::after {
  content: url(./assets/quote.png);
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
}

@media screen and (min-width: 1001px) {
  #contact .left {
    width: 60%;
  }
  #contact .right {
    width: 40%;
  }
}

@media screen and (max-width: 1600px) {
  #about .top {
    width: 100%;
  }
}

@media screen and (max-width: 1499px) {
  #contact .contact-body {
    flex-direction: column-reverse;
    gap: 115px 0px;

  }

  #contact .wrapper h2.title {
    text-align: center;
    margin-bottom: 54px;
  }
}


#contact .big-line {
  font-size: 20px;
  transform: scale(1.5);
}

#contact .right .bottom-text {
  margin-top: 59px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 0px 20px;
}

#contact .right .bottom-text p {
  font-family: 'Open Sans', sans-serif;
  font-weight: bold;
}

#contact .slick-dots {
  justify-content: center;
  gap: 0px 5px;
  margin-top: 1rem;
}

#contact .slick-dots button {
  padding: 0;
  color: transparent;
  border-radius: 50%;
  align-items: stretch;

  background-color: var(--dark-text);

  width: 4px;
  height: 4px;
}

#contact .slick-dots .slick-active button {
  background-color: var(--yellow);
}

#footer footer {
  background-color: var(--dark-text);
  display: flex;
  align-items: flex-end;
  padding-top: 180px;
  clip-path: polygon(0 47%, 100% 6%, 100% 100%, 0% 100%);
  height: 477px;
}

#footer footer .wrapper {
  width: 80%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#footer footer .wrapper ul {
  gap: 0px 116px;
}

#footer .bottom {
  background-color: var(--yellow);
  display: flex;
  justify-content: center;
  gap: 0px 31px;
  padding: 13px 0px;
}

.mobile-only {
  display: none;
}

#footer li:hover::before {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  top: 10px;
  left: -20px;
  background-color: white;
}

@media screen and (min-width: 2080px) {
  #home .home-body .right {
    align-self: center;
    margin-top: 5vw;
  }
}

@media screen and (min-width: 1280px) and (max-width: 1480px) {
  #home .right .bottom {
    clip-path: polygon(0 52%, 100% 20%, 100% 100%, 0% 100%);
  }

  #contact .contact-info {
    flex-direction: column;
    text-align: center;
    grid-gap: 1rem;
  }
}

@media screen and (max-width: 1280px) {
  #home {
    background-image: url('./assets/home-img-mobile.png');
  }
  h1 {
    font-size: 4rem;
    line-height: 4rem;
  }

  h2 {
    font-size: 3.3rem;
    line-height: 4rem;
  }

  .mobile-48 {
    font-size: 4rem;
    text-align: center;
  }

  .active {
    display: flex !important;
  }

  nav .item-list {
    display: none;
  }

  .wrapper {
    width: 95%;
  }

  .mobile-white {
    color: white;
  }

  .mobile-only {
    display: block;
  }

  .mobile-yellow {
    color: var(--yellow);
  }

  .mobile-white {
    color: white;
  }

  .desktop-only {
    display: none;
  }

  button,
  .button {
    margin: 0 auto;
  }

  #home {
    height: fit-content;
    background-position: top;
  }

  header nav.top-nav-bar {
    position: relative;
    padding: 20px 22.8px;
  }

  .item-list.active{
    transition: all .5s;
    position: absolute;
    top: 73px;
    left: 0;

    background-color: white;
    flex-direction: column;
    gap: 24px 0px;
    align-items: center;

    border-bottom: 5px solid var(--yellow);

    z-index: 10000;
  }

  header nav img {
    max-width: 117px;
  }

  header .wrapper {
    width: 100%;
  }

  header .wrapper nav {
    margin: 0;
  }

  header nav .item-list {
    grid-area: list;

    width: 100%;
    flex-wrap: wrap;

    padding: 20px 0px;
  }

  header .toggle-mobile {
    width: 21px;
    display: flex !important;
    align-items: center;
    gap: 4px;
  }

  header .toggle-mobile .column {
    display: flex;
    flex-direction: column;
    gap: 5px 0px;
  }

  header .toggle-mobile .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--dark-text);
  }


  #home .wrapper {
    width: 100%;
  }
  #home .home-body h1 .mobile-only {
    height: 1.5rem;
  }

  #home .home-body .left {
    width: 100%;
    align-self: flex-end;
  }

  #home .top-nav-bar {
    padding: 22px 20px;
  }

  #home .left .img-wrapper {
    transform: scale(.75);
    margin-left: -11vw;
  }

  #home .toggle-mobile {
    width: 11px;
    display: flex;
    align-items: center;
    gap: 2px;
  }

  #home .toggle-mobile .column {
    display: flex;
    flex-direction: column;
    gap: 3px 0px;
  }

  #home .toggle-mobile .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--dark-text);
  }

  #home .home-body {
    padding: 0;
    width: 100%;
    text-align: center;
    min-height: 730px;

    margin-top: auto;
  }

  #home .home-body .left {
    display: flex;
    flex-direction: column;

    background-color: var(--dark-text);
    clip-path: polygon(0 20vw, 100% 6%, 100% 100%, 0% 100%);

    padding-top: 20vw;
    padding-bottom: 49px;

    margin-top: 50vw;
  }

  #home .home-body .left .button {
    display: block;
    margin: auto;
  }

  #home .home-body h1 {
    width: 100%;
    margin: auto;
    margin-bottom: 3rem;
  }

  #home .home-body .right {
    display: none;
  }

  #home::after {
    display: none;
  }

  #about {
    max-width: 100vw;
    overflow: hidden;
    padding-top: 100px;
  }

  #about a {
    font-size: 18px;
  }

  #about .top,
  #about .mid,
  #about .bottom {
    width: 100%;
  }

  #about .top {
    flex-direction: column-reverse;
    gap: 102px 0px;
    text-align: center;
    align-items: center;
  }

  #about .top .left {
    width: 100%;
  }
  #about .top .right {
    width: 100%;
    padding: 0 2rem;
  }

  #about .mid .right {

  }

  #about .top .right::after {
    top: -25%;
    left: 45%;
    transform: scale(.9);
  }

  #about .mid {
    width: 100%;
  }

  #about .mid .body {
    flex-direction: column;
    width: 110%;
    margin-left: -5%;
    background-color: var(--dark-text);
  }

  #about .mid .left {
    width: 100%;
    padding-bottom: 7.5rem;
    clip-path: polygon(0 0%, 100% 0%, 100% 85%, 0% 100%);
  }
  #about .mid .left p:first-child, #about .mid .left p:nth-child(2), #about .mid .left p:nth-child(3) {
    margin-right: 0;
  }

  #about .mid .right {
    clip-path: polygon(0% 20vw, 100% 0%, 100% 100%, 0% 100%);
    width: 100%;
    margin-bottom: -3px;
    height: 120vw;
  }

  #about .bottom {
    flex-direction: column;
    margin-top: 57px;
    align-items: center;
  }

  #about .bottom .img-wrapper {
    margin-top: -26%;
  }

  #about .bottom .item-list {
    flex-wrap: wrap;
    width: 90%;
  }

  #about .bottom .mobile-grow {
    flex-grow: 1;
    text-align: center;
  }

  #about .bottom .item-list .housing {
    margin: auto;
  }

  #about .bottom .item-list .mob-pad-30 {
    padding: 22px 30px;
  }

  #about .bottom .item-list .item-tag {
    width: fit-content;
  }

  #about .bottom h2 {
    text-align: center;
    margin-bottom: 50px;
  }

  #we-carry {
    max-height: 519px;
    margin-top: 85px;
  }

  #we-carry .parallax-content {
    padding-top: 74px;
    padding-bottom: 139px;
  }

  #we-carry .slide .img-wrapper {
    padding: 32px 22px;
    align-items: center;
  }

  #contact .wrapper {
    width: 95%;
  }

  #contact .left,
  #contact .right {
    width: 100%;
  }

  #contact .contact-body {
    flex-direction: column-reverse;
    align-items: center;
  }

  #contact h2 {
    padding: 0 1rem;
    text-align: center;
  }

  #contact form {
    width: 96%;
    margin: auto;
  }

  #contact .left form .inputs {
    gap: 10px 9px;
  }

  #contact .contact-info {
    flex-direction: column;
    text-align: center;
    gap: 25px 0px;
  }

  #contact .left form .inputs input,
  #contact .left form .inputs textarea {
    flex-grow: 1;
  }

  #contact .left form .inputs textarea {
    width: 100%;
  }

  #contact .right {
    position: relative;
  }

  #contact .right .bottom-text {
    justify-content: center;
  }

  #contact .testimonies-slider {
    max-width: 100vw;
  }

  #contact .right::after {
    top: -10%;
    left: 40%;
  }
  
  #contact {
    margin-top: 80px;
  }
  #contact .left .contact-info {
    justify-content: flex-start;
    grid-gap: 1rem 3rem;
  }
  #contact .right {
    margin-right: 0;
  }
  #contact .right h2 {
    padding: 3rem;
  }

  #footer .wrapper,
  #footer .wrapper .mid .item-list,
  #footer .bottom {
    flex-direction: column;
  }

  #footer .wrapper .mid .item-list {
    text-align: center;
    gap: 32px 0px;
  }

  #footer footer {
    background-color: var(--dark-text);
    display: flex;
    align-items: flex-end;
    padding-top: 180px;
    clip-path: polygon(0 20vw, 100% 0, 100% 100%, 0% 100%);
    height: 100%;
    padding-top: 20vw;
    margin-top: 5rem;
  }

  #footer .bottom {
    align-items: center;
  }

  #footer .wrapper {
    padding-bottom: 20px;
    gap: 86px 0px;
  }

  #contact .left .contact-info {
    justify-content: flex-start;
    grid-gap: 2rem 3rem;
  }
  #contact .left form .inputs input {
    width: 100%;
  }
}
@media(max-width: 670px) {
  #home .home-body h1 .mobile-only {
    height: 2.5rem;
  }
}

@media(max-width: 1660px) {
  p.normal {
    font-size: 20px;
  }
  h2 {
    font-size: 3rem;
    line-height: 1.2;
  }
  #about .top .right::after {
    top: -2rem;
    left: 7rem;
  }
  #about .top .left p.normal {
    font-size: 24px;
  }
  #about .top .right h2 {
    font-size: 3.5rem;
    max-width: 11.5em;
  }
}