/*----------------------------------------*/
/*--------------generic class-------------*/
/*----------------------------------------*/

* {
    box-sizing: border-box;
}

body {
    background-color:whitesmoke;
    margin:0;
    padding:0;
    width:100%;
    height:100%;
}

header {
    position:relative;
}

main {
    display: flex;
    z-index: -1;
    justify-content: center;
    align-items: center;
}

h1 {
    color: white;
    font-size: clamp(2.5rem, 5vw, 3rem);
    text-align: center;
    align-items: center;
    justify-content: center;
    position:absolute;
    margin:5px;
    text-shadow: 2px 2px 4px #000;
    font-family: 'Roboto', sans-serif;
    z-index:-1;
}

h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    align-items: center;
    justify-self: center;
    font-family: 'Roboto', sans-serif;
}

h3 {
    font-size: clamp(1.5rem, 2vw, 2rem);
    align-items: center;
    justify-self: center;
    font-family: 'Roboto', sans-serif;
}

h4 {
    color: white;
    font-size: clamp(1rem, 5vw, 2rem);
    text-align: center;
    align-items: center;
    justify-content: center;
    top:56%;
    opacity: 0.8;
    position:absolute;
    text-shadow: 2px 2px 4px #000;
    font-family: 'Roboto', sans-serif;
    z-index:-1;
}

footer {
    height: 200px;
    background-color: #1e1e1e;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/*----------------------------------------*/
/*--------------navbar & menu-------------*/
/*----------------------------------------*/

.logo {
    display: flex;
    max-height: 60px;
    left:10px;
    position:relative;
    justify-self: center;
}

.navbar {
    position:fixed;
    padding:10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width:100%;
    box-sizing: border-box;
    font-family: "Alegreya Sans", sans-serif;
    font-weight: 500;
    text-shadow: 2px 2px 2px #000;
    background-color: rgba(31, 27, 27, 0.575);
    z-index: 10;
    transition: background-color 0.3s ease;
}

.navbar.scrolled {
    backdrop-filter: blur(8px);
    background-color: rgba(31, 27, 27, 0.575);
}

.navbar .nav-logo {
    position: relative; 
    height: auto; 
    min-height: 80px; 
    width: 400px;
    max-width: 400px; 
    background-color: rgba(221, 160, 221, 0.5);
    border-radius: 50px;
    font-size: 1.6em;
    display: grid;
    grid-template-columns: 1fr 3fr;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    border: 1px solid #ccc;
    z-index:5;
    overflow: hidden;
}

.navbar .nav-logo::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #00FFD5, #FF0000, #9932CC);
    border-radius: 50px;
    z-index: -1;
    filter: blur(10px);
    animation: gloweffects 10s linear infinite;
    opacity: 0;
    transition: opacity 500ms ease-in-out;
}
.navbar .nav-logo:hover::after {
    opacity: 0.5;
}

@keyframes gloweffects {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.navbar a {
    color:white;
    text-decoration: none;
}

.navbar .nav-link ul {
    display: flex;
    list-style: none;
    align-items: center;
    justify-content: center;
}

.navbar .nav-link ul li {
    margin:0 25px;
    font-size: 1.5em;
}

.nav-link ul li a {
    position: relative;
    display: inline-block;
}

.nav-link ul li a::after {
    content:"";
    display: block;
    position: absolute;
    width: 100%;
    height: 2px;
    transform: scaleX(0);
    transform-origin: right;
    background: rgba(226, 213, 213, 0.623);
    transition: transform 0.3s ease-out;
}

.nav-link ul li a:hover::after {
    transform:scaleX(1)
}

.nav-liste {
    text-align: center;
}

.hamburger-menu {
    position: fixed;
    bottom: 0;
    right: 0;
    top: 100px;
    width: 30%;
    height: 100vh;
    max-height: 100vh;
    background-color: rgba(31, 27, 27, 0.575);
    backdrop-filter: blur(8px);
    z-index: 10;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
    transform: translateX(100%);
    pointer-events: none;
    display: flex;
    flex-direction: column;
    transition:
        transform 0.3s ease-in-out,
        opacity 0.1s ease-in-out;
}

.hamburger-menu.open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

.hamburger-menu .nav-link {
    justify-content: center;
    display: flex;
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0px;
}

.hamburger-menu .nav-link ul {
    align-items: center;
    justify-content: flex-start;
    list-style: none;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    margin:0;
    margin-top: 10px;
    padding:0;
}

.hamburger-menu .nav-link ul li {
    padding: 20px;
    justify-content: center;
    align-items: center;
    text-align: center;
    align-self: center;
}

.hamburger-menu a {
    font-family: "Alegreya Sans", sans-serif;
    font-weight: 500;
    font-size: 1.6em;
    text-shadow: 2px 2px 2px #000;
    color: white;
    text-decoration: none;
    align-items: center;
    justify-content: center;
}

.logo-menu {
    display: none;
    flex-direction: column;
    position:relative;
    cursor:pointer;
    border:none;
    background-color:#00000000;
    width: 50px;
    height: 50px;
    z-index:20;
    align-items: center;
}

.logo-menu span {
    display:block;
    border-radius: 1px;
    width: 100%;
    height: 7px;
    z-index: 20;
    background-color: #dfdada;
    position: absolute;
    pointer-events: none;
    transition: opacity 0.3s 0.15s ease-out;
}

.hamburger span:nth-child(1),
.hamburger span:nth-child(3) {
    transition: transform 0.3s ease;
}

.hamburger span:nth-child(1) {
    top:6px;
}

.hamburger span:nth-child(2) {
    top:23px;
}

.hamburger span:nth-child(3) {
    top:40px;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(17px) rotate(135deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
    transition: opacity 0s ease-out;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-17px) rotate(-135deg);
}

/*----------------------------------------*/
/*---------------footer menu--------------*/
/*----------------------------------------*/

.foot-section {
    display: flex;
    width: 97%;
    height: 85%;
    max-height: 130px;
    border-radius: 30px;
    justify-content: center;
    align-items: center;
}

.icon-box-foot {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.footer-logo-join {
    height: 100%;
    opacity: 1;
}

.footer-logo {
    padding: 10px;
    height: 60%;
    opacity: 1;
}

.footer-logo-insta {
    padding: 10px;
    height: 70%;
    opacity: 1;
}

#icon {
    height: clamp(20px,30vh,80px);
    aspect-ratio: 1/1;
    scale:1;
    transition:transform 0.3s ease, filter 0.2s ease, scale 0.2s ease;
}

#icon:hover {
    animation: bounce  0.6s ease;
    scale:1.05;
    filter: drop-shadow(5px 5px 2px rgb(70, 14, 14));
}

.mentions {
    max-height: 70px;
}


/*----------------------------------------*/
/*-------------basic background-----------*/
/*----------------------------------------*/

.parallax-header {
    position: relative;
    width: 100%;
    height: 70vh;
    overflow: hidden;
    display: flex;
    align-items:center;
    justify-content:center;
    flex-direction: column;
    box-shadow: -3px -3px 3px rgb(66, 61, 61);
}

.header-image {
    position: absolute;
    background-attachment: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/*----------------------------------------*/
/*---------------text font----------------*/
/*----------------------------------------*/

.petit-texte-title {
    color:black;
    font-family: "Fredericka the Great",serif;
    font-size: 200%;
    align-items: center;
    justify-self: center;
    text-align: center;
}

.petit-texte-title-ups {
    font-family: "Lugrasimo", cursive;
    text-shadow: 1px 1px 1px black;
    color:cornflowerblue;
}

.petit-texte-paragraphe {
    color:black;
    font-family: "Lato", sans-serif;
    font-weight: 400;
    line-height: 2em;
    align-items: start;
    justify-content:center;
    font-size: 110%;
}

.petit-texte-paragraphe-mentions {
    color:#3498db;
    font-family: "Lato", sans-serif;
    font-weight: 500;
    line-height: 2em;
    align-items: start;
    justify-content:center;
    font-size: 110%;
    text-decoration: none;
}

.points {
    text-orientation: upright;
    font-size: 300%;
    writing-mode:vertical-lr;
    text-align: center;
}

/*----------------------------------------*/
/*------------home arrangement------------*/
/*----------------------------------------*/

.container {
    display:grid;
    grid-template-columns: 1fr 4fr 1fr;
    grid-template-rows: auto-fit 200px;
    padding: 30px;
    padding-top: 50px;
    grid-gap: 40px;
}

.center-container {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap:30px;
}

.case1 {
    height: auto;
    align-items: end;
}

.case2 {
    height: auto;
    align-content: flex-end;
    justify-content: flex-end;
}

.inside-case {
    display:grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto-fit;
    grid-gap:20px;
}

.text-in-case-up {
    display:grid;
    grid-template-rows: 20% 80%;
}

.side {
    position: relative;
    height: auto;
    border-radius: 10px 10px 10px 10px;
    background-color: rgba(135, 88, 164, 0.4);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    border: 1px solid #ccc;
    overflow: hidden;
    padding: 30px;
}

.side::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("images/pattern.png");
  background-repeat: repeat;
  background-size:contain;
  transform: scale(2.5);
  opacity: 0.3;
  z-index: 0;
}


.inside-side {
    position: relative;
    display: flex;
    min-height: 200px;
    max-height: 250px;
    z-index: 1;
    justify-content: center;
    height:auto;
    padding: 30px;
    background-color: rgba(158, 138, 138, 0.27);
    flex-direction: column;
    border-radius: 50px 50px 50px 50px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.inside-side:hover {
    background-color: rgba(158, 138, 138, 0.37);
    transform: scale(1.05);
}

.inside-side-title {
    display: flex;
    min-height: 50px;
    max-height: 100px;
    height:auto;
    font-size:clamp(2px,5vh,10px);
    justify-content: center;
    align-items: center;
}

.icone-zone-side {
    display: flex;
    height:200px;
    width: auto;
    z-index: 2;
    justify-self: center;
    justify-content: center;
    align-items: center;
}

.icon {
    margin: auto;
    height: clamp(20px,30vh,80px);
    aspect-ratio: 1/1;
    transition:transform 0.3s ease, filter 0.2s ease;
}

.icon:hover {
    animation: bounce  0.6s ease;
    filter: drop-shadow(10px 5px 2px rgb(70, 14, 14));
}

.border-line {
    display: flex;
    justify-self: center;
    height: 2px;
    width: 90%;
    background-color: rgba(65, 57, 57, 0.37);
    z-index: 5;
    margin: 30px;
}

@keyframes bounce{
    0%   { 
        transform: translateY(0); 
    }
    30%  { 
        transform: translateY(-10px); 
    }
    50%  { 
        transform: translateY(0); 
    }
    70%  { 
        transform: translateY(-5px); 
    }
    100% { 
        transform: translateY(0); 
    }
}

.center {
    border-radius: 10px 10px 10px 10px;
}

.photo-g {
    display: flex;
    max-width: 95%;
    align-items: center;
    box-shadow: 2px 2px 4px #000 ;
    border-radius: 10px 50px 10px 50px;
    text-align: justify;
    border: 1px solid #ccc;
}

.photo-d {
    display: flex;
    max-width:95%;
    text-align: justify;
    align-items: end;
    justify-content: flex-end;
    margin-left: auto;
    box-shadow: 2px 2px 4px #000 ;
    border-radius: 50px 10px 50px 10px;
    border: 1px solid #ccc;
}

#coming-soon {
    width: 100%;
    height: 100%;
    color:black;
    font-family: "Fredericka the Great",serif;
    font-size: clamp(100%, 200%, 200%);
    align-items: center;
    justify-self: center;
    text-align: center;
}

/*----------------------------------------*/
/*---------membership arrangement---------*/
/*----------------------------------------*/

.three-part-adhesion {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding:10px;
    grid-gap:30px;

}

.center-image-block {
    display: flex;
    justify-self: center;
    align-items: center;
    width: 50vh;
    top: 50%;
    aspect-ratio: 1 / 1;
    margin: auto;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 30px 30px 30px 30px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    max-height: 100%;
    transition: transform 0.5s ease;
}

.adhesion-image {
    display:flex;
    justify-content: center;
    align-self: center;
    max-width: 100%;
    max-height: 100%;
    border-radius: 30px 30px 30px 30px;
}

.center-image-block:hover{
    transform:scale(1.05);
}

.side-text-block {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50vh;
    width: 50vh;
    margin: 10vh;
    border-radius: 30px 30px 30px 30px;
}

.side-text-block,
.center-image-block {
    width: clamp(200px, 20vw, 500px);
    height: auto;
}

.center-text {
    text-align:center;
}

/*----------------------------------------*/
/*----------register arrangement----------*/
/*----------------------------------------*/

.register-arrangement {
    display: flex;
    text-align: center;
    width: 90%;
    height: 100%;
    padding: 50px;
    margin: 50px;
    margin-bottom: 150px;
}

.register-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 50%;
    margin:auto;
    height: auto;
    min-height: 400px;
}

.register-icon-box {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    width:  clamp(80px, 25vmin, 160px);
    height: clamp(80px, 25vmin, 160px);
    overflow: visible;
}

.register-icon {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    margin: 0;
    transition: transform 0.3s ease-out;
}

.register-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (hover: none) and (pointer: coarse) {
    .register-icon:hover {
        transform: none;
    }
    .register-icon:hover::before {
        transform: none;
        opacity: 0;
    }
}

.register-icon:hover {
    transform: translateY(15px);
}

.register-icon::before {
    position: absolute;
    content: "";
    width: 130%;
    max-width: 250px;
    height: 100px;
    top: 70%;
    left: -15%;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.5), transparent);
    opacity: 0;
    transform: translateY(0) scale(1.2);
    transition: transform 0.3s ease-out, opacity 0.3s ease;
    filter: blur(5px);
    border-radius: 50px;
    pointer-events: none;
    z-index: -1;
}

.register-icon:hover::before {
    transform: translateY(-15px) scale(1);
    opacity: 1;
}

/*----------------------------------------*/
/*-----------retour arrangement-----------*/
/*----------------------------------------*/

.retour-arrangement {
    display: flex;
    flex-direction: column;
    text-align: center;
    width: 90%;
    height: 100%;
    padding: 50px;
    margin: 50px;
    margin-bottom: 150px;
}

.retour-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    margin:auto;
    height: auto;
    min-height: 400px;
}

/*----------------------------------------*/
/*------------stage arrangement-----------*/
/*----------------------------------------*/

.stage-arrangement {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 90%;
    height: auto;
    padding: 50px;
}

.stage-screen {
    display: flex;
    height: 100%;
    width: 100%;
    background-color: rgba(135, 88, 164, 0.4);
    padding:50px;
    border-radius: 30px 30px 30px 30px;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#stage {
    height: 800px;
    padding: 20px;
}

/*----------------------------------------*/
/*------------event arrangement-----------*/
/*----------------------------------------*/

.event-arrangement {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 90%;
    height: 100%;
    padding: 50px;
}

#event-screen-1 {
    display: flex;
    position:relative;
    height: 100%;
    width: 100%;
    background-color: rgba(135, 88, 164, 0.2);
    padding:50px;
    margin-top: 30px;
    border-radius: 30px 30px 30px 30px;
    flex-direction: column;
}

#event-screen-1::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("images/pattern.png");
  background-repeat: repeat;
  background-size:contain;
  object-fit: cover;
  overflow: hidden;
  opacity: 0.2;
  z-index: 0;
}

#event-screen-2 {
    display: flex;
    position: relative;
    height: 100%;
    width: 100%;
    background-color: rgba(46, 126, 158, 0.2);
    padding:50px;
    margin-top: 30px;
    border-radius: 30px 30px 30px 30px;
    flex-direction: column;
}

#event-screen-2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("images/pattern.png");
  background-repeat: repeat;
  background-size:50%;
  object-fit: cover;
  overflow: hidden;
  opacity: 0.2;
  z-index: 0;
}

#event-screen-3 {
    display: flex;
    position: relative;
    height: 100%;
    width: 100%;
    background-color: rgba(173, 44, 44, 0.2);
    padding:50px;
    margin-top: 30px;
    border-radius: 30px 30px 30px 30px;
    flex-direction: column;
}

#event-screen-3::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("images/pattern.png");
  background-repeat: repeat;
  background-size:50%;
  object-fit: cover;
  overflow: hidden;
  opacity: 0.2;
  z-index: 0;
}

.case-event {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    height: auto;
    width: 100%;
    grid-gap:30px;
    overflow: hidden;
    padding: 20px;
    box-sizing: border-box;
}

.photo-wrapper {
    height: auto;
    max-height: 100%;
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.photo-event {
    height: auto;
    max-width: 100%;
    filter: drop-shadow(10px 10px 4px #4747a09c);
}

/*----------------------------------------*/
/*---------partenaire arrangement---------*/
/*----------------------------------------*/

.partenaire-arrangement {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 95%;
    height: auto;
    padding: 50px;
}

.partenaire-case {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 30px;
    width: 100%;
    max-width: 1400px;
    height: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.partenaire-element {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    flex:1;
    height: auto;
    width: auto;
    max-width: 400px;
    text-align: center;
    box-sizing: border-box;
}

.photo-wrapper {
    height: auto;
    min-height: 200px;
    max-height: 300px;
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.photo-part {
    max-height: 200px;
    width: auto;
    filter: drop-shadow(10px 10px 4px #4747a09c);
    display: block;
}

/*----------------------------------------*/
/*-----------contact arrangement----------*/
/*----------------------------------------*/

.contact-arrangement {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 50px;
    width: 90%;
    height: 100%;
    padding: 50px;

}

.contact-screen {
    display:flex;
    width: 50%;
    height: 600px;
    padding: 30px;
    padding-bottom: 70px;
    background-color: rgba(135, 88, 164, 0.4);
    border-radius: 30px 30px 30px 30px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.contact-screen label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #555;
}

.contact-screen input[type="email"],
.contact-screen select,
.contact-screen textarea {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 18px;
  border: 1.8px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  transition: border-color 0.3s ease;
  font-family: 'Lato', sans-serif;
}

.contact-screen input[type="email"]:focus,
.contact-screen select:focus,
.contact-screen textarea:focus {
  outline: none;
  border-color: #4a90e2;
  box-shadow: 0 0 8px rgba(74, 144, 226, 0.4);
}

.contact-screen button[type="submit"] {
  background-color: #4a90e2;
  color: white;
  padding: 12px 20px;
  font-size: 18px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  transition: background-color 0.3s ease;
  width: 100%;
}

.contact-screen button[type="submit"]:hover {
  background-color: #357abd;
}

.contact-screen textarea {
  min-height: 100px;
  resize: vertical;
}

/*----------------------------------------*/
/*----------calendar arrangement----------*/
/*----------------------------------------*/

.calendrier {
    display:flex;
    width: 65%;
    height: 800px;
    margin: 50px;
    padding-bottom: 60px;
    background-color: rgba(135, 88, 164, 0.4);
    border-radius: 30px 30px 30px 30px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/*----------------------------------------*/
/*------------game arrangement------------*/
/*----------------------------------------*/

.arrangement {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 90%;
    height: 100%;
    padding: 50px;
}

.gaming-screen {
    display: flex;
    height: auto;
    max-height: 500px;
    width: 100%;
    max-width: 1080px;
    background-color: rgba(135, 88, 164, 0.4);
    margin:30px;
    border-radius: 30px 30px 30px 30px;
    justify-content: center;
    align-items: center;
}

#discord-icon {
    margin: auto;
    height: clamp(20px,30vh,200px);
    aspect-ratio: 1/1;
    transition:transform 0.3s ease, filter 0.2s ease;
}

#discord-icon:hover {
    animation: bounce  0.6s ease;
    filter: drop-shadow(10px 5px 2px rgb(70, 14, 14));
}

/*----------------------------------------*/
/*----------carousel arrangement----------*/
/*----------------------------------------*/

.pull-arrangement {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 90%;
    height: 100%;
    padding: 50px;
}

.clothes-screen {
    display: flex;
    flex-direction: column;
    height: 700px;
    width: auto;
    background-color: rgba(135, 88, 164, 0.4);
    margin: 30px;
    padding: 30px;
    border-radius: 30px 30px 30px 30px;
    justify-content: center;
    align-items: center;
}

.carousel {
  width: 100%;
  max-width: 800px;
  height: 400px;
  margin: auto;
  overflow: hidden;
  position: relative;
}

.carousel-scroll {
  display: flex;
  justify-self: center;
  margin-top: 100px;
  margin-bottom:100px;
  transition: transform 0.4s ease;
}

.carousel-image {
    width: 33.33%;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.5;
    transform: scale(0.9);
}

.carousel-image.active {
  opacity: 1;
  transform: scale(2);
}

.ligne {
    display: flex;
    flex-direction: column;
    width: 50px;
    height: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/*----------------------------------------*/
/*------------local arrangement-----------*/
/*----------------------------------------*/

.local-arrangement {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 90%;
    height: 100%;
    padding: 50px;
}

.local-screen {
    display: flex;
    flex-direction: column;
    height: auto;
    width: auto;
    background-color: rgba(135, 88, 164, 0.4);
    margin:30px;
    padding: 30px;
    border-radius: 30px 30px 30px 30px;
    justify-content: center;
    align-items: center;
}

/*----------------------------------------*/
/*----------mentions arrangement----------*/
/*----------------------------------------*/

.mentions-arrangement {
    display: flex;
    flex-direction: column;
    text-align: center;
    width: 90%;
    height: 100%;
    padding: 50px;
    margin: 50px;
    margin-bottom: 150px;
}

#icon-mentions {
    margin: auto;
    height: clamp(20px,30vh,80px);
    aspect-ratio: 1/1;
}

/*----------------------------------------*/
/*--------------media screen--------------*/
/*----------------------------------------*/

@media screen and (max-width: 1340px) {
    .inside-case {
        grid-template-columns: 3fr;
    }

    .three-part-adhesion {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1308px) {
    .parallax-header {
        background-size:auto 70vh;
    }
}

@media screen and (max-width: 1190px) {
    .navbar .nav-link {
        display: none;
    }

    .navbar .logo-menu {
        display: flex;
        position: absolute;
        right: 30px;
        top:50%;
        transform: translateY(-50%);
    }

    .navbar .nav-logo {
        justify-self: center;
    }

    .navbar {
        justify-content: center;
    }

    .three-part-adhesion .side-text-block .center-text p {
        font-size: 1.2em;
    }

    .calendrier {
        width: 80%;
    }

    .contact-screen {
        width: 80%;
        margin: 20px;
    }

    .side {
        padding: 10px;
    }
}

@media screen and (max-width: 1000px) {

    .container {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width:850px) {

    .three-part-adhesion {
        grid-template-columns: 1fr;
    }

    .case-event {
        grid-template-columns: 1fr;
        grid-gap:10px;
        padding: 0;
    }

    #event-screen-1 {
        padding: 20px;
    }

    #event-screen-2 {
        padding: 20px;
    }

    #event-screen-3 {
        padding: 20px;
    }

    .event-arrangement {
        padding: 20px;
    }

    .pull-arrangement {
        padding: 10px;
    }

    .local-arrangement {
        padding: 0;
    }

    .contact-arrangement {
        padding: 10px;
    }

    .contact-screen {
        width: 100%;
        margin: 20px;
    }

    .footer-logo-join {
        display: none;
    }
}

@media screen and (max-width:650px) {
    .navbar .nav-logo {
        font-size: 0px;
        width: 80px;
        min-width: 15vw;
    }

    .calendrier {
        min-height: 300px;
        height: 400px;
        width: 95%;
        margin: 10px;
    }

    .clothes-screen {
        margin: 0px;
    }

    .register-arrangement {
        flex-direction: column;
        width: 100%;
        justify-content: center;
        align-items: center;
        margin: auto;
        margin-bottom: 150px;
    }

    .register-side {
        width: 90%;
    }

    .stage-arrangement {
        padding: 10px;
    }

    #stage {
        height: 500px;
    }

    .stage-screen {
        padding:20px;
    }

    .retour-arrangement {
        padding: 10px;
        margin: 10px;
    }
}

@media screen and (max-width:550px){
    .hamburger-menu {
        width: 60%;
        text-align: center;
    }
}