:root{
    --col_fuchia    : #EA5398;
    --col_bleu      : #34F9FF;
    --col_rose      : #FFADC0;
    --col_jaune     : #FFED35;
    --col_violet    : #A971AD;
    --col_orange    : #FFBC49;
    --col_turquoise : #51FCDC;
    --col_marine    : #5B88C5;
    --col_rouge     : #F7545C;
    --col_bleu_ciel : #009FE3;

    --def_white: rgb(255, 255, 255);
    --def_black: rgb(27, 27, 37)
}

@font-face {
  font-family: adigiana_toybox;
  src: url('fonts/AdigianaUI.ttf')  format('truetype');
}

html, body{
    display: flex;
    height: 100%;
    margin: 0;
    flex-direction: column;
}

@media (prefers-color-scheme: dark){
    body
    {
        --background: var(--def_black);
        --main_color: var(--def_white);
    }
}
@media (prefers-color-scheme: light){
    body
    {
        --background: var(--def_white);
        --main_color: var(--def_black);
    }
}

body{
    font-family: Avenir, sans-serif;
    z-index: -5;
    background: var(--background);
    color: var(--main_color);

    font-size: 20px;
}

.page{
    margin-top: 100px;
    flex: 1;
    width: 100%;
    background-color: var(--background);
}

.content {
    margin-top: 20px;
    margin-bottom: 50px;

    margin-left: auto;
    margin-right: auto;
    max-width: 1000px;

    text-align: justify;

    flex:1;
}

.content h2{
    font-family: adigiana_toybox;
    color: var(--col_marine);
}

.col {
    /*max-width: 600px;*/
    padding-left: 20px;

    border: var(--col_marine) 2px;
    border-left-style: solid;
}

.info-button{
    border: solid 2px;
    
    border-radius: 10px;

    width: calc(50% - 4px);

    transition: all ease 0.1s;

    display: inline;
    color: var(--def_white);

    transition: background-color ease 0.2s;
}

#confiance-b{
    border-color:  var(--col_marine);
    background-color: var(--col_bleu_ciel);
}
#confiance-b:hover{
    background-color: var(--col_rouge);
}
#confiance{
    color: var(--col_bleu_ciel);
}

#personnalisee-b{
    border-color:  var(--col_fuchia);
    background-color: var(--col_orange);
}
#personnalisee-b:hover{
    background-color: var(--col_rouge);
}
#personnalisee{
    color: var(--col_orange);
}


#creativite-b{
    border-color:  var(--col_rose);
    background-color: var(--col_fuchia);
}
#creativite-b:hover{
    background-color: var(--col_orange);
}
#creativite{
    color: var(--col_fuchia);
}


#terrain-b{
    border-color:  var(--col_bleu);
    background-color: var(--col_violet);
}
#terrain-b:hover{
    background-color: var(--col_marine);
    color:white;
}
#terrain{
    color: var(--col_violet);
}




.pedag-info{
    transition: color ease 0.1s;
}


.table-horaire{
    justify-self: center;
    background-color: #cccccc;
    text-align: center;
    border: #4433aa solid 1px;

    border-collapse:separate;
    border-spacing:0;

    border-radius: 5px;
}
.table-horaire th{
    background-color: var(--col_marine);
    border: #4433aa  solid 1px;
}

.table-horaire td{
    background-color: var(--col_orange);
    border: #4433aa  solid 1px;
}

.table-horaire th,td{
    width: 100px;
    padding: 5px;
}


#empty-cell{
    background-color: var(--col_rouge);
}


.table-tarifs{
    justify-self: center;
    background-color: #cccccc;
    text-align: center;
    border: #4433aa solid 1px;

    border-collapse:separate;
    border-spacing:0;

    border-radius: 5px;
}
.table-tarifs th{
    background-color: var(--col_marine);
    border: #4433aa  solid 1px;
}

.table-tarifs td{
    background-color: var(--col_orange);
    border: #4433aa  solid 1px;
}

.table-tarifs th,td{
    width: 80px;
    padding: 5px;
}

#tarrif-minmax {
    background-color: var(--col_violet);
}

header{
    position: fixed;
}

/*@media (prefers-color-scheme: dark){
    body
    {
        background: rgb(0, 0, 0);
        color: rgb(255, 255, 255);
    }
}
@media (prefers-color-scheme: light){
    body
    {
        background: rgb(255, 255, 255);
        color: rgb(0, 0, 0);
    }
}*/

.footer{
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: var(--col_marine);
    align-items: center;
    padding: 10px;
    margin: 0;

    font-size: 15px;
}

.footer a{
    text-decoration: none;
    color: var(--background);
}

.footer h1 {
    text-align: center;
    color: var(--def_white);
}

.social-icon {
    height: 48px;
    width: 48px;
}

hr {
    width: 95%;
}

#contact-info {
    display: flex;
    flex-direction: row;
    margin: 0;
}

#contact-info p{
    padding-left: 10px;
    padding-right: 10px;
    margin: 0;
    vertical-align: baseline;
}

#map-info {
    display: flex;
    flex-direction: row;
    margin: 0;
}

#map-info p{
    padding-left: 10px;
    padding-right: 10px;
    margin: 0;
    vertical-align: baseline;
}

.navbar{
    position: fixed;
    z-index: 1001;
    display: flex;
    width: 100%;
    border: black 0;
    border-bottom-style: solid;
    background-color: var(--col_marine);
    align-items: stretch;
}

.div-logo {
    align-self: center;
    margin-left: 20px;
    margin-right: 20px;
}


.navbar-link{
    color: var(--def_white);
    margin: 2px;
    border: rgb(4, 0, 54) solid 0;
    border-radius: 5px;
    padding: 5px;
    width: 100px;

    list-style-type:none;

    display: inline-block;

    transition: transform 0.2s ease;
}
#home.navbar-link {
    background-color: var(--col_fuchia);
}
#propos.navbar-link {
    background-color: var(--col_orange);
    width: 120px;
}
#ecole.navbar-link {
    background-color: var(--col_rouge);
}
#equipe.navbar-link {
    background-color: var(--col_fuchia);
}
#infos.navbar-link {
    background-color: var(--col_orange);
    width: 180px;
}
#tarifs.navbar-link {
    background-color: var(--col_rouge);
}
#temoignages.navbar-link {
    background-color: var(--col_fuchia);
    width: 150px;
}



.navbar-link:hover{
    transform: translateY(-5px);
}

.banner-image {
    object-fit: cover; 
    position: fixed; 
    z-index: -5; 
    top:75px;
    width: 100%;
}



.navbar a{
    text-decoration: none;
}

.burger-menu-parent-div {
    padding: 0;
    display: inline;
}



.burger-menu-button {
    align-items: flex-end;
    display: none;
    width: 50px;
    height: 100%;
}
.burger-menu-phone {
    display: none;
}

.map-div{
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 1000px;
}

.map-div-iframe{
    overflow: hidden;
    border-radius: 20px;
    border-style: solid ;
    border-width: 0;
}

.equipe-medaillon {
    margin-top: 20px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: row;
}

.medaillon{
    width: 256px;
    height: 256px;
    border-radius: 50%;
    margin-right: 20px;
    object-fit: cover;
}
.dropdown{
    display: none;
}

@media (max-width:800px) {
    .navbar {
        margin: auto;
        flex-direction: row;
        justify-content: stretch;
        align-items: center;
        display: flex;
        width: calc(100%);
    }
    .navbar-link{
        
        align-self: center;
        display: block;
        margin: auto;
        margin-top: 10px;
        margin-bottom: 10px;
        flex: 1;
        padding: 10px;
        text-align: center;
    }
    .navbar-link:hover{
        transform: translateY(0px);
        transform: translateX(0px);
    }
    .dropdown{
        display: block;
        width: 40.25px;
        height: 40.25px;
        margin: 10px;
        margin-right: 25px;
        background-color: var(--col_orange);
        border: none;
        border-radius: 5px;
    }
    .dropdown img{
        margin: 0;
        padding: 0;
    }
    .div-logo{
        margin: auto;
        
        z-index: 1000;
        flex-direction: row;
        justify-content: stretch;
        align-items: center;
        display: flex;
    }
    .burger-menu-parent-div{
        transition: 0.2s ease left;
        z-index: 999;
        position: fixed;
        top: 0;
        left: -100vw;
        background-color: var(--col_marine);
        width: 100vw;
        height: 100vh;
    }
    .burger-menu-parent-div-down {
        left: 0;
    }
    .burger-menu-desktop{
        display: flex;
        align-items: center;
        flex-direction: column;
        margin-top: calc(50vh - 220px);

    }
    .banner-image {
        top: 80px;
        width: 100%;
    }
    .content {
        max-width: calc(100% - 80px);
        text-align: left;
    }
    .footer {
        width: calc(100% - 20px);
        flex-direction: column;
    }
    #contact-info {
        display: block;
        text-align: center;
    }
    .contact-info p{
        margin: 5px;
    }
    .map-info {
        flex-direction: row;
    }
    .navbar-logo {
        padding-top: 20px;
        padding-bottom: 20px;
    }
    .page {
        margin-top: 80px;
    }
    .equipe-medaillon {
        flex-direction: column;
        margin-bottom: 50px;
    }
    .medaillon {
        flex: 1;
        margin: auto;
    }
    .map-div-iframe{
        width: calc(100%);
    }

    h2{
        text-align: center;
    }

    table {
        font-size: 12px;
    }
    .info-button{
        width: calc(100% - 20px);
        display: block;
    }
    
}