@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+Display:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

html {
    max-width: 100%;
    scroll-behavior: smooth;
}

body {
    position: relative;
    height: 650vh;
    background: rgba(0, 0, 0, 0);
}

body #wrapper{
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: -1;
}

#wrapper > div {
    position: absolute;
    height: 100%;
    width: 100%;
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center;
    transition: 1.5s;
}

#presentation {
    background-image: url('images-src/notre-dame-de-la-garde.webp');
}
    #presentation > video {
        width: 100%;
        filter: brightness(0.9);
        z-index: -1;
    }
    #presentation > h1 {
        position: absolute;
        font-size: 20vh;
        left: 29%;
        top: 20vh;
        margin-left: auto;
        margin-right: auto;
        font-family: 'Montserrrat', sans-serif;
        color: transparent;
        -webkit-text-stroke-width: 2px;
        -webkit-text-stroke-color: white;
    }
#histoire {
    background: url('images-src/vueducoursdemarseille.jpg');
}
#musées {
    background: url('images-src/mucem.jpg');
}
#parcs {
    background-image: url('images-src/palais-longchamp.jpg');
}
#plages {
    background-image: url('images-src/plage-cassis.jpg');
}
#randonnées {
    background-image: url('images-src/calanques.jpg');
}


main {
    position: relative;
    font-family: 'Montserrat', sans-serif;
    font-size: 30px;
    width: 100%;
    height: 50vh;
    z-index: 5;
}
main > nav {
    position: fixed;
    display: flex;
    flex-direction: row;
    height: 65px;
    width: auto;
    bottom: 0px;
    margin-top: auto;
    margin-bottom: auto;
    z-index: 5;
    float: left;
}
#home-nav > label {
    background: var(--massalia-color);
    transition: 0.5s;
    width: 50px;
    height: 50px;
    text-align: center;
    color: white;
    padding: 15px 10px;
}
        #home-nav > label:hover {
            cursor: pointer;
            scale: 1.1;
        }
        #home-nav > input:checked ~ label {
            transform: translateY(-10px);
        }
    #home-nav > menu {
        display: flex;
        flex-direction: row;
        position: relative;
        margin: 0;
        padding: 0;
        width: auto;
        height: inherit;
        pointer-events: none;
        opacity: 0;
        transition: 0.5s;
    }
    #home-nav > menu > a {
            transform: translateY(10px);
            background: whitesmoke;
            padding: 15px 25px;
            text-decoration: none;
            color: var(--massalia-color);
            pointer-events: none;
            z-index: 4;
        }
            #home-nav > menu > a:nth-child(1) {
                transition: 0.2s;
            }
            #home-nav > menu > a:nth-child(2) {
                transition: 0.4s;
                transform: translateY(14px);
            }
            #home-nav > menu > a:nth-child(3) {
                transition: 0.6s;
                transform: translateY(18px);
            }
            #home-nav > menu > a:nth-child(4) {
                transition: 0.8s;
                transform: translateY(22px);
            }
            #home-nav > menu > a:nth-child(5) {
                transition: 1s;
                transform: translateY(26px);
            }
            #home-nav > menu > a:nth-child(6) {
                transition: 1.2s;
                transform: translateY(30px);
            }
        #home-nav > menu  > a:hover {
            background: rgba(200, 200, 200, 1);
            transition: 0.5s;
        }
    #home-nav > input:checked ~ menu {
        pointer-events: auto;
        opacity: 1;
    }
    #home-nav > input:checked ~ menu > a {
        pointer-events: auto;
        transform: translateX(0px);
    }


main > section {
    position: relative;
    display: block;
    min-height: 100vh;
    width: 100%;
    z-index: 4;
}
.content {
    opacity: 0;
    transition: 1s;
}
#accueil {
    opacity: 1;
}
    #accueil > article {
        max-width: 80%;
        height: 80vh;
        margin: auto;
        margin-top: 5vh;
        margin-bottom: 5vh;
    }
        #accueil > article > h1 {
            position: relative;
            color: whitesmoke;
            width: inherit;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
            text-transform: uppercase;
            margin-left: auto;
            margin-right: auto;
        }
        #home-cards {
            display: flex;
            flex-direction: row;
            height: 90%;
            max-width: 100%;
        }
            #home-cards > label {
                position: relative;
                display: flex;
                flex-direction: column-reverse;
                height: 100%;
                width: 20%;
                transition: 1s;
            }
                #home-cards > label > a {
                    height: 1%;
                    opacity: 0;
                    pointer-events: none;
                    text-align: center;
                    color: white;
                    transition: 1s;
                }
                    #home-cards > label > a > i {
                        overflow: hidden;
                    }
                #home-cards > label > h5 {
                    overflow: hidden;
                    color: whitesmoke;
                    text-transform: uppercase;
                    height: auto;
                    margin: 1em;
                    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
                    text-align: center;
                    transition: 1s;
                }
                #home-cards > label > p {
                    overflow: hidden;
                    color: whitesmoke;
                    font-size: 1vw;
                    text-transform: uppercase;
                    text-align: justify;
                    margin-left: 1em;
                    margin-right: 1em;
                    opacity: 0;
                    transition: 1s;
                }
                #home-cards > label > img {
                    object-fit: cover;
                    position: absolute;
                    overflow: hidden;
                    height: 100%;
                    width: 100%;
                    display: none;
                    opacity: 0;
                    transition: 1s;
                    z-index: -1;
                }
                #home-cards > label > a:hover {
                    background: rgba(0, 0, 0, 0.3);
                    animation: down-button-anim 1s infinite;
                    transition: 0.5s;
                    cursor: pointer;
                }
            input[name="top-home-nav"]:nth-child(1):hover ~ #home-cards > label:nth-child(1),
            input[name="top-home-nav"]:nth-child(2):hover ~ #home-cards > label:nth-child(2),
            input[name="top-home-nav"]:nth-child(3):hover ~ #home-cards > label:nth-child(3),
            input[name="top-home-nav"]:nth-child(4):hover ~ #home-cards > label:nth-child(4),
            input[name="top-home-nav"]:nth-child(5):hover ~ #home-cards > label:nth-child(5) {
                width: 30%;
                transition: 1.5s;
                border-bottom: 1px solid white;
            }
            input[name="top-home-nav"]:nth-child(1):checked ~ #home-cards > label:nth-child(1),
            input[name="top-home-nav"]:nth-child(2):checked ~ #home-cards > label:nth-child(2),
            input[name="top-home-nav"]:nth-child(3):checked ~ #home-cards > label:nth-child(3),
            input[name="top-home-nav"]:nth-child(4):checked ~ #home-cards > label:nth-child(4),
            input[name="top-home-nav"]:nth-child(5):checked ~ #home-cards > label:nth-child(5) {
                width: 60%;
            }
            input[name="top-home-nav"]:nth-child(1):hover ~ #home-cards > label:nth-child(1) > img,
            input[name="top-home-nav"]:nth-child(2):hover ~ #home-cards > label:nth-child(2) > img,
            input[name="top-home-nav"]:nth-child(3):hover ~ #home-cards > label:nth-child(3) > img,
            input[name="top-home-nav"]:nth-child(4):hover ~ #home-cards > label:nth-child(4) > img,
            input[name="top-home-nav"]:nth-child(5):hover ~ #home-cards > label:nth-child(5) > img {
                opacity: 0.5;
            }
            input[name="top-home-nav"]:nth-child(1):checked ~ #home-cards > label:nth-child(1) > img,
            input[name="top-home-nav"]:nth-child(2):checked ~ #home-cards > label:nth-child(2) > img,
            input[name="top-home-nav"]:nth-child(3):checked ~ #home-cards > label:nth-child(3) > img,
            input[name="top-home-nav"]:nth-child(4):checked ~ #home-cards > label:nth-child(4) > img,
            input[name="top-home-nav"]:nth-child(5):checked ~ #home-cards > label:nth-child(5) > img {
                opacity: 1;
            }
            input[name="top-home-nav"]:nth-child(1):checked ~ #home-cards > label:nth-child(1) > p,
            input[name="top-home-nav"]:nth-child(2):checked ~ #home-cards > label:nth-child(2) > p,
            input[name="top-home-nav"]:nth-child(3):checked ~ #home-cards > label:nth-child(3) > p,
            input[name="top-home-nav"]:nth-child(4):checked ~ #home-cards > label:nth-child(4) > p,
            input[name="top-home-nav"]:nth-child(5):checked ~ #home-cards > label:nth-child(5) > p {
                opacity: 1;
            }
            input[name="top-home-nav"]:nth-child(1):hover ~ #home-cards > label:nth-child(1) > a,
            input[name="top-home-nav"]:nth-child(2):hover ~ #home-cards > label:nth-child(2) > a,
            input[name="top-home-nav"]:nth-child(3):hover ~ #home-cards > label:nth-child(3) > a,
            input[name="top-home-nav"]:nth-child(4):hover ~ #home-cards > label:nth-child(4) > a,
            input[name="top-home-nav"]:nth-child(5):hover ~ #home-cards > label:nth-child(5) > a {
                opacity: 1;
                height: 7%;
                pointer-events: auto;
            }
            input[name="top-home-nav"]:nth-child(1):checked ~ #home-cards > label:nth-child(1) > a,
            input[name="top-home-nav"]:nth-child(2):checked ~ #home-cards > label:nth-child(2) > a,
            input[name="top-home-nav"]:nth-child(3):checked ~ #home-cards > label:nth-child(3) > a,
            input[name="top-home-nav"]:nth-child(4):checked ~ #home-cards > label:nth-child(4) > a,
            input[name="top-home-nav"]:nth-child(5):checked ~ #home-cards > label:nth-child(5) > a {
                opacity: 1;
                height: 7%;
                pointer-events: auto;
            }
            input[name="top-home-nav"]:nth-child(1):checked ~ #home-cards > label:nth-child(1) > a > i,
            input[name="top-home-nav"]:nth-child(2):checked ~ #home-cards > label:nth-child(2) > a > i,
            input[name="top-home-nav"]:nth-child(3):checked ~ #home-cards > label:nth-child(3) > a > i,
            input[name="top-home-nav"]:nth-child(4):checked ~ #home-cards > label:nth-child(4) > a > i,
            input[name="top-home-nav"]:nth-child(5):checked ~ #home-cards > label:nth-child(5) > a > i {
                animation: down-button-anim 1s infinite;
            }

        #accueil > article > label > p {
            width: 100%;
            color: white;
            text-align: center;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
            transition: 0.5s;
            margin-top: 0px;
        }
        #accueil > article > label > p:hover {
            background: rgba(0, 0, 0, 0.3);
        }
        #accueil > article > input:nth-child(6):checked ~ #home-cards > label {
            width: 20%;
        }

    #presentation-histoire > article {
        max-height: 100%;
        width: 100%;
        font-family: 'Noto Serif Display', sans-serif;
        font-weight: 200;
        color: white;
        display: flex;
        flex-direction: row;
        transition: 2s;
    }
    #histoire-text {
        background: rgba(0, 0, 0, 0.4);
        padding: 3em;
        width: 45%;
    }
        #histoire-text > h1 {
            margin-left: 2em;
            background: rgba(0, 0, 0, 0.65);
            width: 40%;
            text-align: center;
        }
        #histoire-text > p {
            text-align: justify;
            font-size: 2rem;
        }
        #histoire-text > a {
            position: absolute;
            text-decoration: none;
            padding: 5px;
            font-weight: 600;
            white-space: nowrap;
            color: black;
            background-color: whitesmoke;
            border: 2px solid black;
            border-radius: 4px;
            transition: 1s;
        }
        #histoire-text > a:hover {
            scale: 1.1;
        }
            #histoire-text > a:hover > i {
                animation: side-button-anim 1s infinite;
            }
    #histoire-tab {
        width: 50%;
        height: auto;
        background: url('images-src/ancien-paper.jpg');
        background-position: center;
        background-size: cover;
        display: grid;
        grid-template-columns: repeat(6, 0.5fr);
        grid-template-rows: repeat(6, 0.5fr);
    }
    #histoire-tab > div {
        color: black;
        font-weight: 500;
    }
        #radio-img {
            position: relative;
            grid-area: 2 / 2 / 6 / 6;
            height: 100%;
        }
        #radio-history {
            grid-area: 1 / 2 / 2 / 6;
            display: flex;
            flex-direction: row;
            justify-content: space-around;
            height: 100%;
        }
        #radio-desc {
            grid-area: 6 / 2 / 7 / 6;
            text-align: center;
            white-space: nowrap;
        }
            #radio-history > label {
                padding-top: 1.5em;
            }
            #radio-history > label::before {
                font-family: 'Font Awesome 5 Free';
                content: '\f03e';
                font-weight: 200;
                width: auto;
                text-align: center;
            }
            #radio-img {
                display: flex;
                flex-direction: column;
                justify-content: center;
            }
                #radio-img > img {
                    position: absolute;
                    object-fit: cover;
                    width: 100%;
                    margin: auto;
                    transition: 1s;
                    opacity: 0;
                }
            #radio-desc > p {
                display: none;
            }

            #presentation-histoire > article > input:nth-child(2):checked ~ #histoire-tab > #radio-img > img:nth-child(1),
            #presentation-histoire > article > input:nth-child(3):checked ~ #histoire-tab > #radio-img > img:nth-child(2),
            #presentation-histoire > article > input:nth-child(4):checked ~ #histoire-tab > #radio-img > img:nth-child(3) {
                opacity: 1;
            }
            #presentation-histoire > article > input:nth-child(2):checked ~ #histoire-tab > #radio-desc > p:nth-child(1),
            #presentation-histoire > article > input:nth-child(3):checked ~ #histoire-tab > #radio-desc > p:nth-child(2),
            #presentation-histoire > article > input:nth-child(4):checked ~ #histoire-tab > #radio-desc > p:nth-child(3) {
                display: block;
            }
            #presentation-histoire > article > input:nth-child(2):checked ~ #histoire-tab > #radio-history > label:nth-child(1)::before,
            #presentation-histoire > article > input:nth-child(3):checked ~ #histoire-tab > #radio-history > label:nth-child(2)::before,
            #presentation-histoire > article > input:nth-child(4):checked ~ #histoire-tab > #radio-history > label:nth-child(3)::before {
                font-weight: 900;
            }

    #presentation-musees > article {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
        height: 100%;
        filter: drop-shadow(10px 50px 50px rgba(0, 0, 0, 0.95));
        background-size: contain;
        background-position: center;
        overflow: hidden;
    }
        #musees-bg {
            width: 40%;
            height: 100%;
        }
            #musees-bg > label {
                position: absolute;
                height: 6em;
                width: 6em;
                clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
                top: 55%;
                left: 20%;
                transition: 1s;
                z-index: 2;
            }
            #resp-musees {
                width: 100%;
            }
                #resp-musees > img {
                    display: none;
                }
            #musees-bg > label:hover {
                cursor: pointer;
                scale: 1.09;
            }
                #musees-bg > label:nth-child(2) {
                    top: 73%;
                    left: 15.1%;
                }
                #musees-bg > label:nth-child(3) {
                    top: 73%;
                    left: 25%;
                }
                #musees-bg > label > img {
                    height: 100%;
                }
            #presentation-musees > input:nth-child(1):checked ~ #content-musees {
                background:none
            }
            #presentation-musees > input:nth-child(2):checked ~ #content-musees {
                background-image: url('images-src/mac.jpg');
            }
            #presentation-musees > input:nth-child(3):checked ~ #content-musees {
                background-image: url('images-src/mba.jpg');
            }
            #presentation-musees > input:nth-child(1):checked ~ #content-musees > #musees-bg > label:nth-child(1),
            #presentation-musees > input:nth-child(2):checked ~ #content-musees > #musees-bg > label:nth-child(2),
            #presentation-musees > input:nth-child(3):checked ~ #content-musees > #musees-bg > label:nth-child(3) {
                z-index: 3;
            }
        #musees-desc {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            width: 50%;
            height: 80vh;
            background-color: aliceblue;
            clip-path: polygon(15% 0%, 100% 0%, 100% 100%, 0% 100% );
            animation: idle-museum 10s infinite;
        }
            #musees-desc > img {
                position: absolute;
                top:0%;
                right: 0%;
                width: 100%;
                height: 100%;
                filter: saturate(0) opacity(0.1);
                z-index: -1;
            }
            #musees-desc > * {
                width: 60%;
            }
            #musees-desc > h1 {
                position: relative;
                margin: 1.5em;
                text-align: right;
            }
            #musees-desc > p {
                position: relative;
                text-align: justify;
                margin: 1em;
                height: auto;
                font-size: 1.3vw;
            }
            #musees-desc > a {
                position: relative;
                text-decoration: none;
                color: var(--massalia-color);
                margin: 1em;
                transition: 0.5s;
            }
            #musees-desc > a:hover {
                scale: 1.1;
                color: var(--massalia-color);
                text-shadow: 5px 1px 1px whitesmoke;
            }
                #musees-desc > a:hover > i {
                    animation: side-button-anim-further 1s infinite;
                }
    
    #presentation-parcs > article {
        display: flex;
        flex-direction: column;
        overflow: hidden;
        width: 100%;
        height: 100%;
    }
        #carousel-container {
            width: 70%;
            height: 80%;
            background: rgba(0, 0, 0, 0.6);
            margin-left: auto;
            margin-right: auto;
            overflow: hidden;
        }
        #content-parcs > ul {
            list-style-type: none;
            display: flex;
            flex-direction: row;
            justify-content: space-around;
            padding-left: 0px;
            margin-left: auto;
            margin-right: auto;
            height: 17vh;
            width: 60%;
        }
        #content-parcs > a {
            text-decoration: none;
            color: whitesmoke;
            margin-left: auto;
            margin-right: auto;
            padding: 0.5em;
            border-radius: 5px;
            background: rgba(0, 0, 0, 0.8);
            transition: 1s;
        }
        #content-parcs > a:hover {
            scale: 1.1;
            background: white;
            color: black;
        }
            #content-parcs > a:hover > i {
                animation: side-button-anim 1s infinite;
            }
            #carousel-container > ul {
                list-style-type: none;
                display: flex;
                flex-direction: row;
                justify-content: space-between;
                height: 100%;
                width: 280%;
                transition: 2s;
                color: whitesmoke;
            }
            #carousel-container > ul > li {
                display: flex;
                flex-direction: row;
                justify-content: space-between;
                height: 100%;
                width: 100%;
                overflow: hidden;
                opacity: 0;
                transition: 2s;
            }
                .parcs-desc {
                    width: 50%;
                }
                    .parcs-desc > h3 {
                        font-size: 1.5vw;
                    }
                    .parcs-desc > p {
                        text-align: justify;
                        margin: 1em;
                        font-size: 1.2vw;
                        width: 90%;
                    }
                #carousel-container > ul > li > img {
                    width: 50%;
                    margin-left: auto;
                    margin-right: auto;
                }
            
            #content-parcs > ul > label {
                width: 15%;
                height: 100%;
                cursor: pointer;
                background: rgba(0, 0, 0, 0.8);
                transition: 0.5s;
                clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
            }
            #content-parcs > ul > label:hover {
                scale: 1.1;
                background: white;
            }
                #content-parcs > ul > label > img {
                    height: 100%;
                    width: 100%;
                    object-fit: cover;
                    scale: 0.95;
                    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
                }

                #content-parcs > input[name='carousel-parcs']:nth-child(1):checked ~ #carousel-container > ul {
                    transform: translateX(0%);
                }
                #content-parcs > input[name='carousel-parcs']:nth-child(2):checked ~ #carousel-container > ul {
                    transform: translateX(-33%);
                }
                #content-parcs > input[name='carousel-parcs']:nth-child(3):checked ~ #carousel-container > ul {
                    transform: translateX(-66%);
                }
                #content-parcs > input[name='carousel-parcs']:nth-child(1):checked ~ #carousel-container > ul > li:nth-child(1),
                #content-parcs > input[name='carousel-parcs']:nth-child(2):checked ~ #carousel-container > ul > li:nth-child(2),
                #content-parcs > input[name='carousel-parcs']:nth-child(3):checked ~ #carousel-container > ul > li:nth-child(3) {
                    opacity: 1;
                }
                #content-parcs > input[name='carousel-parcs']:nth-child(1):checked ~ ul > label:nth-child(1),
                #content-parcs > input[name='carousel-parcs']:nth-child(2):checked ~ ul > label:nth-child(2),
                #content-parcs > input[name='carousel-parcs']:nth-child(3):checked ~ ul > label:nth-child(3) {
                    background: white;
                    scale: 1.05;
                }

    #presentation-plages > article {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
        height: 100%;
        filter: drop-shadow(2px 5px 5px rgba(0, 0, 0, 0.95));
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        overflow: hidden;
    }
    #plages-desc {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 50%;
        height: 80vh;
        clip-path: polygon(0% 0%, 90% 0%, 88% 10%, 86% 20%, 85% 30%, 85% 35%, 86% 40%, 88% 50%, 90% 60%, 92% 70%, 93% 75%, 93% 80%, 92% 90%, 90% 100%, 0% 100%);
        background-color: rgba(220, 255, 255, 0.8);
        animation: idle-beach 15s linear infinite both;
    }
        #plages-desc > * {
            width: 60%;
        }
        #plages-desc > h1 {
            position: relative;
            margin: 1.5em;
        }
        #plages-desc > p {
            position: relative;
            text-align: justify;
            margin: 1em;
            height: auto;
            font-size: 1.3vw;
        }
        #plages-desc > a {
            position: relative;
            text-decoration: none;
            color: var(--massalia-color);
            margin: 1em;
            text-align: right;
            transition: 0.5s;
        }
        #plages-desc > a:hover {
            scale: 1.1;
            color: var(--massalia-color);
            text-shadow: 5px 1px 1px whitesmoke;
        }
            #plages-desc > a:hover > i {
                animation: side-button-anim 1s infinite;
            }
        #plages-bg {
            width: 40%;
            height: 100%;
        }
            #plages-bg > label {
                position: absolute;
                height: 6em;
                width: 6em;
                clip-path: circle(50.0% at 50% 50%);
                top: 72%;
                right: 20%;
                transition: 1s;
                animation: bubble-anim 8.5s linear infinite both;
                z-index: 2;
            }
            #resp-plages {
                width: 100%;
            }
                #resp-plages > img {
                    display: none;
                }
            #plages-bg > label:hover {
                cursor: pointer;
                scale: 1.09;
            }
                #plages-bg > label:nth-child(2) {
                    top: 54%;
                    right: 17.2%;
                    animation: bubble-anim 7s linear infinite both;
                    clip-path: circle(32.5% at 50% 50%);
                }
                #plages-bg > label:nth-child(3) {
                    top: 41%;
                    right: 20%;
                    animation: bubble-anim 6.5s linear infinite both;
                    clip-path: circle(25% at 50% 50%);
                }
                #plages-bg > label > img {
                    height: 100%;
                    width: 100%;
                    transition: 1s;
                    scale: 0.95;
                }
                #plages-bg > label > img:nth-child(1) {
                    clip-path: circle(50.0% at 50% 50%);
                }
                #plages-bg > label > img:nth-child(2) {
                    clip-path: circle(32% at 50% 50%);
                }
                #plages-bg > label > img:nth-child(3) {
                    clip-path: circle(24.5% at 50% 50%);
                }
                #presentation-plages > input:nth-child(1):checked ~ #content-plages {
                    background-image: url('images-src/plages-prado.jpg');
                }
                #presentation-plages > input:nth-child(2):checked ~ #content-plages {
                    background: none
                }
                #presentation-plages > input:nth-child(3):checked ~ #content-plages {
                    background-image: url('images-src/plage-calanque.jpg');
                }
                #presentation-plages > input:nth-child(1):checked ~ #content-plages > #plages-bg > label:nth-child(1),
                #presentation-plages > input:nth-child(2):checked ~ #content-plages > #plages-bg > label:nth-child(2),
                #presentation-plages > input:nth-child(3):checked ~ #content-plages > #plages-bg > label:nth-child(3) {
                    z-index: 3;
                }

    #presentation-randonnees > article {
        width: 40%;
        margin-left: auto;
        margin-right: 1.5em;
        background: rgba(0, 0, 0, 0.6);
        color: whitesmoke;
        padding: 1em;
        font-size: 1.5vw;
    }
        #content-rando > h2 {
            text-align: right;
        }
        #content-rando > p {
            text-align: justify
        }
        #content-rando > a {
            text-align: left;
            text-decoration: none;
            color: whitesmoke;
            border-radius: 5px;
            padding: 0.2em;
            transition: 1s;
            background: rgba(0, 0, 0, 0.8);
        }
        #content-rando > a:hover {
            background: whitesmoke;
            color: black;
            scale: 1.1;
        }
            #content-rando > a:hover > i {
                animation:  side-button-anim_left 1s infinite;
            }



.content > #content-histoire {
    transform: translateX(-1000px);
}
.content > #content-musees > #musees-desc {
    transform: translateX(1000px);
    transition: 2s;
}
.content > #content-plages > #plages-desc {
    transform: translateX(-1000px);
    transition: 2s;
}
            
            
            
.content.active {
    opacity: 1;
}
.content.active > #content-histoire {
    transform: translateX(0px);
}
.content.active > #content-musees > #musees-desc {
    transform: translateX(0px);
}
.content.active > #content-plages > #plages-desc {
    transform: translateX(0px);
}





@keyframes down-button-anim {
    0% {
        scale: 1;
        opacity: 0.1;
        transform: translateY(0px);
    }
    100% {
        scale: 1.1;
        opacity: 1;
        transform: translateY(5px);
    }
}
@keyframes side-button-anim {
    0% {
        scale: 1;
        opacity: 0.1;
        transform: translateX(0px);
    }
    100% {
        scale: 1.1;
        opacity: 1;
        transform: translateX(5px);
    }
}
@keyframes side-button-anim-further {
    0% {
        scale: 1;
        opacity: 0.1;
        transform: translateX(0px);
    }
    100% {
        scale: 1.1;
        opacity: 1;
        transform: translateX(100px);
    }
}
@keyframes side-button-anim_left {
    0% {
        scale: 1;
        opacity: 0.1;
        transform: translateX(0px);
    }
    100% {
        scale: 1.1;
        opacity: 1;
        transform: translateX(-5px);
    }
}
@keyframes idle-museum {
    0% {clip-path: polygon(15% 0%, 100% 0%, 100% 100%, 7% 100%, 10% 75%, 13% 50%, 8% 25%);}
    20% {clip-path: polygon(6% 0%, 100% 0%, 100% 100%, 12% 100%, 6% 72%, 9% 48%, 13% 27%);}
    36% {clip-path: polygon(11% 0%, 100% 0%, 100% 100%, 4% 100%, 9% 76%, 11% 51%, 7% 29%);}
    58% {clip-path: polygon(3% 0%, 100% 0%, 100% 100%, 6% 100%, 13% 74%, 8% 49%, 10% 24%);}
    70% {clip-path: polygon(9% 0%, 100% 0%, 100% 100%, 10% 100%, 11% 77%, 14% 53%, 9% 26%);}
    100% {clip-path: polygon(15% 0%, 100% 0%, 100% 100%, 7% 100%, 10% 75%, 13% 50%, 8% 25%);}
}
@keyframes idle-beach {
    0% {clip-path: polygon(0% 0%, 90% 0%, 88% 10%, 86% 20%, 86% 30%, 88% 40%, 90% 50%, 92% 60%, 94% 70%, 94% 80%, 92% 90%, 90% 100%, 0% 100%);}
    10% {clip-path: polygon(0% 0%, 92% 0%, 90% 10%, 88% 20%, 86% 30%, 86% 40%, 88% 50%, 90% 60%, 92% 70%, 94% 80%, 94% 90%, 92% 100%, 0% 100%);}
    20% {clip-path: polygon(0% 0%, 94% 0%, 92% 10%, 90% 20%, 88% 30%, 86% 40%, 86% 50%, 88% 60%, 90% 70%, 92% 80%, 94% 90%, 94% 100%, 0% 100%);}
    30% {clip-path: polygon(0% 0%, 94% 0%, 94% 10%, 92% 20%, 90% 30%, 88% 40%, 86% 50%, 86% 60%, 88% 70%, 90% 80%, 92% 90%, 94% 100%, 0% 100%);}
    40% {clip-path: polygon(0% 0%, 92% 0%, 94% 10%, 94% 20%, 92% 30%, 90% 40%, 88% 50%, 86% 60%, 86% 70%, 88% 80%, 90% 90%, 92% 100%, 0% 100%);}
    50% {clip-path: polygon(0% 0%, 90% 0%, 92% 10%, 94% 20%, 94% 30%, 92% 40%, 90% 50%, 88% 60%, 86% 70%, 86% 80%, 88% 90%, 90% 100%, 0% 100%);}
    60% {clip-path: polygon(0% 0%, 88% 0%, 90% 10%, 92% 20%, 94% 30%, 94% 40%, 92% 50%, 90% 60%, 88% 70%, 86% 80%, 86% 90%, 88% 100%, 0% 100%);}
    70% {clip-path: polygon(0% 0%, 86% 0%, 88% 10%, 90% 20%, 92% 30%, 94% 40%, 94% 50%, 92% 60%, 90% 70%, 88% 80%, 86% 90%, 86% 100%, 0% 100%);}
    80% {clip-path: polygon(0% 0%, 86% 0%, 86% 10%, 88% 20%, 90% 30%, 92% 40%, 94% 50%, 94% 60%, 92% 70%, 90% 80%, 88% 90%, 86% 100%, 0% 100%);}
    90% {clip-path: polygon(0% 0%, 88% 0%, 86% 10%, 86% 20%, 88% 30%, 90% 40%, 92% 50%, 94% 60%, 94% 70%, 92% 80%, 90% 90%, 88% 100%, 0% 100%);}
    100% {clip-path: polygon(0% 0%, 90% 0%, 88% 10%, 86% 20%, 86% 30%, 88% 40%, 90% 50%, 92% 60%, 94% 70%, 94% 80%, 92% 90%, 90% 100%, 0% 100%);}

}
@keyframes bubble-anim {
    0% {
        transform: translateX(0px);
    }
    25% {
        transform: translateX(-20px);
    }
    50% {
        transform: translateX(10px);
    }
    75% {
        transform: translateX(-10px);
    }
    100% {
        transform: translateX(0px);
    }
}

@media screen and (max-width: 560px) {
    main > nav {
        height: 50px;
        width: 100%;
        bottom: 5px;
    }
    #home-nav > menu > a {
        padding: 15px 22px;
        height: inherit;
        border-right: 1px solid var(--massalia-color);
    }
    #presentation > *  {
        opacity: 0;
    }
    #home-cards > label > p {
        display: none;
    }
}
@media screen and (max-width: 1050px) {
    body {
        height: 750vh;
    }
    #presentation > * {
        display: none;
    }
    #home-cards > label > h5 {
        font-size: small;
    }
    #home-cards > label > img {
        display: block;
        opacity: 0.15;
    }
    #home-cards > label > a {
        position: absolute;
        height: 100%;
        width: 100%;
    }
    #home-cards > label > a > i {
        top: 50%;
    }
    input[name="top-home-nav"]:nth-child(1):checked ~ #home-cards > label:nth-child(1),
    input[name="top-home-nav"]:nth-child(2):checked ~ #home-cards > label:nth-child(2),
    input[name="top-home-nav"]:nth-child(3):checked ~ #home-cards > label:nth-child(3),
    input[name="top-home-nav"]:nth-child(4):checked ~ #home-cards > label:nth-child(4),
    input[name="top-home-nav"]:nth-child(5):checked ~ #home-cards > label:nth-child(5) {
        width: 20%;
    }
    input[name="top-home-nav"]:nth-child(1):hover ~ #home-cards > label:nth-child(1) > a,
    input[name="top-home-nav"]:nth-child(2):hover ~ #home-cards > label:nth-child(2) > a,
    input[name="top-home-nav"]:nth-child(3):hover ~ #home-cards > label:nth-child(3) > a,
    input[name="top-home-nav"]:nth-child(4):hover ~ #home-cards > label:nth-child(4) > a,
    input[name="top-home-nav"]:nth-child(5):hover ~ #home-cards > label:nth-child(5) > a {
        opacity: 1;
        height: 100%;
        pointer-events: auto;
    }
    input[name="top-home-nav"]:nth-child(1):hover ~ #home-cards > label:nth-child(1) > img,
    input[name="top-home-nav"]:nth-child(2):hover ~ #home-cards > label:nth-child(2) > img,
    input[name="top-home-nav"]:nth-child(3):hover ~ #home-cards > label:nth-child(3) > img,
    input[name="top-home-nav"]:nth-child(4):hover ~ #home-cards > label:nth-child(4) > img,
    input[name="top-home-nav"]:nth-child(5):hover ~ #home-cards > label:nth-child(5) > img {
        opacity: 1;
    }
    #presentation-histoire > article {
        flex-wrap: wrap;
    }
    #presentation-histoire > article > div {
        width: 100%;
    }
    #histoire-text {
        padding: 1em;
    }
    #histoire-text > p {
        font-size: 20px;
    }
    #histoire-text > a {
        margin-top: 10px;
        font-size: 20px;
    }
    #radio-img {
        display: flex;
        flex-direction: row;
        justify-content: center;
    }
    #radio-img > img {
        height: 100%;
        width: auto;
    }
    #radio-desc {
        font-size: 20px;
    } 
    #presentation-musees {
        height: auto;
    }
    #content-musees {
        display: flex;
        flex-wrap: wrap;
    }
    #content-musees > div {
        width: 100%;
    }
    #presentation-musees > input:nth-child(1):checked ~ #content-musees > #musees-bg > #resp-musees > img:nth-child(1),
    #presentation-musees > input:nth-child(2):checked ~ #content-musees > #musees-bg > #resp-musees > img:nth-child(2),
    #presentation-musees > input:nth-child(3):checked ~ #content-musees > #musees-bg > #resp-musees > img:nth-child(3) {
        display: block;
        width: 100%;
    }
    #presentation-musees > input:nth-child(1):checked ~ #content-musees > #musees-bg > label:nth-child(1),
    #presentation-musees > input:nth-child(2):checked ~ #content-musees > #musees-bg > label:nth-child(2),
    #presentation-musees > input:nth-child(3):checked ~ #content-musees > #musees-bg > label:nth-child(3) {
        z-index: 3;
    }
    #musees-bg > label {
        scale: 0.55;
        top: 15%;
        left: 11.746%;
    }
    #musees-bg > label:nth-child(2) {
        top: 25%;
        left: 1.5%;
    }
    #musees-bg > label:nth-child(3) {
        top: 25%;
        left: 22%;
    }
    #musees-bg > label:hover {
        scale: 0.6;
    }
    #musees-desc > h1 {
        margin: 0.5em;
    }
    #musees-desc > p, #musees-desc > a {
        font-size: 18px;
    }
    #carousel-container {
        width: 90%;
    }
    #carousel-container > ul {
        padding: 0.5em;
    }
    #carousel-container > ul > li {
        display: flex;
        flex-direction: column;
    }
    #carousel-container > ul > li > img {
        height: 100%;
    }
    .parcs-desc {
        width: 100%;
    }
    .parcs-desc > p, .parcs-desc > h3 {
        font-size: 15px;
    }
    #content-parcs > ul > label {
        width: 24%;
        height: 14vh;
    }
    #content-plages {
        display: flex;
        flex-wrap: wrap;
    }
    #content-plages > div {
        width: 100%;
    }
    #plages-desc > h1 {
        margin: 0.5em;
    }
    #plages-desc > p, #plages-desc > a {
        font-size: 18px;
    }
    #plages-bg > label {
        scale: 0.55;
        top: 70%;
        right: 11.746%;
    }
    #plages-bg > label:hover {
        scale: 0.65;
    }
    #plages-bg > label:nth-child(2) {
        top: 62%;
        right: 9.5%;
    }
    #plages-bg > label:nth-child(3) {
        top: 57%;
        right: 14.7%;
    }
    #presentation-plages > input:nth-child(1):checked ~ #content-plages > #plages-bg > #resp-plages > img:nth-child(1),
    #presentation-plages > input:nth-child(2):checked ~ #content-plages > #plages-bg > #resp-plages > img:nth-child(2),
    #presentation-plages > input:nth-child(3):checked ~ #content-plages > #plages-bg > #resp-plages > img:nth-child(3) {
        display: block;
        width: 100%;
    }
    #presentation-plages > input:nth-child(1):checked ~ #content-plages > #plages-bg > label:nth-child(1),
    #presentation-plages > input:nth-child(2):checked ~ #content-plages > #plages-bg > label:nth-child(2),
    #presentation-plages > input:nth-child(3):checked ~ #content-plages > #plages-bg > label:nth-child(3) {
        z-index: 3;
    }
    #presentation-randonnees > article {
        width: 90%;
        height: 35vh;
        margin-top: 10vh;
        margin-left: auto;
        margin-right: auto;
        padding: 0;
        font-size: 15px;
    }
    #content-rando > * {
        padding: 0.8em;
        margin: 0;
    }
    #content-rando > a {
        margin-left: 2em;
        align-self: center;
    }
}