* {
    margin: 0;
    padding: 0;
  }
  html{    
    scroll-behavior: smooth;
  }
  body {
    color: #fff;
    overflow-x: hidden; 
  }

  nav {
    background: #023e8a;
    padding: 0 15px;
  }
  nav a {
    color: white;
    text-decoration: none;
  }
  ul {
    list-style: none;
  }
  .menu{
    list-style-type: none;
  }
  .logo {
    padding: 1px 10px 7.5px 20px;
  }
  .logo img{
      width: 18vh;
  }
  .item {
    padding: 10px;
  }

  .menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
  }
  .menu li a {
    display: block;
    padding: 15px 5px;
  }
  .toggle {
    order: 1;
    font-size: 20px;
  }
  .item {
    order: 3;
    width: 100%;
    text-align: center;
    display: none;
  }
  .active .item {
    display: block;
  }
  
  .text {
    /* display: inline-block; */
    position: absolute;
    opacity: 0.98;
    transform: translate(10%, 25%);
    z-index: 1;
  }

  .subtitle {
    text-transform: uppercase;
    /* font-weight: 400; */
    font-size: 1.5rem;
    font-family: 'Times New Roman', Times, serif;
  }

  .subtitle::before {
    display: inline-block;
    content: "";
    border: 1px solid #fff;
    width: 80px;
    margin: 0 10px 0 0;
    transform: translateY(-4px);
  }

  .title {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 6.5vmax;
    text-transform: uppercase;
    width: 0%;
    overflow: hidden;
    white-space: nowrap;
  }

  .desc {
    font-weight: 405;
    font-size: 1.5rem;
    color: rgb(255, 255, 255);
    margin-top: 20px;
    line-height: 2;
  }
 
  .intro{
    opacity: 0;
    width: 35%;
    height:auto;
    position: absolute;
    margin-top: 25vh;
    margin-left: 60%;
    /* background-color: #023e8a; */
    border-bottom: 10px solid #023e8a;
  
  }
  #slider{
      overflow: hidden;;
  }
  #slider figure{
      position: relative;
      width: 300%;
      margin: 0;
      left: 0;
      animation: 20s slider infinite;
  }
  #slider figure img{
      width: 33.3333333%;
      max-width: 100%;
      min-height: 100%;
      object-fit: cover;
      float: left;
  }
  @keyframes slider {
      0% {
          left: 0;
      }
      15%{
          left: -100%;
      }
      30%{
          left: -100%;
      }
      33%{
          left: -100%;
      }
      63%{
          left: -100%;
      }
      66%{
          left: -200%;
      }
      77%{
          left: -200%;
      }
      93%{
          left: -200%;
      }
          99%{
              left: -200%;
      }
      100%{
          left: -200%;
      }
  }

  #main{
    background: linear-gradient(to right bottom, rgba(10, 7, 7, 0.815), rgba(0, 0, 0, 0.267)), url('/Images/carretera3.jpg') no-repeat;
    background-position: bottom;
    background-size: cover;
    width: 100%;
    height: 100vh;
  }
  #about{

    padding-top: 50px;
    /* padding-bottom: 40px; */
    color: black;
    height: auto;
    filter: brightness(95%);
    background: rgb(255, 255, 255) ;
    display: inline-block;
    width: 100%;
    overflow: hidden;
  }
  .box{
    display: inline-block;
    width:  50%;
    margin: 30px;
    background-color: rgb(255, 255, 255);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 5px rgba( 0, 0, 0, 0.2 );
  } 

  .logoBox{
    text-align: center;
    display: inline;
    position: absolute;
    top: 25%;
    margin-left: 1vh;
  }
  .logoBox img{
    width: 50%;
  }

  .box h4{
    color: #03045e  ;
    font-family: serif;
    font-size: 2rem;
    margin-bottom: 20px;
  }

  .box p{
    text-align: justify;
    font-size: 1.2rem;
    font-size: auto;
    line-height: 28px; 
    /* height: 100px; */
    overflow: hidden;
    margin-right: 2rem;
  } 
  #seguridadP{
    padding-top: 50px;
    text-align: center;
    height: auto;
    background: #0077b6;
    display: inline-block;
    width: 100%;
  }
  #seguridadP .box{
    filter: brightness(95%);
    color: black;
    display: inline-block;
    width:  auto;
    padding: 50px;
    background-color: rgb(255, 255, 255);
    border-radius: 8px;
    box-shadow: 0 5px 5px rgba( 0, 0, 0, 0.2 );
  }
  #seguridadP .box p{
    margin-right: 0;
  }
  .box h5{
    /* color: #03045e  ; */
    font-size: 1.1rem;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    margin-bottom: 20px;
    margin-bottom: 20px;
    margin-top: 20px;
  }
  .toggleContainer{
    background-color: rgba(0, 0, 0, 0.123);
    width: auto;
    height: auto;
    /* margin: 100px auto; */
    display: flex;
    padding: 20px;
    /* flex-shrink: -1; */
    flex-wrap: wrap;
}

  .boxE h3{
    margin-bottom: 23px;
    /* text-decoration: blue; */
  }

  .boxE img{
    margin-top: 40px;
  }

  .boxE{
    color: white;
    text-align: center;
    background-color: #00509d;
    padding: 25px;
    border: #f8f8f6 solid 3px;
    flex: 1;
    transition: 1s;
  }

  .boxE:hover{
    flex: 4;
  }
  .boxE:hover p{
    margin-left: 20px;
    margin-top: 20px;
    font-size: 21px;
    font-weight: 200;
    transition: 0.2s;
  }

  /* .readmore {
    display: inline-block;
    margin-top: 80px;
    color: #fff;
    border-bottom: 1px solid #fff;
    text-decoration: none;
    text-transform: uppercase;
    padding-bottom: 3px;
    font-weight: bolder;
  }

  .readmore:hover{
    color: #001aff;
    transition: 0.4s ease-out; 
  }*/
  /* main content end */

/* footer start */
  .footer{
    display: inline-block;
    bottom: 0;
    width: 100%;
    height: 0px;
    /* background-color: #18181a; */
  }

  .inner_footer{
    background-color: #18181a;
    height: 22rem;  
    color: white;
    display: flex;
    /* justify-content: safe; */
    justify-content: space-around;
    /* justify-content: center; */
    flex-wrap: wrap;
    margin: 0 auto;
  }

  .logo_container{
    /* justify-content: left; */
    align-self: center;
    /* padding-right: 2%; */
  }
  .logo_container p{
    padding-top: 4px;
  }

  .logo_container #cRight{
      padding-top: 9px;
  }
  .inner_footer .footerThird{
    align-self: center;
  }

  .footerThird{
    left: 50%;
    display: flex;
    flex-direction: column;
    /* margin-right: 1rem; */
  }

  .footerThird h2{
    align-self: center;
    margin-bottom: 1rem;
  }
  .footerThird p{
    text-align: center;
    color: white;
    text-decoration: none;
    margin-bottom: 0.5rem;
  }
  /* footer end */

  /* overlay start */
  .page1 .overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0%;
    z-index: 3;
    background: #03045e;
    opacity: 0.8;
  }/* 03045e 023e8a */
  .first {
    top: 0;
  }

  .second {
    top: 33.3%;
  }

  .third {
    top: 66.6%;
  }
  
  .page1 .overlay.second{
    position: absolute;
    width: 100%;
    height: 78.1%;
    left: 0%;
    z-index: 3;
    opacity: 0.8;
  }

  .page1 .overlay.third{
    position: absolute;
    width: 100%;
    height: 44.5%;
    left: 0%;
    z-index: 3;
    background: #0077b6;    
    opacity: 0.8;
  }  

  .page1 .border-bottom {
    position: absolute;
    top: auto;
    width: 0%;
    z-index: 1;
    border-color: rgba(255, 255, 255, 0.452);
    border-width: .5px;
  }
  .border-bottom {
    position: absolute;
    top: auto;
    width: 100%;
    z-index: 1;
    border-color: rgba(255, 255, 255, 0.452);
    border-width: .5px;
  }

   /* Tablet menu */
   @media all and (min-width: 700px) { 
    .menu {
      justify-content: center;
    }
    .logo {
      flex: 1;
    }
    .toggle {
      flex: 1;
      text-align: right;
      order: 2;
      padding-right:35px;
    }
  }
  /* Desktop menu */
  @media all and (min-width: 960px) {
    .menu {
      align-items: flex-start;
      flex-wrap: nowrap;
      background: none;
    }
    .logo {
      order: 0;
      margin-left: auto;
    }
    .item {
      order: 1;
      position: relative;
      display: block;
      width: auto;
      padding-right: 30px;
      padding-top: 15px;
    }
    .toggle {
      display: none;
    }
  }
