body{
    margin: 0;
    padding: 0;
    font-family: "Riviera Nights","Gill Alt One MT",Helvetica,Arial,sans-serif;
    background-color: #000000;
    

}

body::-webkit-scrollbar {
  display: none;
}



a {
  text-decoration: none;
  color: rgb(137, 137, 137);
}

a:hover {
  color: white;
}

nav{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    z-index: 100;
    opacity: 1;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;

    color: rgb(255, 255, 255);
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.219) 15%, rgba(0,0,0,0.25) 100%);
    background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.219) 15%, rgba(0, 0, 0, 0.25) 100%);
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden;
}

nav .menu{
    display: flex;
    height: 20px;
    order: 1;
    
}
#openbutton{
    background-color: transparent;
    border: 0;
    color: rgb(0, 0, 0);
    font-size: large;
}
#openbutton img{
  height: 15px;
  width: 15px;
}
#overlay {
    position: fixed;
    top: 0;
    left: -40%;
    width: 40%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.846) 15%, rgba(0, 0, 0, 0.839)100%);
    backdrop-filter: blur(20px);
    transition: left 0.5s;
    z-index: 9999;
  }
  
  #content {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    width: 80%;
    height: auto;
    transition: transform 0.5s;
  }
  
  #closeButton {
    position: absolute;
    top: 30px;
    left: 30px;
    background-color: transparent ;
    border: 0;
    cursor: pointer;
  }

  #closeButton img {
    height: 15px;
    width: 15px;
  }
  
  #content ul {
    list-style-type: none;
    padding: 10px;
    font-weight: 500;
    letter-spacing: .1175em;
    font-size: 1.6rem;
    line-height: 1.875;
    text-transform: uppercase;
    color: rgb(137, 137, 137);
    transition: opacity .4s;
    opacity: 0.5;
    will-change: opacity;
}
  
  
  #content ul li {
    opacity: 0;
    animation: fadeIn 0.5s ease-in-out forwards;
    text-align: right;
    padding-bottom: 20px;
    cursor: pointer;
  }
  #content ul li:hover {
    opacity: 1;
    color: white;
  }
  
  
.logo{
    opacity: 1;
    order: 2;
}
nav .dealer{
    display: flex;
    height: 20px;
   order: 3;
   padding-right: 20px;
}
.names{
    margin-top: 0;
}
main{
    z-index: 1;
}

.video-container {
    position: relative;
    width: 100%;
    height: 100vh;
  }
  
  .video-container img {
    object-fit: cover;
    width: 100%;
    height: 100%;
  }
  
  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
  }

  .overlay a{
    text-decoration: none;
  }
  .overlay .text {
    color: rgb(0, 0, 0);
    font-size: 24px;
    font-weight: bold;
    pointer-events: auto;
    animation-delay: 0ms;
  }
  .overlay .text h2{
    font-weight: 300;
    letter-spacing: .05em;
    font-size: 4rem;
    line-height: 1.15;
    margin-bottom: 10px;
    margin-top: -15vh;
    color: #000000;
  }
  .overlay .text button{
    
    font-weight: 500;
    letter-spacing: .16667em;
    font-size: 1.2rem;
    line-height: 2;
    width: 275px;
    height: 45px;
    padding-right: 16px;
    padding-left: 16px;
   
    border-radius: 50px;
    border: 0;
    

  }
  .hover-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    
    cursor: pointer;
  }
  
  .button-text {
    padding-left: 10px;
    transition: transform 0.3s;
  }
  
  .hover-button:hover .button-text {
    transform: translateX(-10px);
  }
  
  .hover-button .arrow-image {
    margin-left: 5vh;
    transition: opacity 0.3s;
    opacity: 0;
    width: 60px;
    height: 15px;
  }
  
  .hover-button:hover .arrow-image {
    opacity: 1;
  }
  
.pure{
    margin-bottom: 2.2rem;
    font-size: 1.2rem;
    letter-spacing: 0.06em;
    line-height: 1.57;
    }

    
  
  
  
  .overlay:hover {
    cursor: pointer;
  }
  
  
  
  .overlay:hover ~ #myVideo,
  .overlay .text:hover ~ #myVideo {
    display: block;
  }
  .explore{
    margin-top: 0;
    background-color: #222222;
    width: 100%;
    height: 900px;
    color: #FFFFFF;
    padding-top:100px;
  }
  .explore h3{
    margin-top: 0;
    font-weight: 400;
    letter-spacing: .125em;
    font-size: 2rem;
    line-height: 1.5;
  }
  .explore p{
    font-weight: 300;
    letter-spacing: .03846em;
    font-size: 1.3rem;
    line-height: 1.92308;
  }
  .cars{
    margin: 0 0 32px;
    display: flex;
    justify-content: center;
  }
  
  .section {
    flex: 1;
    max-width: 400px;
    margin: 10px;
    position: relative;
    overflow: hidden;
    border-left: 1px solid #fff;
  }
 
  .section:hover img {
    transform: scale(1.1);
    
  }
  
  .section a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    
  }
  
  .section img {
    width: 100%;
    height: auto;
    transition: transform 0.3s;
  }
  .section h4{
    color: #fff;
    padding: 24px 24px 0 24px;
    font-weight: 400;
    letter-spacing: .15625em;
    font-size: 1.6rem;
    line-height: 1.625;
    text-align: left;
  }
  
  .section p {
    color: #fff;
    padding: 12px 24px 0 24px;
    opacity: 1;
    transition: opacity 0.4s;
    text-align: left;
    letter-spacing: .05714em;
    font-size: 1.4rem;
    line-height: 1.57143;
  }
  .trans{
    background-color: transparent;
    width: 100%;
    height: 400px;
  }
 footer{
    background-color: #151515;
    padding-top: 50px;
    position: fixed;
    z-index: -1;
   bottom: 0;
   width: 100%;
   height: 400px;

 }
 .motor{
    display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 50px;
  padding-bottom: 40px;
 }
  .foot{
    width: 90%;
    margin-left: 5%;
    display: flex;
    
    justify-content: space-around;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    padding-bottom: 30px;
    
  }
  .foot li{
    grid-template-columns: repeat(11, 1fr 16px) 1fr;
    -ms-grid-rows: auto auto auto;
    grid-template-rows: auto auto auto;
    padding-top: 24px;
    list-style: none;
    color: #fff;
  }
  .foot:hover{
    color: #1a1919;
    cursor: pointer;

  }
.social{
    margin-top: 20px;
    display: flex;
    padding-left: 20px;
    gap: 20px;
    padding-bottom: 20px;
}
  @media (max-width: 600px) {
    body{
      width: 100%;
    }
    .container {
      flex-wrap: wrap;
    }
    
    .section {
      flex: 1 1 100%;
      max-width: 100%;
    }
    .cars{
        flex-direction: column;
    }
    .trans, footer{
         height: 300px;
    }
    #overlay {
     
      left: -60%;
      width: 40%;
     
    }
    .explore{
      
      height: auto;
      
    }
    .black{
      max-width: 300px;
    }
   
  }

  @media screen and (max-width: 767px) {
    .container {
      padding: 0 10px;
    }
    
    .header {
      padding: 10px;
    }
    
    .main {
      padding: 10px;
    }
    
    .footer {
      padding: 10px;
    }
    #overlay {
     
      left: -70%;
      width: 70%;
     
    }
    .explore{
      
      height: auto;
      
    }
    .foot li{
      flex-direction: column;
    }
   
  }
  
  /* Styles for screens larger than 768px */
  
  @media screen and (min-width: 768px) {
    .container {
      display: flex;
      flex-wrap: wrap;
    }
    
    .header {
      flex-basis: 100%;
      max-width: 100%;
    }
    
    .main {
      flex-basis: 70%;
      max-width: 70%;
    }
    
    .sidebar {
      flex-basis: 30%;
      max-width: 30%;
    }
    
    .footer {
      flex-basis: 100%;
      max-width: 100%;
    }
    .trans, footer{
        height: 400px;
   }
   .explore{
      
    height: auto;
    
  }
    
  }
  @keyframes fadeIn {
    0% {
      opacity: 0;
      transform: translateX(-20px);
    }
    100% {
      opacity: 1;
      transform: translateX(0);
    }
  }

/* Allgemeine Stile */
.car-box {
  width: calc(48% - 20px); /* 48% Breite für jede Box mit etwas Abstand dazwischen */
  margin-bottom: 20px; /* Abstand zwischen den Boxen */
  padding: 10px; /* Innenabstand der Car-Boxen */
  box-sizing: border-box; /* Berechnung von padding in die Breite einbeziehen */
  background-color: #000000;
  color: white;
  box-shadow: 0 0 15px #6da7ff; /* Farbe des Glow-Effekts */
}

@media only screen and (max-width: 600px) {
  .car-boxes {
      display: flex;
      flex-wrap: wrap;
      justify-content: center; /* Zentrierung der Car-Boxen horizontal */
      align-items: center; /* Zentrierung der Car-Boxen vertikal */
      padding: 0 20px; /* Abstand zu den Seitenrändern */
      margin: 20px auto; /* Abstand der Car-Boxen zum Rand des Anzeigebereichs */
      overflow: scroll;
      overflow-y: scroll;
      overflow-x: hidden;
  }

  .car-box {
      width: calc(90%); /* Breite der Box */
      margin: 0 5px 20px 5%; /* Abstand oben, unten und zu den Seiten */
  }
}
.car-boxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 1vh;
  padding: 0 5vh; /* Abstand zu den Seitenrändern */
  width:150vh;
  height:150vh;
  overflow: scroll;
  overflow-y: scroll;
  overflow-x: hidden;

}

.carousel {
  overflow: hidden;
  position: relative;
}

.carousel-images {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-images img {
  width: 100%;
  height: auto;
}

.carousel-thumbnails {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
  
}

.carousel-thumbnails img {
  width: 80px;
  height: auto;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.carousel-thumbnails img:hover {
  opacity: 1;
}

.carousel-description {
  margin-top: 15px;
  text-align: center;
  color: white;
}

  
.cbutton {
  position: relative;
  padding: 12px 35px;
  background: #5a7cd8;
  font-size: 17px;
  font-weight: 500;
  color: #181818;
  border: 3px solid #3b939e;
  border-radius: 8px;
  box-shadow: 0 0 0 #0000008c;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}

.star-1 {
  position: absolute;
  top: 20%;
  left: 20%;
  width: 25px;
  height: auto;
  filter: drop-shadow(0 0 0 #fffdef);
  z-index: -5;
  transition: all 1s cubic-bezier(0.05, 0.83, 0.43, 0.96);
}

.star-2 {
  position: absolute;
  top: 45%;
  left: 45%;
  width: 15px;
  height: auto;
  filter: drop-shadow(0 0 0 #fffdef);
  z-index: -5;
  transition: all 1s cubic-bezier(0, 0.4, 0, 1.01);
}

.star-3 {
  position: absolute;
  top: 40%;
  left: 40%;
  width: 5px;
  height: auto;
  filter: drop-shadow(0 0 0 #fffdef);
  z-index: -5;
  transition: all 1s cubic-bezier(0, 0.4, 0, 1.01);
}

.star-4 {
  position: absolute;
  top: 20%;
  left: 40%;
  width: 8px;
  height: auto;
  filter: drop-shadow(0 0 0 #fffdef);
  z-index: -5;
  transition: all 0.8s cubic-bezier(0, 0.4, 0, 1.01);
}

.star-5 {
  position: absolute;
  top: 25%;
  left: 45%;
  width: 15px;
  height: auto;
  filter: drop-shadow(0 0 0 #fffdef);
  z-index: -5;
  transition: all 0.6s cubic-bezier(0, 0.4, 0, 1.01);
}

.star-6 {
  position: absolute;
  top: 5%;
  left: 50%;
  width: 5px;
  height: auto;
  filter: drop-shadow(0 0 0 #fffdef);
  z-index: -5;
  transition: all 0.8s ease;
}

.cbutton:hover {
  background: transparent;
  color: #fec195;
  box-shadow: 0 0 25px #fec1958c;
}

.cbutton:hover .star-1 {
  position: absolute;
  top: -80%;
  left: -30%;
  width: 25px;
  height: auto;
  filter: drop-shadow(0 0 10px #fffdef);
  z-index: 2;
}

.cbutton:hover .star-2 {
  position: absolute;
  top: -25%;
  left: 10%;
  width: 15px;
  height: auto;
  filter: drop-shadow(0 0 10px #fffdef);
  z-index: 2;
}

.cbutton:hover .star-3 {
  position: absolute;
  top: 55%;
  left: 25%;
  width: 5px;
  height: auto;
  filter: drop-shadow(0 0 10px #fffdef);
  z-index: 2;
}

.cbutton:hover .star-4 {
  position: absolute;
  top: 30%;
  left: 80%;
  width: 8px;
  height: auto;
  filter: drop-shadow(0 0 10px #fffdef);
  z-index: 2;
}

.cbutton:hover .star-5 {
  position: absolute;
  top: 25%;
  left: 115%;
  width: 15px;
  height: auto;
  filter: drop-shadow(0 0 10px #fffdef);
  z-index: 2;
}

.cbutton:hover .star-6 {
  position: absolute;
  top: 5%;
  left: 60%;
  width: 5px;
  height: auto;
  filter: drop-shadow(0 0 10px #fffdef);
  z-index: 2;
}

.fil0 {
  fill: #fffdef;
}
