@import url('https://fonts.googleapis.com/css2?family=Monoton&family=Montserrat:wght@400;600&display=swap');

/* Generale */
html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8;
    font-family: 'Montserrat', sans-serif;
    scroll-behavior: smooth;
}

/* header et navigation */
header #nav, header #mobileNav {
    width: 90%;
    height: 60px;
    border-radius: 30px;
    margin: 20px 5%;
    background-color: rgba(39, 39, 39, 0.5);
    backdrop-filter: blur(5px);
}

header span {
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #f8f8f8;
    font-size: 20px;
}

header .pageName {
    height: 200px;
    margin: 100px auto 20px auto;
    width: 90%;
    background-color: #f8f8f8;
    background-position: center;
    background-size: cover;
    border-radius: 30px;
}

header .pageName .container {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(23, 32, 42, 0.5);
    border-radius: 30px;
}

/* Principal */
main {
    width: 90%;
    margin: auto;
    min-height: calc(100vh - 620px);
}

.com {
    margin: 0 30px;
}

.com img {
    border-radius: 30px;
}

main a {
    font-size: 20px;
    line-height: 20px;
    padding: 10px 50px;
    border-radius: 30px;
    background-color: #547d98;
    color: #f8f8f8;
    text-decoration: none;
    display: inline-block;
}

@media (max-width: 600px) {
    main a {
        font-size: 16px;
        line-height: 20px;
        padding: 10px 20px;
        width: auto;
        text-align: center;
        margin: 10px auto;
    }
}

/* Footer */
footer {
    width: 100%;
    background: #272727;
}

footer .footer {
    width: 55%;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    border-top: 1px solid #f8f8f8;
}

footer .footer .data-links a {
    color: #f8f8f8;
    text-decoration: none;
}

footer .footer .data-links a:hover {
    text-decoration: underline;
}

h4, h5, h6 {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    color: #f8f8f8;
}

h4 {
    width: 75%;
    font-size: 20px;
    min-height: 60px;
    border-top: 1px solid #f8f8f8;
}

h5 {
    font-size: 18px;
}

h6 {
    width: 90%;
    font-size: 20px;
    min-height: 60px;
    border-top: 1px solid #f8f8f8;
}

/* Media Queries pour Tel */
@media only screen and (max-width : 1600px) {
    header #nav {
        display: none;
    }
    header #mobileNav {
        position: fixed;
        top: 0;
        z-index: 2000;
        transition: height 0.8s ease-in-out;
        overflow: hidden;
    }
    header #mobileNav span {
        width: 100%;
        height: 60px;
        border-radius: 30px;
    }
    header #mobileNav span img {
        display: block;
        height: 50px;
        width: 50px;
        border-radius: 25px;
        margin: 5px;
        float: left;
    }
    header #mobileNav i {
        width: calc(100% - 120px);
        height: 60px;
        margin-right: 60px;
        border-radius: 30px;
        float: right;
        line-height: 60px;
        text-align: center;
        transition: transform 0.4s;
    }
    header #mobileNav ul {
        height: auto;
        width: 100%;
        border-radius: 30px;
        padding-left: 0;
        margin: 0;
        list-style: none;
    }
    header #mobileNav ul li {
        height: 50px;
        width: calc(100% - 10px);
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 10px 5px;
        border-radius: 30px;
        line-height: 60px;
        text-align: center;
        transition: background 0.4s;
    }
    header #mobileNav ul li:hover {
        background-color: rgba(75, 75, 75, 0.5);
    }
    header #mobileNav ul a {
        line-height: 50px;
        text-decoration: none;
        color: #f8f8f8;
        width: 100%;
        height: 100%;
        border-radius: 30px;
    }
    header .pageName .container h1 {
        font-size: 40px;
        color: #f8f8f8;
    }
    footer .footer {
        flex-direction: column;
    }
    footer .footer .data-links {
        padding: 10px 20px;
    }
}

/* Media Queries pour Ordi */
@media only screen and (min-width : 1600px) {
    header #mobileNav {
        display: none;
    }
    header #nav {
        display: flex;
        position: fixed;
        top: 0;
        z-index: 2000;
        transition: width 0.8s ease-in-out;
    }
    header #nav img {
        display: block;
        height: 50px;
        width: 50px;
        border-radius: 25px;
        margin: 5px;
    }
    header #nav ul {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 60px;
        width: calc(100% - 120px);
        padding-left: 0;
        margin: 0;
        list-style: none;
        overflow: hidden;
    }
    header #nav ul li {
        font-size: 20px;
        padding: 0 20px;
        white-space: nowrap;
    }
    header #nav ul li a {
        color: #f8f8f8;
        text-decoration: none;
    }
    header .pageName .container h1 {
        font-size: 70px;
        color: #f8f8f8;
    }
    footer .footer .data-links {
        padding: 0 20px;
    }
}
