.main-container > div[data-type='text'] {
    padding: 0 16px;
}

.main-container > h1[data-type='headline'] {
    padding: 0 16px;
}

.main-container > h2[data-type='headline'] {
    padding: 0 16px;
}

.main-container > a[data-type='button'] {
    margin: 0 16px;
}

@media (min-width: 768px) {
    .main-container > div[data-type='text'] {
        padding: 0 127px;
    }

    .main-container > h1[data-type='headline'] {
        padding: 0 127px;
    }
    
    .main-container > h2[data-type='headline'] {
        padding: 0 127px;
    }
    
    .main-container > a[data-type='button'] {
        margin: 0 127px;
    }
}

@font-face {
    font-family: FreightSansBook;
    src: url(./fonts/FreightSansBook.otf)
    format('opentype');
  }

  @font-face {
    font-family: FreightDispBook;
    src: url(./fonts/FreightDispBook.otf)
    format('opentype');
  }


html {
    font-size: 14px;
}

body {
    margin: 0;
    box-sizing: border-box;
    font-size: 1rem;
    line-height: 1.6;
}

.container-main {
    margin: auto;
    padding: 100px 10px;
}

ul {
    list-style: none;
    padding: 0;
}

* {
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: #000;
}


/* Navbar */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient( 180deg, rgba(1, 1, 1, 0.37859) 10%, rgba(255, 255, 255, 0) 100%);
    z-index: 22;
}

.nav .nav-logo {
    display: flex;
    justify-content: center;
    padding: 1rem 0;
}

.nav .nav-logo .wide-logo {
    max-width: 180px;
    max-height: 50px;
}

.nav .nav-logo .square-logo {
    max-width: 65px;
    max-height: 65px;
}

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

.nav ul a {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 15px;
    font-family: 'FreightSansBook';
}


/* Hero */

.hero-image {
    height: 70rem;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
}

.hero-image>div {
    text-shadow: 0 0 30px black;
    text-align: center;
    font-weight: bold;
}

.hero-image>div>span {
    display: block;
}

.hero-image .address {
    font-size: 5rem;
    font-family: 'FreightDispBook';
}

.hero-image .location {
    font-size: 2.25rem;
    font-family: 'FreightDispBook';
}


/* Overview */

.overview {
    font-size: 1.1875rem;
    font-weight: 300;
    text-align: center;
    display: flex;
    justify-content: center;
    color: #000;
}

.overview ul {
    display: flex;
    font-size: 1.5rem;
    font-weight: bold;
    /* border-bottom: 3px solid black; */
}

.overview ul>li {
    position: relative;
    /* padding: 10px 0; */
}

/* .overview ul>li:before {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 3px;
    height: 35px;
    background: black;
    content: "";
} */

.overview ul>li:first-child {
    border-left: 3px solid #000;

  }

.overview ul>li {
    border-left: 1.5px solid #000;
    border-right: 1.5px solid #000;
    font-family: 'FreightSansBook' !important;

  }

  .overview ul>li:last-child {
    border-right: 3px solid #000;

  }

.overview .oh {
    border: 3px solid #000;
    padding: 20px;
    margin-top: 40px;
}

.overview .oh-title {
    font-weight: 800;
    text-transform: uppercase;
    font-size: 1.1875rem;
    margin-bottom: 10px;
}

.overview .dot {
    display: inline-block;
    width: 3px;
    height: 3px;
    background: #000;
    border-radius: 50%;
    vertical-align: middle;
    margin: 0 0.5rem;
}

.overview .links {
    display: flex;
    text-align: center;
    margin-top: 40px;
}

.overview .links>div {
    width: 50%;
    padding: 20px 0;
}

.overview .links>div:first-child {
    border-right: 3px solid #ccc;
}

.overview p {
    font-family: 'FreightSansBook';
}

.links a {
    font-family: 'FreightSansBook';
}

.title {
    font-family: 'FreightDispBook';
}

.feat {
    font-family: 'FreightSansBook';   
}

.name {
    font-family: 'FreightDispBook' !important;
}

.person {
    font-family: 'FreightSansBook';   
}


/* slider */

:root {
    --splide-pagination-height: 60px;
  }
  
  .splide {
    margin-bottom: var(--splide-pagination-height);
  }

  .splide--draggable>.splide__track>.splide__list> .is-active {
    margin-right:10px;
  }

  .splide__list { height: auto }
  
  .splide__arrow {
    position: absolute;
    z-index: 1;
    top: 50%;
    transform: translateY(-50%);
    width: 2em;
    height: 2em;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    padding: 0;
    background: transparent;
    cursor: pointer;
  }
  
  .splide__arrow--prev {
    left: 2em;
    background-color: transparent;
    fill: #fff;
    width:60px;
    height:60px;
  }

  .splide__arrow--prev svg {
      width:60px;
      height:60px;
  }
  
  .splide__arrow--next {
    right: 1em;
    background-color: transparent;
    fill: #fff;
    width:60px;
    height:60px;
  }

  .splide__arrow--next svg {
    width:60px;
    height:60px;
  }
  
  .splide__arrow--prev svg, .splide__pagination__prev svg {
    transform: scaleX(-1);
  }
  
  .splide__pagination {
    counter-reset: pslide-counter 0;
    display: inline-flex;
    align-items: center;
    width: 95%;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0;
    position: absolute;
    z-index: 1;
    left: 50%;
    transform: translateX(-50%);
    padding: 0;
    bottom: calc(-1 * var(--splide-pagination-height));
    height: var(--splide-pagination-height);          
  }
  
  .splide__pagination .splide__pagination__page {
    counter-increment: pslide-counter;
    height:1px;
    display: flex;
    justify-content: center;
  }
  
  .splide__pagination li:first-child:after {
    content: "01";
    font-size:20px;
    font-family: 'EuclidCircularA-Semibold';
    justify-content: center;
    display: flex;
    margin-right:5px;

  }
  
  .splide__pagination li:last-child:before {
    content: counter(pslide-counter, decimal-leading-zero);
    font-family: 'EuclidCircularA-Semibold';
    font-size:20px;
    margin-left:5px;
  
  }
  
  
  .splide__pagination__arrow {
    margin: 0 10px;
    border: 0;
    background: transparent;
    outline: none;
    cursor: pointer;
  }
  
  .splide__pagination__arrow svg {
    width: 1em;
    height: 1em;
    font-size: 20px;
    fill: #100b28;
  }
  
  .splide__pagination li.splide__pagination__control {
    display: flex;
    align-items: center;
  }
  
  .splide__pagination__page {
    width: auto;
    height: 6px;
    background: #dcdfee;
    border: 0;
    margin: 0 2px;
    outline: none;
    cursor: pointer;
  }
  
  .splide__pagination__page.is-active {
    background: #009cbc;
    height:1px;
    justify-content: center;
    display: flex;
  }
  
  .splide__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
  }
  
  .splide__lightbox {
    position: absolute;
    top: 1rem;
    right: 7rem;
    z-index: 1;
    cursor: pointer;
    background-color: transparent;
    border: none;
    fill: #fff;
    border-radius: 50%;
    background-color: #100b28;
    width: 40px;
    height: 40px;


  }
  
  .splide__lightbox svg {
    width: 1em;
    height: 1em;
    font-size: 24px;
  }

  .splide__lightbox svg path:nth-child(odd) {
    display: none;
  }

  .sl-wrapper {
    background-color: rgba(0,0,0,0.8);
  }

  .sl-wrapper .sl-close {
      color: #fff !important;
  }

  .sl-wrapper .sl-navigation button.sl-prev {
      color: #fff;
  }

  .sl-wrapper .sl-navigation button.sl-next {
      color: #fff;
  }

  .splide__arrow:focus {
    outline: none;
  }

  .splide__arrow:visited {
    outline: none;
  }

 


/* Features */

.features {
    color: rgb(85, 85, 85);
    text-align: left;
    display: flex;
    justify-content: center;
}

.features .title {
    font-weight: 800;
    font-size: 2.125rem;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.features .feat {
    padding-right: 1.875rem;
    font-size: 1.1875rem;
    font-weight: 300;
    position: relative;
    display: inline-block;
    position: relative;
    margin-bottom: 1rem;
}

.features .feat:before {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    display: block;
    width: 3px;
    height: 3px;
    background: black;
    border-radius: 50%;
    content: "";
}

.features .feat:last-child:before {
    display: none;
}


/* Contacts */

.contacts {
    display: flex;
    justify-content: space-evenly;
}

.contacts .agent-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contacts .person {
    color: #555555;
    margin: 40px 0;
}

.agent-pic {
    margin-bottom: 30px;
    width: 300px;
    max-width: 300px;
    height: 300px;
    max-height: 300px;
    object-fit: cover;
}

.contacts .person .name {
    text-transform: uppercase;
    font-size: 18px;
    font-weight: bold;
}

.contacts .get-in-touch {
    font-size: 34px;
    text-transform: uppercase;
    font-weight: bold;
}

.contacts form {
    width: 100%;
    margin: 1rem 0 2rem;
}

.contacts form input,
.contacts form textarea {
    margin-top: 10px;
    width: 100%;
    display: block;
    height: 33px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857;
    color: #555555;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 2px;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}

.contacts form .first-input {
    display: flex;
    justify-content: space-between;
}

.contacts form .first-input div {
    width: 49%;
}

.contacts form button {
    border-radius: 300px;
    border-width: 1px;
    display: inline-block;
    padding: 1em 2.5em;
    margin-top: 10px;
}

.contacts-section {
    background-color: #f5f5f5;
   background-image: url('./images/bg3.png');
   /* background-image: url('./images/bg4.png'); */
   background-repeat: repeat;
}


/* Footer */

footer {
    justify-content: center;
    text-align: center;
    font-size: 12px;
    padding: 1rem;
}


/*Queries*/

@media (max-width: 320px) {
    .hero-image .address {
        font-size: 1.2rem !important;
    }
    .hero-image .location {
        font-size: 0.44rem !important;
    }
    .get-in-touch {
        text-align: center !important;
        font-size: 23px !important;
    }
    .features .title {
        font-size: 1.7rem !important;
    }
    .contacts .contact-button {
        display: flex!important;
        justify-content: center!important;
    }
    .agent-pic {
        width: 220px !important;
        height: 220px !important;
    }
    .overview ul li {
        font-size: 9px !important;
    }
    .overview ul li a {
        font-size: 9px !important;
    }
    .hero-image {
        height: 40rem !important;
    }
    .nav ul a {
        font-size: 12px !important;
    }
    .nav .nav-logo {
        padding: 0.2rem 0 0 !important;
    }
    /* .splide__arrow--prev {
        width: 40px !important;
        height: 40px !important;
    }
    .splide__arrow--prev svg {
        width: 40px !important;
        height: 40px !important;
    }
    .splide__arrow--next {
        width: 40px !important;
        height: 40px !important;
    }
    .splide__arrow--next svg {
        width: 40px !important;
        height: 40px !important;
    }
    .splide {
        height: 200px !important;
    }
    .splide .splide__list {
        height: 200px !important;
    }
    .splide__image {
        height: 200px !important;
    } */
}

@media (min-width: 320px) and (max-width: 480px) {
    .nav .nav-logo {
        padding: 0.2rem 0 0 !important;
    }
    .hero-image .address {
        font-size: 1.2rem !important;
    }
    .hero-image .location {
        font-size: 0.7rem !important;
    }
    .get-in-touch {
        text-align: center !important;
        font-size: 23px !important;
    }
    .features .title {
        font-size: 1.7rem !important;
    }
    .contacts .contact-button {
        display: flex!important;
        justify-content: center!important;
    }
    .agent-pic {
        width: 220px !important;
        height: 220px !important;
    }
    .overview ul li {
        font-size: 9px !important;
    }
    .overview ul li a {
        font-size: 9px !important;
    }
    .hero-image {
        height: 40rem !important;
    }
    .nav ul a {
        font-size: 12px !important;
    }
    /* .splide__arrow--prev {
        width: 40px !important;
        height: 40px !important;
    }
    .splide__arrow--prev svg {
        width: 40px !important;
        height: 40px !important;
    }
    .splide__arrow--next {
        width: 40px !important;
        height: 40px !important;
    }
    .splide__arrow--next svg {
        width: 40px !important;
        height: 40px !important;
    }
    .splide {
        height: 300px !important;
    }
    .splide .splide__list {
        height: 300px !important;
    }
    .splide__image {
        height: 300px !important;
    } */
}

@media (min-width: 480px) and (max-width: 768px) {
    .hero-image .address {
        font-size: 1.7rem !important;
    }
    .hero-image .location {
        font-size: 1rem !important;
    }
    .get-in-touch {
        text-align: center !important;
        font-size: 28px !important;
    }
    .features .title {
        font-size: 1.7rem !important;
    }
    .contacts .contact-button {
        display: flex!important;
        justify-content: center!important;
    }
    .overview ul li {
        font-size: 10px !important;
    }
    .overview ul li a {
        font-size: 10px !important;
    }
    .hero-image {
        height: 50rem !important;
    }
    .nav ul a {
        font-size: 13px !important;
    }
    /* .splide__arrow--prev {
        width: 40px !important;
        height: 40px !important;
    }
    .splide__arrow--prev svg {
        width: 40px !important;
        height: 40px !important;
    }
    .splide__arrow--next {
        width: 40px !important;
        height: 40px !important;
    }
    .splide__arrow--next svg {
        width: 40px !important;
        height: 40px !important;
    }
    .splide {
        height: 380px !important;
    }
    .splide .splide__list {
        height: 380px !important;
    }
    .splide__image {
        height: 380px !important;
    } */
}

@media (min-width: 768px) and (max-width: 1024px) {
    .nav .nav-logo .wide-logo {
        margin-left: 60px !important;
    }
    .hero-image .address {
        font-size: 2.4rem !important;
    }
    .hero-image .location {
        font-size: 1.1rem !important;
    }
    .hero-image {
        height: 55rem !important;
    }
    .nav ul a {
        font-size: 13px !important;
    }
    /* .splide {
        height: 480px !important;
    }
    .splide .splide__list {
        height: 480px !important;
    }
    .splide__image {
        height: 480px !important;
    } */
}

@media (min-width: 1024px) and (max-width: 1460px) {
    .hero-image .address {
        font-size: 2.9rem !important;
    }
    .hero-image .location {
        font-size: 1.6rem !important;
    }
    .nav .nav-logo .wide-logo {
        margin-left: 70px !important;
    }
    .hero-image {
        height: 60rem !important;
    }
    /* .splide {
        height: 540px !important;
    }
    .splide .splide__list {
        height: 540px !important;
    }
    .splide__image {
        height: 540px !important;
    } */
}