/* 
    =============================================
    STYLES GÉNÉRIQUES
    =============================================
*/
html,
body {
    margin: 0;
}

html {
    --blue-indigoo: #0063FF;
    --black: #000D21;
    --grey: #333333;
    --green-fitness-tv: #76FA9F;
    --light-green: #BAFCCE;
    --black-title: #1F1F1F;
    --white-title: #FFFFFF;
    --medium-text: #434649;
    --light-border: #CDCED0;
    --navbar-height: 80px;
}

body {
    background-color: var(--black);
}

section {
    padding: 4em 1em;
}

.desktop-size {
    margin: 0 auto;
    max-width: 600px;
    overflow: hidden;
}

h1 {
    text-transform: uppercase;
    font-style: italic;
    font-weight: 700;
    font-size: 35px;
    margin: 0;
}

h2 {
    font-style: italic;
    text-transform: uppercase;
    font-size: 22px;
    margin: 0;
}

h3 {
    font-style: italic;
}

footer {
    padding: 2em 1em;
    color: white;
    background-color: black;
}

footer p,
footer a {
    opacity: 0.5;
}

.logo-footer {
    opacity: 1;
}

footer li {
    margin-bottom: 0.5em;
}

p {
    margin: 2em 0;
}

h1,
h2,
h3,
p,
a {
    font-family: 'Inter', sans-serif;
    color: var(--white-title);
}

.rtl {
    direction: rtl;
    text-align: right !important;
}

.title-underline.rtl {
    display: block;
}

.btn.rtl {
    margin-left: auto;
}

.separator {
    height: 20px;
    margin: 1em 0;
    background-color: var(--blue-indigoo);
}

.hide-on-mobile {
    display: none;
}

ul {
    margin: 0;
    padding-inline-start: 0;
}

li {
    list-style-type: none;
}

a {
    color: white;
    text-decoration: none;
}

.title-underline {
    display: inline-block;
    position: relative;
    background-color: var(--black);
}

.title-underline::after,
.title-underline::before {
    content: '';
    position: absolute;
    top: 25%;
    width: 150px;
    height: 0.5em;
    background-color: var(--blue-indigoo);
    display: none;
}

.title-underline.right::after {
    display: block;
    right: calc(-150px - 0.5em);
}

.title-underline.left::before {
    display: block;
    left: calc(-150px - 0.5em);
}

.title-underline.bg-white::before,
.title-underline.bg-white::after {
    background-color: var(--green-fitness-tv);
}

.image-container-flex {
    flex: 0 0 100%;
}

.video-txt {
    max-width: 450px;
    margin: 2em auto;
}

.mb-1 {
    margin-bottom: 1em;
}

.mb-2 {
    margin-bottom: 2em;
}

.mt-1 {
    margin-top: 1em;
}

.items-center {
    align-items: center;
}

.c-black {
    color: black !important;
}

.bg-white {
    background-color: var(--white-title) !important;
}

.bg-green {
    background-color: var(--green-fitness-tv) !important;
}

.bg-gray {
    background-color: var(--grey) !important;
}

.bg-light-green {
    background-color: var(--light-green) !important;
}

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

.listing img {
    width: 5em;
    height: auto;
}

.listing p {
    margin-top: 0;
}

.img-100 {
    width: 100%;
    height: auto;
}

.img-75 {
    width: 75%;
    height: auto;
}

.br-8 {
    border-radius: 8px;
}

.pr {
    position: relative;
    z-index: -1;
}

.txt-center {
    text-align: center;
}

.txt-left {
    text-align: left;
}

.top-left {
    position: absolute;
    top: 1em;
    left: 1em;
}

.reverse-flex {
    flex-direction: row-reverse;
}

.column {
    display: flex;
    flex-direction: column;
}

.overflow-visible {
    overflow: visible;
}

/* 
    =============================================
    NAVBAR
    =============================================
*/
nav {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
    height: var(--navbar-height);
}

.navbar-left li {
    margin-bottom: 1em;
}

.navbar {
    position: absolute;
    top: -350px;
    background-color: black;
    padding: 2em;
    width: calc(100% - 4em);
    border-bottom: 1px solid white;
    transition: top 1s ease;
}

.navbar.open {
    top: var(--navbar-height);
    transition: top 1s ease;
}

.logo {
    height: 40px;
    width: auto;
}

.logo-footer {
    height: 60px;
    width: auto;
}

.navbar-right {
    display: inline-grid;
    gap: 1em;
}

.navbar-links {
    text-transform: uppercase;
    font-style: italic;
    font-weight: bold;
}

.burger-menu {
    position: absolute;
    right: 1em;
    padding: 1em;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background-color: #fff;
    border-radius: 2px;
}

.logo-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    background-color: black;
    border-bottom: 1px solid white;
    z-index: 3;
    height: 100%;
}

.navbar-logo a {
    display: flex;
}

.navbar-competitions {
    display: flex;
    gap: 0.5em;
    white-space: nowrap;
    flex-wrap: wrap;
}

.language-selector {
    position: relative;
    display: inline-block;
}

.language-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-size: 1em;
    padding: 0.5em;
    border-left: 1px solid var(--light-border);
}

.language-btn .language-flag {
    width: 2em;
    height: auto;
}

.language-options {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--black);
    border: 1px solid var(--light-border);
    border-radius: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 100;
}

.language-options li {
    padding: 0.5em;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.language-options li .language-flag {
    width: 2em;
    height: auto;
}

/* 
    =============================================
    PAGE D'ACCUEIL
    =============================================
*/
#partenaires {
    border-top: 1px solid var(--light-border);
    border-bottom: 1px solid var(--light-border);
    padding: 3em 1em;
}

.swiper-wrapper {
    height: 150px !important;
}

.swiper-slide {
    text-align: center;
    display: flex !important;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    width: auto;
    height: 50px;
}

.swiper-slide img#pressbox {
    height: 23px;
}

.swiper-slide img#mobibase  {
    height: 40px;
}

.swiper-button-next,
.swiper-button-prev {
    color: white !important;
}

.swiper-pagination-bullet,
.swiper-pagination-bullet-active {
    background: white !important;
}

.partenaire {
    width: auto;
    padding: 10px;
}

/*
    =============================================
    PAGE FAQ
    =============================================
*/
.toggle-section {
    border-bottom: 2px solid white;
    margin-top: 2em;
}

.toggle-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.toggle-content {
    max-height: 0;
    margin: 1em 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

.toggle-icon {
    transition: transform 0.2s ease-out;
}

.toggle-icon.expanded {
    transform: rotate(180deg);
    transition: transform 0.2s ease-out;
}

/*
    =============================================
    CARDS
    =============================================
*/
.cards {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1em;
}

.card {
    padding: 2em;
    background-color: var(--white-title);
    border-radius: 8px;
}

.card h2 {
    margin-top: 0.5em;
}

.card h2,
.card p {
    color: black;
}

.card p {
    margin-bottom: 0;
}

/*
    =============================================
    CARDS COMPETITIONS
    =============================================
*/
.sports {
    display: grid;
    gap: 1em;
}

.sport-content {
    display: flex;
    border-radius: 1em;
    overflow: hidden;
    flex-direction: column;
}

.sport-content .sport-info {
    background-color: var(--grey);
    padding: 2em;
}

.sport-content .sport-info p {
    margin: 1em 0 0 0;
    opacity: 0.8;
}

.sport-content .sport-imgs {
    max-height: 400px;
    width: 100%;
}

.sport-content .sport-img {
    height: 500px;
    width: 100%;
    object-fit: cover;
}

.sport-content .icon {
    position: absolute;
    bottom: 1em;
    right: 1em;
    padding: 1em;
    border-radius: 1em;
    background-color: var(--blue-indigoo);
    height: 60px;
    width: 60px;
    object-fit: contain;
}

/*
    =============================================
    BUTTONS
    =============================================
*/
button {
    border: none;
}

.btn {
    border-radius: 8px;
    padding: 12px 32px;
    font-style: italic;
    font-weight: 600;
    display: inline-block;
/*    font-family: 'HelveticalNeue', sans-serif;*/
    color: var(--white-title);
    cursor: pointer;
    text-decoration: none;
    -webkit-box-sizing: border-box;
    /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;
    /* Firefox, other Gecko */
    box-sizing: border-box;
    /* Opera/IE 8+ */
    transition: opacity 0.4s ease;
}

.btn:hover {
    transition: opacity 0.4s ease;
}

.btn-select {
    font-style: normal;
    background-color: var(--grey);
    transition: background-color 0.2s ease;
    color: var(--light-border);
}

.btn-select:hover,
.btn-select.active {
    background-color: var(--blue-indigoo);
    color: var(--white-title);
    transition: background-color 0.2s ease;
}

.btn-primary {
    background-color: var(--blue-indigoo);
}

.btn-secondary {
    background-color: var(--grey);
    border: 1px solid var(--light-border);
}

.btn-full-width {
    justify-content: center;
    width: 100% !important;
}

.svg-button {
    display: flex;
    align-items: center;
    gap: 0.5em;
    width: max-content;
}

.svg-button img {
    transition: transform 1s ease-in-out;
    width: 12px;
}

.svg-button.rtl img {
    transform: scale(-1);
}

.svg-button.rtl:hover img {
    transform: scale(-1.2) translateX(0.5em);
    transition: transform 0.4s ease;
}

.svg-button:hover img {
    transform: scale(1.2) translateX(0.5em);
    transition: transform 0.4s ease;
}

/*PAGE ACCESSIBILITE*/
.accessibility_list {
    margin: 0 0 2em;
    display: block;
}

.accessibility_list li {
    font-family: 'Inter', sans-serif;
    color: var(--light-border);
    list-style-type: disclosure-closed;
}


/* 
    =============================================
    > Large devices (landscape desktop) 
    =============================================
*/
@media only screen and (min-width: 1300px) {

    /*
        =============================================
        STYLES GÉNÉRIQUES
        =============================================
    */
    .desktop-size {
        max-width: 1200px;
        margin: 4em auto;
    }

    h1 {
        font-size: 58px;
    }

    h2 {
        font-size: 32px;
    }

    section div {
        max-width: 100%;
    }

    .flex-desktop {
        display: flex;
        align-items: center;
        gap: 9em;
    }

    .hide-on-mobile {
        display: flex;
    }

    .hide-on-desktop {
        display: none !important;
    }

    .image-container-flex {
        flex: 0 0 50%;
    }

    .image-container-flex-500 {
        flex: 0 0 500px
    }

    .icons {
        position: absolute;
        top: 50%;
        transform: translate(50%, -50%);
        right: 0;
        display: flex;
        flex-direction: column;
        gap: 1em;
    }

    .icons img {
        width: 60px;
        height: 60px;
        object-fit: contain;
        padding: 1em;
        background-color: var(--blue-indigoo);
        border-radius: 1em;
    }

    .footer-container {
        padding: 4em 0;
        margin: 0 auto;
        display: flex;
        gap: 8em;
    }

    .footer-block-1 {
        flex: 0 0 50%;
    }

    .footer-block-2 {
        display: flex;
        gap: 8em;
    }

    .footer-sublock {
        margin-top: 3em;
    }

    .qrcode {
        display: flex;
        align-items: center;
        gap: 1em;
    }

    .qrcode p {
        margin: 1em 0;
    }

    #qrcodeImg{
        border-radius: 8px;
        background-color: #FFFFFF;
        padding: 7px;
    }

    .listing {
        gap: 2em;
        flex-direction: row;
    }

    /*
        =============================================
        NAVBAR
        =============================================
    */
    header {
        background-color: black;
        border-bottom: 1px solid white;

    }

    nav {
        padding: 0 1em;
        width: calc(100% - 2em);
    }

    .navbar,
    .navbar.open {
        max-width: calc(1300px + 2em);
        position: initial;
        display: flex;
        justify-content: space-between;
        width: 100%;
        padding: 0;
        border: 0;
    }

    .navbar-left,
    .navbar.open .navbar-left {
        display: flex;
        align-items: center;
    }

    .navbar-links {
        display: flex;
        gap: 2em;
    }

    .navbar-links li {
        margin-bottom: 0;
    }

    .navbar-right,
    .navbar.open .navbar-right {
        display: flex;
        align-items: center;
        gap: 1em;
    }

    .burger-menu {
        display: none;
    }

    .logo-menu {
        flex: 0;
        border: 0;
        margin-right: 2em;
    }

    /*
        =============================================
        CARDS
        =============================================
    */
    .cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 2em;
    }

    /*
        =============================================
        CARDS COMPETITIONS
        =============================================
    */
    .sports {
        grid-template-columns: repeat(6, 1fr);
    }

    .sport-content {
        height: 400px;
        border-radius: 1em;
        overflow: hidden;
        flex-direction: row;
    }

    .sport-content .sport-info {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        flex: 0 0 calc(50% - 4em);
    }

    .sport-content.equal-left {
        grid-column-start: 1;
        grid-column-end: 4;
    }

    .sport-content.equal-right {
        grid-column-start: 4;
        grid-column-end: 7;
    }

    .sport-content.big-left {
        grid-column-start: 1;
        grid-column-end: 5;
    }

    .sport-content.small-right {
        grid-column-start: 5;
        grid-column-end: 7;
    }

    /*
        =============================================
        BUTTONS
        =============================================
    */
    .btn-full-width {
        width: auto;
    }
}
