@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: #004f9d;
    margin: 0;
}

/*Logo settings*/
#logo {
    width: 120px;
    height: auto;
}

a {
    text-decoration: none;
    color: white;
}

p {
    font-size: 40px;
    font-weight: normal;
}

h3 {
    font-weight: bold;
    font-size: 65px;
}

h4 {
    font-size: 24px;
    font-weight: 100;
    z-index: 6;
}

h5 {
    font-size: 39.9px;
    line-height: 20px;
    font-weight: 100;
}

/*Responsive navigation*/
nav {
    display: none;
}

/*Every flexbox*/
.display-flex-menu,
.display-flex,
.display-flex-icons,
.display-flex-logo {
    display: flex;
    align-items: center;
    justify-content: space-between;

}

.display-flex-menu {
    padding: 75px 85px 30px 75px;
}

.display-flex {
    padding: 70px 75px 40px 75px;
    align-items: flex-start;
}

.display-flex-logo {
    margin-left: -5px;
}

.display-flex-icons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/*Introduction icons settings*/
#icon {
    width: 120px;
}

#menu {
    margin-top: 16px;
    height: 82px;
}

/*Introduction width*/
.width {
    width: 380px;
}

/*Span text size*/
.big {
    font-size: 70px;
}

/*Image settings*/
.first-img,
.second-img,
.third-img {
    margin: 0px;
    height: 400px;
    width: 100%;
    background-repeat: no-repeat;
}

.first-img {
    background-image: url("src/Img/fil\ doré.JPG");
    background-size: 241%;
    background-position-x: -650px;
    background-position-y: -250px;
}

.second-img {
    background-image: url("src/Img/Affiche\ verso.webp");
    background-size: cover;
    background-position-y: -545px;
}

.third-img {
    background: center / 82% no-repeat url("src/Img/ombre\ noir.webp"), black;
}

/*Button place*/
.center {
    text-align: center;
    margin: 100px;
}

/*Button size*/
.button {
    width: 185px;
}

/*Footer settings*/
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) {

    
    /*Navigation and submenu settings*/
    nav {
        height: max-content;
        position: static;
        display: flex;
        flex-direction: row;
        gap: 30px;
        align-content: end;
        margin: 0;
        overflow: hidden;
    }

    nav>ul {
        display: flex;
        text-align: center;
        box-shadow: 1 rgba(0, 0, 0, 0.3);
    }

    nav ul,
    nav li {
        list-style-type: none;
    }

    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 {
        padding: 10px 32px;
        justify-content: center;
        flex-direction: column-reverse;
        align-items: center;
        margin: auto;
        text-align: center;
        gap: 30px;
        padding-bottom: 50px;
    }

    .display-flex-icons {
        flex-wrap: nowrap;
        flex-direction: row;
        gap: 10px;
    }

    .width,
    .big {
        width: 535px;
        font-weight: bold;
        font-size: 24px;
    }

    .big {
        font-size: 32px;
    }

    #icon {
        width: 45px;
    }

    /*Images changes*/
    .first-img,
    .second-img,
    .third-img {
        height: 250px;
    }

    .first-img {
        background-size: 150%;
        background-position-x: -300px;
        background-position-y: -250px;
    }

    .second-img {
        background-size: cover;
        background-position-y: -1155px;
    }

    .button {
        width: 76px;
    }

    .center {
        text-align: center;
        margin: 40px;
    }

    /*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;
    }

    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;
    }

}