@font-face {
  font-family: 'montserrat';
  src: url('../assets/fonts/Montserrat-Medium.ttf');
}

@font-face {
  font-family: 'palanquin';
  src: url('../assets/fonts/palanquin-light.ttf');
}

@font-face {
  font-family: 'DINPro Light';
  font-style: normal;
  font-weight: normal;
  src: local('DINPro Light'), url('../assets/fonts/DINPro-Light tr.woff') format('woff');
  }
  
  
  @font-face {
  font-family: 'DINPro Medium';
  font-style: normal;
  font-weight: normal;
  src: local('DINPro Medium'), url('../assets/fonts/DINPro-Medium tr.woff') format('woff');
  }
  
  
  @font-face {
  font-family: 'DINPro Bold';
  font-style: normal;
  font-weight: normal;
  src: local('DINPro Bold'), url('../assets/fonts/DINPro-Bold tr.woff') format('woff');
  }
  
  
  @font-face {
  font-family: 'DINPro Black';
  font-style: normal;
  font-weight: normal;
  src: local('DINPro Black'), url('../assets/fonts/DINPro-Black tr.woff') format('woff');
  }

* {
  font-family: 'montserrat';
  margin: 0;
  padding: 0;
  }

html {
    scroll-behavior: smooth;
}

a:link {
    text-decoration: none;
}

body {
  background-color: #191919;
}

.mobile-menu-x {
  display:  none;
}

.adr-top {
  color: #ca9c3e;
  text-align: center;
  padding: 10px 0 10px 0;
  font-family: 'DINPro Medium';
  position: absolute;
  z-index: 1;
  top: 0px;
  width: 100%;
  background-color: #191919;
}

.adr-top .light {
  font-family: 'DINPro Light';
  font-size: .8rem;
}

.menu-section {
  position: absolute;
  top: 30px;
  z-index: 100;
  width: 100%;
  text-align: center;
  background-color: #191919;
  color: white;
  font-size: 1.2em;
  padding: 12px 0 12px 0;
  text-transform: uppercase;
  opacity: 1;
  transition: opacity 1s;
}

.menu-section.sticky {
  position: fixed;
  top: 0px;
  opacity: .8;
}

.menu-section ul {
  list-style-type: none;
}

.menu-section ul li {
  display: inline;
  padding: 0px 20px 0 20px;
}

.menu-section a {
  font-family: 'DINPro Medium';
  cursor: pointer;
  color: white;
  transition: color 0.5s;
}

.menu-section a.active, .menu-section a:hover {
  color: #ca9c3e;
}

.main-section {
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('../assets/pics/fond.jpeg');
  color: white;
}

.main-section .img-div {
  min-width: 400px;
  text-align: center;
  padding: 0px 0 15px 0;
}

.main-section .desc {
  text-align: justify;
  padding: 0 50px 0 20px;
  max-width: 60vw;
}

.main-section .desc a {
  font-family: 'palanquin';
  /* font-variant-caps: small-caps; */
  line-height: .8;
  font-size: 1.6rem;
}

.main-section .desc p {
    margin-bottom: 10px;
}

.diapo-section {
  position: relative;
}

.diapo-section .overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: black;
  z-index: 3;
  opacity: 0;
}

.logo2-div {
  margin-top: 135px;
  position: absolute;
  z-index: 2;
  display: flex;
  width: 100%;
  justify-content: center;
}

.logo2 {
  filter: drop-shadow(2px 4px 6px black);
}

.main-section img {
      width: 200px;
}

@media screen and (max-width: 1023px) {
  .diapo-section {
    display: none;
  }

  .adr-top {
    display: none;
  }

  .main-section {
    flex-direction: column;
  }

  .main-section .desc {
    padding: 0 20px 0 20px;
    max-width: initial;
  }

  .contact-section .logo-contact {
    display: none;
  }
  
  .main-section p {
      margin-bottom: 10px;
  }

  .main-section .desc a {
    font-size: 1.2rem;
  }
  

  .menu-section {
    padding: 20px;
    text-align: left;
    position: fixed;
    width: initial;
    top: 0px;
    height: 100vh;
    left: -100vw;
    transition: left .2s;
  }

  .menu-section.open {
    left: 0px;
  }

  .menu-section ul li {
    display: block;
  }

  .menu-section a {
    font-size: 32px;
  }

  .mobile-menu-x {
    display: initial;
    color: white;
    position: fixed;
    padding: 15px;
    font-size: 30px;
    z-index: 100;
    transition: color 1s;
  }

  .mobile-menu-x.dark {
      color: #2f2f2f;
  }

  .contact-section {
      flex-direction: column-reverse !important;
  }

  .contact-section .item {
    flex-basis: initial !important;
    }

    .contact-section .plan-contact {
        height: 300px !important;
    }

    .vehicules-section .vehicules {
        display: flex;
        justify-content: space-around;
        flex-direction: column;
        align-items: center;
    }

    .vehicules-section .vehicule {
        text-align: center;
        width: 80vw !important;
        margin-bottom: 30px;
        cursor: pointer;
        display: block;
    }
    
    .vehicules-section .vehicule__pic {
        background-size: cover;
        background-position: center;
        width: 100%;
        height: 50vw !important;
        margin-bottom: 10px;
    }

    

    .footer {
        flex-direction: column;
    }

    .footer .adr {
        margin-bottom: 20px;
    }

    .contact-section {
        flex-direction: column;
    }

    .contact-section .plan-contact {
        height: 300px;
    }
}

@media screen and (min-width: 1024px) {

  .diapo-section {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0px;
  }

  #slider {
    height: 100% !important;
  }

  .main-section {
    position: relative;
    z-index: 4;
    margin-top: 100vh;
  }
}

.vehicules-section {
    background-color: #fff;
    position: relative;
    padding-bottom: 20px;
}

.vehicules-section h1 {
    text-align: center;
    color: #2f2f2f;
    padding: 20px;
}

.vehicules-section .vehicules {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: 25px;
}

.vehicules-section .vehicule {
    text-align: center;
    width: 20vw;
    cursor: pointer;
    display: block;
    padding-top: 20px;
}

.vehicules-section .vehicule__pic {
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 13vw;
    margin-bottom: 10px;
    box-shadow: 0px 0px 3px #555;
}

.vehicules-section .vehicule__pic.vendu {
    position: relative;
}

.vehicules-section .vehicule__pic.vendu::after {
    position: relative;
    content: "";
    background-image: url(../assets/pics/vendu.png);
    width: 150px;
    height: 150px;
    background-size: 150px;
    background-repeat: no-repeat;
    position: absolute;
    top: 0px;
    left: 0px;
}

.vehicules-section .vehicule__title {
    color: #ca9c3e;
    font-size: 1.3rem;
}

.vehicules-section .vehicule__kilometre, .vehicules-section .vehicule__mise_circul {
    font-family: 'DINPro Medium';
    font-size: 1.2rem;
    color: #2f2f2f;
}

.contact-section {
  display: flex;
  justify-content: space-around;
  position: relative;
  background-color: #252525;
  background-image: url(../assets/pics/fond.jpeg);
}

.contact-section .item {
    flex-basis: 100%;
}

.contact-section .plan-contact {
    background-image: url('../assets/pics/plan.png');
    background-position: center;
}

.contact-section .contact {
    text-align: center;
    padding: 20px;
}

.contact-section .logo-contact {
    height: 200px;
    margin-bottom: 50px;
}

.contact-section .big {
    color: #bc883c;
    font-size: 2rem;
}

.contact-section .little {
    font-size: 1.4rem;
    color: white;
    margin-bottom: 75px;
}

.footer {
    display: flex;
    color: #e8e8e8;
    justify-content: space-around;
    padding: 30px;
    align-items: center;
}

.footer .item {
    text-align: center;
}

.dvehicule {
    background-image: url(../assets/pics/fond.jpeg);
    min-width: 100vw;
    min-height: 100vh;
}  

.dlogo-contact {
    text-align: center;
    margin-bottom: 30px;
}

.dlogo-contact img {
    width: 100px;
}

.dcontainer {
    display: flex;
    align-items: center;
    position: relative;
}

.dcontainer .close-icon.desktop {
    width: 35px;
    position: absolute;
    top: 0px;
    right: 50px;
    cursor: pointer;
}

.close-icon.mobile {
    display: none;
}

.dimage {
    width: 50vw;
    text-align: center;
    padding: 50px;
}

.dimage > img {
    max-width: 30vw;
    box-shadow: 0px 0px 4px #fff;
}

.dtxt {
    color: white;
}

.dtxt .vehicule__title {
    color: #ca9c3e;
    font-size: 2rem;
}

.dtxt .strong {
    font-size: 1.5rem;
    text-decoration: underline;
    margin: 10px 0 10px 0;
}

.dtxt .title {
    font-weight: bold;
}

@media screen and (max-width: 1023px) {
    .dcontainer {
        flex-direction: column-reverse;
        max-width: 100vw;
    }

    .dimage {
        width: initial;
        padding: unset;
    }

    .dimage img {
        max-width: 80vw;
    }

    .dtxt {
        padding: 0px 10px 0px 10px;
    }

    .dtxt .vehicule__title {
        text-align: center;
    }

    .dcontainer .close-icon.desktop {
        display: none;
    }
    
    .close-icon.mobile {
        width: 35px;
        display: initial;
        position: absolute;
        top: 10px;
        right: 10px;
    }
}