:root {
    --fisrt-screen-duration: 3s;
    --navigation-text-color: #fff;
    --navigation-background-color: #e2361f;
    --navigation-font-weight: 300;
    --navigation-letter-spacing: 0.01em;
    --navigation-font-size: 14px;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    transition: background-color 9999s ease-in-out 0s;
}

.layout-page.home {
    max-width: initial;
    margin-left: initial;
    margin-right: initial;
    padding-left: initial;
    padding-right: initial;
    padding-top: 50px;
}

.large-s {
    max-width: 1160px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 30px;
    padding-right: 30px;
}


/* ----------- .layout-header.home  ----------- */

.layout-header.home {
    display: block;
    position: relative;
    width: 100%;

    height: 100vh;

    background: linear-gradient(#000, #111);

    z-index: 1;
}


/* ----------- .layout-first-screen----------- */

.layout-first-screen {
    position: absolute;
    display: block;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 2;
    opacity: 1;
    animation-name: show-animation;
    animation-delay: 0.5s;
    animation-duration: var(--fisrt-screen-duration);
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: center;
    overflow: hidden;

    background: linear-gradient(#000, #111);
}


@keyframes show-animation {
    0% {
        display: block;
        opacity: 1;
        height: 100vh;
    }

    90% {
        display: block;
        opacity: 1;
        height: 100vh;
    }

    99% {
        display: block;
        opacity: 0;
        height: 100vh;
    }

    100% {
        display: none;
        opacity: 0;
        height: 0px;
    }
}


.layout-header.home.directscreen .layout-first-screen {
    display: none;
}

.layout-first-screen .container {
    position: relative;
    width: 100%;
    height: 100vh;
}

/* ------------  .layout-first-screen  ------------ */

.layout-first-screen div {
    display: flex;
    width: 100%;
    height: 100vh;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.layout-first-screen div img {
    width: 200px;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    animation-name: show-logo;
    animation-delay: 0.5s;
    animation-duration: 1s;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
}

@keyframes show-logo {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.layout-first-screen div h1 {
    font-size: 17px;
    font-weight: 100;
    color: #fff;
    margin-bottom: 100px;
    opacity: 0;
    transform: translateY(-20px);
    animation-name: show-title;
    animation-delay: 1s;
    animation-duration: 0.8s;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
}

@keyframes show-title {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 0.6;
        transform: translateY(0px);
    }
}


.layout-first-screen div p {
    font-size: 26px;
    font-weight: 100;
    color: #ddd;
    opacity: 0;
    transform: translateX(-100px);
    animation-name: show-labels;
    animation-duration: 0.8s;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
}

@keyframes show-labels {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }

    to {
        opacity: 1;
        transform: translateX(0px);
    }
}

.layout-first-screen div p:nth-child(3) {
    animation-delay: 2.5s;
}

.layout-first-screen div p:nth-child(4) {
    animation-delay: 3s;
}

.layout-first-screen div p:nth-child(5) {
    animation-delay: 3.5s;
}

.layout-first-screen div h2 {
    font-size: 42px;
    font-style: italic;
    color: #fff;
    font-weight: 400;
    margin-top: 80px;
    opacity: 0;
    transform: translateY(-30px);
    animation-name: show-subtitle;
    animation-delay: 5s;
    animation-duration: 0.8s;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
}

@keyframes show-subtitle {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

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


/* ----------- .layout-second-screen ----------- */

.layout-second-screen {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: #000;
    opacity: 0;
    animation-name: second-screen-show;
    animation-delay: var(--fisrt-screen-duration);
    animation-duration: 2s;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
    opacity: 0;
    overflow: hidden;
}

.layout-header.home.directscreen .layout-second-screen {
    animation-delay: 0s;
}

@keyframes second-screen-show {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.layout-second-screen::after {
    /* content: ''; */
    display: block;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.3);
}


.layout-second-screen .top {
    display: block;
    height: calc(100vh - 90px);
    flex-direction: row;
}

.layout-second-screen .left {
    display: flex;
    position: absolute;
    flex-direction: column;
    top: 5%;
    left: 5%;
    z-index: 2;
    width: 240px;
    justify-content: flex-start;
}

.layout-second-screen .left a {
    display: block;
    position: relative;
    padding: 30px 20px;
    background-color: #fff;
    margin-bottom: 25px;
    border-radius: 90px;
    border-top-left-radius: 0px;
    overflow: hidden;
}

.layout-second-screen .left a span {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--orange);
    padding: 20px;
}

.layout-second-screen .left a span strong {
    display: block;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
    color: #fff;
    font-size: 20px;
    font-weight: 200;
}

.layout-second-screen .left a:hover span {
    display: block;
}

.layout-second-screen .left img {
    width: 100%;
}

.layout-second-screen .right {
    display: inline-block;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}


.layout-second-screen .content {
    display: block;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 3;
}

.layout-second-screen .content:before {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 100;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.layout-second-screen .texts {
    display: block;
    position: absolute;
    top: 50%;
    left: 0px;
    width: 100%;
    height: auto;
    transform: translateY(-50%);
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 2%;
    padding-bottom: 110px;
    z-index: 2;
}

.layout-second-screen .texts .presentation {
    text-align: center;
}

.layout-second-screen .texts .presentation a {
    display: inline-block;
    font-size: 15px;
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    padding: 10px 30px;
    background-color: var(--orange);
    border-radius: 30px;
    border-top-left-radius: 0;
    letter-spacing: 0.02em;
    line-height: 1.5;
}

.layout-second-screen .texts .presentation h1 {
    display: block;
    width: 100%;
    font-size: 35px;
    font-weight: 200;
    line-height: 1.1;
    color: #fff;
    text-transform: none;
    margin-bottom: 5%;
}

.layout-second-screen .texts .presentation h2 {
    display: block;
    width: 100%;
    font-size: 50px;
    font-weight: 600;
    color: #fff;
}

.layout-second-screen .texts .presentation h3 {
    display: block;
    width: 100%;
    font-size: 30px;
    color: #fff;
    font-weight: 400;
    line-height: 1.1;
}

.layout-second-screen .texts .presentation h4 {
    display: block;
    width: 100%;
    font-size: 20px;
    color: #fff;
    font-weight: 300;
    line-height: 1.2;
}

.layout-second-screen .texts .presentation p {
    display: block;
    width: 100%;
    font-size: 16px;
    color: #fff;
    font-weight: 200;
}

.layout-second-screen .texts .forum {
    display: none;
    width: 100%;
    text-align: center;
}

.layout-second-screen .texts .forum.online {
    display: block;
}

.layout-second-screen .texts .forum a {
    display: block;
    width: 100%;
    font-size: 40px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
}

.layout-second-screen .logo {
    display: block;
    width: 220px;
    text-align: center;
    margin-bottom: 30px;
    margin-left: auto;
    margin-right: auto;
}

.layout-second-screen .logo img {
    width: 100%;
}

/* ----------- .layout-second-screen .navigation ----------- */

.layout-second-screen .navigation {
    display: block;
    position: relative;
    width: 100%;
    height: 90px;
    background-color: var(--orange);
    z-index: 3;
}

.layout-second-screen .navigation ul {
    display: flex;
    text-align: center;
    position: absolute;
    width: 100%;
    flex-wrap: nowrap;
    justify-content: center;
}

.layout-second-screen .navigation ul>li {
    display: inline-block;
    margin-right: 2%;
}

.layout-second-screen .navigation ul>li>a {
    display: block;
    font-size: var(--navigation-font-size);
    color: var(--navigation-text-color);
    letter-spacing: var(--navigation-letter-spacing);
    font-weight: 500;
    text-decoration: none;
    line-height: 90px;
    text-transform: uppercase;
}

.layout-second-screen .navigation ul>li>span {
    display: block;
    font-size: 14px;
    color: var(--navigation-text-color);
    letter-spacing: var(--navigation-letter-spacing);
    font-weight: 500;
    text-decoration: none;
    line-height: 90px;
    text-transform: uppercase;
    cursor: pointer;
}

.layout-second-screen .navigation ul>li:last-child {
    padding-bottom: 10px;
    margin-right: 0;
}

.layout-second-screen .navigation div {
    display: none;
    text-align: left;
    position: absolute;
    bottom: 50px;
    left: 0px;
    padding: 30px;
    width: 100%;
    padding-left: 30%;
    padding-top: 40px;
    padding-bottom: 10px;
}

.layout-second-screen .navigation div>div {
    display: flex;
    background: var(--orange);
}


.layout-second-screen .navigation div>h3 {
    font-size: 30px;
    display: block;
    color: var(--navigation-text-color);
    position: relative;
    margin-bottom: 40px;
    font-weight: 400;
    text-transform: uppercase;
}

.layout-second-screen .navigation div>ul {
    text-align: left;
    position: relative;
    width: auto;
    display: block;
}

.layout-second-screen .navigation div>ul>li {
    display: block;
    padding-bottom: 10px;
    padding-left: 40px;
    border-left: 1px solid var(--navigation-text-color);
    margin-left: 20px;
}

.layout-second-screen .navigation div>ul>li>a {
    font-size: var(--navigation-font-size);
    color: #fff;
    font-weight: 400;
    text-decoration: none;
    line-height: 30px;
    display: block;
    text-wrap: nowrap;
    text-transform: uppercase;
}


/* ----------- .layout-second-screen .slider ----------- */

.layout-second-screen .slider {
    display: block;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.layout-second-screen .slider p {
    display: block;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
}

.layout-second-screen .slider p img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}


/* ----------- .layout-header .socials, .layout-footer .socials  ----------- */

.layout-header .socials {
    position: absolute;
    right: 10px;
    top: 100px;
    width: 40px;
    z-index: 3;
}

.layout-header .socials li {
    display: block;
    width: 100%;
    margin-bottom: 30px;
}

.layout-header .socials li a {
    text-decoration: none;
    cursor: pointer;
}

.layout-header .socials li a i {
    font-size: 30px;
    color: #fff;
}





/* ---------------- .bloc-presentation ---------------- */

.bloc-presentation {
    max-width: 1040px;
    margin-left: auto;
    margin-right: auto;
    display: block !important;
    font-size: 0px;
    height: 450px;
    overflow: hidden;
    padding-left: 10px;
    padding-right: 10px;
}

.bloc-presentation>div {
    display: inline-block;
    position: relative;
    vertical-align: top;
    margin: 0;
    width: 50%;
}

.bloc-presentation * {
    font-size: 0px;
    padding: 0px;
    margin: 0px;
}

.bloc-presentation>div:nth-child(2) p {
    font-size: 17px;
    color: #000;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: -0.01em;
    text-align: left;
}

.bloc-presentation>div:nth-child(1) figure {
    margin: 0px;
    border-radius: 0px;
    width: 100%;
    height: calc(100% - 60px);
    margin-top: 30px;
    border-bottom-right-radius: 40px;
}

.bloc-presentation>div:nth-child(1) {
    height: 100%;
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.bloc-presentation>div:nth-child(2) {
    background-color: #eeeeee;
    padding: 50px;
    padding-top: 70px;
    min-height: 80%;
    border-radius: 30px;
    border-top-left-radius: 0px;
    max-width: 500px;
    margin-right: auto;
    margin-left: auto;
}

.bloc-presentation>div:nth-child(1) img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.bloc-presentation>div:nth-child(2) p a {
    display: block;
    font-size: 16px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 30px;
    background-color: var(--orange);
    border-radius: 30px;
    border-top-left-radius: 0;
    letter-spacing: 0.0em;
    text-transform: none;
    float: right;
    margin-top: 10%;
    cursor: pointer;
}


.layout-content h2 {
    color: #222;
    font-weight: 600;
    font-size: 35px;
    letter-spacing: -0.02em;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    /* font-style: italic; */
    text-transform: capitalize;
}

.layout-content h2:before {
    content: '';
    display: inline-block;
    position: relative;
    vertical-align: top;
    background-size: 100%;
    width: 50px;
    height: 2px;
    margin-right: 10px;
    margin-top: 20px;
    background-color: var(--orange);
}

/* ----------- .bloc-programmes ----------- */

.bloc-programmes {
    background-color: #fafafa;
    padding-top: 60px;
    padding-bottom: 20px;
    padding-left: 20px;
    padding-right: 20px;
    background-image: url(./../images/home/les-programmes-background.jpg);
    background-size: cover;
}

.bloc-programmes>div {
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.bloc-programmes>div>h2 {
    text-align: center;
    font-size: 35px;
    color: var(--orange);
    font-weight: 500;
    margin-top: 10px;
    margin-bottom: 40px;
}

.bloc-programmes figure {
    display: flex;
    position: relative;
    background-color: #fff;
    border-radius: 30px !important;
    border-top-left-radius: 0px !important;
    padding: 40px;
    margin-bottom: 50px;
    min-height: 260px;
    cursor: pointer;
    justify-content: center;
    align-items: center;
}

.bloc-programmes figure figcaption {
    position: absolute;
    display: none;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    background-color: var(--orange);
    margin-top: 0px !important;
    cursor: pointer;
}

.bloc-programmes figure figcaption a {
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 50px;
    font-size: 20px !important;
    color: #fff;
    text-align: center;
    text-decoration: none;
    transform: translateY(100px);
    font-weight: 400;
    cursor: pointer;
}

.bloc-programmes figure:hover figcaption {
    display: block;
}

.bloc-programmes figure:hover figcaption a {
    animation-name: show_programme;
    animation-delay: 0s;
    animation-duration: 0.3s;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
}

@keyframes show_programme {
    from {
        transform: translateY(100px);
    }

    to {
        transform: translateY(0px);
    }
}

/* ---------------- .bloc-chiffres ---------------- */

.bloc-chiffres {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.bloc-chiffres>div>h2 {
    text-align: center;
    font-size: 40px;
    color: #000;
    font-weight: 500;
}

.bloc-chiffres>div>div {
    margin-top: 30px;
}

.bloc-chiffres h3 {
    font-size: 75px;
    color: var(--orange);
    font-weight: 600;
    text-align: center;
    margin-bottom: 0px;
    line-height: 1;
    letter-spacing: -0.04em;
}

.bloc-chiffres h3:before {
    display: none;
}

.bloc-chiffres>div>div>div p {
    text-align: center;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.3;
}

.bloc-chiffres a {
    display: block;
    width: fit-content;
    font-size: 15px;
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    padding: 14px 30px;
    background-color: var(--orange);
    border-radius: 30px;
    border-top-left-radius: 0;
    letter-spacing: 0.em;
    text-transform: none;
    margin-left: auto;
    margin-right: auto;
}


/* ---------------- .bloc-temoignages-jeunes ---------------- */

.bloc-temoignages-jeunes {
    position: relative;
    background-color: var(--orange);
    padding-top: 60px;
    padding-left: 40px;
    padding-right: 40px;
    padding-bottom: 60px;
}

.bloc-temoignages-jeunes * {
    font-size: 0;
}

.bloc-temoignages-jeunes>div {
    display: block;
    max-width: 1000px;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    margin-left: auto;
    margin-right: auto;
}

.bloc-temoignages-jeunes h2 {
    display: inline-block;
    font-size: 55px !important;
    font-weight: 400 !important;
    line-height: 1;
    color: #fff !important;
    width: 350px;
    margin-top: 10px !important;
    text-transform: none;
}

.bloc-temoignages-jeunes h2:before {
    display: none;
}

.bloc-temoignages-jeunes h2:after {
    display: none;
}

.bloc-temoignages-jeunes p:nth-child(1) {
    font-weight: 400;
    font-size: 30px;
    color: #fff;
    line-height: 1.2;
}

.bloc-temoignages-jeunes p:nth-child(2) {
    font-weight: 400;
    font-size: 18px;
    color: #fff;
}

.bloc-temoignages-jeunes>div>div {
    display: inline-block;
    position: relative;
    vertical-align: top;
    width: calc(100% - 350px);
    height: 220px;
    padding-left: 10%;
    overflow: hidden;
}

.bloc-temoignages-jeunes>div>div>div {
    position: relative;
    height: inherit;
    overflow: hidden;
}

.bloc-temoignages-jeunes>div>div>div>div {
    position: absolute;
    top: 0;
    left: 0;
    height: inherit;
    opacity: 0;
    transform: translateX(-100%);
}

.bloc-temoignages-jeunes>div>div>div>div.unslide {
    opacity: 0;
    transform: translateX(-100%);
}

.bloc-temoignages-jeunes>div>div>div>div.slide {
    opacity: 1;
    transform: translateX(-100%);
    animation-name: temoignage_slide;
    animation-delay: 0s;
    animation-duration: 1s;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
}

@keyframes temoignage_slide {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0%);
    }
}


/* ---------------- mobiles ---------------- */


@media screen and (max-width:1024px) {
    .layout-first-screen {
        display: none;
    }

    .layout-second-screen {
        opacity: 1;
    }

    .layout-header.home {
        height: auto;
    }

    .layout-second-screen .navigation {
        display: none;
    }

    .layout-second-screen .top {
        height: 100vh;
    }

    .layout-second-screen .content {
        position: relative;
    }

    .layout-second-screen .texts .presentation br {
        display: none;
    }

    .layout-second-screen .texts .presentation h1 {
        font-size: 30px;
        margin-bottom: 50px;
    }

    .layout-second-screen .texts .presentation h2 {
        font-size: 30px;
        margin-bottom: 20px;
    }

    .layout-second-screen .texts .presentation h3 {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .layout-second-screen .texts .presentation h4 {
        font-size: 10px;
        margin-bottom: 20px;
    }

    .layout-second-screen .texts .forum a {
        font-size: 25px;
    }

}

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

    .bloc-presentation {
        display: flex;
        flex-direction: column;
        align-content: center;
        height: auto;
    }
    
    .bloc-presentation>div {
        display: block;
        width: 100%;
    }

    .bloc-presentation>div:nth-child(2) p a {
        display: inline-block;
        float: none;
        margin-top: 10px;
    }

    .bloc-temoignages-jeunes h2 {
        display: block;
        width: 100%;
    }
    
    .bloc-temoignages-jeunes p:nth-child(1) {
        text-align: left;
    }
    
    .bloc-temoignages-jeunes>div>div {
        display: block;
        width: 100%;
        padding-left: 0;
        margin-top: 30px;
    }

    .layout-second-screen .texts {
        top: 60%;
        transform: translateY(-50%);
    }
}

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

    .layout-first-screen {
        display: none;
    }

    .layout-second-screen {
        opacity: 1;
    }

    .layout-content h2:before {
        width: 30px;
    }

    .layout-second-screen .logo {
        width: 150px;
        margin-bottom: 100px;
    }

    .bloc-chiffres>div>p {
        margin-top: 40px !important;
    }
    
    .layout-header .socials li a i {
        font-size: 25px;
        color: #fff;
    }

    .layout-header .socials li {
        margin-bottom: 20px;
    }
}