.container {
    width: 100%;
    max-width: 1920px;
    font-family: 'Philosopher', sans-serif;
    font-size: 18px;
}

h1 {
    font-size: 4rem;
    text-align: center;
}

h2 {
    font-size: 3.5rem;
    text-align: center;
}

h3 {
    font-size: 3rem;
    padding: 1rem;
}

h4 {
    font-size: 2rem;
    margin: 2rem 2rem 0 2rem;
    text-align: center;
}

p {
    line-height: 1.5rem;
}

.ibold {
    font-style: italic;
    font-weight: 600;
}

.section1, .section2, .section3, .section4, .section5 {
    line-height: 1.5rem;
}

.header, section {
    min-height: 100vh;
}

section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    width: 100%;
    padding: 0.5rem;
}

.header {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    background: linear-gradient( rgba(255, 255, 255, 0),rgba(255, 255, 255, 1)), center / cover no-repeat fixed url(../img/bienvenue.jpg);
}

.logo {
    max-width: 15%;
}

.header__logo {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header__title {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    font-weight: 700;
}

.header__title p {
    width: 100%;
    text-align: center;
    font-size: 2rem;
    line-height: 2.5rem;
    font-weight: 600;
}

.header__title p {
    padding-top: 2rem;
}

.header__subtitle :last-child {
    margin-top: 2rem;
}

/************************************** MENU BURGER ************************************/

.nav {
    width: 100%;
    padding: 5rem 0 0;
}

.turquoise {
    background-color: rgb(142, 236, 245);
}

.bluesky {
    background-color: rgb(144, 219, 244);
}

.blue {
    background-color: rgb(163, 196, 243);
}

.purple {
    background-color: rgb(207, 186, 240);
}

.pink {
    background-color: rgb(241, 192, 232);
}

.orange {
    background-color: rgb(255, 207, 210);
}

.orangelight {
    background-color: rgb(253, 228, 207);
}

.yellow {
    background-color: rgb(251, 248, 204);
}

.turquoise, .bluesky, .blue, .purple, .pink, .orange, .orangelight, .yellow {
    opacity: 1;
}

.nav__link {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.nav__link a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 150px;
    padding: 1rem;
    border-radius: 50%;
    text-align: center;
    margin: 1rem;
}

.nav__link a:hover {
    opacity: 0.5;
}

.burger {
    display: none;
}

.burger span:nth-child(1), .burger span:nth-child(3) {
    transition: transform 0.3s ease-out;
}

.burger span:nth-child(1) {
    transform: translateY(8px);
}

.burger span:nth-child(3) {
    transform: translateY(-8px);
}

.burger.open span:nth-child(1) {
    transform: translate(0) rotate(135deg);
}

.burger.open span:nth-child(2) {
    opacity: 0;
    transform: opacity 0s;
}

.burger.open span:nth-child(3) {
    transform: translate(0) rotate(-135deg);
}

.burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #1a1a1a;
    position: absolute;
    pointer-events: none;
    transition: opacity 0.3s 0.15s ease-out;
}

.open {
    transform: translate(0%);
}

/************************************ SECTION biodanza **************************************************************************/
.biodanza {
    max-width: 100vw;
}

.biodanza__block h3 {
    text-align: center;
    padding-bottom: 3rem;
}

.biodanza__text {
    text-align: justify;
    padding: 0.5rem;
}

.biodanza__block {
    background-color: rgb(142, 236, 245);
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 5px 5px 11px -2px rgba(0,0,0,0.8);
    width: 70%;
    margin-top: 2rem;
}

.biodanza__block li {
    list-style: inside;
    margin-left: 1rem;
}

/************************************ SECTION createur **************************************************************************/

.createur {
    width: 100%;
    height: 100dvh;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.createur__block {
    background-color: rgba(144, 219, 244, 1);
    padding: 0rem 2rem 1rem;
    border-radius: 1rem;
    box-shadow: 5px 5px 11px -2px rgba(0,0,0,0.8);
    width: 70%;
}

.createur__block h3 {
    text-align: center;
}

.createur__text {
    text-align: justify;
}

.createur__block > :nth-child(2) {
    padding-top: 2rem;
}

.createur figure {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-height: 15dvh;
}

.photoCreateur {
    margin-top: 1rem;
    border-radius: 50%;
    max-width: 380px;
}

figcaption {
    text-align: center;
    margin-top: 0.5rem;
}

/************************************ SECTION tous **************************************************************************/

.tous {
    max-width: 100vw;
    background-image: url(../img/galerie/shoot7.jpg);
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
}

.tous__block h3 {
    text-align: center;
    padding-bottom: 3rem;
}

.tous__text {
    text-align: justify;
}

.tous__block {
    background-color: rgba(207, 186, 240, 1);
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 5px 5px 11px -2px rgba(0,0,0,0.8);
    width: 70%;
    margin-top: 2rem;
}

/************************************ SECTION who **************************************************************************/

.who {
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    text-align: justify;
}

.who p, ul {
    margin-bottom: 1rem;
}

.who img {
    height: 40vh;
    border-radius: 50%;
}

.who__block {
    background-color: rgba(131, 56, 236, 0.5);
    border-radius: 1rem;
    padding: 1rem 2rem;
    box-shadow: 5px 5px 11px -2px rgba(0,0,0,0.8);
    width: 70%;
    margin-top: 2rem;
}

.who h3 {
    text-align: center;
}

.who ul {
    list-style: circle;
}

.who li {
    margin-left: 2rem;
}

/************************************ SECTION video **************************************************************************/

#background-video {
    width: 100%;
    height: 100%;
  }

.video {
    background-color: rgba(0, 0, 0, 1);
    justify-content: center;
}

.bg-video {
    width: 100vw;
    height: 100vh;
}

.cards {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.card {
    width: 80%;
    border: #1a1a1a solid 1px;
    border-radius: 1rem;
    padding: 0.5rem;
    margin-bottom: 1rem;
    margin-top: 1rem;
    box-shadow: 5px 5px 11px -2px rgba(0,0,0,0.8);
    background-color: rgba(255, 255, 255, 0.5);
}

.card p {
    margin-top: 1rem;
}

/************************************ SECTION vivencia **************************************************************************/
.vivencia {
    max-width: 100vw;
}

.vivencia__block h3 {
    text-align: center;
    padding-bottom: 3rem;
}

.vivencia__text {
    text-align: justify;
}

.vivencia__block {
    background-color: rgba(241, 192, 232, 1);
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 5px 5px 11px -2px rgba(0,0,0,0.8);
    width: 75%;
    margin-top: 2rem;
}

/********************** GALLERY **************************/

#gallery ul {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 2vmin;
}

#gallery ul li {
    list-style: none;
    height: 350px;
    flex-grow: 1;
}

li.film {
    height: auto !important;
}

#gallery li img, #gallery li video {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.gallery__block {
    background-color: rgba(255, 255, 255, 1);
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 5px 5px 11px -2px rgba(0,0,0,0.8);
    width: 70%;
    margin: 2rem 0;
}

.gallery__block h4 {
    margin: auto;
}

/************************************ CONTACT **************************************************************************/

.section5__text {
    background-color: rgba(253, 228, 207, 1);
    border-radius: 1rem;
    padding: 3rem;
    box-shadow: 5px 5px 11px -2px rgba(0,0,0,0.8);
    width: 70%;
    margin-top: 2rem;
}

.section5__text h4 {
    margin-bottom: 1rem;
}

.section5 h3 {
    margin-bottom: 0.5rem;
}

.place, .time {
    margin-bottom: 2rem;
}

.place {
    width: 100%;
}

.place iframe {
    width: 100%;
    margin: 0.5rem 0;
}

.how p {
    margin-top: 0.5rem;
}

.how span {
    font-weight: 700;
    text-decoration: underline;
}

#contact ul {
    margin-top: 1rem;
}

#contact li {
    list-style: inside;
}

@media screen and (max-width: 1000px) {
    .container {
        max-width: none;
        font-size: 16px;
    }

    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.3rem;
    }
    
    h3 {
        font-size: 1.2rem;
        font-weight: 600;
    }
    
    h4 {
        font-size: 1.1rem;
        font-weight: 600;
    }

    .burger {
        width: 30px;
        height: 30px;
        border: 0;
        padding: 0;
        margin: 10px;
        cursor: pointer;
        display: flex;
        background: #F5F5F5;
        align-items: center;
        position: relative;
        border-radius: 3px;
    }
    
    .burger span:nth-child(1), .burger span:nth-child(3) {
        transition: transform 0.3s ease-out;
    }
    
    .burger span:nth-child(1) {
        transform: translateY(8px);
    }
    
    .burger span:nth-child(3) {
        transform: translateY(-8px);
    }
    
    .burger.open span:nth-child(1) {
        transform: translate(0) rotate(135deg);
    }
    
    .burger.open span:nth-child(2) {
        opacity: 0;
        transform: opacity 0s;
    }
    
    .burger.open span:nth-child(3) {
        transform: translate(0) rotate(-135deg);
    }
    
    .burger span {
        display: block;
        width: 100%;
        height: 2px;
        background: #22252C;
        position: absolute;
        pointer-events: none;
        transition: opacity 0.3s 0.15s ease-out;
    }

    .nav {
        width: auto;
        padding: 0;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 999;
    }    
    
    .nav__link {
        background-color: rgba(34,37,44, 0.7);
        height: 100vh;
        width: 100vw;
        padding: 70px 1rem;
        position: absolute;
        transform: translate(-100%);
        transition: transform 0.3s ease-out;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;
    }

    .nav__link a {
        width: 100%;
        height: auto;
        border-radius: 0%;
        margin: auto;
    }
    
    .nav__link i {
        font-size: 4rem;
    }
    
    .open {
        transform: translate(0%);
    }

    .biodanza__block, .createur__block, .tous__block, .who__block, .vivencia__block, .section5__text, .gallery__block {
        padding: 0.5rem;
        width: 95%;
    }

    .header {
        background: linear-gradient( rgba(255, 255, 255, 0),rgba(255, 255, 255, 1)), center / cover no-repeat url(../img/bienvenue.jpg);
    }

    .header__logo {
        flex-direction: column;
        padding: 1rem;
    }

    .header__title p {
        font-size: 1.5rem;
        line-height: 1.5rem;
    }

    .header__title p:last-of-type {
        padding: 2rem 1rem 0 1rem;
    }

    .logo {
        max-width: 50%;
    }

    .tous {
        background-attachment: fixed;
    }

    .createur {
        height: auto;
    }

    .who, .createur {
        flex-direction: column;
    }

    .photoCreateur {
        max-width: 80%;
    }

    .createur figure {
        max-height: none;
        align-items: center;
    }

  }