/* Global Styles */
html {
  scroll-behavior: smooth;
}

body {
  background-color: #0d1821;
  margin: 0;
  overflow: hidden;
}

.title {
  height: 80vh;
  display: flex;
  justify-content: center;
  flex-direction: column;
  font-family: "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  color: #ebebeb;
}

.title h1 {
  display: flex;
  margin-left: 8vw;
  margin-top: 15vh;
  margin-bottom: 8vh;
  font-size: 2rem;
}

h2 {
  font-size: 1.5rem;
}

.main-container {
  display: flex;
  flex-direction: column;
}

.projects_list {
  margin: 0 0 0 8vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  height: 290px;
  overflow-y: scroll;
  overflow-x: hidden;
  position: relative;
  padding-top: 10px;
  padding-bottom: 10px;
  width: 200px;
}

.projects_list::-webkit-scrollbar {
  background: transparent;
}

.projects_list .projects_item {
  display: flex;
  flex-direction: column;
  list-style: none;
  font-size: 1.3rem;
  position: relative;
  width: 10vw;
  border-top: #ebebeb 1px solid;
  border-bottom: #ebebeb 1px solid;
  width: 200px;
}

.arrowUp,
.arrowDown {
  list-style: none;
  display: flex;
  justify-content: center;
  width: 70%;
  margin-left: 8vw;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.arrowUp.visible,
.arrowDown.visible {
  opacity: 1;
  pointer-events: auto;
}

.arrowUp img,
.arrowDown img {
  width: 20px;
}

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

.projects_list li .item {
  list-style: none;
  font-size: 1.3rem;
  position: relative;
  padding: 1vh 0;
  transition: transform 0.5s ease;
}

.projects_list li a {
  color: #ebebeb;
}

.projects_list li:hover .item {
  transform: translate(15px) scale(1.1);
  cursor: pointer;
}

.projects {
  display: flex;
}
.works-container {
  position: relative;
  height: 36vh;
  width: 100%;
}

.works_list {
  position: relative;
  bottom: 2vh;
  margin: 0 0 0 8vw;
  height: 36vh;
  list-style: none;
  padding: 0;
}

.work_item {
  position: absolute;
  top: 0;
  left: 0;
  width: 80%;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.5s ease, transform 0.5s ease;
  /* pointer-events: none; */
  display: flex;
  justify-content: center;
}

.work_item.visible {
  opacity: 1;
  transform: scale(1);
}

.work_item p {
  font-size: 1.3rem;
}

.work_item img {
  position: relative;
  height: 310px;
}

.works-container-1280px {
  display: none;
}

@media (max-width: 1200px) {
  body {
    overflow: auto;
  }

  .title {
    height: 30vh;
  }

  .works-container-1280px {
    display: block;
  }

  .projects {
    position: relative;
    height: auto;
  }

  .projects_list,
  .arrowDown,
  .arrowUp {
    display: none;
    margin: 0;
    padding: 0;
    height: 0;
  }

  .works-container {
    display: none;
  }

  .content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  h1 {
    color: #ebebeb;
    margin-top: 0;
    font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS",
      sans-serif;
  }

  .pong img {
    width: 50vw;
  }

  .description {
    width: 80%;
    text-align: justify;
    font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS",
      sans-serif;
  }

  .slide1 {
    background-color: #ebebeb;
    padding: 5vh 0 5vh 0;
  }

  .slide1 h1 {
    background-color: #ebebeb;
    color: #0d1821;
  }

  .btc img {
    height: 13vh;
  }

  .culinair img {
    height: 13vh;
  }

  .repertoire_vert img {
    height: 13vh;
  }

  .quizz img {
    height: 13vh;
  }

  .todolist img {
    height: 25vh;
  }

  .meteo img {
    height: 25vh;
  }

  .dtc img {
    height: 25vh;
  }

  .arvernia img {
    height: 25vh;
  }

  .slide2 {
    padding: 5vh 0 5vh 0;
    color: #ebebeb;
  }
}

/* .backUp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
  z-index: 2;
}

.backUp img {
  width: 50px;
} */
