@font-face {
  font-family: 'next-art.light';
  src: url('/next-art.light.otf') format('opentype');
  /* Autres propriétés facultatives, comme font-weight, font-style, etc. */
}

@font-face {
  font-family: 'next-art.heavy';
  src: url('/next-art.heavy.otf') format('opentype');
  /* Autres propriétés facultatives, comme font-weight, font-style, etc. */
}


body {
    background-color: black;
    font-family: 'next-art.light', sans-serif;
    color: white;
    overflow: hidden;
}

a {
  color: white;
}

.image-container {
  z-index: -99;
  position: absolute;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

.image-container img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.next {
  z-index: 1;
  position: absolute;
  width: auto;
  height: auto;
  top: 20px;
  right: 20px;
}

.btnnext {
  border: none;
  cursor: pointer;
  padding: 5px 15px 5px 15px;
  font-family: 'next-art.light', sans-serif;
  font-weight: 600;
  border: 2px white solid;
  background-color: black;
  color: white;
  transition: border-radius 400ms ease;
}

.btnnext:hover {
  border: 2px white solid;
  border-radius: 50px;
}

.parent {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 1fr;
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  height: 100vh;
}

.blocentral {
  display: flex;
  justify-content: center;
  align-items: center;
  grid-column: 1; /* 1ere colonne */
  grid-row: 1;    /* 1ere ligne */
}

.blocleft {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  grid-column: 2; /* 2eme colonne */
  grid-row: 1;  /* 2eme ligne */
}

.bloc0c {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 25px;
  width: 150px;
  height: fit-content;
  background-color: transparent;
}

.bloc0c i {
  font-size: 20px;
}

.bloc1c {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 300px;
  height: 500px;
  background-color: black;
  border: white 3px solid;
  z-index: 6;
}

.blocentral:hover .bg1c,
.blocentral:hover .bg2c {
  opacity: 1;
}

.bg1c,
.bg2c {
  position: absolute;
  background-color: black;
  border: white 3px solid;
  transition: opacity 200ms ease;
  width: 300px;
  height: 500px;
  opacity: 0;
}

.bg1c {
  transition-delay: opacity 500ms ease;
  margin-top: 30px;
  margin-right: 30px;
  z-index: 5;
}

.bg2c {
  transition-delay: 50ms;
  margin-top: 60px;
  margin-right: 60px;
  z-index: 4;
}

.bloc2c {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: transparent;
  width: 150px;
  height: fit-content;
}

.bloc3c {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: transparent;
  margin-top: 50px;
  width: 150px;
  height: fit-content;
}

h1 {
  font-size: x-large;
  font-family: 'next-art.heavy', sans-serif;
}

.bloc0l {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 25px;
  width: 150px;
  height: fit-content;
  background-color: transparent;
}

.bloc0l i {
  font-size: 20px;
}

.bloc1l {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 300px;
  height: 300px;
  background-color: black;
  border: white 3px solid;
  z-index: 6;
}

.bg1l,
.bg2l {
  position: absolute;
  background-color: black;
  border: white 3px solid;
  transition: opacity 200ms ease;
  width: 320px;
  height: 320px;
}

.bg1l {
  opacity: 0; 
  margin: 10px;
  z-index: 5;
}

.bg2l {
  opacity: 0;
  padding: 10px;
  z-index: 4;
  transition-delay: 50ms;
}

.blocleft:hover .bg1l,
.blocleft:hover .bg2l {
  opacity: 1;
}

.bloc2l {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: transparent;
  width: 150px;
  height: fit-content;
}

.bloc3l {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: transparent;
  margin-top: 50px;
  width: 150px;
  height: fit-content;
}

@media screen and (max-width: 752px) {
  .parent {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
  }
  
  .blocentral {
    transform: scale(.5);
    display: flex;
    justify-content: center;
    align-items: center;
    grid-column: 1; /* 1ere colonne */
    grid-row: 1;    /* 1ere ligne */
  }
  
  .blocleft {
    transform: scale(.5);
    margin-top: -30%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    grid-column: 1; /* 1ere colonne */
    grid-row: 2;    /* 2eme ligne */
  }
  
}