@import url('https://fonts.googleapis.com/css2?family=Cabin:ital,wght@0,400..700;1,400..700&display=swap');

.cabin {
    font-family: "Cabin", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings:
        "wdth" 100;
}

/* J'ai décidé de chercher la police officielle de UNO */

@media only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px) {

    aside {
        position: relative;
        height: 300px;
        right: 334px;
        top: 980px;
    }

    nav {
        height: 300px;
    }

    article {
        margin-right: -10px;
    }

}

/* Les couleurs sont inspirées de la boîte en carton du UNO All Wild! */

html {
    background-color: #432973;
    font-family: "Cabin", sans-serif;
    min-height: 100%;
    cursor: crosshair;
}

/* Les titres utilisent text-transform: uppercase afin d'avoir un site fonctionnel et non moche si le CSS ne se charge pas */

h1 {
    text-transform: uppercase;
    font-size: 2.2em;
}

h2 {
    text-transform: uppercase;
    font-size: 2em;
}

h3 {
    text-transform: uppercase;
    font-size: 1.8em;
}

p {
    font-weight: 500;
    font-size: 1.5em;
}

a {
    font-family: "Cabin", sans-serif;
    font-size: 1em;
    text-decoration: none;
    color: blue;
}

a:hover {
    color: orange;
    text-decoration: none;
}

.textsection {
    width: 60%;
    text-align: justify;
    margin: auto;
}

#headersection {
    margin: auto;
    text-align: center;
}

#flexbox {
    display: flex;
    width: 100%;
}

#headerpage {
    height: fit-content;
    border-radius: 10px;
    background-color: #f9ef0a;
    padding: 10px;
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 10px;
    text-align: center;
}

#divheader {
    width: 75%;
    text-align: justify;
    margin: auto;
}

/* Le NAV et le ASIDE sont strictement pareil, à l'exception du Float */

nav {
    min-height: 950px;
    width: 180px;
    background-color: white;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    margin: 10px;
}

aside {
    min-height: 950px;
    width: 180px;
    background-color: white;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    margin: 10px;
}

/* La section ne s'affiche pas correctement lorsque l'on zoom
dans la page ou si on réduit trop la largeur à cause de la
mise en page utilsiant des divs. */

section {
    width: 100%;
    top: 10px;
    position: relative;
    min-height: 950px;
    text-align: center;
    background-color: #f50703;
    border-radius: 10px;
    padding-top: 10px;
    color: white;
    margin-bottom: 20px;
}

#footersection {
    text-align: center;
    margin: 10px;
    padding-bottom: 0px;
}

#footerpage {
    clear: both;
    background-color: #0b8df6;
    border-radius: 10px;
    height: 100px;
    text-align: center;
    align-content: center;
    color: white;
    font-style: italic;
    margin-left: 10px;
    margin-right: 10px;
}

table {
    line-height: 4;
    margin-top: 150px;
    margin-left: auto;
    margin-right: auto;
}