/* Smartphones (portrait) */

@media only screen and (min-width: 320px) and (max-width: 768px) {
    /*  Les "/" sont présent pour effectuer une division, mais le validateur retourne une erreur, alors que d'autres sources fiables affirment que c'est un propriété connu et fonctionelle.    */
    p,
    a {
        font-size: calc(15px + (20 - 15) * ((100vw - 320px) / (768 - 320)));
    }
    h1 {
        font-size: calc(40px + (60 - 40) * ((100vw - 320px) / (768 - 320)));
    }
    h2 {
        font-size: calc(25px + (45 - 25) * ((100vw - 320px) / (768 - 320)));
    }
    .btn1 {
        font-size: calc(15px + (20 - 15) * ((100vw - 768px) / (768 - 320)));
    }
    label.logo {
        font-size: 20px;
        line-height: 60px;
    }
    main {
        margin-top: 60px;
    }
    nav#topMenu {
        height: 60px;
    }
    nav ul {
        top: 60px;
    }
    nav ul li {
        margin: 0 !important;
    }
    nav ul li a {
        font-size: 20px !important;
    }
    .prefTheme,
    label.menubtn {
        line-height: 65px;
    }
    .element ul {
        display: block;
    }
    .element {
        width: auto;
        margin-top: 25px;
        margin-bottom: 25px;
    }
    .contentImg {
        display: none;
    }
    .content {
        width: auto;
    }
    .imgscroll,
    .contentImgAc {
        display: none;
    }
    ul.listNorm {
        text-align: left;
    }
    .boite {
        width: auto;
    }
    .headContent {
        padding-top: 0;
    }
    table,
    thead,
    tbody,
    th,
    td,
    tr {
        display: block;
    }
    th#col2,
    th#col3,
    th#col4 {
        font-size: calc(15px + (20 - 15) * ((100vw - 320px) / (768 - 320)));
    }
    td#col2,
    td#col3,
    td#col4 {
        display: table-cell;
        width: 15rem;
    }
    th#col1 {
        visibility: hidden;
        /* display: none;*/
    }
    thead {
        top: 37px;
    }
    .formulaire {
        width: 100%;
    }
    .imageFormulaireRegister {
        display: none;
    }
    div.Bio {
        display: block;
        width: 100%;
        overflow: hidden;
    }
    .footerIn {
        display: block;
    }
    .footerTexte {
        width: 100%;
        display: block;
        line-height: 25px;
        padding-bottom: 25px;
    }
    .footerLiens a {
        text-align: center;
    }
    .footer .footerDroit {
        display: block;
        text-align: center;
        padding-top: 25px;
    }
    .footer .footerDroit a {
        padding-left: 20px;
        padding-right: 20px;
    }
}


/* Tablettes (portrait) */

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    p,
    a {
        font-size: calc(15px + (20 - 15) * ((100vw - 768px) / (1024 - 768)));
    }
    h1 {
        font-size: calc(45px + (60 - 45) * ((100vw - 768px) / (1024 - 768)));
    }
    h2 {
        font-size: calc(35px + (45 - 35) * ((100vw - 768px) / (1024 - 768)));
    }
    .btn1 {
        font-size: calc(15px + (20 - 15) * ((100vw - 768px) / (1024 - 768)));
    }
    .contentImg {
        display: none;
    }
    .content {
        width: auto;
    }
    .imgscroll,
    .contentImgAc {
        display: none;
    }
    .boite {
        width: auto;
    }
    .formulaire {
        width: 45%;
    }
}


/*  Tablettes et smartphone format paysages */

@media only screen and (min-width: 1024px) and (max-width: 1200px) {
    p,
    a {
        font-size: calc(18px + (20 - 18) * ((100vw - 1200px) / (1200 - 1024)));
    }
    h1 {
        font-size: calc(55px + (60 - 55) * ((100vw - 1200px) / (1200 - 1024)));
    }
    h2 {
        font-size: calc(40px + (45 - 40) * ((100vw - 1200px) / (1200 - 1024)));
    }
}


/*  Pour le menu, mobile et tablette */

@media only screen and (max-width: 1200px) {
    .menubtn {
        display: block;
    }
    .prefTheme {
        display: block;
    }
    ul {
        position: fixed;
        width: 100%;
        height: 100vh;
        background: #000839;
        top: 80px;
        left: 100%;
        text-align: center;
        transition: all .5s;
    }
    nav ul li {
        display: block;
        margin: 50px 0;
    }
    #check:checked~ul {
        padding-top: 60px;
        padding-left: 0;
        padding-right: 0;
        left: 0;
        overflow-y: auto;
        top: 0;
        z-index: -1;
    }
    nav ul li a {
        font-size: 30px;
    }
    .element ul {
        display: block;
        position: initial;
        background: #ffffff;
        width: auto;
        height: auto;
    }
}