:root {
    --standard-max-width: 900px;
    --orange: #e4632c;
    --rouge: #ea3700;
}

.layout-root {
    margin: 0;
    padding: 0;
    font-size: 0;
}

.layout-root * {
    font-size: 0;  
}

.layout-main {
    min-height: 900px;
}

.layout-header {
    background-color: #000;
}

.layout-single-top {
    display: flex;
    position: relative;
    padding: 20px;
    background-color: #000;
    justify-content: center;
    height: 100px;
}

.layout-single-top .logo {
    width: 200px;
}

.layout-single-top .widget-fermer-page {
    display: block;
    position: absolute;
    top: 15px;
    right: 10px;
}

.layout-single-top .widget-fermer-page i {
    display: inline-block;
    position: relative;
    padding: 10px;
    font-size: 35px;
    color: #fff;
    cursor: pointer;
}


.layout-single-top .widget-fermer-page:hover i {
    animation-name: rotate_widget_fermer_page;
    animation-duration: 0.2s;
    animation-timing-function: linear;
    animation-fill-mode: backwards;
    transform: rotate(0deg);
    color: var(--orange);
}

@keyframes rotate_widget_fermer_page {
    from {
        transform: rotate(0deg);
        color: var(--orange);
    }
    to {
        transform: rotate(180deg);
        color: #000
    }        
}

.layout-content {
    min-height: initial;
}

hr.small-orange+h1 {
    margin-top: 0;
}

/* --------- .layout-single-header --------- */


.layout-single-header {
    display: block;
    position: relative;
    width: 100%;
    height: calc(100vh - 100px);
    overflow: hidden;
    background-color: #000;
}

.layout-single-header>img:nth-child(2) {
    position: absolute;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    opacity: 0;
    transform: translateY(-5%);
    animation-name: header_background_show;
    animation-delay: 0s;
    animation-duration: 1s;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
}

@keyframes header_background_show {
    from {
        opacity: 0;
        transform: translateY(-5%);
    }

    to {
        opacity: 1;
        transform: translateY(0%);
    }
}

.layout-single-header>img:nth-child(1) {
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 50%;
    max-width: 90%;
    max-height: calc(100% - 170px);
    opacity: 0;
    transform: translate(-50%, -20%);
    animation-name: header_title_show;
    animation-delay: 0.5s;
    animation-duration: 1s;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
    transition-property: width;
    transition-delay: 0s;
    transition-duration: 0.5s;
    transition-timing-function: ease;
}

@keyframes header_title_show {
    from {
        opacity: 0;        
        transform: translate(-50%, -20%);
    }

    to {
        opacity: 1;        
        transform: translate(-50%, -50%);
    }
}


@media screen and (max-width:700px) {

    .layout-single-header {
        height: calc(100vh - 100px);
        min-height: auto;
    }

}


/* ---------- .layout-single-header .layout-open ---------- */

.layout-single-header .layout-open {
    position: absolute;
    bottom: 40px;
    left: 50%;
    width: 60px;
    height: 60px;
    transform: translateX(-50%);
    z-index: 2;
    cursor: pointer;
}

.layout-single-header .layout-open img {
    width: 100%;
    height: 100%;
    position: initial;
    transform: none;
    top: initial;
    left: initial;
}
