/* Règles générales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Open Sans", sans-serif;
}
a {
    text-decoration: none;
    color: inherit;
}
section {
    padding: 3%; /* Marges latérales et verticales de chaque section */
}
button {
    padding: 20px;
    font-size: 40px;
    border: solid 3px #172c29;
    border-radius: 50px;
    background-color: transparent;
    color: #172c29;
    cursor: pointer;
}
button:hover {
    transform: scale(1.1);
    transition: all 0.2s ease-in-out;
}

/* Version Téléphone */
/* Corps de page */
body {
    background-color: #172c29;
}

/* Section modèles */
.modeles{
    background-color: #172c29;
    display: flex;
    flex-direction: column;
    color: whitesmoke;
}
.return-button {
    width: fit-content;
    display: flex;
    justify-content: left;
    align-items: center;
}
.return-icon {
    width: 50px;
}
.return-title {
    margin: 0 0 0 20px;
    font-size: 25px;
}
.modeles-title {
    text-align: center;
    margin: 2% 0 5% 0;
    font-family: "Cormorant", serif;
    font-size: 55px;
}
.modeles-primary-img-container {
    display: flex;
    justify-content: center;
}
.modeles-primary-img {
    width: 100%;
    object-fit: cover;
}
.modeles-secondary-img-container {
    margin: 3% 0;
    display: flex;
    flex-wrap: nowrap;
    justify-content: left;
    align-items: center;
    overflow-x: scroll;
}
.modeles-secondary-img {
    width: 33.3%;
    object-fit: cover;
    cursor: pointer;
}

/* Section description */
.description {
    background-color: #172c29;
    color: whitesmoke;
}
.description-container {
    height: fit-content;
    padding: 0 5%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}
.description-title {
    text-align: center;
    font-size: 50px;
    font-family: "Cormorant", serif;
    margin: 2% 0;
}
.description-text {
    text-align: center;
    font-size: 30px;
}

/* Section contact */
.contact {
    background-color: #172c29;
    color: whitesmoke;
}
.contact-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.contact-text{
    font-size: 35px;
}
.contact-button {
    width: fit-content;
    color: whitesmoke;
    border: solid 3px whitesmoke;
}
    /* Animations - section contact */
    .contact-button:hover {
        background-color: whitesmoke;
        color: #172c29;
    }
    .contact-button:active {
        background-color: whitesmoke;
        color: #172c29;
    }





/* Version Tablette */
@media screen and (min-device-width: 768px) {
/* Section modèles */
.modeles{
    display: flex;
    flex-direction: column;
}
.return-button {
    width: fit-content;
    display: flex;
    justify-content: left;
    align-items: center;
}
.return-icon {
    width: 40px;
}
.return-title {
    margin: 0 0 0 20px;
    font-size: 20px;
}
.modeles-title {
    text-align: center;
    margin: 2% 0 5% 0;
    font-size: 40px;
}
.modeles-primary-img-container {
    display: flex;
    justify-content: center;
}
.modeles-primary-img {
    width: 70%;
    object-fit: cover;
}
.modeles-secondary-img-container {
    margin: 3% 0;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    overflow-x: scroll;
    scrollbar-width: none;
}
.modeles-secondary-img {
    width: 20%;
    object-fit: cover;
    cursor: pointer;
}
    /* Animations - section modèles */
    .return-button:hover {
        transform: scale(1.1);
        transition: all 0.2s ease-in-out;
    }
     .modeles-secondary-img:hover {
        filter: brightness(0.8);
    }

/* Section description */
.description {
    font-size: 30px;
}
.description-container {
    height: fit-content;
    margin: 0;
    padding: 0 5%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}
.description-title {
    text-align: center;
    font-size: 40px;
    font-family: "Cormorant", serif;
    margin: 2% 0;
}
.description-text {
    text-align: center;
    font-size: 25px;
}

/* Section contact */
.contact {
    background-color: #172c29;
    color: whitesmoke;
}
.contact-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.contact-text{
    font-size: 25px;
}
.contact-button {
    width: fit-content;
    font-size: 20px;
    border: solid 2px whitesmoke;
}
    /* Animations - section contact */
    .contact-button:hover {
        color: #172c29;
    }
    .contact-button:active {
        color: #172c29;
    }
}





/* Version Desktop */
@media screen and (min-device-width: 1024px) {
/* Section modèles */
.modeles{
    padding: 2% 2% 0 2%;
    display: flex;
    flex-direction: column;
}
.return-button {
    width: fit-content;
    display: flex;
    justify-content: left;
    align-items: center;
    margin: 10vh 0 0 0;
}
.return-icon {
    width: 30px;
}
.return-title {
    margin: 0 0 0 20px;
    font-size: 15px;
}
.modeles-title {
    text-align: center;
    margin: 0 0 2% 0;
    font-size: 30px;
}
.modeles-primary-img-container {
    display: flex;
    justify-content: center;
}
.modeles-primary-img {
    width: 30%;
    object-fit: cover;
}
.modeles-secondary-img-container {
    margin: 1% 0;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    overflow-x: scroll;
    scrollbar-width: none;
}
.modeles-secondary-img {
    width: 5%;
    object-fit: cover;
    cursor: pointer;
}
    /* Animations - section modèles */
    .return-button:hover {
        transform: scale(1.1);
        transition: all 0.2s ease-in-out;
    }
    .modeles-secondary-img:hover {
        filter: brightness(0.8);
    }

/* Section description */
.description {
    padding: 0;
}
.description-container {
    height: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0 3%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}
.description-title {
    text-align: center;
    font-size: 20px;
    font-family: "Cormorant", serif;
    margin: 1% 0;
}
.description-text {
    width: 80%;
    text-align: center;
    font-size: 15px;
}

/* Section contact */
.contact {
    background-color: #172c29;
    color: whitesmoke;
}
.contact-container {
    display: flex;
    justify-content: center;
    align-items: center;
}
.contact-text{
    font-size: 15px;
    margin: 0 20px 0 0;
}
.contact-button {
    width: fit-content;
    padding: 10px 15px;
    font-size: 15px;
    border: solid 1px whitesmoke;
}
    /* Animations - section contact */
    .contact-button:hover {
        color: #172c29;
    }
    .contact-button:active {
        color: #172c29;
    }
}




/* Version 4K */
@media screen and (min-device-width: 2560px) {
/* Section modèles */
.modeles{
    padding: 2% 2% 0 2%;
    display: flex;
    flex-direction: column;
}
.return-button {
    width: fit-content;
    display: flex;
    justify-content: left;
    align-items: center;
    margin: 10vh 0 0 0;
}
.return-icon {
    width: 50px;
}
.return-title {
    margin: 0 0 0 20px;
    font-size: 25px;
}
.modeles-title {
    text-align: center;
    margin: 0 0 2% 0;
    font-size: 40px;
}
.modeles-primary-img-container {
    display: flex;
    justify-content: center;
}
.modeles-primary-img {
    width: 20%;
    object-fit: cover;
}
.modeles-secondary-img-container {
    margin: 1% 0;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    overflow-x: scroll;
    scrollbar-width: none;
}
.modeles-secondary-img {
    width: 5%;
    object-fit: cover;
    cursor: pointer;
}
    /* Animations - section modèles */
    .return-button:hover {
        transform: scale(1.1);
        transition: all 0.2s ease-in-out;
    }
    .modeles-secondary-img:hover {
        filter: brightness(0.8);
    }

/* Section description */
.description {
    padding: 0;
}
.description-container {
    height: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0 3%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}
.description-title {
    text-align: center;
    font-size: 30px;
    font-family: "Cormorant", serif;
    margin: 1% 0;
}
.description-text {
    width: 70%;
    text-align: center;
    font-size: 20px;
}

/* Section contact */
.contact {
    background-color: #172c29;
    color: whitesmoke;
}
.contact-container {
    display: flex;
    justify-content: center;
    align-items: center;
}
.contact-text{
    font-size: 20px;
    margin: 0 20px 0 0;
}
.contact-button {
    width: fit-content;
    padding: 10px 20px;
    font-size: 20px;
    border: solid 1px whitesmoke;
}
    /* Animations - section contact */
    .contact-button:hover {
        color: #172c29;
    }
    .contact-button:active {
        color: #172c29;
    }
}