@font-face {
    font-family: milimetre;
    font-weight: normal;
    src: url(src/Millimetre-Regular.otf)
}

@font-face {
    font-family: milimetre;
    font-weight: 100;
    src: url(src/Millimetre-Light.otf)
}

@font-face {
    font-family: milimetre;
    font-weight: bold;
    src: url(src/Millimetre-Bold.otf)
}


* {
    font-family: milimetre;
    font-weight: normal;
    color: white;
    margin: 0;
}

/*Logo settings*/
#logo {
    width: 120px;
    height: auto;
}

a {
    text-decoration: none;
    cursor: pointer;
}

p {
    font-size: 40px;
    font-weight: normal;
}

h2 {
    font-weight: bold;
    font-size: 70px;
    color: #004f9d;
}

h3 {
    font-weight: bold;
    font-size: 65px;
}

h4 {
    font-size: 50px;
    font-weight: 100;
    z-index: 6;
    color: #004f9d;
}

h5 {
    font-size: 39.9px;
    line-height: 20px;
    font-weight: 100;
}

li {
    color: #004f9d;
}

/*Responsive navigation*/
nav {
    display: none;
}

/*Text logo color*/
.blue {
    color: #004f9d;
}

/*Every flexbox*/
.display-flex-menu,
.display-flex-logo {
    display: flex;
    flex-wrap: row;
    align-items: center;
    justify-content: space-between;
}

.display-flex-menu {
    padding: 75px 85px 30px 75px;
}

.display-flex-logo {
    margin-left: -5px;
}

.display-flex {
    margin: 200px auto 200px auto;
    height: auto;
    max-width: 85%;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
    position: relative;
    z-index: 50;
    gap: 35px;
}

#menu {
    margin-top: 16px;
    height: 82px;
    color: white;
}

/*Blue space on background settings*/
.blue-space {
    height: 1650px;
    width: calc(100% - 3px);
    position: absolute;
    margin-top: 75px;
    background-color: #004f9d;
    z-index: 1;
    transform: skew(10deg) rotate(10deg);
}

/*Titles settings*/
.center {
    text-align: center;
    color: white;
}

/*Form settings*/
form {
    min-width: 200px;
    font-size: 35px;
    line-height: 50px;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.line-height-formulaire {
    line-height: 75px;
}

input[type=text],
textarea,
input[type=submit] {
    width: 100%;
    font-size: 35px;
    padding: 20px 25px;
    display: inline-block;
    border: none;
    border-radius: 8px;
    box-sizing: border-box;
    color: #004f9d;
}

input[type=submit] {
    width: 195px;
    padding: 10px 10px;
    color: white;
    background-color: transparent;
    border: 3.25px solid white;
    float: right;
    margin-top: 15px;
    cursor: pointer;
}

/*Textarea settings*/
#message {
    height: 232px;
    resize: none;
}

footer {
    padding-top: 50px;
    padding-left: 75px;
    line-height: 150px;
    background-color: #004f9d;
}

.grid-footer {
    display: grid;
    height: 2300px;
    grid-template-rows: 288px 213px 16px;
    gap: 600px;
    align-content: center;
    align-items: center;
}

/*Font color of the footer*/
.footer-color {
    color: white;
}

/*Footer subtitles settings*/
.tiny-line-height {
    line-height: 65px;
    padding: 10px 0px 10px 0px;
}

/*Footer icons settings*/
#icon-position {
    padding-right: 5px;
    margin-bottom: -5px;
    width: 50px;
}

@media only screen and (min-width: 965px) and (orientation: landscape) {

    .line-height-formulaire {
        line-height: 35px;
    }

    form {
        min-width: 200px;
        font-size: 20px;
        line-height: 30px;
        display: flex;
        flex-direction: column;
        gap: 25px;
    }

    input[type=text],
    textarea,
    input[type=submit] {
        width: 100%;
        font-size: 20px;
        padding: 10px 10px;
        display: inline-block;
        border: none;
        border-radius: 4px;
        box-sizing: border-box;
        color: #004f9d;
    }

    input[type=submit] {
        width: 120px;
        padding: 5px 10px;
        color: white;
        background-color: transparent;
        border: 3.25px solid white;
        float: right;
        margin-top: 15px;
        cursor: pointer;
    }

    /*Navigation and submenu settings*/
    nav {
        height: max-content;
        position: static;
        display: flex;
        flex-direction: row;
        gap: 30px;
        align-content: end;
        margin: 0;
        overflow: hidden;
        color: #004f9d;
    }

    nav>ul {
        display: flex;
        text-align: center;
        box-shadow: 1 rgba(0, 0, 0, 0.3);
    }

    nav ul,
    nav li {
        list-style-type: none;
        color: #004f9d;
    }

    nav>ul>li {
        background-color: white;
        position: relative;
        height: 100%;
        flex: 1;
    }

    nav>ul>li>a {
        position: absolute;
        transform: translate(-50%, -50%);
    }

    li a {
        text-decoration: none;
        color: #004f9d;
    }

    .menu-deroulant>a:after {
        font-size: 15px;
        display: inline-block;
    }

    .sous-menu {
        overflow: hidden;
        width: fit-content;
        height: auto;
        padding: 10px 15px 0 15px;
        text-align: left;
        background-color: white;
        border-radius: 2px;
        max-height: 0;
        position: absolute;
    }

    .sous-menu>li>a {
        height: 45px;
        width: 132px;
        align-items: center;
        justify-content: center;
        display: flex;
    }

    .sous-menu>li:hover>a {
        opacity: 70%;
    }

    .menu-deroulant:hover>.sous-menu {
        animation: apparitionSousMenu 1s forwards;
    }

    .menu-deroulant:active>.sous-menu {
        animation: apparitionSousMenu 0s;
        animation-iteration-count: 1;
        animation-fill-mode: forwards;
    }

    /*Submenu animation*/
    @keyframes apparitionSousMenu {
        0% {
            box-shadow: 0px 2px 2px 1px rgba(0, 0, 0, 0);
            border-top: 3px solid #004f9d;
        }

        30% {
            box-shadow: 0px 2px 2px 1px rgba(0, 0, 0, 0.3);
        }

        100% {
            max-height: 50em;
            border-top: 3px solid #004f9d;
            box-shadow: 0px 2px 2px 1px rgba(0, 0, 0, 0.3);
        }
    }

    /*Menu settings*/
    .margin-none {
        margin: 0;
        font-weight: bold;
    }

    .arrow {
        padding: 0;
    }

    /*Hamburger-menu responsive*/
    #hamburger-menu {
        overflow: hidden;
        display: none;
    }

    /*Flex changes*/
    .display-flex-menu {
        padding: 34px 76px 30px 68px;
        position: relative;
        z-index: 6;
    }

    .display-flex {
        width: 410px;
        margin-top: 150px;
    }


    /*Blue space on background changes*/
    .blue-space {
        height: 1080px;
        margin-top: 65px;
        width: calc(100% - 8.5px);
    }

    /*footer changes*/
    footer {
        margin: auto;
        padding-left: 0;
        padding-bottom: 50px;
        padding-top: 150px;
        line-height: 50px;
    }

    .grid-footer {
        display: grid;
        width: 577px;
        height: auto;
        gap: 70px;
        grid-template-rows: auto auto;
        grid-template-columns: 186px 192px;
        margin: auto;
        justify-content: space-between;
        align-content: center;
        align-items: initial;
    }

    .tiny-line-height {
        line-height: 30px;
        padding: 10px 0px 10px 0px;
    }

    #icon-position {
        padding-right: 5px;
        margin-bottom: -1.5px;
        width: auto;
    }

    /*Credits changes*/
    .child-element {
        grid-column-start: 1;
        grid-column-end: 3;
        text-align: center;
    }

    #logo {
        width: 55px;
        height: auto;
    }

    #menu {
        margin-top: 10px;
    }

    p {
        font-size: 16px;
        font-weight: normal;
    }

    h2 {
        font-weight: bold;
        font-size: 32px;
    }

    h3 {
        font-weight: bold;
        font-size: 28px;
    }

    h4 {
        font-size: 24px;
        font-weight: 100;
        z-index: 6;
    }

    h5 {
        font-size: 17px;
        line-height: 5px;
        font-weight: 100;
    }

}

@media only screen and (min-width: 1300px) {

    /*Blue space on background changes*/
    .blue-space {
        margin-top: 65px;
        width: calc(100% - 5px);
        transform: skew(6deg) rotate(6deg);
    }

}