/***********************************************************************/
/*****  --------------------- STYLE GÉNÉRAL ---------------------- *****/
/***********************************************************************/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    width: 100%;
}

body {
    font-family: 'Raleway', sans-serif;
    font-size: 1.5rem;
    color: #2C2C2C;
}

main {
    position: relative;
    min-height: 68vh; 
}

main::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    content: "";
    background-image: url(../images/bg-body.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    max-height: 100vh;
}

section {
    width: 98%;
    margin: 0 2%;
    padding: 1.5rem;
}

h1 {
    font-family: "Poiret One", sans-serif;
    font-size: 4rem;
    color: #5b834f ;
    text-align: center;
    padding: 4rem 0;
}

h2 {
    font-family: "Poiret One", sans-serif;
    margin: 2.5rem 0;
    padding: 1.5rem;
    text-align: center;
    font-size: 2.5rem;
    color: #5b834f;
}

p {
    line-height: 2.5rem;
    padding: 0.5rem;
}

a {
    text-decoration: none;
    font-weight: 600;
    color: #e04b89;
}

a:hover {
    color: #ee8153;
}

ul {
    list-style-type: none;
}

li {
    padding: 1rem 0;
}

.bouton {
    display: inline-block;
    font-family: "Montserrat", sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
    margin: 1rem auto 0.5rem auto;
    padding: 0.7rem;
    border: 0.1rem solid #EE6C36;
    border-radius: 1rem;
    color: #2C2C2C;
    background-color: #FEECE2;
    transition: 0.2s ease-in;
}

.bouton:hover {
    border: 0.1rem solid #2C2C2C;
    background-color: #EE6C36/* #f85d1a */;
    color: #F7EFEB;
    box-shadow: 0 0.1rem 0.3rem #2C2C2C;
    cursor: pointer; 
}

.bouton[disabled]:hover {
    border: 0.1rem solid #EE6C36;
    border-radius: 1rem;
    color: #2C2C2C;
    background: transparent;    
}

fieldset {
    margin: 2rem;
    padding: 1.5rem;
    border: 0.2rem double #6e9e5f;
    border-radius: 3rem;
    box-shadow: 0 0.1rem 0.3rem #6e9e5f;
}

form {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.form-groupe {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 90%;
    margin: 0 5%;
    padding: 1rem;
}

.form-groupe input {
    padding: 0.2rem 1rem;
    outline: none;
    border: 0.1rem solid #EE6C36;
    border-radius: 0.4rem;
    background-color: #fffcfa;
    font-family: "Poiret One", sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
}

.form-groupe input:focus {
    box-shadow: 0 0.1rem 0.3rem #c05528;
}

.form-groupe select {
    padding: 0.2rem 1rem;
    outline: none;
    border: 0.1rem solid #EE6C36;
    border-radius: 0.4rem;
    background-color: #fffcfa;
    font-family: "Poiret One", sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
}

.form-groupe > div {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
}

.form-groupe input[type="radio"] {
    width: 1rem;
    transform: scale(1.5);
    border-radius: 1rem;
}

.form-groupe img {
    position: absolute;
    width: 2.5rem;
    top: 3.6rem;
    right: 2rem;
}

.form-groupe img:hover {
    filter: invert(0.5);
    cursor: pointer;
}

form > button {
    width: 80%;
    margin: 0 10%;
}

table {
    width: 80%;               
    margin: 2rem auto;        
    border-collapse: collapse;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15); 
    font-family: Arial, sans-serif;
}

th, td {
    padding: 0.75rem 1.5rem;
    text-align: center;
    border: 0.1rem solid #2C2C2C;
}

th {
    background-color: #5C5C5C;
    color: #ee8153;
    font-weight: 600;
    text-transform: uppercase; 
}

td {
    background-color: #ffa984; 
}

tr:nth-child(odd) td  {
    background-color: #ffd8c2; 
}

.hidden {
    display: none;
}

.rotate {
    transform: rotate(180deg);
}

.close {
    width: 1rem;
}

.close:hover {
    filter: invert(1);
    cursor: pointer;
}

.alert-success {
    border: 0.1rem solid #267030;
    background-color: #3bd44fc0;
    position: relative;
    width: 50%;
    margin: 1rem 25%;
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: center;
}

.alert-error {
    border: 0.1rem solid #b32a25;
    background-color: #e76868;
    position: relative;
    width: 50%;
    margin: 1rem 25%;
    padding: 1rem;
    border-radius: 0.5rem; 
    text-align: center;   
}

.alert-success img,
.alert-error  img {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
}




/***********************************************************************/
/*****  --------------------- STYLE HEADER ----------------------- *****/
/***********************************************************************/
header {
    position: relative;
    background-image: url(../images/nous3.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
}

header > img {
    position: absolute;
    width: 20rem;
    padding: 0.5rem 1rem;
    margin-top: 5rem;
}

header > nav {
    display: flex;
    justify-content: flex-end;
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
}

#nav-burger-container {
    display: none;
}

nav > a {
    padding: 0.7rem;
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    color: #F7EFEB;
    transition: 0.2s ease-in;
}

nav > a:hover {
    transform: translateY(-0.7rem)scale(1.2);
    color: #EE6C36;
}

header > h1 {
    margin: 0;
    padding: 5rem;
    font-size: 4.5rem;
    text-align: center;
    color: /* #F85D1A */ #EE6C36;
    /* text-shadow:
        0.06rem 0.06rem 0 #F7EFEB,
        -0.06rem 0.06rem 0 #F7EFEB,
        0.06rem -0.06rem 0 #F7EFEB,
        -0.06rem -0.06rem 0 #F7EFEB,
        0 0.06rem 0 #F7EFEB,
        0.06rem 0 0 #F7EFEB,
        0 -0.06rem 0 #F7EFEB,
        -0.06rem 0 0 #F7EFEB; */
}

#title-navbar {
    display: none;
}




/***********************************************************************/
/*****  --------------------- STYLE FOOTER ----------------------- *****/
/***********************************************************************/
footer {
    padding: 1rem;
    background-color: #ee8153;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    color: #FEF5EC;
    font-size: 2.2rem;
}

footer > img {
    width: 5rem;
}




/***********************************************************************/
/*****  -------------------- STYLE CONNEXION --------------------- *****/
/***********************************************************************/
#connexion {
    margin: 0;
    min-height: 100vh;
}

#connexion h1 {
    font-family:'Raleway', sans-serif;
    color: #b32a25;
}

#connexion p {
    text-align: center;
    font-weight: 500;
}

#connexion fieldset {
    width: 60%;
    margin: 3rem 20%;
    border: 0.2rem double #b32a25;
    box-shadow: 0 0.1rem 0.3rem #e64843;
}




/***********************************************************************/
/*****  ------------------- STYLE MAIN INDEX --------------------- *****/
/***********************************************************************/
#merci > p > em {
    display: block;
    text-align: right;
    padding: 1rem 5rem;
    color: #EE6C36;
}

#orga li {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 2rem;
}

#bonus {
    position: relative;
    width: 80%;
    margin: 0 10%;
    padding: 1.5rem 1.5rem 3rem 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;       
}

#bonus > h1 {
    margin: 0;
}

#bonus > p {
    text-align: center;
    padding: 1.5rem;
    border: 0.1rem solid #435E3B/* #EE6C36 */;
    box-shadow: 0.1rem 0.3rem 0.2rem #6e9e5f;
    border-radius: 3rem;
    background-image: url(../images/bg.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* background: linear-gradient(45deg, #FEF5EC, #EE6C36);
    ; */ 
}




/***********************************************************************/
/*****  -------------------- STYLE MAIN QUIZ --------------------- *****/
/***********************************************************************/
#quiz-pres {
    text-align: center;
}

#quiz {
    position: relative;
    min-height: 35rem;
    margin: 1rem 0;
}

.card {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    Z-index: 2;
    background-image: url(../images/nous1.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat; 
    width: 60%;
    min-height: 30rem;
    margin: 0 20%;
    padding: 4rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    gap: 1.5rem;
    border: 0.1rem solid #EE6C36;
    border-radius: 3rem;
    box-shadow: 0 0.15rem 0.3rem #c05528; 
}

.card > em {
    position: absolute;
    top: 2rem;
    right: 4rem;
}

.card > h2 {
    position: relative;
    z-index: 2;
    margin: 3.5rem auto 1rem auto;
    font-weight: 900;
    color: #2C2C2C;
    text-shadow: 0 0.2rem 0.1rem #6e9e5f;
    padding: 0.2rem;
    box-shadow: 
        -0.2rem 0.1rem 0.1rem #6e9e5f,
        0.2rem 0.1rem 0.1rem #6e9e5f,
        -0.1rem 0.2rem 0.1rem #6e9e5f,
        0.1rem 0.2rem 0.1rem #6e9e5f;
    border-radius: 0.5rem;
}

.card > p {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 500;
    color: black;
    text-shadow: 0 0.1rem 0.1rem #ee8153;
}

.card > div {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 0.5rem;
}

.card > div > label {
    padding: 0 2rem 0 0;
    color: #1C1C1C;
    text-shadow: 0 0.1rem 0.1rem #e04b89;
    font-weight: 600;
}

.card form {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.card form > div {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card button {
    font-weight: 400;
    width: 80%;
}




/***********************************************************************/
/*****  ------------------ STYLE MAIN INVITÉS -------------------- *****/
/***********************************************************************/
#invites-pres {
    text-align: center;
}

#invites-pres > p > span {
    font-weight: 500;
    font-size: 1.6rem;
}

#form-choix {
    width: 70%;
    margin: 2rem 15%;
    /* border-bottom: 0.1rem solid #435E3B;
    border-radius: 3rem; */
}

#choix-cote {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 1rem 2rem;
    width: 90%;
    margin: 0 5%;
} 

#menu-item {
    position: relative;
    cursor: pointer;
}

#item {
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}    


#fleche {
    position: absolute;
    top: 1.5rem;
    right: 0.5rem;
    width: 1.8rem;
    transition: transform 0.3s ease;
}

#sous-menu-item {
    position: absolute;
    width: 100%;
    text-align: center;
}

#sous-item2 {
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;    
}

#item,
#sous-item1,
#sous-item2 {
    width: 14rem;
    padding: 1rem 1.5rem 1rem 0;
    border: 0.1rem solid #2C2C2C;
    background-color: #FEECE2 ;
}

#item:hover,
#sous-item1:hover,
#sous-item2:hover {
    background-color: #EE6C36;
    color: #F7EFEB;
}

#choix-cote > button {
    margin: 0;
}

#invit-list > h1 {
    padding: 2rem 0 4rem 0;
}

#liste-invites {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
}

#liste-invites > div {
    width: 100%;
}

#liste-invites h2 {
    margin: 0 0 2rem 0;
}

#list-invit-mariee,
#list-invit-mari {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1rem;
}

#list-invit-mariee {
    border-right: 0.2rem solid #435E3B;
}

#ajout-list-invit-container {
    position: absolute;
    z-index: 3;
    bottom: 0;
    width: 100%;
}

#ajout-list-invit {
    position: relative;
    width: 60%;
    margin: 0 20%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    gap: 0.5rem;
    background-image: url(../images/bg.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 0.1rem solid #5b834f;
    border-radius: 1.5rem;
    box-shadow: 0.1rem 0.3rem 0.2rem #6e9e5f;
}

#ajout-list-invit > .close {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.form-groupe > label[for="photo"] {
    cursor: pointer;
    text-align: center;
}

.form-groupe > label[for="photo"]:hover,
.form-groupe > label[for="photo"]:focus {
    text-shadow: 0 0.1rem 0.2rem #c05528;
    outline: none;
}

#ajout-list-invit > button {
    margin: 0;
}

.groupe-lien {
    width: 100%;
    padding: 1rem 0;
}

.groupe-lien > h3 {
    font-family: 'Poiret One', sans-serif;
    font-size: 2rem;
    text-align: center;
}

.groupe-lien > hr {
    width: 60%;
    margin: 0.5rem 20% 1rem 20%;
    border: none;
    height: 0.2rem;
    box-shadow: 0 0.2rem 0.5rem #e04b89;
    
}

.card-invit-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.invit-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    width: 15rem;
    padding-bottom: 0.5rem;
    border: 0.15rem solid #2C2C2C;
    border-radius: 0.5rem;
    background: linear-gradient(45deg, #ee8153, #e04b89);   
    box-shadow: 0 0.2rem 0.5rem #2C2C2C;
}

.invit-card > h3 {
    font-family: "Poiret One", sans-serif;
    font-weight: bold;
    color: #2C2C2C;
}

.invit-card > img {
    width: 14.8rem;
	height: 18rem;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
    box-shadow: 0 0.2rem 0.5rem #2C2C2C;
}

.invit-card > h4 {
    font-family: "Poiret One", sans-serif;
    font-weight: bold;
    color: #2C2C2C;
    padding: 0.5rem 0;
}




/***********************************************************************/
/*****  ------------------- STYLE MAIN ADMIN --------------------- *****/
/***********************************************************************/
#main-admin {
    display: grid;
    grid-template-columns: 1fr 4fr;
}

#menu-admin-responsive {
    display: none;
}

#menu-admin {
    grid-column: 1;
    height: 100%;
    border-right: 0.1rem solid green;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 2.5rem;
    padding: 2rem 0 2rem 2rem;
}

#menu-admin > div {
    display: flex;
    align-items: center;
    gap: 1rem;
    height: 3.5rem;
    padding: 0 1rem;
    border: 0.1rem solid #EE6C36;
    border-radius: 0.5rem;
}

#menu-admin > div:hover {
    background-color: #EE6C36;
    border: 0.1rem solid #2C2C2C;
    box-shadow: 0 0.1rem 0.3rem #EE6C36;
    color: #ffd5c3;
    cursor: pointer;
}

#menu-admin > div:hover > img {
    filter: invert(1);
}

#main-admin > section {
    grid-column: 2;
}

/* #dashboard > section {
    border: 0.1rem solid blue;
    border-radius: 3rem;
} */

#dashboard h3 {
    font-family: "Montserrat", sans-serif;
}

#liste-invite > table {
    width: 80%;
    margin: 2rem 10%;
}

#liste-invite > table td {
    font-family: "Poiret One", sans-serif;
    font-weight: 600;
}

#nb-invit {
    display: none;
}




/***********************************************************************/
/*****  -------------------- STYLE MAIN ORGA --------------------- *****/
/***********************************************************************/
#orga-pres > p {
    text-align: center;
}

#lieu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
}

#date {
    display: block;
    padding: 2rem 1rem;
    font-family: "Poiret One", sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #ee47a3;
    /* text-align: center; */
}

#map {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    width: 80%;
    margin: 0 10%;
}

#map > iframe {
    width: 100%;
    height: 30rem;
    border-radius: 0.5rem;
    box-shadow: 0 0.2rem 0.5rem #2C2C2C;
    margin: 2rem 0;
}

#activite-bonus h3 {
    font-family: "Poiret One", sans-serif;
    padding: 1.5rem;
    color: #5b834f;
    font-size: 2rem;
    text-align: center;
}

#activite-bonus h4 {
    font-family: "Poiret One", sans-serif;
    padding: 1.5rem;
    color: #5b834f;
    font-size: 1.8rem;
}

#pres-w-up,
#pres-sens-du-monde {
    width: 50%;
    margin: 1rem 25%;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;
    gap: 0.5rem
}

#pres-w-up > a:hover > img,
#pres-sens-du-monde > a:hover > img {
    box-shadow: 0 0.2rem 0.5rem #2C2C2C;    
}

#logo-w-up,
#logo-sens-du-monde {
    width: 25rem;
    border-radius: 3rem;
}

#form-orga-container {
    position: relative;
    background-image: url(../images/background-bali.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    width: 80%;
    margin: 0 10%;
    border-radius: 1rem;
}

#en-tete {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 15%;
    height: 100%;
    background: linear-gradient(180deg, #E4396A, #EE6D36);
    color: #F7EFEB;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    padding: 0.5rem;
    border-top-left-radius: 1rem;
    border-bottom-left-radius: 1rem;
}

#deroule-titre {
    display: block;
    font-family: "Josefin Slab", sans-serif;
    font-size: 3rem;
    text-align: center;
}

#nom-titre {
    display: block;
    font-family: "Whisper", serif;
    font-size: 5rem;
    text-align: center;
}

#form-orga {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80%;
    margin: 3rem 0 3rem 17.5%;
    background-color: #435e3bbe;
    border-radius: 1rem;
}

.groupe-date {
    position: relative;
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

#form-orga h3 {
    /* font-family: "Major Mono Display", sans-serif; */
    font-family: "Josefin Slab", sans-serif;
    font-size: 3rem;
    font-weight: 700;
    text-decoration: underline;
    padding: 3rem 0;
    text-align: center;
}

.groupe-date:nth-child(1) > h3 {
    color: #E4396A;
}

.groupe-date:nth-child(2) > h3 {
    color: #E84E55;
}

.groupe-date:nth-child(3) > h3 {
    color: #EA5A49;
}

.groupe-date:nth-child(4) > h3 {
    color: #EE6D36;
}

.group-form {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
}

.group-form input[type="checkbox"] {
    transform: scale(2);
    border-radius: 1rem;
    /* margin-left: 1rem; */
}

.group-form input[type="radio"] {
    transform: scale(2);
    border-radius: 1rem;
    margin-left: 1rem;
}

.group-form > label {
    font-size: 1.8rem;
    font-weight: 500;
    font-family: "Montserrat", sans-serif;
    color: #F7EFEB;
}

.group-form > img {
    background-color: #EE6D36;
    border-radius: 50%;
    transition: 0.2s ease-in;
}
.group-form > img:hover {
    background-color: #E4396A;
    box-shadow: 0 0.1rem 0.3rem #2C2C2C;
    cursor: pointer;
}

#group-nb-yoga {
    position: absolute;
    top: 0;
    left: 1.5rem;
    z-index: 10;
    background-color: #435e3b;
    border-radius: 0.5rem;
}

.popup {
    width: 100%;
    position: absolute;
    bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #8C8C8C;
    border: 0.1rem solid #3C3C3C;
    border-radius: 0.5rem;
    padding: 0.5rem;
}

.popup > img:hover {
    cursor: pointer;
    filter: invert(1);
}

#present {
    position: relative;
    z-index: 2;
    background: linear-gradient(45deg, #E4396A, #EE6D36);
    border-radius: 1rem;
    width: 70%;
    padding: 1rem 2rem;
    margin: 1rem 15%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}

#present::before {
    position: absolute;
    z-index: -1;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    content: "";
    background-color: #435e3bee;
    margin: 0.3rem;
    border-radius: 1rem;
}

#present > h3 {
    padding: 2rem 0;
}

#form-orga-container button {
    background-color: #e43969e0;
}

#form-orga-container button:hover {
    border: 0.1rem solid #2C2C2C;
    background-color: #EE6C36/* #f85d1a */;
    color: #F7EFEB;
    box-shadow: 0 0.1rem 0.3rem #2C2C2C;
    cursor: pointer;
}