/* Styles généraux */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
}

/* FONTS */

@font-face {
    font-family: 'circular_stdmedium';
    src: url('../styles/fonts/circularstd-medium-webfont.woff2') format('woff2'),
         url('../styles/fonts/circularstd-medium-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'circular_stdbook';
    src: url('../styles/fonts/circularstd-book-webfont.woff2') format('woff2'),
         url('../styles/fonts/circularstd-book-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'circular_stdbold';
    src: url('../styles/fonts/circularstd-bold-webfont.woff2') format('woff2'),
         url('../styles/fonts/circularstd-bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'circular_stdlight';
    src: url('../styles/fonts/circularstd-light-webfont.woff2') format('woff2'),
         url('../styles/fonts/circularstd-light-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'circular_stdblack';
    src: url('../styles/fonts/circularstd-black-webfont.woff2') format('woff2'),
         url('../styles/fonts/circularstd-black-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

h1 {
    margin-bottom: 36px;
    text-align: start;
    font-family: 'circular_stdblack', sans-serif;
    font-size: 36px;
    color: rgb(30,52,149);
}

h2 {
    margin-top: 50px;
    font-family: 'circular_stdmedium', sans-serif;
    color: rgb(30,52,149);
}

h3 {
    margin-top: 25px;
    font-family: 'circular_stdbook', sans-serif;
    color: rgb(30,52,149);
}

p, li, a, span, label, input, select, textarea{
    font-family: 'circular_stdlight', sans-serif;
    margin: 20px 0;
}

/* Styles du header */
header {
    background-color: rgb(30,52,149);
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    position: fixed;
    top: 0;
    z-index: 1000;
    width: 100%;
    align-items: center;
}

.logo-desktop {
    display: none;
}

.logo-mobile img {
    width: 60px;
}

/* Styles du menu burger */
.menu-burger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    position: absolute;
    right: 20px;
}
.menu-burger span {
    height: 2px;
    width: 30px;
    background-color: #FFF;
    margin: 5px 0;
    transition: all 0.3s ease;
}

.menu-burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-burger.active span:nth-child(2) {
    opacity: 0;
}

.menu-burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(9px, -9px);
}

/* Styles pour le menu mobile */
.menu {
    display: none;
}

.menu.active {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: rgb(30,52,149);
    position: fixed;
    top: 95px;
    left: 0;
    width: 100%;
    height: 80dvh;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    padding: 10px;
}

.menu a {
    text-decoration: none;
    color: #FFF;
    margin: 20px;
    font-family: 'circular_stdblack', sans-serif;
    transition: .3s;
}

.menu a:hover {
    color: #F9AF18;
}

.solutions-button {
    background-color: #F9AF18;
    color: #000 !important;
    padding: 14px 47px;
    border-radius: 50px;
    text-decoration: none;
    transition: .3s;
}

.solutions-button:hover {
    background-color: #d2951c;
}

/* Styles pour le menu desktop */
@media (min-width: 768px) {
    .menu-burger {
        display: none;
    }
    .menu {
        display: flex;
        align-items: center;
    }
    .menu a {
        margin-left: 20px;
    }

    .logo-desktop {
        display: block;
    }

    .logo-desktop img {
        max-width: 250px;
    }

    .logo-mobile {
        display: none;
    }
}

/* FIN DU HEADER */

.container {
    margin: 150px auto;
    width: 90%;
}

@media (min-width: 768px) {
    .container {
        width: 70%;
    }
}

/* FOOTER SECTION */

.footer {
    background-color:rgb(30,52,149);
    color: white;
    padding: 50px;
    display: flex;
    gap: 50px;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
}

.left-content{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.left-content img {
    max-width: 100px;
    height: auto;
    margin-bottom: 20px;
}

.contact-links {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-links a {
    color:#FFF;
    margin-top: 20px;
    text-decoration: none;
}

.contact-links a img{
    width: 20px;
}

.title-footer {
    font-size: 22px;
}

.menu-footer {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.menu-footer li {
    display: inline-block;
    margin-right: 20px;
}

.menu-footer li:last-child {
    margin-right: 0;
}

.menu-footer li a {
    color: white;
    text-decoration: none;
}

@media (min-width: 768px) {
    .footer {
        flex-direction: row;
    }

    .left-content{
        flex-direction: row;
    }

    .left-content img {
        margin: 0 20px 0 0;
    }

    .contact-links{
        align-items: start;
    }
    
    .contact-links a {
        margin: 0 0 20px 0;
    }

    .contact-links a:last-child {
        margin: 0;
    }
   
}