/*STYLES GÉNÉRAUX*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Gill Sans';
}

h1 {
    font-size: 50px;
    line-height: 54px;
    color: #dbf6ff;
}

h2 {
    font-size: 40px;
    line-height: 60px;
    color: #222;
}

h4 {
    font-size: 20px;
    color: #dbf6ff;
}

h5 {
    font-size: 18px;
    color: #222;
    padding-block:10px;
}

h6 {
    font-weight: 700;
    font-size: 12px;
}

p {
    font-size: 18px;
    color: #0b1a33;
    margin: 15px 0 20px 0;
}

ol {
    margin-left: 5%;
}

li {
    list-style: decimal;
    line-height: 1.5rem;
    margin-bottom: 3%;
}

a {
    cursor: pointer;
}

.section-p1 {
    padding: 40px 80px;
}

.section-m1 {
    margin: 40px 0;
}

body {
    width: 100%;
    min-height: 100%;
    background-color: #F0F4F8;
}

#banniere {
    background-image: url("images/banniere.avif");
    background-color: transparent;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    width: 95%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    margin-top: 5%;
    z-index: 1;
    filter: drop-shadow(0px 4px 8px rgba(16, 26, 77, 0.5));
    padding: 1% 1%;
}

#instructions {
    margin-top: 1%;
    margin-right: 7.5%;
    margin-left: 7.5%;
    border: 5px double #0b1a33;
    padding: 2% 2%;
}

/*HEADER SECTION*/
/*#signet {
    position: absolute;
    z-index: 999;
    top: -100%;
    left: 1.5%;
    filter: drop-shadow(0px 4px 8px rgba(16, 26, 77, 0.5));
}*/

#header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.70% 2%;
    padding-left: 3%;
    background: #00608c;
    box-shadow: 0 5px 15px rgba(16, 26, 77, 0.5);
    z-index: 998;
    position: sticky;
    top: 0;
    left: 0;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.topnav {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
    white-space: nowrap;
}

    .topnav li {
        list-style: none;
        padding: 0 5px;
        position: relative;
        margin-bottom: 0%;
    }

        .topnav li a {
            text-decoration: none;
            font-size: 20px;
            font-weight: 600;
            color: #dbf6ff;
            border: 2px solid transparent;
            padding: 0 20px;
            border-radius: 5px;
            transition: 0.3s ease;
        }

            .topnav li a:hover,
            .topnav li a.active {
                color: #0b1a33;
                border: 2px solid;
                padding: 0 20px;
                border-radius: 5px;
            }


        .topnav .icon {
            display: none;
        }

.sidebar {
    height: 100%;
    width: 250px;
    position: fixed;
    top: 0;
    left: -250px; /* hidden */
    background-color: #0b1a33;
    padding-top: 60px;
    transition: 0.3s ease;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    border: 2px solid #000000;
    display: flex;
    flex-direction: column;
}

    .sidebar a {
        padding: 10px 20px;
        text-decoration: none;
        font-size: 18px;
        color: #dbf6ff;
        display: block;
        transition: 0.2s;
        border: 2px solid transparent;
    }

        .sidebar a:hover, .sidebar a.active {
            color: #dbf6ff;
            border: 2px solid;
            border-radius: 5px;
        }

    .sidebar img {
        margin-top: auto;
        margin-bottom:10px;
        width: 50%;
        height: auto;
        margin-left: 20px;
    }

/* Sidebar active (slides in) */
.sidebar.active {
    left: 0;
}

/*HOME PAGE*/
#turbowords {
    height: auto;
    width: 100%;
    position: relative;
    padding-bottom: 5%;
    display: grid;
}

    #turbowords #imageTel {
        grid-area: left;
        margin-top: 2%;
        z-index: 2;
    }

    #turbowords #banniere {
        grid-area: upRight;
        width: 90%;
        margin-top: 8%;
    }

#groupeBoutons {
    grid-area: right;
    text-align: center;
}

    #groupeBoutons #download {
        background-image: url("images/apple.avif");
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        cursor: pointer;
        width: 175px;
        height: 53px;
        box-shadow: 10px 10px 20px rgba(16, 26, 77, 0.2);
        margin: 5% 20%;
        display: inline-block;
        border-radius: 5px;
        transition: 0.3s ease;
    }

        #groupeBoutons #download:hover {
            box-shadow: 10px 10px 20px rgba(255, 255, 255,0.5);
        }

    #groupeBoutons #button {
        background-color: #00608c;
        background-size: 100px;
        border: 2px solid transparent;
        border-radius: 20px;
        padding: 14px 65px 14px 65px;
        width: 70%;
        font-weight: 700;
        font-size: 18px;
        font-stretch: extra-expanded;
        cursor: pointer;
        box-shadow: 10px 10px 20px rgba(16, 26, 77, 0.2);
        margin: 2% 0%;
        color: #dbf6ff;
        display: inline-block;
        text-decoration: none;
        transition: 0.3s ease;
    }

        #groupeBoutons #button:hover {
            color: #0b1a33;
            box-shadow: 10px 10px 20px rgba(255, 255, 255,0.5);
            border: 2px solid;
        }

        #groupeBoutons #credits {
            margin-top: 10%;
        }

/*SEND YOUR SPELLING TESTS PAGE*/
#sendSpellingTest {
    height: auto;
    width: 100%;
    position: relative;
    padding-bottom: 5%;
    display: grid;
}
    #sendSpellingTest #banniere {
        grid-area: 1 / 1 / span 1 / span 2;
    }

    #sendSpellingTest #instructions {
        grid-area: 2 / 1 / span 1 / span 2;
    }

        #sendSpellingTest #instructions p {
            margin-left: 5%;
        }

    #sendSpellingTest img {
        grid-area: 1 / 4 / span 2 / span 1;
        width: 90%;
        height: auto;
        margin-top: 8%;
        top: 0px;
        left: 0px;
        border: solid #0b1a33;
        border-radius: 20px;
    }


/*PRIVACY POLICY PAGE*/
#privacyPolicy {
    height: auto;
    width: 100%;
    position: relative;
    padding-bottom: 5%;
}
    #privacyPolicy #instructions #secondlist li {
        list-style: circle;
        line-height: 1.5rem;
        margin-bottom: 0.5%;
    }

    #privacyPolicy img {
        width: 100%;
        height: auto;
        border: solid #0b1a33;
        border-radius: 20px;
    }

/*FOOTER SECTION*/
footer {
    width: 100%;
    left: 0;
    bottom: 0;
    background-color: #0b1a33;
    text-align: center;
    min-height: 150px;
    padding-top: 2%;
    padding-bottom: 1%;
}
    footer#support{
        position: absolute;
    }

    footer h4 {
        color: #dbf6ff;
        padding-bottom: 2%;
    }

    footer p {
        color: #dbf6ff;
        padding-left: 1%;
        padding-right: 1%;
    }

/*RESPONSIVE DESIGN*/
@media only screen and (max-width: 600px) {
    #turbowords #imageTel {
        grid-area: 2 / span 6;
        text-align: center;
    }

        #turbowords #imageTel img {
            width: 80%;
            height: auto;
        }

    #turbowords #banniere {
        grid-area: 1 / span 6;
        position: relative;
    }

    #groupeBoutons {
        grid-area: 3 / span 6;
        padding-top: 0%;
    }
}

@media only screen and (min-width: 600px) {
    #turbowords #imageTel {
        grid-area: 2 / 2 / 2 / 4;
        text-align: center;
    }

        #turbowords #imageTel img {
            width: 100%;
            height: auto;
        }

    #turbowords #banniere {
        grid-area: 1 / span 6;
        position: relative;
    }

    #groupeBoutons {
        grid-area: 2 / 5 / 2 / 6;
        padding-top: 0%;
    }
}

@media screen and (max-width: 750px) {
    .topnav li:not(:last-child) {
        display: none;
    }

    .topnav li .icon {
        float: right;
        display: block;
    }

    #sendSpellingTest #banniere {
        grid-area: 1 / 1 / span 1 / span 1;
    }

    #sendSpellingTest #instructions {
        grid-area: 2 / 1 / span 1 / span 1;
    }

    #sendSpellingTest img {
        grid-area: 3 / 1 / span 1 / span 1;
        margin-left: 5%;
    }
}

@media only screen and (min-width: 1000px) {
    #turbowords #imageTel {
        grid-area: 1 / 1 / 1 / 3;
        text-align: right;
    }

        #turbowords #imageTel img {
            width: 70%;
            height: auto;
        }

    #turbowords #banniere {
        grid-area: 1 / 2 / 1 / 5;
        padding-left: 25%;
        position: absolute;
    }

    #groupeBoutons {
        grid-area: 1 / 3 / 1 / 5;
        padding-top: 20%;
        padding-right: 10%;
    }
}
