@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url("https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/css/bootstrap.min.css");

* {
    font-family: "Montserrat";
}

html {
    scroll-behavior: smooth;
}

section {
    margin-bottom: 50px;
}

p {
    text-align: center;
    font-weight: 500;
    margin: 50px;
    color: #004095;
    line-height: 1.5em;
    font-size: 12;
}

.qui_sommes_nous p {
    font-size: 1.2em;
    text-align: justify;
    margin: 20px 50px;
}

em {
    font-style: normal;
    font-weight: bold;
}

h1 {
    font-size: 3em;
    color: white;
    text-align: center;
    margin: 0.1em;
}

h2 {
    font-size: 2.5em;
    color: white;
    text-align: center;
    margin: 0.1em;
}

h3 {
    font-size: 2em;
    color: white;
    text-align: center;
    margin: 0.1em;
}

h4 {
    color: #004095;
    font-size: 1.3em;
    padding: 0px;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: white;
}

header img {
    width: 30%;
}

.conteneur_entete {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
}

.element_entete {
    padding: 5px;    
}

.element_entete a {
    text-decoration: none;
    padding-right: 10px;
}

.societe {
    background: url("../images/texture.jpg");
    padding: 60px 10px 30px 10px;
}

.titre_intermediaire {
    display: flex;
    background: url("../images/texture.jpg");
    align-items: center;
    justify-content: center;
    padding: 40px 0;
}

.image-slider {
    overflow: hidden;
  }
  
.images {
    display: flex;
    justify-content: center;
}

.images img {
    width: 90%;
}

.conteneur_images {
    display: flex;
    background: #ededed;
    padding: 20px;
    justify-content: space-around;
    flex-wrap: wrap;
}

.conteneur_images_indiv {
    width: 30%;
    text-align: center;
    gap: 20px;
    margin-bottom: 50px;
}

.conteneur_images_indiv img {
    width: 100%;
    margin-bottom: 10px;
}

.conteneur_images_indiv p {
    margin: 0;
}

hr {
    border: none;
    margin: 20px auto;
    text-align: center;
    width: 90%;
    background: rgba(0,0,0, 0.1);
    height: 1px;
}

.hr_title {
    background: rgb(2, 46, 111);
    text-align: center;
    height: 8px;
    margin: 2em auto;
    width: 100px;
    }

.hr_section {
    border: none;
    margin: 20px auto;
    text-align: center;
    width: 90%;
    background: rgba(0,0,0, 0.1);
    height: 1px;
}

.zone_vignettes {
    background-color: #022E6F;
    padding: 30px 5px;
}

.conteneur_vignettes {
    display: flex;
    padding: 20px;
    justify-content: space-around;
    flex-wrap: wrap;
}

.conteneur_vignettes img {
    width: 23%;
    gap: 20;
}

.conteneur_contact {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 auto;
  padding: 1rem;
}

.conteneur_contact_text {
    flex: 0 0 30%;
}

.conteneur_contact_image {
  flex: 1;
  display: flex;
  justify-content: center;
}

form {
    text-align: center;
}

form div {
    text-align: left;
    padding: 20px 0 10px 0;
    margin: 0 20px;
}

label {
    font-weight: bold;
}

input, textarea {
    width: 100%;
    border-radius: 5px;
    border: 0.5px rgb(2, 46, 111) solid;
    padding: 5px;
}

input {
    height: 30px;
}

textarea {
    height: 100px;
}

button {
    background-color: rgb(0, 85, 212);
    color: white;
    margin-top: 10px;
    font-weight: bold;
}

.contact {
    margin: 20px 60px;
}

.contact p {
    text-align: left;
    margin: 20px auto;
}

footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background: url("../images/texture.jpg");
}

footer p {
    color: white;
    margin: 15px 5px;
}

footer a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

/* RESPONSIVE */

/* Styles pour les petits écrans (mobiles) */
@media screen and (max-width: 900px) {

    .societe {
        background: url("../images/texture.jpg");
        padding: 50px 10px 20px 10px;
    }

    header {
        padding: 5px 5px;
        font-size: 0.5em;
    }

    .element_entete {
        padding: 1px;
        width: 100%;
    }

    h1 {
        font-size: 2em;
    }
    
    h2 {
        font-size: 1.5em;
    }
    
    h3 {
        font-size: 1em;
    }    

    p {
        margin: 10px;
    }

    .conteneur_contact {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .conteneur_contact_text, .conteneur_contact_image {
        flex: 0 0 100%;
        width: 100%;
    }

    .conteneur_images_indiv {
        flex: 1 0 100%;
    }

    .conteneur_images_indiv img {
        width: 100%;
    }
    
    .conteneur_vignettes img {
        flex: 2 0 50%;
        padding: 5px;
    }

    .titre_intermediaire {
        padding: 20px 0;
    }

    .qui_sommes_nous p {
        font-size: 1em;
        text-align: justify;
        margin: 10px;
    }

    .contact {
        margin: 0 30px;
    }

    .contact p {
        margin: 10px 0;
    }
}