@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@1,438&display=swap');



body{
    margin: 0;
    padding: 0;
    background-color: rgb(0, 0, 0);
    font-family: "Montserrat", sans-serif;
}



a{ 
    text-decoration: none;}
header{
    background-color: rgb(16, 15, 15);
   
    

}

header .conteneur{
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 20px;
}

header .conteneur .logo img{
    border-radius: 10px;
    margin-left: -89px;
    margin-top: 20px;
}

header .conteneur .icones{
    margin-right: -73px;
}
header .conteneur .icones img{
    width: 35px;
    margin-left: 20px;

}


header nav{
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
    margin-right: 20px;
    background-color: rgb (29, 26, 26);
    
    
}
header nav .menu {
    list-style-type: none;
    padding: 0;
    background-color: rgb(16, 15, 15);
    margin: 0;
    display: flex;
    
    margin-left: 16px;
  }
  header nav .menu > li {
    position: relative;
  }
  header  nav .menu > li > a {
    text-decoration: none;
    font-weight: bold;
    color: white;
    display: block;
    padding: 15px 20px;
  }
   header nav .menu > li > a:hover {
    color: red;
    transition: 1s ease;
   
  }
  header nav .submenu {
    list-style-type: none;
    padding: 0;
    margin: 0;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
   
    display: none;
    z-index: 1000;
  }
   header nav .submenu li {
    width: 200px;
  }
header  nav .submenu li a {
    text-decoration: none;
    color: #000000;
    display: block;
    padding: 10px;
    background-color: white;
   
  }
 header nav  .submenu li a:hover {
    background-color: #f0f0f0;
  }
  header nav .menu > li:hover .submenu {
    display: block;
  }

header .conteneur2 {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 20px;
    position: relative
}

header .conteneur2 .boutton button{
    min-width: 130px;
    height: 40px;
    color: #fff;
    padding: 5px 10px;
    font-weight: bold;
    cursor: pointer;
    transition: all 1s ease;
    position: relative;
    display: inline-block;
    outline: none;
    border-radius: 20px;
    border: 2px solid #d90429;
    background: #d90429;
    font-size: 20px;
    margin-right: 40px;
    font-family: "Montserrat", sans-serif;
    
}

header .conteneur2 .boutton button:hover{
    background: #fff;
  color: #d90429
}


/* Media queries pour les petits écrans (téléphones) */
@media screen and (max-width: 768px) {
    /* Ajustements pour les petits écrans ici */
    header .conteneur {
        flex-direction: column;
        align-items: center;
    }

    header .conteneur .logo img {
        margin-left: 0;
        margin-top: 10px;
    }

    header .conteneur .icones {
        margin-right: 0;
        margin-top: 10px;
    }

    header .conteneur2 {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    header nav .menu {
        flex-direction: column;
        align-items: center;
    }

    header nav .menu > li {
        width: 100%;
    }

    header nav .menu > li > a {
        text-align: center;
        padding: 10px;
    }

    header .conteneur2 .boutton {
        margin-top: 20px;
    }

    header .conteneur2 .boutton button {
        width: 100%;
        margin: 10px 0;
    }
}

/* Media queries pour les écrans encore plus petits (téléphones en mode portrait) */
@media screen and (max-width: 480px) {
    /* Ajustements pour les écrans encore plus petits ici */
    header .conteneur .logo img {
        width: 100%;
    }

    header .conteneur .icones img {
        width: 30px;
    }

    header .conteneur2 .boutton button {
        font-size: 16px;
        margin-right: 0;
    }

    header nav .menu {
        margin-left: 0;
    }

    header nav .menu > li > a {
        padding: 10px 15px;
    }

    /* Ajoutez ces règles pour ajuster la position sur les téléphones */
    header .conteneur .icones img {
        margin-left: 20px; /* Vous pouvez ajuster cette valeur selon vos besoins */
    }
}

/* Responsive Styles */
@media (max-width: 1024px) {
    header .conteneur {
        flex-direction: column;
        align-items: center;
    }

    header .conteneur .logo img {
        margin-left: 0;
        margin-top: 10px;
    }

    header .conteneur .icones {
        margin-right: 0;
        margin-top: 10px;
    }

    header .conteneur2 {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    nav .menu {
        flex-direction: column;
        align-items: center;
    }

    nav .menu > li {
        width: 100%;
    }

    nav .menu > li > a {
        text-align: center;
        padding: 10px;
    }

    header .conteneur2 .boutton {
        margin-top: 20px;
    }

    header .conteneur2 .boutton button {
        width: 100%;
        margin: 10px 0;
    }
}

@media (max-width: 768px) {
    header .conteneur {
        flex-direction: column;
        align-items: center;
    }

    header .conteneur .logo img {
        margin-left: 0;
        margin-top: 10px;
    }

    header .conteneur .icones {
        margin-right: 0;
        margin-top: 10px;
    }

    header .conteneur2 {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    header nav .menu {
        flex-direction: column;
        align-items: center;
    }

    header nav .menu > li {
        width: 100%;
    }

    header nav .menu > li > a {
        text-align: center;
        padding: 10px;
    }

    header .conteneur2 .boutton {
        margin-top: 20px;
    }

    header .conteneur2 .boutton button {
        width: 100%;
        margin: 10px 0;
    }
}

@media (max-width: 480px) {
    header nav .menu {
        margin-left: 0;
    }

    header nav .menu > li > a {
        padding: 10px 15px;
    }

    header .conteneur .logo img {
        width: 100%;
    }

    header .conteneur .icones img {
        width: 30px;
    }

    header .conteneur2 .boutton button {
        font-size: 16px;
        margin-right: 0;
    }
}






main {
    width: 80%;
    margin-left: 10%;
    margin-right: 10%;
    text-align: justify;
    
    color: white;
    margin-bottom: 40px;
}
main h1{
text-align: center;}
h2 {
    margin-top: 40px;
    text-align: center;
}

p {
    margin: 20px 0;
    line-height: 1.6; /* Meilleure lisibilité */
}

b {
    display: block;
    margin-bottom: 10px;
}

center img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}

/* Styles responsives pour les tablettes et téléphones */
@media (max-width: 768px) {
    main {
        padding: px;
        text-align: center;
    }

    h2 {
        font-size: 1.5em;
    }

    p {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    h2 {
        font-size: 1.2em;
    }

    p {
        font-size: 0.9em;
    }
}














footer {
    padding: 20px 0px;
    background-color: rgb(16, 15, 15);
    color: white;
    font-family: "Montserrat", sans-serif;
    margin-top: 15px;
    text-align: center;
    margin-top: 30px;
}



footer .conteneur {
    
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}


footer .sous-conteneur {
    flex: 1;
    padding: 10px;
    text-align: center;
    flex: 1;
    max-width: 300px;
    margin: 10px;
    color: white;
}

footer .titre img {
    display: block;
    margin: 0 auto 20px auto;
    max-width: 100%;
    height: auto;
}


footer h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

footer p {
    font-size: 1em;
    line-height: 1.5;
}

footer p a{
    color: white;
    border-bottom: 1px solid white;
}


/* Media queries pour les petits écrans */
@media screen and (max-width: 768px) {
    footer .conteneur {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    footer .sous-conteneur {
        max-width: 100%;
    }
}























