@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --primary: #00cab1;
  /* --primary: #8c4ddd; */
  --secondary: #606060;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Poppins', sans-serif;
  background-color: #242629f9;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
body.disabled {
  overflow-y: hidden;
}
body::-webkit-scrollbar {
  display: none;
}

/* Loading Page */
#loading {
  -moz-animation: spinner 1s infinite linear !important;
  -webkit-animation: spinner 1s infinite linear !important;
  -ms-animation: spinner 1s infinite linear !important;
  animation: spinner 1s infinite linear !important;
  background-image: url('../img/spinner.svg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 3em;
  height: 3em;
  width: 3em;
  margin: -2.2em 0 0 -1.5em;
  opacity: 0.5;
}

/* Overlay */
#overlay {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2;
  visibility: hidden;
  opacity: 0;
  transition: 0.3s linear;
}
#overlay.active {
  visibility: visible;
  opacity: 1;
}

.grid.are-images-unloaded .image-grid__item {
  opacity: 0;
}
.grid {
  padding-top: 6px !important;
  padding-left: 6px !important;
  padding-bottom: 6px !important;
  z-index: 1;
}
.grid-sizer,
.grid-item {
  width: calc(20% - 8px);
}
.gutter-sizer {
  width: 8px;
}
.grid-item {
  position: relative;
  float: left;
  margin-bottom: 6px;
  background-image: url(../img/alucept.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.grid-item img {
  display: block;
  max-width: 100%;
  margin: 0 !important;
  mix-blend-mode: overlay;
}
.grid-item img:hover {
  opacity: 0.8;
  cursor: pointer;
}
.grid-item label {
  position: absolute;
  padding: 1em;
  bottom: 0;
  left: 0;
  width: 100%;
  background-image: -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.6));
  background-image: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
  height: 3em;
  font-size: 1em;
  text-shadow: rgba(0, 0, 0, 0.6) 0px 1px 8px;
  pointer-events: none;
  z-index: 1;
  color: white;
}
.page-load-status {
  display: none;
  padding: 20px;
  text-align: center;
  color: #777;
}
.loader-ellips {
  font-size: 1em;
  position: relative;
  width: 4em;
  height: 1em;
  margin: 24px auto;
}
.loader-ellips__dot {
  display: block;
  width: 1em;
  height: 1em;
  border-radius: 0.5em;
  background: #fff; /* change color here */
  position: absolute;
  animation-duration: 0.5s;
  animation-timing-function: ease;
  animation-iteration-count: infinite;
}
.loader-ellips__dot:nth-child(1),
.loader-ellips__dot:nth-child(2) {
  left: 0;
}
.loader-ellips__dot:nth-child(3) {
  left: 1.5em;
}
.loader-ellips__dot:nth-child(4) {
  left: 3em;
}
@keyframes reveal {
  from {
    transform: scale(0.001);
  }
  to {
    transform: scale(1);
  }
}
@keyframes slide {
  to {
    transform: translateX(1.5em);
  }
}
.loader-ellips__dot:nth-child(1) {
  animation-name: reveal;
}
.loader-ellips__dot:nth-child(2),
.loader-ellips__dot:nth-child(3) {
  animation-name: slide;
}
.loader-ellips__dot:nth-child(4) {
  animation-name: reveal;
  animation-direction: reverse;
}
.infinite-scroll-last {
  display: flex !important;
  justify-content: center;
  align-items: center;
}

/* HEADER */
header {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  min-height: 64px;
  padding: 0 2em;
  background: #1f2224;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 3;
}
header .logo {
  font-size: 2em;
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  z-index: 4;
}
header .logo #cept {
  color: var(--primary);
}
header .logo #reg {
  vertical-align: text-top;
  font-weight: lighter;
}
.toggle {
  color: #ddd;
  font-size: 1.1em;
  font-weight: 200;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  z-index: 4;
}
.decouvrir {
  display: flex;
  align-items: center;
}
.toggle span img {
  height: 1em;
  width: 1em;
  margin-left: 5px;
}
.bars {
  display: none;
}
/* INFO */
section.info {
  position: fixed;
  bottom: 64px;
  left: 0;
  width: 100%;
  padding: 2em 4em;
  background-color: #26282b;
  color: #fff;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  overflow-y: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  height: fit-content;
  max-height: calc(100vh - 64px);
  transform: translateY(100%);
  visibility: hidden;
  transition: 0.3s ease-in-out;
}
section.info::-webkit-scrollbar {
  display: none;
}
section.info.active {
  visibility: visible;
  transform: translateY(0);
}

/* INFO > nous */
.nous {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.nous h2 {
  padding-bottom: 0.5em;
  font-size: 1.2em;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.nous p,
.nous a {
  color: #fff;
  text-decoration: none;
  font-size: 1em;
  font-weight: 200;
  letter-spacing: 1px;
}
.nous a:hover {
  color: var(--primary);
}
.description,
.contact {
  transition: 0.3s;
  flex: 1;
  padding: 1em;
}
.description {
  text-align: justify;
}
.contact {
  text-align: right;
}

/* INFO footer */
.footer {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.copyright,
.nerys {
  height: 24px;
  letter-spacing: 1px;
  font-weight: 200;
  transition: 0.3s;
  flex: 1;
  padding: 1em;
}
.nerys {
  text-align: right;
}
.nerys a img {
  max-height: 24px;
}

/* To-top button */
.to-top {
  color: white;
  padding: 0.2em 1.2em;
  border: 1px solid white;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.5s ease-out;
  margin: 12px auto 84px auto;
  font-size: 1.2em;
}
.to-top:hover {
  color: var(--primary);
  border-color: var(--primary);
}

/* MODAL */
.modal {
  display: none;
  justify-content: center;
  align-items: center;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: calc(100% - 64px);
  z-index: 3;
  background-color: rgba(0, 0, 0, 0.75);
  transition: 1s ease-in-out;
}
.modal picture {
  position: relative;
  width: fit-content;
  height: fit-content;
  max-width: 100%;
  max-height: 100%;
}
.modal picture img {
  display: inline-block;
  vertical-align: middle;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100vh - 64px);
}
.modal picture #modalImg {
  box-shadow: 0 0 8px rgb(0, 0, 0, 0.6);
}
.modal picture .watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.modal picture label {
  position: absolute;
  padding: 1em;
  bottom: 0;
  left: 0;
  width: 100%;
  background-image: -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.6));
  background-image: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
  height: 3em;
  font-size: 1.5em;
  text-shadow: rgba(0, 0, 0, 0.6) 0px 1px 8px;
  pointer-events: none;
  z-index: 1;
  color: white;
}

/* Close Buttons */
.closeModal,
.closeInfo {
  -moz-transition: opacity 0.2s ease-in-out;
  -webkit-transition: opacity 0.2s ease-in-out;
  -ms-transition: opacity 0.2s ease-in-out;
  transition: opacity 0.2s ease-in-out;
  background-image: url('../img/icons/close.svg');
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
  opacity: 0.5;
  position: absolute;
  top: 1em;
  right: 1em;
  z-index: 2;
  color: #a0a0a1;
}
.closeModal {
  background-color: #1f2224;
  border-radius: 50%;
  background-size: 4em;
  height: 3em;
  width: 3em;
}
.closeInfo {
  background-size: 3em;
  height: 3em;
  width: 3em;
}
.closeModal:hover,
.closeInfo:hover {
  opacity: 1;
}
.nav-previous,
.nav-next {
  -moz-transition: opacity 0.2s ease-in-out;
  -webkit-transition: opacity 0.2s ease-in-out;
  -ms-transition: opacity 0.2s ease-in-out;
  transition: opacity 0.2s ease-in-out;
  background-image: url(../img/icons/arrow.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-color: #1f2224;
  background-size: 3.4em;
  height: 3em;
  width: 3em;
  border-radius: 50%;
  cursor: pointer;
  top: 50%;
  margin-top: -2.5em;
  opacity: 0.5;
  position: absolute;
  z-index: 2;
  color: white;
}
.nav-previous {
  -moz-transform: scaleX(-1);
  -webkit-transform: scaleX(-1);
  -ms-transform: scaleX(-1);
  transform: scaleX(-1);
  left: 1em;
}
.nav-next {
  right: 1em;
}
.nav-previous:hover,
.nav-next:hover {
  opacity: 1;
}

/* SPINNER */
@-moz-keyframes spinner {
  0% {
    -moz-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -moz-transform: rotate(359deg);
    -webkit-transform: rotate(359deg);
    -ms-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}

@-webkit-keyframes spinner {
  0% {
    -moz-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -moz-transform: rotate(359deg);
    -webkit-transform: rotate(359deg);
    -ms-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}

@-ms-keyframes spinner {
  0% {
    -moz-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -moz-transform: rotate(359deg);
    -webkit-transform: rotate(359deg);
    -ms-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}

@keyframes spinner {
  0% {
    -moz-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -moz-transform: rotate(359deg);
    -webkit-transform: rotate(359deg);
    -ms-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}

@media (max-width: 1600px) {
  .grid-sizer,
  .grid-item {
    width: calc(25% - 8px);
  }
}
@media (max-width: 1200px) {
  header {
    padding: 0 1em;
  }
  header .toggle {
    font-size: 1em;
  }
  .grid-sizer,
  .grid-item {
    width: calc(33.3333% - 8px);
  }
}
@media (max-width: 768px) {
  section.info {
    padding: 2em;
  }
  .nous {
    flex-direction: column;
  }
  .description,
  .contact {
    justify-content: flex-start;
    text-align: justify;
  }
  .grid-sizer,
  .grid-item {
    width: calc(50% - 8px);
  }
}
@media (max-width: 480px) {
  section.info {
    padding: 2em 1em;
    font-size: 0.9375em;
  }
  .nous h2 {
    padding-bottom: 0.2em;
    font-size: 1em;
  }
  .copyright {
    font-size: 0.9375em;
  }
  .nerys a img {
    max-height: 20px;
  }
  .decouvrir {
    display: none;
  }
  .bars {
    display: block;
    width: 1.75em;
    height: 1.75em;
  }
}
