/* --- ARTICLE ------------------ \
\ conteneur principal de la page */

article {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    max-height: 400px;
    height: 100%;
    max-width: 600px;
    width: 100%;
}

/* --- .pages -------------------- \
\ conteneur secondaire de la page */

.pages {
    display: flex;
    flex-direction: column;
    align-content: start;
    justify-content: space-around;
    font-size: xx-large;
    font-weight: bolder;
    height: 100%;
}

/* .pages a : liens vers les différentes pages */

.pages a {
    color: #ffffff;
    padding: 4px 12px;
    width: fit-content;
    border: 1px solid #FFFFFF00;
    transition: 150ms;
}

.pages a:hover {
    background: #FFFFFF33;
    border: 1px solid #FFFFFF;
    transition: 50ms;
}

.pagesa:active {
    scale: 0.9;
    transition: 10ms;
}

/* .pages #logo : image du logo IS.ON interractif */

#logo {
    height: 90%;
    transition: 150ms;
}

#logo:hover {
    scale: 1.1;
    rotate: 10deg;
    transition: 80ms;
}

#logo:active {
    scale: 1;
    transition: 10ms;
}

/* --- RESPONSIVE -------------------- \
\ ----------------------------------- */

@media (max-width: 768px) {
    article {
        flex-direction: column-reverse;
        max-height: 400px;
    }

    .pages {
        align-items: center;
        justify-content: space-evenly;
        font-size: x-large;
    }

    #logo {
        margin-bottom: 20px;
        height: 200px;
    }
    #logo:hover {
        scale: unset;
        rotate: unset;
    }
    #logo:active {
        scale: 0.9;
    }
}