body {
    padding: 0;
    margin: 0;
    background-image: url(/images/accueil2.jpg); 
    background-attachment: fixed;  
    background-size: cover;
}

p {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

h1{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;    
}

h2{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

h3{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

a{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/*-----------------------header----------------------*/

header {
    
    justify-content: space-between;
    padding: 3rem;
    background-color: black;
    opacity: 90%;
    border-radius: 3rem;
    border-style: groove;
    border-color: rgb(0, 123, 206);
}


header nav{
    display: flex;
    justify-content: space-between;
    justify-items:baseline;
}

.menu-toggle{
    margin-top: 27px;
}

.nom h1 {
    color: white;
    font-size: 2vw;
    
}

.acc a{
    color: #0071db;
}
.nav-links li a {
    text-decoration: none;
    color: white;
    font-size: 1.5rem;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle div {
    width: 30px;
    height: 7px;
    background-color: white;
    border-radius: 1rem;
    margin-bottom: 0.2rem;
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.nav-links li {
    margin-right: 3vw;
}


/*-----------------------body----------------------*/

.page{
    background-color: #0071db;
    opacity: 95%;
    border-radius: 3rem;
    margin: 2rem;
}

.soustitre h2 {
    text-align: center;
    
    padding-top: 2rem;
    font-size: 2.5rem;
}

.p {
    text-align: justify;
}

.p {
    padding: 2rem;
    word-break: normal;
}

html {
    position: relative;
    min-height: 100%;
  }
  
.footer {
    width: 100%;
    margin-top: 2rem;
  }



@media (max-width: 500px) {

    .header1 .nom{
        padding-right: 2rem;
    }  
    
    .body{
        background-size: cover;
        background-position: center;
    }
    .nom {
        display: flex;
        justify-content: center;
    }

    .nom h1 {
        font-size: 1.5rem;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        text-align: center;
        margin-left: 0;
        cursor: pointer;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
    }

    .texte {
        font-size: 1rem;
    }

    .footer {
        background-color: #000;
        color: #fff;
        text-align: center;
        padding: 20px 0;
    }
    
    .footer .container {
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .footer .social-links {
        list-style-type: none;
        padding: 0;
    }
    
    .footer .social-links li {
        display: inline;
        margin: 0 10px;
    }
    
    .footer .social-links a {
        color: #fff;
        text-decoration: none;
    }
    
    .footer .social-links a:hover {
        text-decoration: underline;
    }
}

@media (min-width: 501px) and (max-width: 1024px) {
    .nom h1 {
        color: white;
        font-size: 1.5rem;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        text-align: center;
        margin-left: 0;
        cursor: pointer;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
    }

    .footer {
        background-color: #000;
        color: #fff;
        text-align: center;
        padding: 20px 0;
    }
    
    .footer .container {
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .footer .social-links {
        list-style-type: none;
        padding: 0;
    }
    
    .footer .social-links li {
        display: inline;
        margin: 0 10px;
    }
    
    .footer .social-links a {
        color: #fff;
        text-decoration: none;
    }
    
    .footer .social-links a:hover {
        text-decoration: underline;
    }
}

@media (min-width: 1025px) {

header{
    margin: 3rem;
}

    .header {
        display: flex;
        padding: 3rem;
    }

    .nav-links {
        padding-top: 1.2vw;
        display: flex;
    }

    .nav-links li {
        margin-right: 3vw;
    }

    .nav-links li a {
        font-size:2rem;
    }
    .texte {
        font-size: 1.5rem;
    }

    .menu-toggle {
        display: none;
    }

    /*---------FOOTER----------*/
    .footer {
        background-color: #000;
        color: #fff;
        text-align: center;
        padding: 20px 0;
    }
    
    .footer .container {
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .footer .social-links {
        list-style-type: none;
        padding: 0;
    }
    
    .footer .social-links li {
        display: inline;
        margin: 0 10px;
    }
    
    .footer .social-links a {
        color: #fff;
        text-decoration: none;
    }
    
    .footer .social-links a:hover {
        text-decoration: underline;
    }
}

/*-----------------------body----------------------*/


