* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-image: url(./ressource/TeTraCar.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
}

header {
    background-image: url(./ressource/visax-7AAoelD2ds8-unsplash\ \(1\).jpg);
    position: fixed;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 10px 20px;
    border-bottom: 1px solid white;
}


header a {
    text-decoration: none;
    color: white;
}

.tetracar {
    text-align: center;
    font-family: Luckiest Guy;
    font-size: 26px;
    letter-spacing: 4px;
}

.navigation a {
    text-transform: uppercase;
    margin-right: 5px;
    font-weight: 600;
    font-family: Luckiest Guy;
    letter-spacing: 3px;
}


.menu-logo, .navigation, .tetracar, .ensemble {
    width: 100%;
}

.menu-logo {
    display: none;
}


.ensemble {
  justify-content: flex-end;
  display: flex;
  gap: 20px;
}
.user button {
    all: unset;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    
}

.recherche button {
    all: unset;
    display: flex;
    justify-content: center;
    cursor: pointer;
    align-items: center;
    
}


.recherche img {
    width: 30px;
}

.user img {
    width: 30px;
}

.input {
        top: calc(100% + 1px);
        position: absolute;
        right: 0;
        transform: translateX(+100%);
        transition: transform 0.4s ease-out;
        background-image: url(./ressource/visax-7AAoelD2ds8-unsplash\ \(1\).jpg);
        color: white;
        width: 100%;
        height: 50px;
        font-size: 40px;
        margin: 2px auto;
        padding: 27px 60px 30px;
        border: 1px solid white;
        font-family: Luckiest Guy;
        

}

input::placeholder {
    text-transform: uppercase;
    font-size: 30px;
    color: white;
    font-family: Luckiest Guy;
}

.input.active {
   transform: translateX(0%);
}


.nav-user {
    height: calc(100vh - 100% - 1px);
    top: calc(100% + 1px);
    position: absolute;
    right: 0;
    transition: transform 0.4s ease-out;
    transform: translateX(+100%);
    background-image: url(./ressource/visax-7AAoelD2ds8-unsplash\ \(1\).jpg);
    background-size: 300px;
    width: 240px;
    height: 80px;
}

.nav-user.active {
    transform: translateX(0%);
}

.nav-user a {
    padding: 10px 20px;
        display: block;
        color: white;
        text-align: center;
        font-weight: 600;
        border: 1px solid white
}

@media (max-width: 1450px) {
    .menu-logo {
        display: block;
    }
    
    .menu-logo button {
        all: unset;
        display: flex;
        padding: 4px;
        justify-content: center;
        align-items: center;
    }
    .menu-logo img {
        width: 50px;
    }

    .navigation {
        height: calc(100vh - 100% - 1px);
        top: calc(100% + 1px);
        position: absolute;
        left: 0;
        transform: translateX(-100%);
        transition: transform 0.4s ease-out;
        background-image: url(./ressource/visax-7AAoelD2ds8-unsplash\ \(1\).jpg);
        background-size: 240px 400px;
        width: 240px;
        height: 190px;
    }

    .navigation.active {
        transform: translateX(0%);
    }

    .navigation a {
        padding: 8px 0;
        display: block;
        color: white;
        text-align: center;
        border: 1px solid white;
        width: 100%;
    }
}

@media (max-width: 460px) {
    body {
        background-size: 1200px 784px;
    }

}


.flexbox {
    display: flex;
    align-items: flex-end;
    height: 80vh;
    width: 100%;
    flex-wrap: 1;
}

.card-tetracar {
    background-image: url(./ressource/visax-7AAoelD2ds8-unsplash\ \(1\).jpg);
    background-size: cover;
    border: 1px solid white;
    margin: 0 auto;
    width: auto;
    height: 650px;
    display: none;
    justify-content: flex-start;
    align-items: center;
    gap: 60px;
}



.card-tetracar button {
  all: unset;
  cursor: pointer;
  align-self: flex-start;
  margin-left: auto;
  background-image: url(./ressource/visax-7AAoelD2ds8-unsplash\ \(1\).jpg);
  background-size: cover;
  border: 1px solid white;
  display: flex;
  justify-content: center;
  align-items: center;
}


.card-tetracar button img {
    height: 50px;
    width: 50px;


}

.card-tetracar img {
    width: 650px;
    margin-left: 20px;
    
}

.banner2, .banner3, .banner4 {
    display: none;
    width: 400px;
}


.flexbox1 {
    display: flex;
    align-items: center;
    height: 20vh;
}

.commander a {
    color: white;
    text-decoration: none;
    font-family: Luckiest Guy;
    text-transform: uppercase;
    letter-spacing: 3px;
}
.commander {
    border: 1px solid white;
    padding: 10px 20px;
    background-image: url(./ressource/visax-7AAoelD2ds8-unsplash\ \(1\).jpg);
    background-size: cover;
    font-size: 24px;
    margin: 0 auto;
    border-radius: 5px;


}

.caractéristiques{
    background-image: url(./ressource/visax-7AAoelD2ds8-unsplash\ \(1\).jpg);
    background-size: cover;
    padding: 20px;
    color: white;
    border: 1px solid white;
    width: 600px;

}

.caractéristiques h2 {
    font-size: 26px;
    text-align: center;
    font-family: Luckiest Guy;
    letter-spacing: 4px;
    color: white;
    margin-bottom: 10px;
}

.caractéristiques p {
    text-align: center;
    margin-bottom: 15px;
}

.caractéristiques ul  {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    width: 100%;
    justify-content: center;
}

.caractéristiques li {
    padding: 20px;
    list-style-type: none;
    border: 1px solid white;
    text-align: center;
    
}

.caractéristiques ul span {
  font-weight: 600;
  margin-bottom: 10px;
}


.selection {
    width: 100%;
    display: flex;
    justify-content: center;
}

.caractéristiques #cara-paiement {
    background-image: url(./ressource/visax-7AAoelD2ds8-unsplash\ \(1\).jpg);
    background-size: cover;
    text-align: center;
    padding: 5px 20px;
    color: white;
    margin-bottom: 15px;
    
}

 select option {
   color: black;
 }

.capacite {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.capacite button {
    width: 100%;
    height: 50px;
    display: flex;
    padding: 0 20px;

}




@media (max-width: 1450px) {
    .card-tetracar {

        width: 1300px;
    }
}

@media (max-width: 1350px) {
    .card-tetracar {

        width: 1200px;
    }
}

@media (max-width: 1250px) {
    .card-tetracar {

        width: 1100px;
    }
}

@media (max-width: 1150px) {
    .card-tetracar {

        width: 1000px;
        gap: 0;
    }

}


@media (max-width: 1050px) {
    .card-tetracar {

        width: 900px;
    }

    .caractéristiques {
        display: none;
    }

    .banner {
        width: auto;
        height: 800px;
    }
}


@media (max-width: 950px) {
    .card-tetracar {

        width: 800px;
    }

    .banner {
        width: auto;
        height: 700px;
    }

}

@media (max-width: 850px) {
    .card-tetracar {

        width: 700px;
    }

    .banner {
        width: auto;
        height: 600px;
    }

}

@media (max-width: 750px) {
    .card-tetracar {
        
        width: 600px;
    }
    .card-tetracar img {
        width: 100px;
    }

    .banner {
        width: auto;
        height: 500px;
    }
}


@media (max-width: 650px) {
    .card-tetracar {

        width: 500px;
    }

    .banner {
        width: auto;
        height: 400px;
    }
}


@media (max-width: 550px) {
    .card-tetracar {

        width: 400px;
    }
}

@media (max-width: 450px) {
    .card-tetracar {

        width: 300px;
    }

}