/*
Theme Name: hello-elementor-child
Description: Hello Elementor Child
Author: Etienne
Author URI: https://maisons-eglantine.agencethrive.fr//
Template: hello-elementor
Version: 0.1.0
*/

/* Global */
:root {
    overflow-x: hidden;
}

html {
    margin-top: 0px !important;
    overflow-x: hidden;
}

body {
    background-color: #FAFAFA !important;
    overflow-x: hidden;
}

.site-header {
    background-color: #006764;
    padding: 10px 50px;
    margin: 0 !important;
}

.site-header .for-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 80px;
}

.site-title h1,
h1 {
    color: #764000;
    margin: 0;
    font-family: "Red Hat Display", Sans-serif;
    font-size: 50px;
    font-weight: 800;
    text-align: center;
}

.site-navigation .menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-navigation .menu li {
    margin-right: 20px;
}

.site-navigation .menu li:last-child {
    margin-right: 0;
}

.site-navigation .menu li a {
    color: white;
    text-decoration: none;
}

.mobile-menu {
    display: none;
}

/* Style du menu burger pour la version mobile */
.mobile-menu-toggle {
    display: none;
}

.mobile-menu-toggle span {
    display: block;
    width: 30px;
    height: 4px;
    background-color: #fff;
    margin-bottom: 5px;
}

/*formulaire connexion enfants*/
.connect form {
    font-family: "Red Hat Display", sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 250px;
    border: 1px solid #006764;
    border-radius: 20px;
    padding: 20px;
    gap: 20px;
}

.connect form input {
    border-radius: 10px;
    padding: 10px;
}

/*page brevet*/
.intercalaires {
    display: flex;
    gap: 5px;
    height: 60px;
    padding: 10px 50px;
}

.intercalaires p {
    width: 120px;
    text-align: center;
    align-self: center;
    padding: 10px 0;
    border: 1px solid #006764;
    border-radius: 10px 10px 0 0;
    font-family: "Red Hat Display", Sans-serif;
}

/* toutes les matières */
.intercalaires p.all {
    background-color: #006764;
}

.intercalaires p.all a {
    color: #fff;
    font-family: "Red Hat Display", Sans-serif;
}
.intercalaires p.francais a, .intercalaires p.mathematiques a, .intercalaires p.histoire-geo a, .intercalaires p.anglais a, .intercalaires p.biologie a, .intercalaires p.espagnol a, .intercalaires p.physique a {
    color: #fff;
}
/* francais */
.intercalaires p.francais {
    background-color: #001167;
}

/* mathematiques */
.intercalaires p.mathematiques {
    background-color: #67001b;
}

/* hist-géo */
.intercalaires p.histoire-geo {
    background: linear-gradient(110deg, #F2C700 60%, #088FBF 60%);
}

/* anglais */
.intercalaires p.anglais {
    background: linear-gradient(110deg, #F60002 60%, #100F81 60%);
}

/* biologie */
.intercalaires p.biologie {
    background-color: #5AAC31;
}

/* espagnol */
.intercalaires p.espagnol {
    background: linear-gradient(110deg, #F60002 60%, #F6DF00 60%);
}

/* physique */
.intercalaires p.physique {
    background: linear-gradient(110deg, #5A006C 60%, #0082F3 60%);
}
/* st2s */
.intercalaires p.st2s {
    background: linear-gradient(110deg, #C10100 60%, #290001 60%);
}


.intercalaires p:hover {
    background-color: #764000;
}

.intercalaires p:hover a {
    color: #fff;
}

.intercalaires p a {
    text-decoration: none;
}

.brevet-courses {
    display: flex;
    gap: 20px;
    padding: 10px 50px;
}

.brevet-courses a {
    text-decoration: none;
    height: 150px;
    width: 170px;
    padding: 10px;
    border: 1px solid black;
    border-radius: 20px;
}

.brevet-courses a p {
    color: #fff;
    font-family: "Red Hat Display", Sans-serif;
}

.brevet-courses a.francais {
    background-color: #00116780;
}

.brevet-courses a.mathematiques {
    background-color: #67001b80;
}

.brevet-courses a.histoire-geo {
    background-color: #F2C70080;
}

.brevet-courses a.anglais {
    background-color: #C0000280;
}
.brevet-courses a.biologie {
    background-color: #5AAC3180;
}
.brevet-courses a.espagnol {
    background-color: #F6000280;
}
.brevet-courses a.physique {
    background-color: #5A006C80;
}
.brevet-courses a.st2s {
    background-color: #C1010080;
}



/* page creer une fiche */
.page-template-creer-une-fiche form {
    display: flex;
    flex-direction: column;
    width: 50%;
    margin: auto;
    padding: 20px;
}

.page-template-creer-une-fiche #wpadminbar {
    display: none;
}

.page-template-creer-une-fiche form textarea {
    height: 30vh;
    border-radius: 10px;
}

.page-template-creer-une-fiche form input,
.page-template-creer-une-fiche form select {
    height: 30px;
    border-radius: 10px;
}

/*page THRIVE*/
.gallery {
    height: 200px;
}

.gallery figure,
.gallery figure div,
.gallery figure div a,
.gallery figure div a img {
    height: 100%;
    object-fit: cover;
}









/*Footer*/
.site-footer {
    background-color: #006764;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 0;
}

.footer-widgets {
    padding: 0 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: "Red Hat Display", Sans-serif;
}

.footer-widgets .box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-widgets .box .num {
    font-size: xx-large;
}

@media screen and (max-width: 768px) {

    .site-title h1,
    h1 {
        font-size: 30px;
    }

    .site-navigation .menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
        cursor: pointer;
        padding: 10px;
    }

    .mobile-menu {
        display: none;
        position: fixed;
        top: 100px;
        left: -100%;
        bottom: -100%;
        width: 100%;
        height: 100vh;
        background-color: #333;
        transition: bottom 10s step-start;
        z-index: 100;
    }

    .mobile-menu.active {
        display: flex;
        margin-top: 10px;
        background-color: #EEEEEE;
        height: 100vh;
        border-radius: 20px;
        left: 0;
        bottom: 0;
    }
    body.mobile-menu.active {
        overflow: hidden;
    }
    .mobile-menu.active li{
        list-style-type: "🏆";
    }
    .brevet-courses {
        flex-wrap: wrap;
        justify-content: center;
    }

    .intercalaires {
        height: inherit;
        flex-wrap: wrap;
    }
}