/* General styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  text-decoration: none;
  font-family: "Times New Roman", Times, serif;
  outline: none;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 20px;
  background: linear-gradient(45deg, #8cdeff, #ffc4ff);
  height: 100vh;

  /* button of menu burger */
  .buttonBurger{
    display: flex;
    justify-content: end;
    width: 90%;
    z-index: 500;
    cursor: pointer;
    /* div with 2 hr */
    .plus {
      display: flex;
      justify-content: center;
      background-color: rgb(255, 255, 255, 0.5);
      height: 50px;
      width: 50px;
      margin-top: 10px;
      border: white 2px solid;
      border-radius: 100px;
      backdrop-filter: blur(20px);
      box-shadow: 0px 0px 15px 1px  rgba(0, 0, 0, 0.2);
    
      .horizon{
        position: absolute;
        top: 50%;
        height: 2px;
        width: 30px;
        border-radius: 20px;
      }
    
      .vertical{
        position: absolute;
        top: 20%;
        height: 30px;
        width: 2px;
        border-radius: 20px;
      }
    }
  }

  /* button of menu burger */
  .disappearButtonBurger{
    display: none;
    justify-content: end;
    width: 90%;
    z-index: 500;

    /* div with 2 hr */
    .plus {
      display: flex;
      justify-content: center;
      background-color: rgb(255, 255, 255, 0.5);
      height: 50px;
      width: 50px;
      margin-top: 10px;
      border: white 2px solid;
      border-radius: 100px;
      backdrop-filter: blur(20px);
      box-shadow: 0px 0px 15px 1px  rgba(0, 0, 0, 0.2);
    
      .horizon{
        position: absolute;
        top: 50%;
        height: 2px;
        width: 30px;
        border-radius: 20px;
      }
    
      .vertical{
        position: absolute;
        top: 20%;
        height: 30px;
        width: 2px;
        border-radius: 20px;
      }
    }
  }

  /* menu burger */
.menuBurger{
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    height: 200px;
    width: 300px;
    margin: 10px;
    background-color: rgb(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    box-shadow: 10px 10px 60px -8px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    
    /* input */
    input{
      border: none;
      border-radius: 5px;
      text-align: center;
      width: 90%;
      font-size: larger;
    }

    /* animation on focus of input */
    input:focus{
      border: #413c69 1px solid;
    }

    /* button for create */
    .create{
      text-align: center;
      font-size: larger;
      border: none;
      border-radius: 5px;
      width: 30%;
      height: 15%;
      background-color: #413c69;
      box-shadow: 0px 0px 15px 1px  rgba(255, 255, 255);
      color: rgba(255, 255, 255);
      transition: 
        0.2s background-color linear,
        0.2s border linear
      ;
    
    }

    /* animation create button */
    .create:hover{
      border: 1px #413c69 solid;
      background-color: #fdb2f5;
    }
  }

  /* button reveal */
  .reveal{
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 5px;
    height: 50px;
    width: 20%;
    box-shadow: 10px 10px 60px -8px rgba(0, 0, 0, 0.2);
    transition: 
      1s background-color linear,
      0.5s color linear
    ;
    font-size: 2rem;
    letter-spacing: 2px;
    font-weight: 700;
    cursor: pointer;
  }

  /* animation of reveal button */
  button:hover{
    background-color: #413c69;
    box-shadow: 0px 0px 15px 1px  rgba(255, 255, 255);
    color: rgba(255, 255, 255);
  }
}

section{
 width: 90%;
 height: 90%;
 display: flex;
}

.listNames{
  height: 90%;
  background-color: rgb(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border-left: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 10px solid rgba(255, 255, 255, 0.3);
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  border-right: 2px solid rgba(255, 255, 255, 0.3);
  margin-left: 3rem;
  padding: 0px 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  .nameInList{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background:transparent;
    border: none;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    width: 200px;
    height: 30px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    -moz-backdrop-filter: blur(10px);
    box-shadow: 4px 4px 60px rgba(0, 0, 0, 0.2);
    color: rgb(255, 255, 255);
    font-weight: 500;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
    margin-bottom: 5px;
    text-align: center;
    font-size: 1.5rem;
    padding: 0px 10px;
  }
}

.u{
  margin: 2rem;
  padding: 10px;
  border-radius: 50px;
  color: var(--text-color);
  background: transparent;
  border: none;
  border-left: 1px solid rgba(255, 255, 255);
  border-top: 1px solid rgba(255, 255, 255); border-right: 1px solid rgb(18, 17, 17, 0.2);
  border-bottom: 1px solid rgb(10, 9, 9, 0.2);
  box-shadow: 10px 10px 60px -8px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.container {
  display: flex;
  justify-content: center;
  gap: 5%;
  width: 80%;
  height: 90%;
  border-radius: 10px;
  background-color: rgb(255, 255, 255, 0.5);
  backdrop-filter: blur(20px);
  box-shadow: 10px 10px 60px -8px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.seat {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  max-width: 180px;
  min-width: 100px;
  height: 80px;
  padding: 0px 15px;
  background-color: #413c69;
  color: white;
  border-radius: 4px;
  cursor: pointer;
  user-select: none;
  font-size: 2rem;
  position: fixed;
  
}

.name{
  opacity: 0;
  transition: opacity 1s linear;
}

.appear{
  opacity: 1.2;
}

.disappear {
  display: none;
}

.seat:hover {
  background-color: #fdb2f5;
}
footer {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  overflow: hidden;
  z-index: -1000;
}

.line {
  position: absolute;
  width: 100%;
  overflow: hidden;
  height: 100%;
}

.line-1 {
  z-index: 15;
  opacity: 0.5;
}

.line-2 {
  z-index: 10;
  opacity: 0.7;
}

.line-3 {
  z-index: 5;
  opacity: 0.9;
}

.wave {
  position: absolute;
  left: 0;
  width: 200%;
  height: 100%;
  background-repeat: repeat no-repeat;
  background-position: 0 bottom;
  transform-origin: center bottom;
}

.wave1 {
  -webkit-background-size: 50% 80px;
  background-size: 50% 80px;
}

.wave2 {
  -webkit-background-size: 50% 100px;
  background-size: 50% 100px;
  animation: animate 12s linear infinite;
}

.wave3 {
  -webkit-background-size: 50% 80px;
  background-size: 50% 80px;
  animation: animate 18s linear infinite;
}

@keyframes animate {
  0% {
    transform: translateX(0) translateZ(0) scaleY(1);
  }
  50% {
    transform: translateX(-25%) translateZ(0) scaleY(0.5);
  }
  100% {
    transform: translateX(-50%) translateZ(0) scaleY(1);
  }
}

@media (max-width:1280px){
  .seat{
    width: 40px;
    height: 50px;
  }
}

/* .un, .deux{
  display: none;
}
#compteur{
  font-size: 15rem;
  z-index: 1000;
  position: absolute;
  top: 50%; 
  left: 50%; 
  transform: translate(-50%, -50%);
}

.none{
  display: none;
}
.block{
  display: block;
} */