body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #f4f4f4;
    padding: 0;
    margin: 0;
}
/*le pdf reglement int*/
object {
    width: 80%;
    height: 100vh;
    border: 2px solid grey;
}

#header, #sous_header, .master-container {
    width: 100%;
}

#Bienvenue{
 
    font-size:45px !important;
    color:#2358A5;
    font-style: oblique;
}


#sous_header{
    position: fixed;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 2;
    background: white;
}

#sous_header {
    overflow: hidden;
    border-bottom: 10px solid grey;
}

.master-container {
    display:block;
    top: 0;
    left: 0;
    border-bottom: 2px solid grey;
}

#titre_principal, .master-container h1 {
    display: block;
    color: grey;
    text-align: center;
}

#titre_principal {
    font-style: oblique;
}


.menu {
    position: fixed;
    top: 150px;
    width: 100%;
    display: flex;
    justify-content: space-around;
    height: auto;
    border: 1px solid grey;
    background: grey;
    z-index: 2;
    font-size: 20px;
}

#logo1 {
    width: 225px;
    height: 174px;
}

#logo2, #bar-menu {
    display: none;
}

.bloc-pages {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #f4f4f4;
    align-items: center;
    margin-top:200px;
    margin-bottom:30px;
}



.titre-pages {
    display: block;
    color: #2358A5;
    font-size: 35px;
    font-style: oblique;
    width: 60%;
    text-align: center;
   }

.bloc_1, .bloc_1_bis, .bloc_2 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 55%;
    background-color: white;
    margin-top: 10px;
    padding: 30px;
}

.bloc_1_column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 95%;
    background-color: white;
    margin-top: 10px;
    padding: 10px;
}

.bloc_2 {
    flex-direction: row-reverse;
}

.sous_bloc, .sous_bloc_ter {
    display: flex;
    justify-content: space-around;
    width: 80%;
}

.sous_bloc {
    background-color: white;
}

.sous_bloc_ter {
    background-color: #DCE1E4;
    color: #2358A5;
    align-items: center;
}

.mot-encadre, .mot-encadre2, .mot-stylise {
    border: 2px solid #CAE7F9;
    background-color: #2358A5;
    padding: 5px;
    display: inline-block;
    color: white;
}

.custom-list li, .custom-list2 li, .custom-list3 li {
    font-size: 1.2em;
    list-style-type: disc;
    list-style: square;
}

.custom-list li {
    color: black;
}

.custom-list li::marker {
    color: #CAE7F9;
}

.custom-list2 li {
    color: #6A97CE;
}

.custom-list2 li::marker {
    color: #CAE7F9;
}

.custom-list3 li {
    color: #2358A5;
}

.custom-list3 li::marker {
    color: #2358A5;
}

.slogan {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    color: #2358A5;
    font-size: 30px;
    font-style: oblique;
    text-align: center;
}



.horaire {
    display: flex;
    flex-direction: column;
    width: 280px;
    justify-content: center;
    background-color: white;
    color: #2358A5;
    text-align: center;
    border: solid 3px #2358A5;
    padding: 5px;
    margin-top: 30px;
}

.horaire_span {
    color: black;
}

.example {
    position: relative;
    padding: 0;
    width: 440px;
    height: 358px;
    display: block;
    cursor: pointer;
    overflow: hidden;
    background-color: grey;
}

.wrapper {
    margin: 2px auto;
    text-align: center;
    width: 100%;
    position: relative;
}

.button {
    padding: 15px 100px;
    margin: 10px 4px;
    color: #ffffff;
    text-transform: uppercase;
    text-align: center;
    position: relative;
    text-decoration: none;
    display: inline-block;
    border: 1px solid transparent;
    transition: all 0.4s cubic-bezier(0.5, 0.24, 0, 1);
}

.button::before, .button::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 1px;
    transition: all 0.4s cubic-bezier(0.5, 0.24, 0, 1);
}

.button::before {
    left: 0;
    bottom: 0;
    background: #D86F98;
    box-shadow: inset 0px 0px 0px #b6cdef;
}

.button::after {
    right: 0;
    top: 0;
    background: #a9c1e8;
    transition: all 0.4s cubic-bezier(0.7, 0.25, 0, 1);
}

.button:hover::before {
    width: 100%;
}

.button:hover::after {
    width: 100%;
}

.button:hover {
    border-left: 1px solid #b6cdef;
    border-right: 1px solid #6098ff;
}
.sidebar {
    width: 230px;
    top: 190px;
    background-color: grey;
    color: white;
    height: 50vh;
    position: fixed;
    transition: transform 0.3s ease;
    overflow-y: auto;
    z-index: 1;
}

.main-menu {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.main-menu > li {
    position: relative;
}

.main-menu a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    cursor: pointer;
}

.main-menu a:hover {
    background-color: #444;
}

.sub-menu {
    list-style-type: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: #444;
}

.sub-menu li a {
    padding: 10px 40px;
    color: #D5ECFD;
}

.sub-menu.open {
    max-height: 400px;
    overflow-y: auto;
}
#EcoleDirecte{
    display:flex;
    flex-direction: column;
    align-items: center;
    padding:10px;
}

#pictureEcole{
    width:400px;
    height:61.25px
}

#msgEcoleParent{
    color:#0E3E85;
    font-weight: bold;
    font-size:20px;
    text-align: center;
}

#texteEcoleDirecte{
    text-align:start;
    padding-left:50px;
    padding-right:50px;
    text-align:center;
}

#tutoEcoleDirecte{
    color:#0E3E85;
    font-weight: bold;
    font-size:14px;
    text-align: center;"

}

#pied {
    color: grey;
    background: white;
    border-top: 2px solid grey;
    width: 100%;
    padding: auto;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.social-icons{
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.footer-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 80%;
    color: grey;
    background: white;
}

.footer-section{
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
}
.footer-section li a {
    color: #2358A5;
}

.footer-bottom{
    text-align: center;
}

/***********************************************************/
/**********************************************************/

@media (max-width: 1500px) {

        .bloc-pages {
            margin-top:130px;
        }

    #Bienvenue{
    font-size:35px !important;
    }

    #logo1, #titre_principal {
        display: none;
    }

    #logo2 {
        display: block;
        width: 146px;
        height: 95px;
    }

    .master-container {
        position: fixed ! important;
        display: flex;
        justify-content: space-around;
        align-items: center;
        width: 100%;
        background: white;
        border-bottom: 2px solid grey;
        z-index: 2;
    }

    .master-container h1 {
        display: block;
        text-align: center;
        color: grey;
    }

    .burger-menu, .bar {
        cursor: pointer;
        transition: 0.4s;
    }

    .bar-1, .bar-2, .bar-3 {
        display:block;
        width: 40px;
        border-top: 6px solid grey;
    }

    .bar-1 {
        padding-top: 6px;
    }

    .bar-2 {
        padding-top: 5px;
    }

    .bar-3 {
        padding-top: 5px;
    }

    #bar-menu {
        display: block;
        color: grey;
    }

    .change .bar-1 {
        transform: rotate(-45deg) translate(-10px, 8px);
        border-top: 6px solid #2358A5;
    }

    .change .bar-2 {
        opacity: 0;
    }

    .change .bar-3 {
        transform: rotate(45deg) translate(-10px, -5px);
        border-top: 6px solid #2358A5;
    }

    .sidebar {
        transform: translateX(-250px);
    }

    .sidebar.open {
        transform: translateX(0);
    }
    .titre-pages {
        font-size:30px;
    }
}
/***********************************************************/
/**********************************************************/
@media (max-width: 1150px) {


       #Bienvenue{
    font-size:35px !important;
    }

    .sous_bloc {
        flex-direction: column;
        align-items: center;
        justify-content: space-around;
        padding-top: 20px;
        width: 100%;
    }

    #sous_bloc_bis {
        flex-direction: column-reverse;
    }

    .horaire {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .bloc_1, .bloc_2 {
        flex-direction: column;
        width: 100%;
    }


    .example, .content {
        width: 290px;
    }
      .bloc-pages {
    margin-top:100px;
}
    .titre-pages {
    font-size:25px;

}
.sous_bloc_ter{
    display: flex;
    flex-direction: column;

}
}

@media (max-width: 800px) {


    .bloc-pages {
    margin-top:20px;
}


     #Bienvenue{
    font-size:25px !important;
    }


    .footer-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 80%;
    color: grey;
    background: white;
}
    .bloc-pages {
        top: 90px;
        padding-bottom:150px;
    }

    .slogan {
        margin-top: 10px;
        flex-direction: column;
        align-items: center;
        font-size: 18px;
    }



    .construction {
        width: 90%;
    }

    #pictureEcole{
    width:200px;
    height:30px
    }
    #msgEcoleParent{
    font-size:15px;
    }
}


