@import url(colors.css);

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    position: relative;
    margin: 0 auto;
    font-family: "Merriweather", serif;
}

main {
    background-color: var(--black);
    color: var(--white);
}

.email_recrutement,
a {
    cursor: pointer;
    text-decoration: none;
    color: var(--white);
    width: 100%;
    height: 100%;
}

img {
    width: 100%;
}

header {
    background-color: var(--black);
    color: var(--white);
}

.only_mb,
.group-choriste-mb,
.menu-buger {
    display: none;
}

.footer-wrapper,
.header-wrapper {
    position: absolute;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0) 100%);
    z-index: 5;
}
.footer-wrapper div:nth-of-type(2) div:first-of-type > a,
.header-wrapper div:last-of-type.social-link a {
    display: inline-block;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    width: 34px;
    height: 34px;
}

.header-wrapper div:last-of-type.social-link a:first-child {
    background-image: url(/images/icon-maison-coordonnee-blanc.png);
}

.header-wrapper div:last-of-type.social-link a:first-child:hover {
    background-image: url(/images/icon-maison-coordonnee-orange.png);
}

.header-wrapper div:last-of-type a:nth-child(2) {
    background-image: url(/images/icon-telephone-courriel-blanc.png);
    background-position-y: 3px;
    width: 45px;
    background-size: 40px;
}

.header-wrapper div:last-of-type a:nth-child(2):hover {
    background-image: url(/images/icon-telephone-courriel.png);
}
.header-wrapper div:last-of-type.social-link a:last-child {
    background-image: url(/images/icon-facebook-blanc.png);
}

.header-wrapper div:last-of-type.social-link a:last-child:hover {
    background-image: url(/images/icon-facebook-orange.png);
}
.footer-wrapper .logo,
.header-wrapper .logo {
    margin: 35px;
    width: 13%;
    min-width: 250px;
    transition: min-width 0.9s ease;
}

.header-wrapper > div:last-of-type {
    margin-right: 2%;
    min-width: 120.59px;
}
nav {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.nav-bar {
    min-width: 830px;
}

nav div {
    position: relative;
    padding: 25px;
    z-index: 1;
    cursor: pointer;
    text-align: center;
    width: 200px;
    text-transform: uppercase;
}

nav ul {
    position: absolute;
    left: 50%;
    top: 70px;
    transform: translate(-50%);
    text-align: center;
    min-width: 150px;
    height: 0px;
    overflow: hidden;
    transition: height 0.7s ease;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 0 0 15px 15px;
}

.nav-bar div:hover ul {
    height: 250px;
}

nav li {
    margin-top: 25px;
    list-style: none;
    cursor: pointer;
    transition: color 0.5s ease;
}

nav li a {
    transition: color 0.5s ease;
    position: relative;
    z-index: 1;
}

.under-bar {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%);
    display: block;
    width: 100%;
    height: 5px;
    transition: height 0.5s ease;
    z-index: -1;
}

nav div:last-of-type .under-bar {
    background-color: var(--red);
}
nav div:nth-of-type(1) .under-bar {
    background-color: var(--lightblue);
}
nav div:nth-of-type(2) .under-bar {
    background-color: var(--green);
}

nav div:nth-of-type(3) .under-bar {
    background-color: var(--orange);
}

nav div:nth-of-type(1) li:hover a {
    color: var(--lightblue);
}

nav div:nth-of-type(2) li:hover a {
    color: var(--green);
}

nav div:hover .under-bar {
    z-index: -1;
    height: 100%;
}

.nav-bar div:nth-of-type(2):hover ul {
    height: 115px;
}

.section_1 {
    position: relative;
}

.wrapper-index .background img {
    min-width: 1000px;
}

.background {
    overflow-x: hidden;
}

.section_1 div:first-of-type {
    display: flex;
    align-items: center;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%);
    font-size: 2vw;
    width: 100%;
    justify-content: center;
    margin: 50px auto;
}

.section_1 div:first-of-type span {
    font-family: "Dancing Script", cursive;
    font-size: 12vw;
    margin-left: 25px;
    padding-bottom: 50px;
}

.femme-choriste {
    width: 120%;
    min-width: 500px;
}

.section_2 {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 75%;
    margin: 0 auto;
    font-size: 0;
    background-repeat: no-repeat;
    background-size: 50%;
    height: 1000px;
}

.container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    font-size: 1rem;
}

.notes_music {
    width: 20%;
}

.section_2 h1 {
    padding-bottom: 50px;
    text-transform: uppercase;
    font-size: 1.6rem;
    font-weight: lighter;
}

.femme-choriste + div {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-left: 5%;
}

.email-link,
.phone-link {
    color: var(--lightblue);
    text-decoration: none;
    font-family: "Merriweather", serif;
    text-transform: uppercase;
    transition: color 0.9s ease;
}

.email-link:hover,
.phone-link:hover {
    color: var(--green);
    text-decoration: underline;
}

.nav-container nav {
    font-size: 1rem;
    bottom: 50px;
    width: 100%;
    min-width: unset;
    justify-content: space-between;
}

.nav-container nav a {
    text-decoration: none;
}

.action_br {
    display: block;
}

.action_flex {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
}

.nav-container nav > div {
    width: 20%;
    min-width: 225px;
    transition: transform 1s;
}

.nav-container nav > div:hover {
    transform: scale(1.3);
    z-index: 2;
}

.nav-container nav div:first-of-type .under-bar {
    height: 100%;
}

.section_2 .under-bar {
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.5) 40%, rgba(0, 0, 0, 0) 100%);
    transition: width 0.9s ease;
}

.nav-container nav > div {
    padding: 15px;
    margin: 0;
    text-align: left;
    margin-top: -50px;
}

.nav-container nav > div div {
    padding: 10px 0;
    text-align: left;
}

.span_bg {
    font-size: 0.7rem;
    background-image: url(/images/WEBP/1569919-200.webp);
    background-position: 150px center;
    background-size: 20%;
    background-repeat: no-repeat;
    padding: 5px;
}

.section_3 {
    position: relative;
    color: var(--white);
    background-color: var(--white);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.5) 30%, rgba(255, 255, 255, 1) 30%, rgba(255, 255, 255, 1) 100%);
}

.section_3 > div:first-of-type {
    width: 80%;
    margin: 0 auto;
    padding-left: 5%;
}

.section_3 > div:first-of-type h2 {
    font-weight: lighter;
    font-size: 1.4rem;
    padding: 10px 0 80px 14%;
}

.group-choriste-mb,
.group-choriste {
    width: 80%;
    margin: 0 auto;
}

.galerie-photos {
    transform: translateY(-90px);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.galerie-photos img {
    border: solid 2px var(--white);
    transition: transform 0.5s ease;
}

.galerie-photos img:hover {
    transform: scale(1.1);
}

.galerie-photos picture:first-of-type img {
    transform: rotate(-2deg) translate(-10px);
}

.galerie-photos picture:first-of-type img:hover {
    transform: scale(1.1);
}

.galerie-photos picture:nth-of-type(3) img {
    transform: rotate(1.5deg) translate(10px, 10px);
    position: relative;
    z-index: 2;
}
.galerie-photos picture:nth-of-type(3) img:hover {
    transform: scale(1.1);
}

.galerie-photos picture:nth-of-type(4) img {
    transform: rotate(1deg);
}
.galerie-photos picture:nth-of-type(4) img:hover {
    transform: scale(1.1);
}

.galerie-photos picture:nth-of-type(6) img {
    transform: rotate(-1deg);
    position: relative;
    z-index: 1;
}

.galerie-photos picture:nth-of-type(6) img:hover {
    transform: scale(1.1);
}

.galerie-photos picture img {
    width: 100%;
    height: auto;
    box-shadow: 12px 12px 8px rgba(0, 0, 0, 0.3);
}

.faire-parti {
    display: flex;
    flex-direction: column;
    width: 100%;
    color: var(--black);
    background-image: url(/images/chevalet-ligne.png);
    background-position: right center;
    background-repeat: no-repeat;
    background-size: contain;
    gap: 20px;
    padding-left: 10%;
}

.faire-parti div,
.faire-parti p {
    width: 60%;
}

.faire-parti h2 {
    font-family: "Dancing Script", cursive;

    font-size: 4.1vw;
}


.faire-parti > div:first-of-type p {
    width: 85%;
}

.footer-wrapper {
    position: unset;
    width: 80%;
    background: unset;
    background-color: var(--white);
    margin: 0 auto;
    margin-bottom: 100px;
}

.footer-wrapper .logo {
    margin: 0;
}

footer {
    background-color: var(--white);
}

footer > div:first-of-type {
    width: 80%;
    height: 5px;
    margin: 0 auto;
    margin-top: 50px;
    border-top: 1px solid var(--black);
    border-bottom: 1px solid var(--black);
}
.footer-wrapper div:nth-of-type(2) > div {
    display: inline-block;
    text-align: right;
}
.footer-wrapper div:nth-of-type(2) > div:first-of-type a {
    background-image: url(/images/icon-maison-coordonnee-orange.png);
}
.footer-wrapper div:nth-of-type(2) > div:first-of-type a:nth-of-type(2) {
    background-image: url(/images/icon-telephone-courriel.png);
    background-position-y: 3px;
    width: 45px;
    background-size: 40px;
}
.footer-wrapper div:nth-of-type(2) > div:first-of-type a:nth-of-type(3) {
    background-image: url(/images/icon-facebook-orange.png);
}
.footer-wrapper div:nth-of-type(2) > div a {
    display: block;
    text-decoration: none;
    color: var(--black);
    text-align: right;
    margin-top: 10px;
}

#burger-icon {
    position: relative;
    cursor: pointer;
    /* width: 50px;
    max-width: 60px; */
    z-index: 2;

    border-radius: 5px;
}

#nav-menu {
    overflow: hidden;
    max-height: 0px;
    width: 0px;
    top: 0;
    position: absolute;
    transition: max-height 0.9s ease, width 0.9s ease;
}

#nav-menu.show {
    max-height: 500px;
    width: 100%;
}

.menu-buger nav {
    position: absolute;
    right: 0;
    left: 0;
    flex-direction: column;
    gap: 0;
}

.menu-buger nav div {
    padding: 13px;
    width: 100%;
}
.menu-buger nav > div:nth-of-type(2) {
    width: 85%;
}
.menu-buger nav > div:nth-of-type(3) {
    width: 70%;
}

.menu-buger nav > div:nth-of-type(4) {
    width: 55%;
}

.menu-buger .under-bar {
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.5) 80%, rgba(0, 0, 0, 0) 100%);
    transition: width 0.9s ease;
}

.menu-buger nav ul {
    display: flex;
    flex-direction: column;
    top: 10px;
    width: 100%;
    height: max-content;
    opacity: 0;
    overflow: unset;
    background-color: unset;
    transition: opacity 0.9s ease;
    z-index: 0;
    justify-content: space-around;
}

.menu_buger-ul.show {
    opacity: 1;
    z-index: 1;
}

.menu_buger-div {
    transition: height 0.9s ease;
}

.nav-title {
    margin: 0;
    opacity: 1;
    transition: opacity 0.9s ease, color 0.9s ease;

    text-shadow: 2px 2px 5px rgba(0, 0, 0, 1); /* Ombre portée */
}
.nav-title.show {
    opacity: 0;
}

/* .menu-buger nav div:nth-of-type(1) .nav-title {
    color: var(--lightblue);
}
.menu-buger nav div:nth-of-type(2) a {
    color: var(--green);
}

.menu-buger nav div:nth-of-type(3) {
    color: var(--orange);
}

.menu-buger nav div:nth-of-type(4) {
    color: var(--red);
} */

.menu-buger li {
    margin: 0;
    margin-bottom: 15px;
    color: var(--white);
    max-height: unset;
    transition: color 0.9s ease;
    text-transform: none;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 1); /* Ombre portée */
}

.menu-buger nav div:hover .nav-title {
    color: var(--white);
}

nav div:nth-of-type(2) li:hover {
    color: var(--green);
}

.social-link {
    transition: opacity 0.5s ease;
}

.footer-wrapper .social-link {
    padding-right: 15px;
}

/*------------------------------------------------------------------------------------------------------*/
/*------------------------------------Page Contact.php--------------------------------------------------*/
/*------------------------------------------------------------------------------------------------------*/

.wrapper-contact {
    width: auto;
    min-height: 100%;
}

.wrapper-form {
    display: flex;
    align-content: center;
    justify-content: center;
    width: 100%;
    gap: 10%;
    padding: 3% 3% 150px 3%;
}

.wrapper-contact input,
.wrapper-contact textarea {
    color: var(--white);
}

.wrapper-contact .background {
    height: 70vh;    
    background: linear-gradient(to top, rgba(0, 0, 0, 1) 5%, rgba(0, 0, 0, 0) 20%), url(/images/WEBP/contact-header.webp);
    background-size: cover;
    background-position: center center;  
}

#formulaire,
.info-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.info-contact {
    gap: 30px;
}

#formulaire input,
#formulaire textarea {
    background-color: var(--black);
    padding: 3%;
    border-radius: 30px;
    border: 2px solid white;
}

.text_formulaire {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

#formulaire button {
    width: 100px;
    text-align: left;
    background-image: url(../images/fleche.png);
    background-position: right center;
    background-repeat: no-repeat;
    background-size: 30%;
    margin-top: 50px;
    padding: 5px;
    background-color: var(--black);
    color: var(--white);
    border: none;
    cursor: pointer;
}

.info-contact {
    transform: translate(0, 155px);
}

.info-contact h2 {
    font-size: 16px;
}

#ty_message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 5s ease;
    pointer-events: none;
    text-align: center;
}
#ty_message.active {
    opacity: 1;
}
#ty_message div {
    font-family: "Kanit", sans-serif;
    font-size: 20px;
    color: var(--white);
}

#honeypot {
    display: none;
}

.succes-message {
    background-color: transparent;
    color: #2d6a4f;
    border: 1px solid #95d5b2;
    padding: 1em;
    margin: 1em 0;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 1em;
    opacity: 1;
    transition: opacity 1s ease-in-out;
}
.succes-message.fade-out {
    opacity: 0;
}

/*------------------------------------------------------------------------------------------------------*/
/*------------------------------------Page la-Chorale.php-------------------------------------------------*/
/*------------------------------------------------------------------------------------------------------*/

.wrapper-chorale .header-bg {
    background: linear-gradient(to top, rgba(0, 0, 0, 1) 5%, rgba(0, 0, 0, 0) 20%), url(/images/WEBP/chorale-header-bg.webp);
    background-position: right top;
    background-size: 100%;
    background-repeat: no-repeat;
    width: auto;
    padding-top: 14%;
}

.s4_text,
.container-img {
    width: 65%;
    margin: 0 auto;
}

.s4_text {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 50px auto;
}

.s4_text p:last-of-type a {
    color: var(--orange);
    text-decoration: underline;
}

.wrapper-chorale h1 {
    margin-bottom: 50px;
}

.section_7 {
    background-color: var(--orange);
}

.section_5 {
    display: flex;
    padding: 2% 10% 2% 10%;
    align-items: center;
    color: var(--black);
    font-weight: 550;
    justify-content: space-around;
    gap: 2%;
    background-color: var(--white);
}
.s5_text {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 55%;
}

.s5_text > div:first-of-type {
    font-size: 1.5rem;
    font-weight: bolder;
}

.s5_text > div:nth-of-type(2) {
    transform: translate(0, -20px);
    font-size: 1.2rem;
    font-weight: bold;
}
.section_5 .container-img {
    max-width: 400px;
    width: auto;
}

.section_6 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    padding: 3%;
}

.section_8 article,
.section_6 article {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    width: 80%;
}
.article-text {
    width: 40%;
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.article-text div {
    text-transform: uppercase;
    font-size: 1.5rem;
}

.article-text p:last-child {
    color: var(--orange);
}

.article-text span {
    display: block;
    height: 1px;
    width: 80%;
    background-color: var(--white);
}
.section_8 article:last-of-type,
.section_6 article:nth-of-type(2) {
    flex-direction: row;
}

.wrapper-chorale > div.bg {
    background-image: url(/images/WEBP/la-chorale-livre-musique.webp);
    background-position: center center;
    background-size: cover;
    width: 100%;
    height: 50vh;
}
.section_7 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;

    color: var(--black);
    padding: 5%;
    font-weight: 500;
}
.section_7 h2,
.section_7 p {
    width: 80%;
}
.section_7 h2 {
    font-size: 2.3rem;
}

.section_8 {
    background-color: var(--white);
    color: var(--black);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3%;
    gap: 100px;
}
.section_8 article {
    justify-content: space-between;
    gap: 50px;
}

.section_8 .container-img {
    max-width: 50%;
    margin: 0;
}

.section_8 li {
    margin: 10px 0 0 25px;
}

.section_8 .deroulement{
    white-space: nowrap;
}

.font_dancing {
    font-size: 3rem;
    font-family: "Dancing Script", cursive;
}

/*------------------------------------------------------------------------------------------------------*/
/*----------------------------------Page Politique de confidentialité-----------------------------------*/
/*------------------------------------------------------------------------------------------------------*/

.wrapper-politique {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding: 250px 50px 50px 50px;
}

.wrapper-politique h1,
.wrapper-politique h2 {
    font-size: 18px;

    text-transform: uppercase;
}

.wrapper-politique p {
    margin-bottom: 50px;
}

/*------------------------------------------------------------------------------------------------------*/
/*-----------------------------------------------Page error404------------------------------------------*/
/*------------------------------------------------------------------------------------------------------*/

.page_404_wrapper {
    height: 80vh;
}

.page_404_wrapper .section1 {
    position: relative;
    font-family: "Dancing Script", cursive;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 5vw;
    text-align: center;
}

/*------------------------------------------------------------------------------------------------------*/
/*-----------------------------------------Page notre_histoire------------------------------------------*/
/*------------------------------------------------------------------------------------------------------*/

.wrapper-histoire .section_1 {
    overflow: hidden;
}

.wrapper-histoire .section_2 {
    height: unset;
    display: flex;
    gap: 70px;
    font-size: 16px;
    background-image: unset;
    padding: 50px;
    padding-bottom: 200px;
    width: 100%;
    box-shadow: 0px 5px 30px 20px rgba(0, 0, 0, 0.7);
    overflow: visible;
    position: relative;
    z-index: 1;
}
.wrapper-histoire .gap {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 50px;
}

.div_width {
    width: 75%;
    margin: 0 auto;
}

.wrapper-histoire h1,
.wrapper-histoire h2 {
    padding-bottom: 20px;
    text-transform: uppercase;
    /* font-size: 0.5vw; */
    font-weight: lighter;
}

.wrapper-histoire h2 span {
    text-transform: lowercase;
}

.wrapper-histoire .section_2 span {
    color: var(--orange);
}

.wrapper-histoire .section_3 {
    background: unset;

    margin: 0 auto;

    padding: 50px;
    background-color: var(--white);
    color: var(--black);

    align-items: center;
}

.wrapper-histoire .section_3 h2.focus {
    padding: 0;
    padding-bottom: 50px;
    font-family: "Dancing Script", cursive;
    text-transform: none;
    font-size: 7vw;
    text-align: center;
}

.wrapper-histoire .article_picture{
    padding-bottom: 14px;
}

.wrapper-histoire article {
    position: relative;
    display: flex;
    flex-direction: column;
    /* gap: 15px; */
    background-color: var(--orange);
    padding: 25px;
    cursor: pointer;
}
.wrapper-histoire h3 {
    text-transform: uppercase;
    text-decoration: none;
}

.wrapper-histoire h4 {
    text-transform: uppercase;
    padding: 15px 0px 15px 0;
}

.wrapper-histoire article p {
    padding-bottom: 15px;
}

.wrapper-histoire article div.focus {
    font-family: unset;
    font-size: unset;
    display: flex;
    align-items: center;
}
.wrapper-histoire div.focus > div:first-child {
    width: 80%;
}

.div_button,
.button_close_article,
.button_open_article {
    position: absolute;
    top: 20px;
    right: 25px;
    width: 35px;
    height: 35px;
}
.button_close_article,
.button_open_article {
    top: 16.5px;
    right: 0px;
    width: 35px;
    height: 3px;
    background-color: var(--black);
}

.button_open_article {
    width: 3px;
    height: 35px;
    top: 0px;
    right: 16.5px;
    transition: transform 0.5s ease;
}

.button_open_article.rotated {
    transform: rotate(270deg);
    transition: transform 0.5s ease;
}

.article_script {
    max-height: 0;
    opacity: 0;
    /* height: 0px; */
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.5s ease, padding-top 0.5s ease;
}

.article_script.open {
    opacity: 1;

    /* transition: max-height 0.5s ease, opacity 0.5s ease, padding-top 0.5s ease; */
    max-height: 1000px;
}

.wrapper-histoire.section_3 .gap {
    display: flex;
}

.article_picture {
    width: 50%;
    margin: 0 50px;
    max-width: 350px;
}

.wrapper-histoire .background {
    min-width: 500px;
}
/*------------------------------------------------------------------------------------------------------*/
/*-----------------------------------------------@MEDIA-------------------------------------------------*/
/*------------------------------------------------------------------------------------------------------*/
@media only screen and (max-width: 1536px) {
}

@media only print {
}

@media only screen and (max-width: 1350px) {
    .nav-bar,
    .header-wrapper .social-link {
        opacity: 0;
        overflow: hidden;
    }
    .menu-buger {
        display: inline-block;
        margin-right: 2%;
    }
}

@media only screen and (max-width: 1300px) {
    .nav-bar,
    .header-wrapper .social-link {
        display: none;
    }
    .section_8 article:last-of-type {
        flex-direction: column;
    }

    .section_8 article:last-of-type .article-text {
        width: 100%;
    }
}

@media only screen and (max-width: 1200px) {
    .section_2 {
        width: 100%;
        background: url(/images/WEBP/femme-choriste.webp);
        background-size: 80%;
        background-repeat: no-repeat;
        background-position: center top;
        height: unset;
    }
    .section_2 .container {
        width: 90%;
        margin: 0 auto;
        padding-top: 45%;
        padding-bottom: 150px;
    }

    .femme-choriste {
        display: none;
    }

    .section_2 .only_mb {
        display: block;
    }

    .nav-container nav {
        position: unset;
        margin: 0 auto;
        align-items: center;
    }
    .section_2 > p {
        width: 90%;
        text-align: center;
        font-size: 1.2rem;
        text-transform: uppercase;
        transform: translateY(-50px);
        margin: 0 auto;
    }

    .nav-container nav > div {
        display: flex;
        flex-direction: column;
        width: 80%;
    }

    .nav-container nav > div > div:last-child {
        align-items: end;
    }

    .section_2 .only_mb {
        font-size: 0.7rem;
        text-transform: initial;
        text-align: left;
        width: 100%;
        padding: 30px;
    }
    .nav-container nav > div:hover {
        transform: scale(1.05);
    }

    .section_3 > div:first-of-type {
        margin-top: 110px;
    }
    .section_5 {
        flex-direction: column;
    }
    .s5_text {
        margin-top: 50px;
        width: 100%;
    }
}

@media only screen and (max-width: 1000px) {
    .nav-container nav {
        width: 100%;
    }
    .section_8 .deroulement{
        white-space: wrap;
    }
    .footer-wrapper .logo,
    .header-wrapper .logo {
        min-width: 150px;
        transition: min-width 0.9s ease;
    }
}

@media only screen and (max-width: 920px) {
    .nav-container nav {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        justify-content: center;
        align-items: center;
    }

    .nav-container nav > div,
    .article-text {
        width: 100%;
    }

    .faire-parti {
        background-position: 100px center;
    }

    .faire-parti h2 {
        font-size: 2rem;
    }
    .faire-parti > div:first-of-type {
        font-size: 1.1rem;
    }

    .section_8 article,
    .section_6 article,
    .section_6 article:nth-of-type(2) {
        flex-direction: column;
        margin-top: 50px;
    }
    .section_6 .container-img {
        width: 100%;
    }

    .section_8 .container-img {
        max-width: none;
        width: 100%;
    }
}
@media only screen and (max-width: 900px) {
    .section_1 div:first-of-type {
        font-size: 0.7rem;
    }
    /* .section_1 div:first-of-type span {
        font-size: 5rem;
    } */



    .section_3 > div:first-of-type h2 {
        font-size: 5vw;
    }

    .section_3 > div:first-of-type {
        width: 100%;
        padding-left: unset;
    }

    .section_3 > div {
        width: 90%;
        margin: 0 auto;
    }

    .wrapper-histoire div.focus > div:first-child{
        width: 100%;
    }

    .wrapper-histoire .section_3 > div:first-of-type div {
        padding: 0;
    }
}
@media only screen and (max-width: 750px) {
    .header-wrapper {
        background: linear-gradient(to bottom, rgba(0, 0, 0, 1) 10%, rgba(0, 0, 0, 0) 100%);
        transition: background-color 0.9s ease;
    }

    .footer-wrapper div:nth-of-type(2) > div.social-link {
        display: none;
    }

    .wrapper-chorale .header-bg {
        padding-top: 150px;
        background: linear-gradient(to top, rgba(0, 0, 0, 1) 5%, rgba(0, 0, 0, 0) 30%), url(/images/WEBP/chorale-header-bg.webp);
        background-size: cover;
    }
    .wrapper-form {
        flex-direction: column;
        text-align: center;
    }

    .info-contact {
        transform: unset;
        margin-top: 50px;
        padding: 10px;
    }

    .wrapper-histoire article div.focus {
        flex-direction: column;
    }

    .article_picture {
        margin: 0;
        width: 100%;
    }
}

@media only screen and (max-width: 650px) {
    .group-choriste {
        display: none;
    }
    .only_mb {
        display: block;
    }

    .galerie-photos {
        transform: translateY(0);
        padding-bottom: 50px;
    }
    .galerie-photos picture:first-of-type img {
        transform: rotate(0deg) translate(0px);
    }

    .galerie-photos picture:nth-of-type(3) img {
        transform: rotate(0deg) translate(0px, 0px);
    }

    .footer-wrapper {
        flex-direction: column;
        background-image: url(/images/WEBP/index-footer-image.webp);
        background-size: contain;
        background-position: right bottom;
        background-repeat: no-repeat;
        justify-content: flex-start;
        width: 100%;
        height: 800px;
        margin: 0;
    }
    .footer-wrapper .logo {
        width: 80%;
    }
    .footer-wrapper div:nth-of-type(2) > div a {
        text-align: center;
        margin: 50px 0;
    }

    .section_5 .container-img {
        width: 100%;
    }
    .section_8 h2 {
        font-size: 1.5em;
    }
}

@media only screen and (max-width: 500px) {
    .wrapper-histoire .section_2 {
        padding: 50px 0;
    }
    .wrapper-histoire .section_3 h2.focus {
        font-size: 12vw;
    }
}

@media only screen and (max-width: 490px) {
    .nav-container nav {
        grid-template-columns: repeat(1, 1fr);
        gap: 15px;
    }

    .nav-container nav > div {
        width: 80%;
        margin: 0 auto;
    }
    .faire-parti div,
    .faire-parti p {
        width: 70%;
    }

    .s4_text {
        margin: 0 auto;
        padding: 20px;
        width: 100%;
    }
}

@media only screen and (max-width: 420px) {
    .section_1 div:first-of-type {
        z-index: 1;
    }

    .section_3 {
        background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.5) 0%,
            rgba(0, 0, 0, 0.5) 55%,
            rgba(255, 255, 255, 1) 55%,
            rgba(255, 255, 255, 1) 100%
        );
    }
    .wrapper-index .background img {
        transform: translateX(-125px);
    }

    .wrapper-chorale .section_4 .container-img {
        width: 100%;
    }

    .section_1 div:first-of-type {
        left: 3%;
        transform: unset;
    }
    .section_1 div:first-of-type span {
        margin-left: 5px;
    }
    .wrapper-histoire .div_button {
        scale: 0.8;
    }

    .wrapper-histoire .section_3 {
        padding: 15px;
    }
}
