@font-face {
  font-family: "PxGroteskScreen";
  src: url("PxGroteskScreen.ttf") format("truetype"); /* Chrome 4+, Firefox 3.5, Opera 10+, Safari 3—5 */
}

* {
  margin: 0;
  padding: 0;
}

html {
  height: 100%;
  overflow: hidden;
}

@keyframes colorchange {
  0%,
  100% {
    background: #625aff;
  }
  5.5% {
    background: #9759fd;
  }
  11% {
    background: #ce59fe;
  }
  16.5% {
    background: #fe59f6;
  }
  22% {
    background: #fe59bf;
  }
  27.5% {
    background: #fd5988;
  }
  33% {
    background: #fe6159;
  }
  38.5% {
    background: #fd9759;
  }
  44% {
    background: #fece59;
  }
  49.5% {
    background: #f5fd59;
  }
  55% {
    background: #bffe59;
  }
  60.5% {
    background: #88fe59;
  }
  66% {
    background: #5afe61;
  }
  71.5% {
    background: #5afe97;
  }
  77% {
    background: #59fece;
  }
  82.5% {
    background: #5af6fe;
  }
  88% {
    background: #59bffe;
  }
  92.5% {
    background: #5988fd;
  }
}

#link {
  color: #625aff;
}

body {
  width: 100%;
  height: 100%;
  animation: colorchange 200s infinite;

  position: relative;
  overflow: hidden;
  font-family: PxGroteskScreen;
}

.darken {
  top: 0;
  z-index: -1;
  height: 100vh;
  width: 100%;
  position: absolute;
  background: linear-gradient(to top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.8));
}

h1 {
  margin: 0px;
  color: red;
}

h2 {
  padding: 8px;
  color: white;
  font-size: 24px;
  line-height: 30px;
}

h3 {
  padding: 8px;
  color: white;
  font-size: 18px;
  line-height: 30px;
}

h4 {
  padding: 8px;
  color: white;
  font-size: 12px;
  line-height: 20px;
}

h5 {
  color: white;
  font-size: 18px;
}

p {
  color: black;
  font-size: 18px;
}

/* WINDOWS */
.windows {
  background-color: white;
  width: 800px;
  height: 400px;
  min-width: 300px;
  min-height: 100px;
  position: absolute;
  visibility: hidden;
  box-shadow: 8px 9px 10px 0px rgba(0, 0, 0, 0.7);
}

.contactW {
  background-color: white;
  width: 800px;
  height: 550px;
  min-width: 300px;
  min-height: 100px;
  position: absolute;
  visibility: hidden;
  box-shadow: 8px 9px 10px 0px rgba(0, 0, 0, 0.7);
}

.window-content {
  display: flex;
  position: absolute;
  height: auto;
  background-color: #1a1a1a;
  top: 50px;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 1px 3px 3px 3px;
  color: white;
  font-size: 12px;
  line-height: 16px;
  overflow: hidden;
}

.window-content.contact {
  padding: 1rem;
  display: inline;
  overflow-y: auto;
}

.left-content {
  display: flex;
  width: 100%;
  height: auto;
  overflow: auto;
  padding: 1rem;
  text-align: center;
  flex-wrap: wrap;
  min-width: 150px;
  align-content: flex-start;
  margin: 0 auto;
}

.imgContent {
  height: 6rem;
  margin: 1rem 1rem 0 1rem;
  object-fit: cover;
  cursor: pointer;
}

.foldersInW {
  cursor: pointer;
  margin: 1rem;
  width: 145px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.foldersInW img {
  height: 3rem;
}

.right-content {
  border-left: 1px solid white;
  height: auto;
  min-width: 100px;
  max-width: 250px;
  float: right;
  padding: 1rem;
  overflow-y: auto;
  flex-wrap: wrap;
}

/* ACTIVE WINDOWS */
.active-w > .window-header {
  height: 25px;
  margin: 4px;
  padding: 10px;
  display: flex;
  justify-content: space-between;
}

/* UNACTIVE WINDOWS */
.unactive-w > .window-header {
  height: 25px;
  margin: 3px;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  background-color: #1a1a1a;
}

.unactive-w .window-header .header-left p {
  color: white;
}
.unactive-w .window-header .header-left img {
  filter: brightness(0) invert(1);
}
.active-w .window-header .header-left img {
  filter: brightness(0);
}
.unactive-w .window-header .header-right {
  filter: brightness(0) invert(1);
}

.header-left {
  display: flex;
  flex: 1;
}

.header-left > p {
  margin-left: 10px;
}
.header-left > img {
  width: 2rem;
  height: fit-content;
}
.folder-header.contact {
  width: 1.5rem;
}
.window-header > p {
  color: black;
}

.folders {
  width: 100%;
  color: rgb(230, 215, 134);
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  /* grid-template-columns: 30% 30% 30%; */
  /* margin: 1.5rem; */
}

.folder {
  text-align: center;
  cursor: pointer;
  margin: 30px;
  max-width: 300px;
}

.folder > img {
  height: 3rem;
}

.computer {
  text-align: center;
  cursor: pointer;
  margin: 30px;
}

.computer > img {
  height: 3rem;
}

.square-tool {
  /* position: absolute; */
  width: 17px;
  text-align: center;
  padding: 2.5px;
  cursor: pointer;
  border: 2px solid black;
  top: 13px;
}
.croix {
  right: 6px;
  color: red;
  cursor: pointer;
}

.fullscreen {
  right: 37px;
  color: red;
  cursor: pointer;
}

.réduire {
  right: 65px;
  color: red;
  cursor: pointer;
}

.main {
  width: 90vh;
}

footer {
  background: black;
  color: aliceblue;
  position: absolute;
  width: 100%;
  height: 6vh;
  max-height: 6vh;
  bottom: 0;
  padding: 2px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  /* height: 6%; */
}

.left-footer {
  display: flex;
  flex-wrap: wrap;
  overflow-y: auto;
  max-height: 100%;
}

.right-footer {
  display: flex;
}
.justify-start {
  margin-right: auto;
}

.folder-footer {
  border: white solid 1px;
  width: auto;
  margin: 3px 1px 3px 1px;
  color: rgb(230, 215, 134);
  cursor: pointer;
  display: flex;
  padding: 0.2rem 0.4rem;
  align-items: center;
  flex-wrap: wrap;
}

.folder-footer img {
  height: 15px;
  /* margin-top: 4px; */
  margin-right: 6px;
}

.activeFF {
  background: white;
}

.activeFF img {
  filter: brightness(0);
}

.activeFF h5 {
  color: black;
}

.time-footer {
  color: white;
  padding: 0.4rem;
  margin: 3px 15px 3px 6px;
}

.line {
  border-left: 1px solid white;
  height: 35px;
  margin: 3px 10px 3px 10px;
}

.window-fullscreen {
  position: absolute;
  top: 0 !important;
  left: 0 !important;
  height: 93.5vh !important;
  width: 100% !important;
}

.B6circle {
  height: 30px;
  margin: 3px;
  cursor: pointer;
}

/* MODAL */

.modal-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s, opacity 0.5s;
}

.bg-active {
  visibility: visible;
  opacity: 1;
}

.modal {
  background-color: black;
  border: solid white 2px;
  position: relative;
  max-width: 80%;
}

.croix_modal {
  z-index: 99999999999999999;
  position: absolute;
  top: -23px;
  right: -23px;
  cursor: pointer;
}

.overflow_croix {
  overflow: hidden;
}

/* CAROUSEL */

.carousel {
  display: flex;
  align-items: center;
  position: relative;
  /* width: 100%; */
}

.carousel_item {
  min-width: 100%;
  /* background-color: blueviolet; */

  /* position: relative; */
  /* object-fit: contain; */
}

.imgCarousel {
  margin-bottom: -4px;
  /* max-height: 100%; */
  /* width: 90%; */

  max-height: 80vh;
  max-width: 100%;
  /* width: 70%; */
  /* height: 100%; */
  /* vertical-align: middle; */
}

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

.description_img {
  background-color: #1a1a1a;
  z-index: 99999999999999999999;
  /* position: absolute; */
  height: auto;
  bottom: 0px;
  right: 0px;
  left: 0px;
  text-align: start;
  padding: 0.5rem;
}

.prevBtn {
  /* background-color: turquoise; */
  position: absolute;
  top: 0%;
  bottom: 0%;
  z-index: 9999999999;
  left: 0%;
  right: 50%;
  font-size: 30px;
  color: black;
  /* cursor: pointer; */
  cursor: url(/images/fleche_gauche.png), auto;
  align-items: center;
  display: flex;
  justify-content: flex-start;
}

.nextBtn {
  /* background-color: turquoise; */
  position: absolute;
  top: 0%;
  bottom: 0%;
  z-index: 9999999999;
  left: 50%;
  right: 0%;
  font-size: 30px;
  color: black;
  cursor: url(/images/fleche_droite.png), auto;
  align-items: center;
  display: flex;
  justify-content: flex-end;
}

.ui-icon-gripsmall-diagonal-se {
  background-image: url("");
}

.fa-chevron-right:before {
  color: transparent;
  margin: 10px;
}
.fa-chevron-left:before {
  color: transparent;
  margin: 10px;
}

/* MOBILE */

@media only screen and (max-width: 768px) {
  /* For mobile phones: */
  .folders {
    width: 100%;
    color: rgb(230, 215, 134);
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    
  }

  .folder {
    text-align: center;
    cursor: pointer;
    margin: 30px;
    width: 110px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .foldersInW {
    cursor: pointer;
    margin: 1rem;
    width: 110px;
  }

  footer {
    background: black;
    color: aliceblue;
    position: absolute;
    width: 100%;
    height: 10vh;
    max-height: 10vh;
    bottom: 0;
    padding: 2px;
    /* justify-content: space-around; */
    align-items: center;
  }

  .left-footer {
    max-height: 70px;
    display: flex;
    flex-wrap: wrap;
    overflow-y: auto;
  }

  .line {
    display: none;
  }

  .right-footer {
    display: none;
  }

  .folder-footer {
    border: white solid 1px;
    width: auto;
    margin: 3px 1px 3px 1px;
    color: rgb(230, 215, 134);
    cursor: pointer;
    display: flex;
    padding: 0.2rem 0.4rem;
    flex-wrap: wrap;
    align-items: center;
  }

  .imgContent {
    height: 5.09rem;
    margin: 0.5rem;
    object-fit: cover;
    cursor: pointer;
  }

  .windows {
    position: absolute;
    visibility: hidden;
    box-shadow: 8px 9px 10px 0px rgba(0, 0, 0, 0.7);
    top: 0 !important;
    left: 0 !important;
    height: 82.5vh;
    width: 100% !important;
    overflow: visible;
  }

  .window-fullscreen {
    position: absolute;
    top: 0 !important;
    left: 0 !important;
    height: 82.5vh !important;
    width: 100% !important;
  }

  .fa-chevron-right:before {
    color: white;
    margin: 10px;
    text-shadow: 0 0 3px #000;
  }
  .fa-chevron-left:before {
    color: white;
    margin: 10px;
    text-shadow: 0 0 3px #000;
  }

  .modal {
    background-color: black;
    border: solid white 2px;
    position: relative;
    width: 80%;
    /* height: 90%; */
    /* overflow: hidden; */
    margin-bottom: 20px;
  }
  .imgCarousel {
    margin-bottom: -4px;
    max-height: 75vh;
    max-width: 100%;
  }

  h2 {
    padding: 8px;
    color: white;
    font-size: 18px;
  }
  h3 {
    padding: 8px;
    color: white;
    font-size: 18px;
    line-height: 22px;
  }
  h5 {
    color: white;
    font-size: 14px;
  }

  /* WINDOW */
  .window-content {
    display: flex;
    flex-direction: column;
    position: absolute;
    height: auto;
    background-color: #1a1a1a;
    top: 60px;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 1px 3px 3px 3px;
    color: white;
    font-size: 12px;
    line-height: 16px;
    overflow: hidden;
    justify-content: space-between;
  }

  .left-content {
    display: flex;
    width: auto;
    height: auto;
    overflow: auto;
    padding: 0rem;
    text-align: center;
    flex-wrap: wrap;
    min-width: 100px;
    align-content: flex-start;
    margin: 0 auto;
  }

  .right-content {
    border-top: 1px solid white;
    border-left: none;
    height: auto;
    min-height: 30%;
    max-width: 100%;
    float: left;
    bottom: 0;
    padding: 0.5rem;
    overflow-y: auto;
    word-wrap: break-word;
  }

  .unactive-w > .window-header {
    height: 35px;
    margin: 3px;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    background-color: #1a1a1a;
  }
}

@media only screen and (max-width: 480px) {
  .folders {
    width: 100%;
    height: 90%;
    color: rgb(230, 215, 134);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    overflow-y: auto;
  }
}
