@font-face {
  font-family: CooperHewitt;
  font-weight: bold;
  src: url("./fonts/CooperHewitt-Medium.otf") format("opentype");
}

@font-face {
  font-family: CooperHewitt;
  font-weight: normal;
  src: url("./fonts/CooperHewitt-Book.otf") format("opentype");
}

@font-face {
  font-family: CooperHewitt;
  font-weight: lighter;
  src: url("./fonts/CooperHewitt-Light.otf") format("opentype");
}

:root {
  --main-red-color: #e93237;
  --main-black-color: #161616;
}

body {
  background-color: none !important;
}

.nav-bar {
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

/* header .nav-bar.scroll nav{
  background-color: var(--main-red-color)
} */

nav {
  background-color: transparent;
  
}

.nav-bar-index {
  background: #161616f1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0;
  z-index: 100;
}

.nav-bar-index.scroll{
  position: fixed;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.nav-bar-index > * {
  flex-basis: 0;
   flex-grow: 1;
}

#index ul {
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8em;
}

#index li a {
  font-size: 1.5em;
  font-family: CooperHewitt;
  font-weight: normal;
}

#index li.active a {
  border-bottom: 4px solid var(--main-red-color);
}

.logo{
  text-align: right;
  flex-grow: 1.1;
}

.logo img {
  background-color: transparent;
  width: 10em;
  max-width: fit-content;
}

#index .nl {
  padding: 0 0 0 0
}

.main {
  position: relative;
}

.main video {
  position: absolute;
  top: 0;
  z-index: -1;
  width: 100%;
  height: calc(100vh - 80px);
  min-height: 600px;
  object-fit: cover;
}

.btn-contact{
  display: block;
  bottom: -11px;
  width: 15%;
  z-index: 99;
  right: 20px;
  position: fixed;
}

.main .gradient {
  width: 100%;
  height: calc(100vh - 80px);
  min-height: 600px;
  object-fit: cover;
  position: relative;
  z-index: 2;
}

.nosotros {
  background: url(./images/nosotros_bg-min.jpg);
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 900px;
}

.nosotros .nosotros--left:after {
  content: url(./images/iconos_Franja_izq.png);
  display: block;
  position: absolute;
  top: -104px;
  left: -104px;
}

.nosotros .nosotros--right {
  background: rgba(0, 0, 0, 0.75);
  flex-direction: column;
}

.nosotros .nosotros--right h1 {
  padding-top: 0;
  color: var(--main-red-color);
  font-family: CooperHewitt;
  font-weight: bold;
}

.nosotros .nosotros--right p {
  color: white;
  padding: 1em 3.5em;
  font-size: 1.5em;
  text-align: center;
  font-family: CooperHewitt;
  font-weight: normal;
}

.servicios {
  height: 630px;
  text-align: center;
  color: #fff;
}

.content-services {
  width: 100%;
  display: flex;
  justify-content: center;
}
#Servicios {
  position: relative;
}
#Servicios img {
 max-width: 100%;
}

#Servicios .row{
  margin-bottom: -9px;
}

#Servicios .btn-contact{
  bottom: -1px;
}

.servicios h1 {
  color: #fff;
  font-size: 2.5em;
  font-family: CooperHewitt;
  font-weight: bold;
  padding-top: 0;
}

.servicios p {
  font-family: CooperHewitt;
  font-weight: normal;
  font-size: 1.5em;
}

.servicios div {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.servicios .servicio {
  padding: 50px 0;
}

.servicios #servicio_uno {
  background-image: linear-gradient(100deg, rgba(0, 0, 0, 0.60), rgba(0, 0, 0, 0.60)), url(./images/service_uno.jpg);
  background-size: cover;
  /* -webkit-clip-path: polygon(0 0, 80% 0, 100% 100%, 0% 100%);
	clip-path: polygon(0 0, 80% 0%, 100% 100%, 0% 100%); */
}

.servicios #servicio_dos {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.60), rgba(0, 0, 0, 0.60)), url(./images/nosotros_bg-min.jpg);
  background-size: cover;
  /* -webkit-clip-path: polygon(0 0, 80% 0, 100% 100%, 20% 100%);
	clip-path: polygon(0 0, 80% 0, 100% 100%, 20% 100%); */
}

.servicios #servicio_tres {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.60), rgba(0, 0, 0, 0.60)), url(./images/service_tres.jpg);
  background-size: cover;
  /* -webkit-clip-path: polygon(0 0, 80% 0, 100% 100%, 20% 100%);
	clip-path: polygon(0 0, 80% 0, 100% 100%, 20% 100%); */
}

.servicios #servicio_cuatro {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.60), rgba(0, 0, 0, 0.60)), url(./images/service_cuatro.jpg);
  background-size: cover;
  /* -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 20% 100%);
	clip-path: polygon(0 0, 100% 0, 100% 100%, 20% 100%); */
}

#servicio-cotizar {
  background-color: #fff;
  color: var(--main-black-color);
  text-align: center;
  min-height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: relative;
}

#servicio-cotizar:after {
  content: url(./images/iconos_Franja_der.png);
  display: block;
  position: absolute;
  top: 0;
  right: 0;
}

#servicio-cotizar h1 {
  color: black;
  font-size: 3em;
  font-family: CooperHewitt;
  font-weight: bold;
  padding-top: 0;
  margin-bottom: .5em;
}

#servicio-cotizar a {
  font-size: 1.5em;
  font-family: CooperHewitt;
  font-weight: normal;
  background-color: var(--main-red-color);
  color: #fff;
  border-radius: 10px;
  padding: 20px;
  text-decoration: none;
}

#servicio-portuario {
  background-color: var(--main-black-color);
  color: #fff;
  text-align: center;
  min-height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: relative;
}

#servicio-portuario:after {
  content: url(./images/iconos_Franja_izq.png);
  display: block;
  position: absolute;
  top: -104px;
  left: -104px;
}

#servicio-portuario h1 {
  color: #fff;
  font-size: 3em;
  font-family: CooperHewitt;
  font-weight: bold;
  padding-top: 0;
  margin-bottom: .5em;
}

#servicio-portuario a {
  font-size: 1.5em;
  font-family: CooperHewitt;
  font-weight: normal;
  background-color: var(--main-red-color);
  color: #fff;
  border-radius: 10px;
  padding: 20px;
  text-decoration: none;
}

.mapbox {
  background-color: white;
  height: 800px;
}

#map-mapbox {
  width: 100%;
  height: 800px;
  padding-left: -15px;
  padding-right: -15px;
}

footer {
  background-color: var(--main-red-color);
  text-align: center;
  color: #fff;
  font-family: CooperHewitt;
  font-weight: normal;
  padding: 2.5em 0;
  font-size: 1.2em;
}

#Contacto {
  background-color: white;
  text-align: center;
}

#Contacto h1 {
  font-family: CooperHewitt;
  font-weight: bold;
  color: var(--main-red-color);
}

#Contacto p {
  font-family: CooperHewitt;
  font-weight: normal;
}

.contact-form {
  padding: 6em 0;
  margin: 0 auto;
  width: 30%;
}

.contact-form form {
  display: flex;
  flex-direction: column;
}

.contact-form form input, textarea {
  padding: 1.3em;
  margin: .3em;
  font-size: 1em;
  border: 1px solid black;
  font-family: CooperHewitt;
  font-weight: normal;
}

.contact-form form input:nth-child(1) {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.contact-form form textarea {
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.contact-form form input[type="submit"] {
  border: none;
  border-radius: 10px;
  border-top-left-radius: 0;
  background-color: rgb(61, 61, 61);
  color: white;
  font-weight: bold;
  align-self: flex-end;
  padding: 7px 34px;
  font-size: 1.3em;
}

footer .copyright {
  padding-top: 2em;
  font-weight: lighter;
}

/* Servicios Page */

#domestico-nacional {
  background-image: linear-gradient(100deg, rgba(0, 0, 0, 0.60), rgba(0, 0, 0, 0.60)), url(./images/Img_Servicio-nacional.jpg);
  background-attachment: fixed;
  background-size: cover;
  height: 900px;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

#domestico-nacional h1 {
  color: white;
}

.servicio-nacional .description {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: white;
  font-family: CooperHewitt;
  font-weight: normal;
  background: var(--main-black-color);
  padding: 10em 0;
  font-size: 1.3em;
}

.servicio-nacional .description p {
  max-width: 40%;
  text-align: left;
}

#portuario {
  background-image: linear-gradient(100deg, rgba(0, 0, 0, 0.60), rgba(0, 0, 0, 0.60)), url(./images/camion_contenedor.png);
  background-attachment: fixed;
  background-size: cover;
  height: 900px;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

#portuario h1 {
  color: white;
}

.servicio-nacional ul {
  list-style: none;
}

.servicio-nacional ul li::before {
  content: "";
  color: var(--main-red-color);
  font-weight: bold;
  display: inline-block;
  width: .6em;
  border-radius: 50%;
  background: red;
  height: .6em;
  margin-left: -1em;
}
.desktop{
  display: block;
}
.mobile{
  display: none;
}




@media(max-width: 768px) {

  .desktop{
    display: none;
  }
  .mobile{
    display: block;
  }



  header nav{
    padding-top: 0;
  }
  .menu_bar .bt-menu {
    background: #161616f1;
  }
  .nav-bar-index{
    position: fixed;
    display: block;
  }


  .main .gradient {
    height: auto;
    min-height: 432px;
  }
  .main video {
    height: auto;
    min-height: 432px;
  }

  .logos2 {
    width: 5em;
  }
  nav {
    background-color: #eb3237;
  }
  #index ul {
    display: block;
  }
  .servicios {
    height: auto;
  }
  .servicios .servicio {
    min-height: 300px;
  }
  .nosotros .nosotros--left {
    display: none;
  }
  .nosotros .nosotros--right p {
    padding: 1em 0;
  }
  #servicio-cotizar:after, #servicio-portuario:after {
    content: "";
  }
  .contact-form {
    width: 90%;
  }
  .logo{
    display: none;
  }

  #domestico-nacional h1,
  #portuario h1{
    text-align: center;
  }

  .servicio-nacional .description p,
  .servicio-nacional .description ul{
    max-width: 80%;
  }
}

.animated {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.fadeIn {
  -webkit-animation-name: fadeIn;
  animation-name: fadeIn;
}