/*----------------- Font pour les titres Serif --------------------------------*/
/*@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');
/* <uniquifier>: Use a unique and descriptive class name*/
/* <weight>: Use a value from 300 to 800 
.open-sans{
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}
*/
/*------------------Fonts pour les textes Sans Serif -------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    box-sizing: border-box;
}

body,
html {
    font-size: 18px;
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    line-height: 1.5rem;
    font-weight: 500;
    font-style: normal;
    font-variation-settings:
        "wdth" 100;
    height: 100%;
}

body {
    background-color: #080000;
}

h1 {
    color: #09014e;
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    color: #09014e;
    font-size: 2.0rem;
    font-weight: 500;
}

p {
    margin: 15px 0;
    padding: 20px auto;
}

iframe {
    margin: 15px auto;
    width: 100%;
    max-width: 960px;
}

hr {
    margin: 10px 0;
    border: 0;
    border-bottom: 1px solid rgba(94, 126, 119, 0.342);
    border-top: 2px solid rgba(210, 248, 238, 0.788);
    width: 100%;
    max-width: 1340px;
    display: block;
}

header {
    display: block;
    position: relative;
}

ion-icon {
    font-size: 32px;
}

.chaines iframe {
    max-width: 560px;
}

.topbar {
    position: relative;
    width: 100%;
}

.banniere {
    position: relative;
    background-color: rgba(0, 0, 0, 0.9);
    height: 100%;
    z-index: 1;
}

.sky_animed {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 55%;
    width: 100%;
    z-index: 4;
    background-color: rgba(7, 6, 59, 0.993);
    opacity: 0;
    animation-name: obscurity;
    animation-duration: 14s;
    animation-timing-function: ease-in-out;
    animation-direction: alternate;
    animation-iteration-count: infinite;
}

@keyframes obscurity {
    0% {
        opacity: 0;
        bottom: 0;
    }

    100% {
        bottom: 55%;
        opacity: .3;
    }
}

.sea_animed {
    position: absolute;
    top: 45%;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    z-index: 4;
    background-color: rgba(7, 6, 59, 0.993);
    opacity: 0;
    animation-name: nighted;
    animation-duration: 14s;
    animation-timing-function: ease-in-out;
    animation-direction: alternate;
    animation-iteration-count: infinite;
}

@keyframes nighted {
    0% {
        opacity: 0;
        top: 99%;
    }

    100% {
        opacity: .6;
        top: 45%;
    }
}

.header_pub {
    position: absolute;
    background: transparent;
    border: none;
    max-width: 250px;
    width: 100%;
    top: 15px;
    right: 40px;
    z-index: 999;
    animation-duration: 18s;
    animation-delay: 2s;
    animation-name: bouger;
    animation-iteration-count: infinite;
}

/*------------ Animation de la pub ---------- */
@keyframes bouger {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(0.5);
    }

    100% {
        transform: scale(1);
    }
}

/*--------- Fin annimation ------------------ */


.topbar__nav {
    background-color: rgba(32, 32, 32, 0.705);
    box-shadow: 1px 1px 4px 0px rgba(202, 187, 117, 0.247);
    display: flex;
    align-items: center;
    justify-content: space-between;
    /*flex-wrap: wrap;*/
    max-height: 100%;
    width: 100%;
    padding: 0px 30px;
    position: absolute;
    bottom: 0;
    z-index: 100;
}

.logo_clt {
    color: white;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.menu {
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
    padding: 0 40px;
    gap: 25px;
}

.menu a {
    border-bottom: 1px solid rgba(134, 103, 1, 0.822);
    color: rgb(252, 250, 250);
    padding: 5px 40px;
    min-width: 130px;
    font-size: 18px;
    background-color: rgba(250, 246, 246, 0.13);
    transition: color .3s ease;
}

.menu a:hover {
    color: rgba(24, 9, 0, 0.986);
    background-color: rgba(163, 161, 161, 0.774);
    transition: color 0.3s ease;
}

.menu a.active {
    color: rgba(24, 9, 0, 0.986);
    background-color: rgba(255, 255, 255, 0.959);
}

.social {
    height: 100%;
    min-width: 60px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 5px;
}

.social a {
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin: 0 auto;
    padding: 5px 5px;
}

.social a:hover {
    color: rgba(24, 9, 0, 0.986);
    background-color: rgba(163, 161, 161, 0.774);
    transition: color 0.3s ease;
}

/* ---- Pour la gestion du menu de navigation sur mobile ----- */

#check {
    display: none;
}

.icons {
    position: absolute;
    right: 5%;
    font-size: 2.8rem;
    color: #fff;
    cursor: pointer;
    display: none;
}

/* ------------ FIN TOP NAV BAR ------------ */

/* ----- PAGE PRINCIPALE ------ */
.page {
    display: flex;
    align-items: stretch;
    justify-content: space-around;
    margin-top: 10px;
    gap: 10px;
    background-color: rgba(0, 0, 0, .8);
    position: relative;
    width: 100%;
}

/* ----------- PAGE du Milieu -------------*/

.main {
    /* margin-right: 10px;
    width: calc(100% - 320px);
    filter: brightness(60%);*/
    margin-left: 70px;
    width: 100%;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.178);
    z-index: 2;
    transition: 0.2s ease;
}

.contenu {
    border: 1px solid rgb(35, 250, 64);
    background-color: rgb(185, 255, 200);
    margin: 10px auto;
    /* pour centrer */
    padding: 10px auto;
    width: 100%;
    max-width: 1340px;
    border-radius: 10px;
}

.contenu h1,
p {
    margin-top: 20px;
    margin-left: 30px;
}

/* ---- STYLE de la bar de navigation verticale gauche ------ */

.left_contain {
    max-width: 220px;
    width: 60px;
    border: 1px solid red;
    background-color: transparent;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.8);
    position: absolute;
    padding-top: 0;
    left: 0;
    top: 10px;
    z-index: 10;
    transition: 0.3s ease-in-out;
}

#check-left:checked~.left_contain {
    width: 100%;
}

.left_contain .left_nav {
    width: 100%;
    padding: 10px 5px;
    color: #fff;
    background-color: rgba(139, 3, 39, 0.999);
}

.left_contain .left_nav h4 {
    width: 100%;
    display: inline-flex;
}

.left_contain .left_nav li {
    width: 100%;
    display: inline-flex;
    margin: 0;
}

.left_contain .left_nav li a {
    width: 100%;
    display: inline-flex;
    text-decoration: none;
    text-transform: capitalize;
    color: #f3f0f0;
    padding: 10px 8px;
    border-radius: 10px;
}

.left_contain .left_nav li:hover a {
    background: white;
    color: #0e0d0d;
}

#check-left:checked~.left_contain .left_nav li a {
    max-height: 46px;
    height: 100%;
}

.left_contain .left_nav li a p {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 20px;
    transform: scale(0);
    transform-origin: left;
    transition: 0.3s;
}

#check-left:checked~.left_contain .left_nav li a p {
    transform: scale(1);
}

.left_contain .left_nav h4 {
    margin: 0 auto;
    transform: scale(0);
}

#check-left:checked~.left_contain .left_nav h4 {
    transform: scale(1);
}

/* ----  STYLE Toggle button ---- */

.hide {
    display: none;
    visibility: hidden;
}

.left_contain .left_nav li a:active~#check-left {
    initial-value: "checked";
}

.left_contain label #arrow {
    position: absolute;
    right: 10px;
    top: 5px;
    color: #f7f3f8;
    cursor: pointer;
    z-index: 200;
    transition: 0.3s;
}

.left_contain label #arrow {
    transform: rotate(180deg);
}

#check-left:checked~.left_contain label #arrow {
    transform: rotate(0deg);
}

/* ----- Ajustons la position des icons -------- */

#check-left:checked~.left_contain .left_nav li a .bx-help-circle,
#check-left:checked~.left_contain .left_nav li a .bx-news {
    margin-left: 3px;
}

/* ------------ Style des tooltips sur le hover -------- */


.left_contain .left_nav li span {
    position: absolute;
    display: block;
    background-color: white;
    color: rgba(0, 0, 0, 0.918);
    border-radius: 8px;
    padding: 5px 8px;
    text-transform: capitalize;
    transition: 0.2s;
    transform: translateX(120px);
    left: 80px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.8);
    visibility: hidden;
    opacity: 0;
}

.left_contain .left_nav li:hover span {
    visibility: visible;
    opacity: 1;
    transform: translateX(-12px);
}


#check-left:checked~.left_contain .left_nav li:hover span {
    visibility: hidden;
    opacity: 0;
}


.left_contain .left_nav li span:before {
    position: absolute;
    content: '';
    border: 8px solid #fff;
    border-top-color: transparent;
    border-bottom-color: transparent;
    border-left-color: transparent;
    left: -14px;
    top: 50%;
    transform: translateY(-50%);
}

/*---------- Eclair l'arrière lorsque le menu est fermé ---- */
/*
#check-left:checked ~ .main {
    filter: brightness(100%);
}
*/

.actu_item h3 {
    margin-bottom: 0;
    padding-bottom: 0;
}

.date_article {
    margin: 0;
    padding-top: 0;
    padding-left: 10px;
    font-size: 14px;
    font-style: italic;
    color: rgba(142, 142, 142, 0.938);
}

.bloc_article {
    margin: 30px 30px;
    padding: 20px 20px;
    background-color: #ebf5f5f6;
    box-shadow: rgba(64, 65, 65, 0.493) 0px 7px 29px 0px;
}

.bloc_article a {
    color: rgb(3, 73, 165);
    padding: 5px 5px;
    background-color: rgba(0, 91, 114, 0.034);
}

.bloc_article h5 {
    color: rgb(94, 92, 92);
}

.bloc_article a:hover {
    color: rgb(252, 250, 250);
    background-color: rgb(46, 199, 26);
    transition: color 0.3s ease;
}

.bloc_article_titre {
    /*display: flex;
    align-items: center;*/
    padding-bottom: 10px;
    gap: 30px;
}

.bloc_article_body {
    display: flex;
    /*justify-content: space-between;*/
    gap: 30px;
}

.bloc_article_right {
    max-height: 280px;
    width: 100%;
    max-width: 260px;
    padding: 0 10px;
    border: 1px solid rgba(83, 82, 82, 0.438);
    background-color: rgb(255, 255, 255);
    border-radius: 10px;
    box-shadow: 0 4px 20px #5f5f52;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#bloc_article_film {
    margin: 0 auto;
    width: 193px;
    height: 200px;
    overflow: hidden;
}

.bloc_article_anime {
    display: flex;
    flex-direction: row;
    align-items: center;
    animation-duration: 20s;
    animation-delay: 2s;
    animation-name: titefilm_LR;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}


/* -------- CSS pour la page de remerciement THANKS ---- */

.content_success {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-direction: column;
    height: 200px;
    padding: 10px;
    border: 2px solid green;
    border-radius: 10px;
}

.icon_success {
    margin: 10px 0;
    color: green;
}

.content_success h3 {
    color: green;
}

.retour {
    margin: 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.retour a {
    border: 2px solid green;
    border-radius: 10px;
    padding: 10px;
}

/*-------------------------------------------------*/

/* -----------------------------------*/
/*             ANIMATION FILM         */
/*------------------------------------*/
@keyframes titefilm_LR {
    from {
        margin-left: -500%;
    }

    to {
        margin-left: 0%;
    }
}

@keyframes titefilm_RL {
    from {
        margin-left: 0%;
    }

    to {
        margin-left: -500%;
    }
}

.bloc_article_film_caption {
    background-color: #080000;
    color: whitesmoke;
    text-align: center;
    margin: 0 auto;
    width: 193px;
}

.bloc_content {
    display: flex;
    align-items: start;
    gap: 10px;
    /*justify-content: space-between;*/
}

.bloc_text {
    /*max-width: 940px;
    width: 100%;*/
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 10px;
}

.bloc_text p,
h4 {
    margin: 10px 0;
}

.bloc_text ul {
    margin-left: 30px;
}

.bloc_text ul li {
    font-style: italic;
}

.text_center {
    margin: 0 auto;
}

.bloc_content img {
    margin-top: 15px;
}

.auteur {
    display: flex;
    width: 100%;
    margin-right: 30px;
    align-items: center;
    font-size: 0.8rem;
    color: rgba(137, 136, 136, 0.8);
    justify-content: end;
}

.bloc_img_txt {
    padding: 10px 0;
}

.bloc_img_txt picture {
    display: flex;
    align-items: flex-start;
    flex-direction: row;
    justify-content: space-between;
    gap: 10px;
}

.bloc_img_txt img {
    margin-top: 0;
}


/*-------------------------------*/

.sidebar {
    position: relative;
    min-width: 320px;
    max-width: 450px;
    width: 100%;
    padding: 20px;
    margin: 10px auto;
    color: white;
    border: 1px solid rgb(1, 156, 184);
    background-color: rgb(1, 68, 156);
    border-radius: 10px;
}

.sidebar-title {
    font-size: 24px;
    margin: 10px 0;
}

.sidebar-title:first-child {
    margin-top: 0;
}

.sidebar a {
    color: #ebe7e7;
    text-decoration: none;
}

.sidebar ul {
    margin: 0;
    padding: 0;
    color: #ebe7e7;
    list-style: none;
}

.sidebar a:hover {
    text-decoration: underline;
}

.sidebar hr {
    border-top: 1px solid #012124;
    background-color: #5f5f52;
    border-bottom: none;
    height: 2px;
    margin: 10px 0;
}

.sidebar h2 {
    color: white;
    padding-bottom: 0;
}

.sidebar h3 {
    color: rgb(231, 105, 2);
}

.sidebar h4 {
    padding: 0;
    color: rgb(182, 223, 3);
}

.sidebar h5 {
    color: rgb(1, 224, 1);
}


.top-link,
.top-link:link,
.top-link:hover {
    position: fixed;
    bottom: 130px;
    right: 0;
    padding: 7px 7px 9px;
    border-top-left-radius: 5px;
    color: #fff;
    border: 2px solid #fff;
    border-right: none;
    border-bottom-left-radius: 5px;
    width: auto;

}

.top-link:hover {
    background: none repeat scroll 0 0 #10bd19;
    transition: all .5s;
}

#top_page {
    display: none;
    z-index: 100;
}

.stick_up img {
    margin: 10px auto;
    width: 100%;
}

.footer {
    clear: both;
    display: flex;
    /*align-items:center;*/
    flex-direction: column;
    justify-content: space-between;
    flex-wrap: wrap;
    color: beige;
    border-top: 1px solid rgb(36, 94, 89);
    background-color: #123838;
    margin: 0;
    padding: 10px 20px;
}

.footer hr {
    border-top: 1px solid #03130e;
    background-color: #5f5f52;
    border-bottom: none;
    height: 2px;
    margin: 0;
    max-width: 100%;
}

.footer_Top {
    display: flex;
    gap: 20px;

    justify-content: space-between;
}

.footer_info,
.footer_lieu,
.footer_contact {
    margin: 0 auto;
    padding: 0;
}

.footer_lieu p,
.footer_info p,
.footer_contact p {
    padding-left: 5px;
    margin-left: 0;
}

.footer_Top h3 {
    margin: 0 auto;
}

.footer_Top a {
    color: white;
    background-color: #014e0f;
    transition: 0.3s ease;
}

.footer_Top a:hover {
    color: white;
    background-color: #00a01e;
}

.footer_logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.footer_logo figure img {
    margin: 0 auto;
}

.footer_bottom {
    font-family: 'Times New Roman', Times, serif;
    font-size: small;
    margin: 0 auto;
}

.webmaster {
    font-size: small;
    text-align: center;
    padding-right: 20px;
}

@media screen and (max-width:1580px) {
    .bloc_content {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
    }

    .bloc_article_body {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .header_pub img {
        width: 70%;
        object-fit: contain;
        object-position: top;
    }
}

@media screen and (max-width:950px) {
    body {
        font-size: 16px;
        line-height: 1.2;
    }

    h1 {
        font-size: 1.8rem;
    }

    .header_pub {
        display: none;
    }

    .icons {
        display: inline-flex;
    }

    #check:checked~.icons #menu-icon {
        display: none;
    }

    .icons #close-icon {
        display: none;
    }

    #check:checked~.icons #close-icon {
        display: block;
    }

    .logo_clt {
        position: absolute;
        left: 5%;
    }

    .logo_clt img {
        width: 80%;
        object-fit: contain;
        object-position: top;
    }

    .topbar {
        align-items: center;
        justify-content: center;
    }

    .topbar__nav {
        position: relative;
        flex-direction: column;
        /*padding: 20px;*/
        gap: 30px;
    }

    .menu {
        position: absolute;
        top: 100%;
        left: 0;
        height: 0;
        width: 100%;
        background: rgba(0, 0, 0, .7);
        backdrop-filter: blur(50px);
        border: 1px solid red;
        flex-direction: column;
        align-items: center;
        flex-wrap: wrap;
        justify-content: center;
        transition: .3s ease;
        overflow: hidden;
        display: none;
    }

    #check:checked~.menu {
        height: 26rem;
        display: flex;
    }


    .page {
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
    }

    a {
        line-height: 28px;
        margin-top: 20px;
        padding: 0 auto;
    }


    .main {
        width: 100%;
        margin: auto;
    }

    /* ----- Gestion NAV BAR VERTICALE -------*/

    /* ---------- 1 ---------- */
    .left_contain .left_nav {
        transform: scale(1);
        height: 50px;
        background-color: rgba(139, 3, 39, 0.001);
    }

    #check-left:checked~.left_contain .left_nav {
        background-color: rgba(139, 3, 39, 0.999);
        height: 100%;
    }

    .left_contain label #arrow {
        color: #ff3f04;
    }

    #check-left:checked~.left_contain label #arrow {
        color: #f7f3f8;
    }

    /* ------------ 2 --------- */
    .left_contain .left_nav li {
        visibility: hidden;
        opacity: 0;
    }

    #check-left:checked~.left_contain .left_nav li {
        visibility: visible;
        opacity: 1;
    }

    #check-left:checked~.left_contain .left_nav li a {
        visibility: visible;
        opacity: 1;
    }

    #check-left:checked~.left_contain .left_nav li a:hover {
        color: #0e0d0d;
        background-color: white;
        visibility: visible;
        opacity: 1;
    }

    #check-left:checked~.left_contain .left_nav li a p {
        transform: scale(1);
        visibility: visible;
        opacity: 1;
    }

    /*-----------------------------------------------------*/

    .banniere img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: top;
    }

    .bloc_article_body {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .bloc_content {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
    }

    .bloc_content img {
        width: 100%;
        object-fit: contain;
        object-position: top;
    }

    .bloc_img_txt picture {
        flex-direction: column;
    }

    .footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer_Top {
        flex-direction: column;
        align-self: flex-start;
    }
}

@media screen and (max-width:768px) {
    .social {
        align-items: center;
        justify-items: center;
        justify-content: center;
    }

}