
.lien-ext{
    color: white; 
}
.lien-ext:hover {
    background-color: #0777E8; 
    text-decoration: underline; 
}
h1{
    font-family: zasline;
    text-align: center;
    text-decoration: underline;
}
body {
    margin: 0;
    padding: 0;
    text-align: left; 
    background-image:  repeating-radial-gradient(circle at 0 0, transparent 0, #88d2dd 29px), repeating-linear-gradient(#0777e8, #5cc4f6);
    background-color: #88d2dd;
    overflow-x: hidden;
}
nav {
    background-color: #27AEFF; 
    text-align: center;
    padding: 10px; 
    background: url("https://projets.jrcandev.netlib.re/AquaWeb/assets/img/texture.jpg")
}

nav ul {
    list-style-type: none;
    padding: 0;
}

nav li {
    display: inline-block; 
    margin-right: 25px; 
}

nav a {
    text-decoration: none;
    color: #fff; 
    font-weight: bold;
    font-size: 18px;
    padding: 10px; 
    border-radius: 5px; 
    background-color: #8BE5E8; 
}


nav a:hover {
    background-color: #5DD5FF; 
    text-decoration: underline; 
}

.footer-links {
    background-color: #5CC4F6;
    padding: 10px;
    text-align: center; 
    border: 1px solid #000; 
    border-radius: 5px; 
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
}
.presentation-block {
    border: 1px solid #000; 
    background-color: #88D2DD; 
    padding: 20px; 
    margin: 20px; 
    text-align: center; 
    border-radius: 10px; 
}
.presentation-block ul {
    margin: 0 auto; 
    max-width: 400px; 
    text-align: justify; 
}
.presentation-block ul li {
    list-style-position: inside; 
}

.presentation-block h2 {
    font-size: 24px;
    margin-bottom: 10px; 
}

.presentation-block p {
    font-size: 16px;
}

.footer a {
    text-decoration: none;
    color: #000;
    margin: 0 10px;
}

.center-image {
    text-align: center;
}

.center-image {
    display: block;
    margin: 0 auto;
    width: 80%;
}
.video{
    display: block;
    margin: 0 auto;
    border-radius: 5%;
}
#menu__toggle{
    display: none;
}

@media screen and (max-width: 767px) {
    body {
        font-size: 14px;
    }

    nav img {
        width: 40%;
    }

    .info-container {
        flex-direction: column;
    }

    #menu__toggle {
        opacity: 0;
    }

    #menu__toggle:checked+.menu__btn>span {
        transform: rotate(45deg);
    }

    #menu__toggle:checked+.menu__btn>span::before {
        top: 0;
        transform: rotate(0deg);
    }

    #menu__toggle:checked+.menu__btn>span::after {
        top: 0;
        transform: rotate(90deg);
    }

    #menu__toggle:checked~.menu__box {
        left: 0 !important;
    }

    .menu__btn {
        position: fixed;
        top: 30px;
        left: 20px;
        width: 26px;
        height: 26px;
        cursor: pointer;
        z-index: 1;
    }

    .menu__btn>span,
    .menu__btn>span::before,
    .menu__btn>span::after {
        display: block;
        position: absolute;
        width: 100%;
        height: 2px;
        background-color: #000;
        transition-duration: .25s;
    }

    .menu__btn>span::before {
        content: '';
        top: -8px;
    }

    .menu__btn>span::after {
        content: '';
        top: 8px;
    }

    .menu__box {
        display: block;
        position: fixed;
        top: 0;
        left: -100%;
        width: 300px;
        height: 100%;
        margin: 0;
        padding: 80px 0;
        list-style: none;
        background-color: #0777E8;
        box-shadow: 2px 2px 6px rgba(0, 0, 0, .4);
        transition-duration: .25s;
    }

    .menu__item {
        display: block;
        padding: 12px 24px; 
        margin-bottom: 50px; 
        color: #000;
        font-family: 'zasline';
        font-size: 20px;
        font-weight: 600;
        text-decoration: none;
        transition-duration: .25s;
    }
    
    .menu__item:hover {
        background-color: #5DD5FF;
        text-decoration: underline;
    }
    
}

@media screen and (max-width: 767px) {

    body {
        font-size: 14px;
    }

    .info-container {
        flex-direction: column;
    }

    .center-image img {
        width: 50%;
    }

    .sport-container {
        flex-direction: column;
    }

    /* Inversez l'ordre de l'image et du texte dans le second contenu en mode responsive */
    .second-content {
        flex-direction: column;
    }

    .image-block2 img{
        max-width: 100%; 
    }
    .image-block2 {
        order: 1; 
    }
    .sport-image img{
        max-width: 100%;
    }
    .sport-text {
        max-width: 100%; 
    }
    .presentation-block {
        padding: 10px;
        max-width: 100%;
        height: auto;
    }
    .presentation-block h1{
        font-size: 14px;
    }
    .video{
        width: 92%;
    }

    .footer-links {
        padding: 2px; 
    }
}

