* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #e8fd9dd8;
    background-attachment: fixed;
    font-family: Arial, Helvetica, sans-serif;
}

.main {
    max-width: 1920px;
    margin: 0 auto;
}

header {
    background-color: #fff;
    top: 0;
    height: 70px;
    position: fixed;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 10px 10px 15px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 0 32px;
}

header button {
    display: none;
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 20px;
    background-color: #14113d;
    cursor: pointer;
}

header img{
    width: 55px;
    border-radius: 50%;
}

#cotes {
    padding: 10px;
    font-size: 13px;
    border: 1px solid #ccc;
    border-radius: 25px;
    cursor: pointer;
    margin: 0 15px 0 0;
}

menu {
    width: 100%;
}

nav ul {
    display: flex;
}

nav ul li {
    list-style: none;
    margin: 0 25px 0 0;
    font-size: 17px;
}

nav ul li a {
    text-decoration: none;
    color: rgb(45, 45, 100);
    display: flex;
    gap: 5px;
    align-items: center;
}

#hide {
    display: none;
}

.bonus-ctn {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 70px;
    padding: 16px 14px;
    cursor: pointer;
}

.bonus {
    height: 80px;
    max-width: 400px;
    width: 100%;
    background-color: #fff;
    border-radius: 10px;
    border: 1px solid #504e4e;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bonus .tag1 {
    display: flex;
}

.bonus .tag1 img {
    height: 50px;
    width: 50px;
    border-radius: 50%;
}

.bonus .tag1 p {
    font-weight: bold;
    font-size: 18px;
    color: #231f5e;
}

.bonus .tag2 {
    display: flex;
    margin: 0 10px 0 0;
}

.bonus .tag2 img {
    height: 50px;
    width: 50px;
    border-radius: 10px;
    margin: 0 5px 0 0;
}

.bonus .tag2 p {
    font-weight: bold;
    font-size: 18px;
}

.bonus .tag2 p .a {
    font-weight: bold;
    color: #231f5e;
}

.bonus .tag2 p .b {
    font-weight: bold;
    color: #eec40a;
}

.video{
    display: none;
    width: 100%;
}

.video video {
    max-width: 100%; /* S'assurer que la vidéo s'adapte à l'écran */
}

.player-vid{
    height: 520px;
}

.h-1 {
    background-color: #fff;
}

.h-1 p {
    text-align: center;
    padding: 6px 0;
    font-size: 11px;
}

.h-2 {
    display: flex;
    max-width: 1324px;
    margin: 0 auto;
}

.table-of-contents {
    background-color: #fff;
    border: 1px solid #003b5c;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.table-of-contents h2 {
    margin-bottom: 15px;
    color: #003b5c;
}

.table-of-contents ul {
    list-style-type: none;
}

.table-of-contents li {
    padding: 10px;
    border-bottom: 1px solid #ddd;
    color: #333;
    transition: background-color 0.3s;
}

.table-of-contents li a {
    text-decoration: none;
}

.icon {
    margin-right: 10px;
}

menu {
    padding: 0 32px;
}

.h-3 {
    display: flex;
}

.h-3 img {
    max-width: 400px;
    width: 100%;
}

.h-4 {
    max-width: 1200px;
    width: 900px;
    min-height: 400px;
    left: -50px;
    border-radius: 20px;
    position: relative;
    background-color: #fff;
    box-shadow: 5px 5px 15px 15px rgba(0, 0, 0, 0.1);
    z-index: 10;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 16px;
}

.h-4 a {
    text-decoration: none;
    text-align: center;
    font-weight: bold;
    color: #fff;
    border-radius: 50px;
    background-color: #eec40a;
    padding: 10px 70px;
}

.h-4 .h-41 img {
    max-width: 120px;
    width: 100%;
    margin: 0 auto;
}

.h-4 .h-41 p {
    font-size: 15px;
}

.h-4 .h-41 .h-p {
    font-weight: bolder;
    font-size: 13px;
}

.h-4 .h-41 .h-m {
    font-size: 30px;
    color: #eec40a;
    font-weight: bold;
}

.h-4 .promo-code {
    display: flex;
    width: 80%;
    align-items: center;
    background-color: #f0f0f0;
    border: 2px dashed #003b5c;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.h-4 .promo-code-text {
    flex: 1;
    font-size: 20px;
    font-weight: bold;
    color: #003b5c;
    padding: 0 15px;
}

.h-4 .promo-code-value {
    text-align: center;
    background-color: #003b5c;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    margin-left: 10px;
    padding: 10px 0;
    width: 40%;
}

.h-4 .offre {
    font-size: 25px;
    color: #eec40a;
    font-weight: bold;
}

aside {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-right: 32px;
}

aside h1 {
    font-size: 28px;
    font-weight: bold;
    color: #003b5c;
    position: relative;
}

aside h1:after {
    content: '';
    background: var(--primary-orange, orangered);
    position: absolute;
    left: 5px;
    display: block;
    bottom: -4px;
    border-radius: 14px;
    height: 3px;
    width: 80px;
}

aside .text {
    margin: 5px 0 0 15px;
}

aside .a-1 {
    height: 160px;
    max-width: 500px;
    width: 310px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    background-color: #fff;
    border-radius: 5px;
    margin-top: 20px;
    box-shadow: 5px 5px 10px 10px rgba(0, 0, 0, 0.1);
}

aside .bookmaker{
    display: flex;
    flex-direction: column;
}

.btn-block{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 0 30px;
}

aside a {
    text-decoration: none;
    text-align: center;
    font-weight: bold;
    color: #fff;
    border-radius: 50px;
    padding: 7px 0;
    background-color: #eec40a;
}

aside .a-11 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

aside .a-12 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

aside .a-12 span {
    padding: 0 12px;
    margin-left: 5px;
    color: #fff;
    border-radius: 50%;
    background-color: #003b5c;
}

aside .a-12 p{
    font-weight: bold;
    font-size: 22px;
}

aside .a-13 p{
    text-align: left;
    font-size: 15px;
    font-weight: bold;
    margin: 8px 20px 0 0;
}

aside p .b{
    margin-left: 10px;
    font-size: 20px;
    color: #eec40a;
}

aside .a-12 img {
    min-width: 10px;
    width: 50px;
    margin-left: 5px;
    border-radius: 5px;
}

video {
    margin: 50px;
    max-width: 100%; /* S'assurer que la vidéo s'adapte à l'écran */
    height: 400px;
}

menu .title, aside .title {
    width: 100%;
    font-size: 28px;
    color: #003b5c;
    margin-top: 40px;
    position: relative;
    font-weight: bold;
}

menu .title::after, aside .title::after {
    content: '';
    background: var(--primary-orange, orangered);
    position: absolute;
    left: 5px;
    display: block;
    bottom: -4px;
    border-radius: 14px;
    height: 5px;
    width: 60px;
}

menu .sec {
    font-size: 23px;
}

menu .h-5 p {
    font-size: 19px;
    line-height: 1.5;
    text-align: left;
    color: #333;
    margin: 15px 0;
    padding: 10px;
    background-color: #f9f9f9;
    border-left: 4px solid #007bff;
}

.h-5 ul {
    margin-left: 30px;
}

.h-5 ul li {
    list-style: none;
    margin-top: 8px;
    font-size: 16px;
}

.h-5 ul li span {
    padding: 1px 4px;
    margin-right: 5px;
    background-color: #003b5c;
    color: #fff;
    border-radius: 5px;
}

.text-contents {
    max-width: 950px;
    width: 100%;
}

menu .btn{
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}
menu .btn-1 {
    text-decoration: none;
    padding: 10px 40px;
    color: #fff;
    background-color: #eec40a;
    border-radius: 25px;
    margin: 0 auto;
}

.table-container {
    max-width: 800px;
    margin: auto;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.bonus-table {
    width: 100%;
    border-collapse: collapse;
}

.bonus-table th,
.bonus-table td {
    padding: 25px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.bonus-table th {
    background-color: #f2f2f2;
}

.bonus-table tbody a {
    text-decoration: none;
    background-color: #eec40a;
    border: none;
    color: #fff;
    border-radius: 20px;
    padding: 10px 20px;
    cursor: pointer;
}

.bonus-table tbody a:hover {
    background-color: #d1a900;
}

footer {    
    min-height: 80px;
    width: 100%;
    display: flex;
    flex-direction: column;
    background-color: #003b5c;
    margin-top: 50px;
    padding: 15px 0;
}

footer img{
    max-width: 45px;
    width: 40px;
    border-radius: 50%;
}

footer .info-web{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
}
footer .channel img{
    margin-right: 15px;
}

footer .redict{
    color: #fff;
    text-align: center;
}

footer p{
    font-size: 11px;
}

/* Media query pour mobil */

header nav.active{
    right: 0;
}

@media screen and (max-width: 1300px) {
    .h-2{
        flex-direction: column;
    }

    .h-3{
        align-items: center;
    }

    .h-4{
        max-width: 95vw;
    }

    aside{
        padding-left: 32px;
    }

    aside h1{
        font-size: 25px;
    }

    aside .book-content{
        display: flex;
        gap: 50px;
    }

    aside .book-content video{
        margin-top: 20px;
    }

    .video{
        display: inline-block;
    }

    .player-vid{
        display: none;
    }
}

@media (max-width: 768px) {
    header{
        padding: 0 14px;
        position: fixed;
    }
    header #cotes{
       display: none;
    } 
    header nav{
        position: absolute;
        top: 100%;
        right: -100%;
        background-color: #fff;
        font-size: 14px;
        min-height: 100svh;
        height: 100%;
        width: 50vw;
        max-width: 300px;
        min-width: 200px;
        padding: 16px;
        transition: 0.5s ease-in-out;
    }
    header nav ul{
        display: block;
    }
    header nav ul li {
        margin-bottom: 14px;
    }
    header nav a{
        font-size: 14px;
        display: block;
    }
    header button{
        font-size: 14px;
        display: inline-block;
    }

    .bonus{
        margin: 15px 0 0 0;
    }
    .bonus .tag1 p, .bonus .tag2 p{
        font-size: 15px;
    }
    
    menu {
        padding: 0 16px;
    }

    .promo-code{
        width: 1050px;
    }

    .promo-code-text, .promo-code-value{
        font-size: 10px;
    }

    .h-3 {
        flex-direction: column;
        align-items: center;
        margin-bottom: -90px;
    }

    .h-4{
        left: 0;
        top: -70px;
    }
    #hide{
        display: block;
    } 

    #menu-toggle {
        background-color: #4CAF50;
        color: white;
        padding: 10px 15px;
        text-decoration: none;
        border-radius: 5px;
    }
    
    .dropdown-content li{
        margin: 3px 0;
    }
    
    .dropdown-content {
        display: none;
        position: absolute;
        background-color: #f9f9f9;
        min-width: 160px;
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
        z-index: 1;
    }

    .dropdown-content.active{
        display: inline-block;
    }
    
    .dropdown-content a {
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }
    
    .dropdown-content a:hover {
        background-color: #f1f1f1;
    }

    table,
    thead,
    tbody,
    th,
    td,
    tr {
        display: block;
    }

    thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    tr {
        margin-bottom: 20px;
        border: 1px solid #ddd;
    }

    td {
        border: none;
        position: relative;
        padding-left: 50%;
    }

    td:before {
        position: absolute;
        left: 6px;
        content: attr(data-label);
        font-weight: bold;
    }

    .table-of-contents{
        display: none;
    }

    .text-contents{
        margin: -130px 0 0 0;
    }

    aside .book-content{
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    footer .channel img{
        width: 30px;
    }
}