/* Importation de la police */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Saira+Condensed:wght@100;200;300;400;500;600;700;800;900&family=Urbanist:ital,wght@0,100..900;1,100..900&display=swap');
 
/* Polices Appliquées */
h1 {
    font-size: 40px;
    font-family: "Saira Condensed";
}

h2 {
    font-size: 20px;
    font-family: "Arial";
    color: rgba(255, 255, 255, 0.9);
}

    
/* HEADER (Ordinateur)*/
@media (min-width: 765px) {

    header {
        display: flex;
        justify-content: space-around;
        align-items: center;
        align-self: stretch;
        font-family: "Bebas Neue";

        position: sticky;
        top: 0;
        left: 0;
        z-index: 10;

        background-color: #1b1a19;
        border-radius: 10px;
    }

    header a {
        display: inline-block;
        border-radius: 8px;
        transition: all 0.3s ease;
    }

    header a:hover {
        transform: scale(1.05);
        background: rgba(255, 255, 255, 0.1);
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
    }

    header nav {
        display: flex;
        gap: 20px;
    }

    header nav a {
        text-decoration: none;
        color: white;

        padding: 10px;
        border-radius: 5px;
    }

    .nav_pages a {
        background-color: #538b32;
    }
    .nav_account a {
        background-color: #C18845;
    }

    .logo {
        width: 100px;
        height: auto;

        padding-right: 130px;    
    }

    .bottom_header {
        display: flex;
        justify-content: center;
    }

    .icon {
        width: 200px;
        height: auto;
    }
}

/* HEADER (mobile)*/
@media (max-width: 765px) and (min-width: 360px) {

    header {
        display: flex;
        justify-content: space-around;
        align-items: center;
        align-self: stretch;
        font-family: "Bebas Neue";

        position: sticky;
        top: 0;
        left: 0;
        z-index: 10;

        background-color: #1b1a19;
        border-radius: 10px;
    }

    header a {
        display: inline-block;
        border-radius: 8px;
        transition: all 0.3s ease;
    }

    header a:hover {
        transform: scale(1.05);
        background: rgba(255, 255, 255, 0.1);
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
    }

    header nav {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    header nav a {
        text-decoration: none;
        color: white;

        padding: 5px;
        margin: 2px;

        width: 100px;
    }

    .nav_pages a {
        background-color: #538b32;
    }
    .nav_account a {
        background-color: #C18845;
    }

    .logo {
        width: 100px;
        height: auto;
    }

    .bottom_header {
        display: flex;
        justify-content: center;
    }

    .icon {
        width: 0px;
        height: auto;
    }
}


/* HEADER (Microndes (oui c'est de l'abus...) )*/
@media (max-width: 360px) {

    header {
        display: flex;
        align-items: center;
        align-self: stretch;
        flex-direction: column;

        font-family: "Bebas Neue";

        background-color: #1b1a19;
        border-radius: 10px;
    }

    header a {
        display: inline-block;
        border-radius: 8px;
        transition: all 0.3s ease;
    }

    header a:hover {
        transform: scale(1.05);
        background: rgba(255, 255, 255, 0.1);
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
    }

    header nav {
        display: flex;
        flex-direction: column;
        align-items: center;

        width: 80%;
    }

    header nav a {
        text-decoration: none;
        color: white;

        padding: 10px;
        margin: 2px;

        text-align: center;

        width: 100%;
    }

    .nav_pages a {
        background-color: #538b32;
    }
    .nav_account a {
        background-color: #C18845;
    }

    .logo {
        width: 100px;
        height: auto;
    }

    .bottom_header {
        display: flex;
        justify-content: center;
    }

    .icon {
        width: 0px;
        height: auto;
    }
}




/* Footer (ordinateur) */

footer {
    background-color: #1b1a19;
    color: white;

    font-family: "Saira Condensed";

    border-radius: 10px 10px 0 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.4);

    margin-top: 50px;
}

.footer_container {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap;

    padding: 30px 20px;
    gap: 40px;
}

.footer_box {
    text-align: center;
    
    min-width: 250px;
    max-width: 350px;
}

.footer_box h4 {
    font-family: "Bebas Neue";
    font-size: 22px;
    margin-bottom: 10px;
    color: #C18845;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer_box p {
    font-size: 15px;
    color: rgba(255,255,255,0.85);
    margin: 5px 0;
}

.footer_names {
    color: #538b32;
    font-weight: 600;
}

.footer_source {
    font-style: italic;
    color: rgba(255,255,255,0.6);
}

.footer_socials {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.footer_socials a {
    color: white;
    text-decoration: none;
    background-color: #538b32;
    border-radius: 8px;
    padding: 6px 12px;
    width: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.footer_socials a:hover {
    transform: scale(1.05);
    background-color: #6bb84b;
    box-shadow: 0 0 10px rgba(255,255,255,0.3);
}

.footer_socials img {
    width: 18px;
    height: 18px;
}

.footer_img {
    width: 120px;
    height: auto;
    margin: 10px 0;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.footer_img:hover {
    transform: scale(1.1);
}

.footer_bottom {
    text-align: center;
    background-color: #141312;
    padding: 10px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

/* Footer (mobile) */
@media (max-width: 765px) {
    .footer_container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer_box {
        max-width: 90%;
    }

    .footer_socials a {
        width: 200px;
    }
}
