/* PART 1*/

.fixed {
  position: fixed;
}

.img {
  height: 90%;
  width: auto;
  backdrop-filter: blur;
}

.img-size {
  width: 100%;
  height: 100%;
}

.txt-flex {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  height: 10%;
  position: absolute;
  width: 100%;
}

.txt-cadavre {
  display: block;
  width: 25%;

  font-family: "Dracarys", garamond;
  text-align: center;
  color: white;
  background-color: black;
  padding: 1%;
}

/*mouvement*/
.panel {
  position: absolute;
  width: 100%;
  height: 100%;
  transition: transform 0.4s ease-in-out;
  /* backdrop-filter: blur; */
}

.panel-1 {
  left: 0%;
}

.panel-2 {
  left: 25%;
}
.panel-3 {
  left: 50%;
}
.panel-4 {
  left: 75%;
}

.switch-1 {
  transform: translateX(-25%);
}

.switch-2 {
  transform: translateX(-50%);
}

.switch-3 {
  transform: translateX(-75%);
}


@media screen and (max-width: 600px) {
  .img {
    position: absolute;
    height: 90%;
    width: 100%;
  }
  .panel {
    position: absolute;
    width: 100%;
    height: 90%;
    top: 10%;
    transition: transform 0.4s ease-in-out;
  }

  .txt-flex {
    display: none;
    height: 0%;
    width: 0%;
  }

  .txt-cadavre {
    display: none;
    width: 0%;
    height: 0%;
  }

  .panel-1 {
    top: 0;
    left: 0;
  }

  .panel-2 {
    top: 25%;
    left: 0;
  }
  .panel-3 {
    top: 50%;
    left: 0;
  }
  .panel-4 {
    top: 75%;
    left: 0;
  }
  .switch-1 {
    transform: translateY(-25%);
  }

  .switch-2 {
    transform: translateY(-50%);
  }

  .switch-3 {
    transform: translateY(-100%);
  }

  .img-size {
    width: 100%;
    height: 100%;
    transform: rotate(90deg);
  }
}
