@font-face {
  font-family: 'Circular';
  src: url('../font/CircularStd-Medium.otf');
}

@font-face {
  font-family: 'EuclideCircularB-Medium';
  src: url('../font/EuclidCircularB-Medium-WebXL.woff2') format("woff2"),
    url('../font/EuclidCircularB-Medium-WebXL.woff') format("woff");
}

@font-face {
  font-family: 'EuclidFlex-Medium';
  src: url('../font/EuclidFlex-Medium-WebXL.woff2') format("woff2"),
    url('../font/EuclidFlex-Medium-WebXL.woff') format("woff");
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.clear:after {
  content: "";
  display: block;
  clear: both;
}

html {
  font-size: 18px;
}

canvas {
  z-index: -5;
  top: 0;
  left: 0;
  position: fixed;
  margin: 0;
  padding: 0;
}

body {
  font-family: EuclideCircularB-Medium, Circular, sans-serif;
  color: #000;
  background-color: #FFF;
  /* color: var(--dynamicColor);
    background-color: var(--dynamicBackgroundColor); */
  padding: 0px 0px 0px 0px !important;
  margin: 0px 0px 0px 0px !important;
  overflow: hidden;
}

#home {
  color: inherit !important;
}

section {
  /*opacity: 0;*/
  position: relative;
}

#enter {
  margin-top: 100vh;
  padding: 0 15% 0 15%;
  transition: margin-top 1.25s;
  -webkit-transition: margin-top 1.25s;
}

.animation {
  margin-top: 10vh !important;
}

#foot {
  padding: 0 5% 0 5%;
}

#enterArticle {
  margin: 0 0 0 0 !important;
}

article {
  overflow: hidden;
  -webkit-overflow: hidden;
  width: 80vw;
  height: 80vh;
  position: relative;
  transform: translate(-50%, 0);
  left: 50%;
  transition: margin 1.25s;
  -webkit-transition: margin 1.25s;
  margin: 20% 0 0 0;
  padding: 0 0 0 0;
}

.constrainArticle {
  margin: 2.5vw 0 0 0;
}

aside {
  position: absolute;
  width: auto;
  height: 100%;
  background-color: inherit;
}

body::-webkit-scrollbar {
  display: none;
}

aside::-webkit-scrollbar {
  display: none;
}

a {
  text-decoration: none;
  cursor: pointer;
  color: inherit;
  display: inline-block;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  /* box-shadow: 0 0 1px transparent; */
  position: relative;
  overflow: hidden;
  width: auto !important;
}

a:before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  right: 100%;
  bottom: 0;
  opacity: 1 !important;
  /* background: #000; */
  background: var(--dynamicColor);
  height: .1rem;
  -webkit-transition-property: right;
  transition-property: right;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}

a:hover:before, a:focus:before, a:active:before {
  right: 0;
}

.buttons {
  cursor: pointer;
  font-size: 1.4rem;
}

.home {
  z-index: 0;
  position: fixed;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
  transition: top 1.25s;
  -webkit-transition: top 1.25s;
}

.loaded {
  top: 5%;
}

#projectbutton {
  z-index: 100;
  position: fixed;
  transform: translate(-50%, 0);
  bottom: 5%;
  left: 50%;
}

.description {
  width: 50%;
  margin-right: 5%;
}

.description p {
  padding: 0;
  margin: 0 0 0 0;
}

::selection {
  /* selection is negative*/
  /* background: #000;
    color: #FFF; */
  background: var(--dynamicColor);
  color: var(--dynamicBackgroundColor);
}

.links {
  width: 45%;
}

.links svg {
  width: 1rem;
  height: 1rem;
  color: currentColor;
}

svg {
  fill: #000;
  /* fill: var(--dynamicColor); */
}

.column {
  float: left;
  margin-top: 5%;
  margin-bottom: 5%;
}

.textarea {
  /* font-family: EuclideCircularB-Medium, Circular, sans-serif; */
  font-family: EuclidFlex-Medium, Circular, sans-serif;
  font-variant-numeric: slashed-zero;
  /* miniMaj :  */
  /* font-feature-settings: "ss03"; */
  background-color: #FFF;
  border-color: #000;
  color: #000;
  /* background-color: var(--dynamicBackgroundColor);
    border-color: var(--dynamicColor);
    color: var(--dynamicColor); */
  border: solid 5px;
}

#giulio {
  font-family: EuclidCircularB-Medium, Circular, sans-serif;
}

.principal {
  margin: 0 auto 0.5% 0 !important;
  font-size: 3rem !important;
  font-family: EuclidFlex-Medium, Circular, sans-serif;
  /* Dots :  */
  /* font-feature-settings: "ss04"; */
  /* Missing lines : */
  font-feature-settings: "ss07";
  /* halloween : */
  /* font-feature-settings: "ss08"; */
}

.titre {
  font-size: .7rem;
  /* Missing lines : */
  font-family: EuclidFlex-Medium, Circular, sans-serif;
  font-feature-settings: "ss07";
}

.galltitre {
  margin: 2% auto 0 2%;
  position: fixed;
}

.credits {
  font-size: 0.7em;
}

.description_block {
  overflow-y: auto;
  -webkit-overflow-y: auto;
  font-size: 1rem;
  padding: 3% 5% 0 5%;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.decription_block .description, .descriptioncredits {
  margin-bottom: 2%;
  vertical-align: bottom;
}

.description_image {
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 5;
  background-size: cover !important;
  webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: local;
  background-position: fixed;
}

.gallery {
  width: 100%;
  z-index: 3;
  top: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-x: auto;
  -webkit-overflow-y: hidden;
  transition: top 1.25s;
  -webkit-transition: top 1.3s;
}

.active {
  top: 0;
}

.gallerybutton {
  transform: translate(-50%, -50%) rotate(0deg);
  /*transform: translateX(-100%);*/
  z-index: 4;
  cursor: pointer;
  position: absolute;
  width: 1.4rem;
  height: 1.4rem;
  left: 50%;
  bottom: 1rem;
  transition-duration: 0.3s;
}

.gallerybutton svg {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.gallerybutton svg line {
  stroke-width: 80;
}

.pleaselandscape {
  text-align: center;
  position: absolute;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
}

.block {
  width: 100%;
  margin: 0 0 5% 0;
  display: block;
}

.block a {
  /*margin-bottom: 2%;*/
  display: block;
}

.line {
  margin: 0 0 5% 0;
  /*margin-top: 0.5%;*/
  /*margin-bottom: 2%;*/
}

.line a {
  margin-right: 2%;
}

.network {
  width: 30px;
  height: auto;
  margin: 0 0.5rem 0 0 !important;
}

.swiper-wrapper, .swiper-container {
  width: 100% !important;
  height: 100% !important;
}

.swiper-slide {
  position: relative;
  top: 0 !important;
  left: 0 !important;
  height: inherit !important;
  width: inherit !important;
  padding: 5% 5% 5% 5% !important;
  /* cursor: crosshair; */
  cursor: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3C!-- Generator: Adobe Illustrator 22.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0%29 --%3E%3Csvg version='1.1' id='Calque_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 200 200' style='enable-background:new 0 0 200 200;' xml:space='preserve'%3E%3Cpath d='M100,197.1c-53.5,0-97.1-43.6-97.1-97.1S46.5,2.9,100,2.9s97.1,43.6,97.1,97.1S153.5,197.1,100,197.1z M100,17.9 c-45.3,0-82.1,36.8-82.1,82.1c0,45.3,36.8,82.1,82.1,82.1c45.3,0,82.1-36.8,82.1-82.1C182.1,54.7,145.3,17.9,100,17.9z'/%3E%3Cg%3E%3Cpolygon points='149.6,92.5 149.6,107.5 107.5,107.5 107.5,149.6 92.5,149.6 92.5,107.5 50.4,107.5 50.4,92.5 92.5,92.5 92.5,50.4 107.5,50.4 107.5,92.5 '/%3E%3C/g%3E%3C/svg%3E");
}

.swiper-slide img {
  position: relative;
  transform: translate(-50%, -50%);
  left: 50%;
  top: 50%;
  max-height: 90%;
  max-width: 90%;
}

.swiper-slide iframe {
  position: relative;
  /* transform: translate(-50%, -50%);
    left: 50%;
    top: 50%; */
  top: 5%;
  left: 5%;
  height: 90%;
  width: 90%;
  /* min-height: 90%;
    min-width: 90%; */
}

.endtext {
  text-align: center;
  font-size: 0.7rem;
  margin: 0 0 2% 0;
  padding: 0.5% 1% 0.5% 1%;
}

#endbox {
  /* width: auto !important; */
  height: auto !important;
}