/* reset*/
* {
  padding: 0;
  margin: 0;
}

*,
*::after,
*::before {
  box-sizing: border-box;
}

img,
video,
canvas,
audio,
iframe,
embed,
object { 
  display: block; 
  max-width: 100%;
}

/* Font */

/* LOADING */
.loading {
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0;
  top: 0;
  background: #00000000;
  backdrop-filter: blur(15px);
  z-index: 9999;
  border: solid 0.5pt#5d5d5d;
}

.loading .loading-image {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loading .loading-image img {
  height: 80px;
}

.loading .loading-image.dissappear {
  top: 44%;
  opacity: 0;
  -webkit-transition: .2s ease-in-out;
  -moz-transition: .2s ease-in-out;
  -ms-transition: .2s ease-in-out;
  -o-transition: .2s ease-in-out;
  transition: .2s ease-in-out;
  transition-delay: .2s;
}

.fade-out {
  top: -94%;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: .2s ease-in-out;
  -moz-transition: .2s ease-in-out;
  -ms-transition: .2s ease-in-out;
  -o-transition: .2s ease-in-out;
  transition: .2s ease-in-out;
  transition-delay: .2s;
}

/* Body */
body {
  background: #ffffff;
  color: #5d5d5d;
  font-family: 'Silkscreen';
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-align: center;
  font-weight: 100;
}

ul {
  padding-inline-start: 0;
}

li {
  list-style: none;
}

div.portfolio .container {
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
}

.table .inner {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
}

.table .inner .menu-list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 0;
  margin: 0;
  list-style: none;
}

.table .inner .menu-list li {
  margin-bottom: 10px;
}
.ascii-art {
    font-family: monospace;
    white-space: pre;
    font-size: 3pt;
    letter-spacing: 0pt;
    line-height: 2pt;
}

/* Barre de navigation principale */
nav.navbar {
  display: flex;
  justify-content: center;

}

nav.navbar .container {
  position: fixed;
  z-index: 2;
  border-radius: 10px;
  padding: 7px;
  mix-blend-mode: difference;
  backdrop-filter: blur(5px);
  border: solid 0.5pt #888888;
  background-color: #f0f0f000;
}

.navigue {
  width: 60vw;
  display: flex;
  justify-content: space-between;
}

nav.navbar .logo {}

nav.navbar .hamburger-menu {
  position: relative;
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: space-evenly;
  align-items: center;
  height: 40px;
}

nav.navbar .hamburger-menu span {
  display: block;
  width: 30px;
  height: 3px;
  border-radius: 5px;
  background-color: #888888;
}

.burger-menu.active {
  z-index: 99999;
}

.hamburger-menu {
  display: inline-block;
  cursor: pointer;
  position: relative;
  z-index: 9999;
}

.hamburger-menu span {
  display: block;
  width: 30px;
  height: 3px;
  background-color: #ffffff;
  transition: transform 0.3s ease;
}

.hamburger-menu.active span:nth-child(1) {
  transform: rotate(40deg) translate(7.5px, 7.5px);
}

.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
  transform: rotate(-40deg) translate(7.5px, -7.5px);
}

/* Barre de navigation responsive */
.table {
  display: table;
  width: 100%;
}


nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

nav ul li {
  display: inline-block;
  position: relative;
}

nav ul li a {
  text-decoration: none;
  display: block;
  font-size: 30px;
  padding: 10px;
  color: #5d5d5d;
  background-color: #ffffff;
  border-radius: 4px;
  filter: drop-shadow(1px 1px 0px #5d5d5d);
  border: solid 0.5pt #5d5d5d;
}

nav ul li a:hover,
nav ul li a:active {
  background-color: #333;
  color: #ffffff;
  filter: drop-shadow(0 0 0 #5d5d5d);
  box-shadow: inset 1px 1px 0px 1px rgba(129, 128, 128, 1);
}

/* Menu dÃƒÆ’Ã‚Â©roulant */
nav ul li ul.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #dedede;
  background-size: 0.4%;
  background-repeat: repeat;
  min-width: 200px;
}


nav ul li:hover ul.dropdown-menu {
  display: block;
}

nav ul li ul.dropdown-menu li {
  display: block;
}

.logo {
  height: 40px;
}

.navigation {
  position: relative;
}

.navigation .table .inner {
  opacity: 0;
  transition: all 0.8s ease-out;
  transform: translateY(-100%);
  position: fixed;
  background: #00000000;
  backdrop-filter: blur(10px);
  text-align: center;
  z-index: 2;
  padding-top: 35vh;
  border: solid 0.5pt#5d5d5d;
}

.navigation .table .inner.active {
  opacity: 1;
  transform: translateY(0%);
  transition: all 0.8s ease-out;
}

.navigation .table .inner .menu-list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 0;
  margin: 0;
  list-style: none;
}

.navigation .table .inner .menu-list li {
  margin-bottom: 10px;
}

/* SLIDER */
.slider {
  width: 100%;
  height: 100%;
  float: left;
  position: relative;
  z-index: -3;
  /* margin-top: -90px; */
}

.slider .slider-inner {
  width: 100%;
  height: 100%;
  float: center;
  position: fixed;
  overflow: hidden;
}

#myHeading {
  font-family: monospace;
  white-space: pre;
  padding-bottom: 3vh;
  font-size: 10pt;
  flex-shrink: 1;
}

@keyframes slideOut {
  0% {
    opacity: 1;
    transform: translateX(0);
  }

  100% {
    opacity: 0;
    /* transform: translateX(-100%); */
  }
}

@keyframes slideIn {
  0% {
    opacity: 0;
    /* transform: translateX(100%); */
  }

  100% {
    opacity: 1;
    /* transform: translateX(0); */
  }
}


.slider h5 {
  font-size: 12pt;
  font-family: 'Silkscreen', cursive;
  letter-spacing: 10pt;
}

.slider .video-bg {
  width: 100%;
  height: 100%;
  float: left;
  position: relative;
}

.slider .video-bg:after {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  opacity: 15%;
  left: 0;
  top: 0;
  z-index: 2;
}

.slider .video-bg video {
  width: 100%;
  min-height: 100%;
  float: left;
  left: 0;
  position: fixed;
}

.slider .video-bg .table {
  z-index: 3;
}

.video-bg .table .inner {
  position: absolute;
  /* text-shadow: 1px 1px 0px #ffffff; */
  /* filter: drop-shadow(0px 0px 1px rgba(255, 255, 255, 0.5)); */
  min-height: 80vh;
  padding-top: 16%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Presentation*/

.row {
  display: flex;
  justify-content: center;
}

section.services-list {
  padding-top: 750px;
}

.title-box {
  padding: 10px;
  border-bottom: solid 0.5pt #5d5d5d;
}

.block-text {
  width: 40%;
  height: auto;
  background-color: #00000000;
  backdrop-filter: blur(10px);
  border-radius: 10px;
  border: solid 0.5pt #5d5d5d;
  text-align: center;
}


.box {
  margin: 30px;
}

/* Gallerie */


.portfolio {
  margin-top: 15px;
  padding: 3em 1em 4em;
}

.showcase {
  align-items: center;
  padding-top: 50px;
}

.bottom {
  margin-bottom: 3vh;
}

.header {
  text-align: center;
}

div.grid{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

div figure {
  width: 100%;
  height: auto;
}



div figure a {
  overflow: hidden;
}

/* clear fix */
.grid:after {
  content: '';
  display: block;
  clear: both;
}

.grid div {
  position: relative;
  float: left;
  width: 15em;
  height: 15em;
  margin: 0px;
  padding: 0px;
}

div figure:hover,
div figure:active {
  background: none;
  -webkit-transition: .40s ease-in-out;
  -moz-transition: .40s ease-in-out;
  -ms-transition: .40s ease-in-out;
  -o-transition: .40s ease-in-out;
  transition: .40s ease-in-out;
}

div figure img {
  width: 9em;
  height: 9em;
  mix-blend-mode: difference;
  filter: grayscale(1) contrast(2);
  object-fit: cover;
}

div figure img:hover,
div figure img:active {
  mix-blend-mode: normal;
  filter: none;
  -webkit-transition: .40s ease-in-out;
  -moz-transition: .40s ease-in-out;
  -ms-transition: .40s ease-in-out;
  -o-transition: .40s ease-in-out;
  transition: .40s ease-in-out;
}

/*PAGE*/

ul.portfolio-masonry {
  display: flex;
  gap: 2em;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: flex-start;
}

ul.down{
flex-direction: column;

}

div.bottom h2 {
  margin: 0.5em;
}

img.presentation {
  width: auto;
  height: 30em;
  mix-blend-mode: normal;
  filter: none;
  border-radius: 4px;
  border: solid 0.5pt#5d5d5d;
}

ul li p {
  height: auto;
  width: 30em;
}

.linkSpace {
  margin-top: 1.5em;
}

.border {
  border-radius: 4px;
  border: solid 0.5pt#5d5d5d;
}

/* Showcase */


div.portfolio div.text-center {
  display: flex;
  justify-content: space-evenly;
}

div.portfolio div div a,
div.portfolio div button {
  text-align: center;
  text-decoration: none;
  padding: 0.2em;
  display: block;
  font-size: 19px;
  color: #5d5d5d;
  background-color: #ffffff;
  border-radius: 4px;
  filter: drop-shadow(1px 1px 0px #5d5d5d);
  border: solid 0.5pt #5d5d5d;
}

button.button {
  margin-bottom: 1em;
  font-family: 'Silkscreen';
}

div.portfolio div div a:hover,
div.portfolio div button:active,
div.portfolio div button:hover {
  background-color: #333;
  box-shadow: inset 1px 1px 0px 1px rgba(129, 128, 128, 1);
  filter: drop-shadow(0 0 0 #5d5d5d);
  color: #ffffff;
}

button.button.is-checked {
  background-color: #5d5d5d;
  color: #ffffff;
}

div.portfolio div div figure a {
  /* background: #77eeff; */
  text-decoration: none;
  padding: 0;
  margin: 2em;
}

div.portfolio div div figure a:hover,
div.portfolio div div figure a:active {
  text-decoration: none;
  padding: 0;
}

.showcase {
  padding: 0;
  background-color: #00000000;
  backdrop-filter: blur(10px);
  border-radius: 10px;
  border: solid 0.5pt #5d5d5d;
  margin: 75px;
}

/* Footer */
footer {
  border: solid 0.5pt #5d5d5d;
  background-color: #00000000;
  backdrop-filter: blur(10px);
}

footer div.container div.row {
  display: flex;
  flex-direction: column;
}

ul.text-center {
  text-align: center;
  margin-top: 0;
  margin-bottom: 5%;

}

.foot {
  display: flex;
  justify-content: space-between;
  padding: 1% 5% 1%;
  font-size: 9pt;
  border-top: solid 0.5pt;
}

.text-center img.logo {
  height: 15pt;
  width: auto;
}

footer div div ul li {
  margin: 1em;
}

footer div div ul li a {
  text-decoration: none;
  padding: 0.2em;
  font-size: 19px;
  color: #5d5d5d;
  background-color: #ffffff;
  border-radius: 4px;
  filter: drop-shadow(1px 1px 0px #5d5d5d);
  border: solid 0.5pt#5d5d5d;
}

footer div div ul li a:hover,
footer div div ul li a:active {
  background-color: #333;
  box-shadow: inset 1px 1px 0px 1px rgba(129, 128, 128, 1);
  filter: drop-shadow(0 0 0 #5d5d5d);
  color: #fff;
}

/* responsive */

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

  .block-textli {
    height: auto;
    width: 85vw;
  }

  .slider div.video-bg video.tourne {
    left: 0;
    top: -15%;
  }

  .slider .video-bg {
    /* margin-top: 7%; */
  }

  #myHeading {
    font-size: 9pt;
  }

}

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


  nav.navbar {
    padding-top: 10px;
  }

  #myHeading {
    font-size: 6pt;
  }

  .slider h5 {
    font-size: 10pt;
    letter-spacing: 6pt;
  }

  .navigue {
    width: 90vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .slider .video-bg {
    /* margin-top: 33%; */
    overflow: visible;
  }

  /* Ajuster les styles de la barre de navigation principale */
  nav.navbar .container {}

  nav ul li a {
    font-size: 20px;
    padding: 5px;
  }

  /* Ajuster les styles de la section de prÃƒÆ’Ã‚Â©sentation */
  section.services-list {
    padding-top: 400px;
  }

  .block-text {
    margin-top: 25em;
    height: auto;
    width: 92%;
    top: -3%;
  }

  .box {
    margin: 30px;
  }

  ul.grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }

  img.presentation {
    width: auto;
    height: 18em;
  }


  /* Ajuster les styles de la galerie */

  .showcase {
    margin: 20px;
  }

  .text-center {
    text-align: center;
    margin-top: 2%;
    margin-bottom: 2%;
  }

  footer div div ul li a {
    margin: 0.5% 30%;
  }

  section.slider div.video-bg video.tourne {
    rotate: 90deg;
    top: -5vh;
  }

  div.navigation div.table div.inner {
    padding-top: 50%;
  }

  .video-bg .table .inner {
    padding-top: 40vw;
  }

  .text-center.button-group.filters-button-group {
    display: flex;
    flex-direction: column;
  }

  .grid div {
    width: 15rem;
    height: 15rem;
  }
}

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

  div figure img {
    width: 20em;
    height: 9em;
  }

  .grid div {
    width: 31rem;
    height: 31rem;
    margin-top: 1em;
    margin-left: 4.1rem;
  }
}

@media screen and (max-width: 650px) {
  #myHeading {
    font-size: 3pt;
    padding-bottom: 1vh;
  }

  section.slider div.video-bg video.tourne {
    top: 7vh;
  }

  .video-bg .table .inner {
    padding-top: 54vw;
  }

  div figure img {
    width: 10em;
    height: 10em;
  }

  .grid div {
    width: 16rem;
    height: 16rem;
    margin-top: 0.1em;
    margin-left: -0.1em;
  }

  img.presentation {
    width: auto;
    height: 10em;
  }

  ul li p {
    height: auto;
    width: 15em;
  }

  .text-center {
    margin-top: 0;
  }

  footer div div ul li a {
    margin: 5.5% 0;

  }

  .showcase {
    margin-top: 5em;
  }
}

@media screen and (max-width: 580px) {
  .video-bg .table .inner {
    position: absolute;
  }

  section.services-list {
    padding-top: 220px;
  }

  .grid div {
    /* margin-left: 5.8em; */
    width: 19rem;
    height: 19rem;
    margin-top: 0.1rem;
  }
div figure{
  width: 19em;
  height: auto;
}

div.grid div figure {
  width: 19em;
  height: 15em;
}

  div.portfolio div.container div {
    left: initial!important;
}

  div figure img {
    width: 12em;
    height: 12em;
  }

  img.presentation {
    width: 25em;
    height: auto;
  }

  #myHeading {
    font-size: 1vw;
    padding-bottom: 4vh;

  }

  .video-bg .table .inner {
    padding-top: 36vh;
  }

  section.slider div.video-bg video.tourne {
    top: -5vh;
  }

  .slider h5 {
    font-size: 10pt;
    letter-spacing: 4pt;
  }
}


/* isotope*/

.grid-item {
  width: 25%;
}

.grid-item--width2 {
  width: 50%;
}