:root {
  --swiper-pagination-bullet-size: 10px;
  --swiper-pagination-bullet-width: 10px;
  --swiper-pagination-bullet-height: 10px;
  --swiper-pagination-bullet-horizontal-gap: 5px;
  --swiper-pagination-bullet-vertical-gap: 5px;
  --swiper-pagination-left: 15px
}

* {
  box-sizing: border-box;
}

html,
body {
  position: relative;
  height: 100dvh;
  overflow: hidden;
}

body {
  font-family: Apax, Helvetica Neue, sans-serif;
  font-size: 13px;
  color: #000;
  margin: 0;
  padding: 0;
}

button {
	  border: none;
    margin: 0;
    padding: 0;
    width: auto;
    /* overflow: visible; */
    background: transparent;
    color: inherit;
    font: inherit;
    line-height: normal;
    -webkit-font-smoothing: inherit;
    -moz-osx-font-smoothing: inherit;
    -webkit-appearance: none;
    cursor: pointer;
}

&::-moz-focus-inner {
    border: 0;
    padding: 0;
}

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  text-align: center;
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: -webkit-flex !important;
  display: flex !important;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
  background: white;
}

.swiper-slide img {
  display: block;
  width: 100%;
  object-fit: contain;
}

.swiper-slide video {
  display: block;
  width: 100%;
  object-fit: contain;
}

.full {
  height: 100%;
  object-fit: cover !important;
}

img {
  background: rgba(0, 0, 0, 0.3);
  height: auto;
  width: auto;
}

.button-about {
  position: fixed;
  z-index: 101;
  left: 50%;
  top: 15px;
  transform: translateX(-50%);
  transition-delay: 1ms;
  transition: 0.5s cubic-bezier(.5,0,.35,1);
  -webkit-transition: 0.5s cubic-bezier(.5,0,.35,1);
  cursor: url(public/plus_arrow.png), auto;
}

.button-prev {
  z-index: 100;
  position: fixed;
  top: 0;
  height: 100%;
  width: 20%;
  /* cursor: w-resize; */
  cursor: url(public/prev_arrow.png), auto;
}

.button-next {
  z-index: 100;
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 20%;
  /* cursor: e-resize; */
  cursor: url(public/next_arrow.png), auto;
}

.projetTitre {
  z-index: 99;
  position: absolute;
  bottom: 15px;
}

.about-container {
  z-index: 50;
  position: absolute;
  background: rgba(190, 190, 190, 0.8);
  color: black;
  height: 50%;
  width: 100%;
  top: -50%;
  transition-delay: 1ms;
  transition: 0.5s cubic-bezier(.5,0,.35,1);
  -webkit-transition: 0.5s cubic-bezier(.5,0,.35,1);
  padding: 20px;
  text-align: center;
  text-transform: uppercase;
  opacity: 0%;
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: inherit;
  cursor: inherit;
}

.active.about-container {
 top: 0%;
 opacity: 100%;
 pointer-events: auto;
}

.project {
  top: 0%;
  transition-delay: 1ms;
  transition: 0.5s cubic-bezier(.5,0,.35,1);
  -webkit-transition: 0.5s cubic-bezier(.5,0,.35,1);
}

.active.project {
 top: 30%;
}

.active.button-about {
  top: calc(50% - 30px);
 }

@font-face {
  font-family: 'Apax';
  src: url(public/fonts/Apax-Regular.otf);
}

.swiper-pagination {
  right: 20px;
}

.swiper-pagination-bullet {
  width: 32px;
  height: 32px;
  text-align: center;
  color: black;
  display: flex;
  cursor: pointer;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0) !important;
  transition: 0.5s ease-in-out;
}

.swiper-pagination-bullet.swiper-pagination-bullet-active {
  color: black;
  background: rgba(255, 255, 255, 0);
}


@media only screen and (max-width : 1000px ) {

  body {
    font-size: 10px;
  }

  .about-container {
    height: 50%;
    top: -50%;
  }

  .active.about-container {
    top: 0%;
   }
   
   .active.project {
    top: 50%;
   }
   
   .active.button-about {
     top: calc(50% - 30px);
    }

}
