@font-face {
  font-family: iAWriterDuospace;
  src: url(../fonts/iAWriterDuospace-Regular.ttf);

  /* font-family: iAWriterQuattro;
  src: url(fonts/iAWriterQuattroS-Regular.ttf); */
}

body {
  font-family: iAWriterDuospace;

  /* font-family: Renens; */
  background-color: #000;
  margin: 0px;
  padding: 0px;
  overflow: hidden;

}

* {
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: -moz-none;
  -o-user-select: none;
  user-select: none;
}

.loading-pg {
  position: fixed;
  background-color: black;
  top: 0px;
  height: 100%;
  width: 100%;
  justify-content: center;
  align-items: center;
  display: flex;
  z-index: 300;
  color: white;
}

#loading-text {
  position: absolute;
  font-family: iAWriterDuospace;
  font-size: 20px;
  color: #ffffff;
  top: 45%;
  text-align: center;
}

#myProgress {
  position: absolute;
  width: 100%;
  background-color: #000;
  visibility: hidden;
  /* transform: translate(-50%, -50%); */
}

#myBar {
  width: 0%;
  height: 1px;
  background-color: white;
  text-align: center;
  line-height: 30px;
  color: black;
}

/*----------- Slider ------------- */
#topLine, #bottomLine{
  position: absolute;
  background-color: white;
  height: 20px;
  width: 1px;
}

.slider {
  position: absolute;
  top: 10px;
  cursor: ew-resize;
  z-index: 200;

  width: 30px;
  height: 30px;

  border-radius: 50%;

  top: calc(50% - 20px);
  left: calc(50% - 20px);
}

.slider:hover {
  background-color: #fff;
}

.slider p {
  color: white;
  width: 200px;
  text-align: center;
  position: absolute;
  top: calc(50% + 15px);
  left: calc(50% - 100px);
  font-size: 10px;
  display: none;
}

/* --------- ---------- */
#interacion {
  color: white;
  position: absolute;
}

#interacion p {
  font-size: 10px;
  width: 100px;
  text-align: center;
  position: absolute;
  top: calc(50% + 5px);
  left: calc(50% - 50px);
}

/*----------- Nav ------------- */
#nav {
  float: left;
  height: 100%;
  width: 90px;
  position: fixed;
  left: 0px;
  display: flex;
  align-items: center;
  /* background-color: red; */
  color: white;
  cursor: crosshair;
}

#nav a {
  padding-right: 0px;
}

ul {
  list-style-type: none;
  padding-inline-start: 0px;
}

li a {
  display: block;
  opacity: 0.2;
  padding: 8px 16px;
  text-decoration: none;
  font-size: 15px;
}

li a.active {
  opacity: 1;
  cursor: none;
}

li a:hover:not(.active) {
  animation: epilepticText .1s infinite alternate linear;
  opacity: 1;
  cursor: crosshair;
}

/*----------- About ------------- */
#about {
  float: left;
  height: 100%;
  width: 70px;
  position: fixed;
  right: 0px;
  display: flex;
  align-items: center;
  /* background-color: green; */
  color: white;
}

#about ul {
  position: fixed;
  right: 0px;
}

#about li {
  text-align: right;
}

#about a {
  text-decoration: none;
  color: #fff;
  opacity: 0.2;
  padding-left: 5px;
}

#about a:hover {
  animation: epilepticText .1s infinite alternate linear;
  opacity: 1;
  cursor: crosshair;
}

/*----------- Projects ------------- */
#projects {
  float: left;
  height: 100%;
  width: -webkit-calc(100% - 150px);
  width: -moz-calc(100% - 150px);
  width: calc(100% - 150px);
  /* position: absolute; */
  position: relative;
  left: 90px;

  /* background-color: blue; */
}

#proto_0_infos, #proto_2_infos, #proto_3_infos, #proto_4_infos, #proto_5_infos, #proto_6_infos {
  width: 100%;
  height: 100%;
}

.title {
  /* background-color: #000; */
  /* border: .5px solid #fff; */
  /* border-width: thin; */
  /* padding: 5px 5px 2px 5px; */
  /* position: fixed; */
  display: block;
  color: white;
  text-align: center;
  position: fixed;
  z-index: 100;
}

.text {
  /* z-index: 99; */
  color: white;
  text-align: justify;
  text-justify: inter-word;
  width: 50%;
  /* animation: epilepticText .1s infinite alternate linear; */
}

.text p {
  margin-top: 0;
  margin-bottom: 5px;
  margin-left: 5px;
  margin-right: 5px;
  /* font-size: 4vw; */
  /* text-transform: uppercase; */
}

.panel {
  background-color: #000;
  border: .5px solid #fff;
  border-width: thin;
  padding: 5px 5px 2px 5px;
  display: block;

  width: 20px;
  height: 23px;

  /* margin: auto; */
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);

  display: flex;
  justify-content: center;
  align-items: center;

  cursor: crosshair;
}

.hidden {
  visibility: hidden;
}

.panel p {
  color: #fff;
}

.image {
  /* background-color: #000; */
}

.image img {
  visibility: hidden;
}

img {
  margin-bottom: 4px;
}

.epileptic img {
  animation: epilepticImg .1s infinite alternate linear;
}

/* .texture p {
  position: fixed;
  animation: epilepticText .1s infinite alternate linear;
} */

#proto_1_infos {
  display: flex;
  justify-content: center;
  align-items: center;
}

.video {
  border: .5px solid #fff;
  border-width: thin;

  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 80%;
  padding: 10px;
}

.video video {
  width: 100%;
}

video:focus {
  outline: 0;
}

#info {
  color: #fff;
  position: absolute;
  top: 10px;
  width: 100%;
  text-align: center;
  z-index: 100;
  display: block;

  /* animation: epelepticText .1s infinite alternate linear; */
}

.container {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -1;
  cursor: crosshair;
}

/* @keyframes epileptic {
  0% {
    background-color: 1px solid #000;
  }
  100% {
    background-color: 1px solid #fff;
  }
} */

@keyframes epilepticText {
  0% {
    color: white;
  }
  100% {
    color: black;
  }
}

@keyframes epilepticImg {
  0% {
    -webkit-filter: invert(1);
    filter: invert(1);
  }
  100% {
    -webkit-filter: invert(0);
    filter: invert(0);
  }
}

#tail {
  position: absolute;
  /* color: red; */

  /* height: 100px; */
  /* text-align: center; */

  /* top: calc(50% + 15px);
  left: calc(50% - 200px); */
  /* display: none; */
  /* z-index: 100; */


}

#tail p {
  /* color: white; */
  width: 200px;
  text-align: center;
  position: absolute;
  top: calc(50% + 15px);
  left: calc(50% - 200px);
  /* display: none; */
  z-index: 100;
  visibility: hidden;
  /* -webkit-text-stroke: 0.5px white; */

  /* animation: epelepticText .1s infinite alternate linear; */
}

/* ------- Flikering intro ------------ */
/* .loading-pg {
  position: fixed;
  background-color: black;
  top: 0px;
  height: 100%;
  width: 100%;
  justify-content: center;
  align-items: center;
  display: flex;
  z-index: 300;
  animation: epilepticBkg .1s infinite alternate linear;
}

.loading-text {
  font-family: iAWriterDuospace;
  font-size: 20px;
  color: #ffffff;
  animation: epilepticText .1s infinite alternate linear;
}

@keyframes epilepticBkg {
  0% {
    background-color: black;
  }
  100% {
    background-color: white;
  }
} */

/* --------- MEDIA queries ----------- */
#mobile-indicator {
  display: none;
}

@media (max-width: 900px) {
  #mobile-indicator {
    display: block;
  }
}
