@import url("https://fonts.googleapis.com/css?family=Roboto");
@import url('https://fonts.googleapis.com/css2?family=Miriam+Libre:wght@400;700&display=swap');

.miriam-libre-regular {
    font-family: "Miriam Libre", sans-serif;
    font-weight: 400;
    font-style: normal;
  }
  
  .miriam-libre-bold {
    font-family: "Miriam Libre", sans-serif;
    font-weight: 700;
    font-style: normal;
  }  

/*---------- BODY, HTML, HORIZONTAL CONTAINER, HORIZONTAL SCROLL ----------------------------------------------------------------------------------------------------*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  scroll-snap-type: inline;
}

body {
  background-color: #9697f7;
  font-family: "Roboto", sans-serif;
}

html {
  font-size: 10px;
}

.horizontal-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  scroll-behavior: smooth;
  scroll-snap-type: inline;
  -ms-overlow-style: none;
  scrollbar-width: none;
}

::-webkit-scrollbar {
  display: none;
}

.horizontal-container section {
  min-width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: #9697f7;
  scroll-behavior: smooth;
  scroll-snap-type: inline;
}

/* .container section:nth-child(2) {
  background: rgb(214, 228, 162);
} */

/* .container section:nth-child(3) {
  background: rgb(211, 183, 235);
} */

@media (max-width: 991px) {
  .horizontal-container {
    position: absolute;
    display: flex;
    flex-direction: column;
    height: auto;
    transform: none !important;
  }
}

/*---------- NAVIGATION MENU -----------------------------------------------------------------------------------------------------------------------------------------------------------*/

.wrapper {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(-135deg, #94cbdd, #4972a1);
  /* clip-path: polygon(25% 0, 50% 25%, 25% 50%, 0 25%); */
  /* clip-path: polygon(
    96.5% 1.4%,
    99.3% 1.4%,
    99.3% 0%,
    99.3% 40%,
    91% 48.5%,
    88% 48.5%,
    88% 50%,
    88% 10%
  ); */
  clip-path: polygon(97% 1%, 99.5% 1%, 99.5% 60%, 97% 70%, 90% 70%, 90% 10%);
  border-top-right-radius: 40px;
  transition: all 0.8s ease-in-out;
  opacity: 0;
  visibility: hidden;
  overflow-x: hidden;
  z-index: 1;
  mix-blend-mode: luminosity;
}
@media only screen 

  and (max-width: 1400px)
  and (orientation: landscape)  {
    .wrapper
{
  clip-path: polygon(95% 1%, 99.5% 1%, 99.5% 40%, 95% 50%, 84% 50%, 84% 10%);
}
}
@media only screen 

  and (orientation: portrait) {
    .wrapper
{
  clip-path: polygon(90% 1%, 99% 1%, 99% 40%, 90% 50%, 70% 50%, 70% 10%);
  border-top-right-radius: 35px;
}
}
#active:checked ~ .wrapper {
  /* clip-path: polygon(25% 0, 50% 25%, 25% 50%, 0 25%); */
  /* clip-path: polygon(
    90.5% 1.4%,
    99.3% 1.4%,
    99.3% 0%,
    99.3% 40%,
    91% 48.5%,
    82% 48.5%,
    82% 50%,
    82% 10%
  ); */
  clip-path: polygon(91% 1%, 99.5% 1%, 99.5% 75%, 91% 85%, 82% 85%, 82% 10%);
  height: 100%;
  width: 100%;
  border-top-right-radius: 40px;
  mix-blend-mode: luminosity;
  transition: 0.8s;
  opacity: 1;
  visibility: visible;
  z-index: 2;
}
@media only screen 

  and (max-width: 1400px)
  and (orientation: landscape)  {
    #active:checked ~ .wrapper
{
  clip-path: polygon(88% 1%, 99.5% 1%, 99.5% 40%, 88% 50%, 74% 50%, 74% 10%);
}
}
@media only screen 

  and (orientation: portrait) {
    #active:checked ~ .wrapper
{
  clip-path: polygon(80% 1%, 99% 1%, 99% 40%, 80% 50%, 57% 50%, 57% 10%);
  border-top-right-radius: 35px;
}
}
.menu-btn {
  position: fixed;
  z-index: 3;
  right: 17px;
  top: 17px;
  height: 50px;
  width: 50px;
  text-align: center;
  line-height: 50px;
  border-radius: 20%;
  font-size: 20px;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(-135deg, #94cbdd, #4972a1);
  transition: all 0.3s ease-in-out;
}
#active:checked ~ .menu-btn {
  background: #fff;
  color: black;
}
#active:checked ~ .menu-btn i:before {
  content: "\f00d";
}

.wrapper ul {
  position: absolute;
  top: 25%;
  left: 91%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-family: "Roboto", sans-serif;
  text-transform: uppercase;
  letter-spacing: 4px;
  direction: rtl;
  width: 290px;
  height: 290px;
}
@media only screen 

  and (max-width: 1400px)
  and (orientation: landscape) {
    .wrapper ul {
  left: 87%;
}
}
@media only screen 

  and (orientation: portrait) {
    .wrapper ul {
      left: 79%;
    }
}
input[type="checkbox"] {
  display: none;
}
.Menu-list-item {
  color: transparent;
  cursor: pointer;
  font-size: 27px;
  line-height: 55px;
  transition: all 0.3s ease;
  position: relative;
  width: 250px;
}

.menu-projets {
opacity: 0.8;
}

.menu-projets2 {
opacity: 0.6;
}

.menu-projets3 {
opacity: 0.4;
}

.Mask {
  display: block;
  position: absolute;
  overflow: hidden;
  color: rgb(19, 7, 71);
  top: 0;
  height: 49%;
  transition: all 0.8s cubic-bezier(0.16, 1.08, 0.38, 0.98);
}
.Mask span {
  display: block;
}
.Mask + .Mask {
  top: 48.9%;
}
.Mask + .Mask span {
  transform: translateY(-49%);
}

.Menu-list-item:hover .Mask,
.Menu-list-item:active .Mask {
  color: #fff;
  transform: skewX(12deg) translateX(5px);
}
.Menu-list-item:hover .Mask + .Mask,
.Menu-list-item:active .Mask + .Mask {
  color: black;
  transform: skewX(12deg) translateX(-5px);
}

.Menu-list-item::before {
  content: "";
  display: block;
  position: absolute;
  top: 49%;
  left: -10%;
  right: -10%;
  height: 4px;
  border-radius: 4px;
  margin-top: -2px;
  background: black;
  transform: scale(0);
  transition: transform 0.8s cubic-bezier(0.16, 1.08, 0.38, 0.98);
  z-index: 1;
}

.Menu-list-item:hover::before,
.Menu-list-item:active::before {
  transform: scale(1);
}

#menu-link {
  text-decoration: none;
}

/*---------- PAGE TITLE -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/

.TitlePage {
  justify-content: center;
  align-items: center;
  position: fixed;
  margin-left: 125rem;
  margin-top: 2.1rem;
  width: 50rem;
  z-index: 3;
}

.titrepage {
  font-size: 4rem;
  font-family: "Roboto", sans-serif;
  font-weight: 100;
  color: #1b1de8;
  letter-spacing: 1rem;
  margin-left: 0rem;
  margin-top: 0rem;
  text-transform: uppercase;
  position: absolute;
  mix-blend-mode: overlay;
  opacity: 0.5;
}

/*---------- LOGO ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/

.EliseVoet_Logo1 {
  background-image: url("media/EliseVoet_LogoTexte.png");
  background-size: cover;
  width: 172.8px;
  height: 98.1px;
  top: 0px;
  margin-top: -10px;
  justify-content: center;
  align-items: center;
  position: fixed;
  z-index: 3;
  mix-blend-mode: overlay;
  opacity: 0.5;
}
/* @media screen and (max-width: 960px) {
  .EliseVoet_Logo1 {
    opacity: 0;
  }
} */
.EliseVoet_Logo2 {
  background-image: url("media/EliseVoet_LogoSignature.png");
  background-size: cover;
  width: 180px;
  height: 110.25px;
  top: 0px;
  margin-top: -20px;
  margin-left: 31px;
  justify-content: center;
  align-items: center;
  position: fixed;
  z-index: 4;
}
/* @media screen and (max-width: 960px) {
  .EliseVoet_Logo2 {
    opacity: 0;
  }
} */

/*---------- FIRST GRID ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/

.first-grid {
  margin-left: 3.5vw;
  margin-top: 7vh;
  width: 90vw;
  height: 86vh;
  /* background-color: violet; */
  display: grid;
  grid-template-columns: 28% 72%;
  grid-template-rows: 1fr;
  grid-template-areas: "a b";
  grid-column-gap: 1vw;
}

.first-grid-bloc:nth-child(1) {
  /* background-color: tomato; */
  grid-area: a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.first-grid-bloc:nth-child(2) {
  background-image: url("media/phonemes2pousch2.jpg");
  background-size: cover;
  background-position: center;
  grid-area: b;
}

/*---------- SECOND GRID ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/

.second-grid {
  margin-left: 0vw;
  margin-right: 2.5vw;
  margin-top: 7vh;
  width: 92vw;
  height: 86vh;
  /* background-color: violet; */
  display: grid;
  grid-template-columns: 67% 33%;
  grid-template-rows: 1fr;
  grid-template-areas: "a b";
  grid-column-gap: 2.5vw;
}

.second-grid-bloc:nth-child(1) {
  background-image: url("media/phonemes2pousch3.jpg");
  background-size: cover;
  background-position: center;
  grid-area: a;
}

.second-grid-bloc:nth-child(2) {
  background-image: url("media/phonemes2pousch1.jpg");
  background-size: cover;
  background-position: center;
  grid-area: b;
}

/*---------- THIRD GRID ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/

.third-grid {
  margin-left: 0vw;
  margin-right: 2.5vw;
  margin-top: 7vh;
  width: 92vw;
  height: 86vh;
  /* background-color: violet; */
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  grid-template-rows: 1fr;
  grid-template-areas: "a a b b c";
  /* grid-column-gap: 2rem;
  grid-row-gap: 2rem; */
  grid-gap: 2rem;
}

.third-grid-bloc:nth-child(1) {
  background-image: url("./Media/phonemes2pixel1.jpg");
  background-size: cover;
  background-position: center;
  grid-area: a;
}

.third-grid-bloc:nth-child(2) {
  background-image: url("./Media/phonemes2pixel2.jpg");
  background-size: cover;
  background-position: center;
  grid-area: b;
}

.third-grid-bloc:nth-child(3) {
  background-image: url("./Media/phonemes2pixel3.jpg");
  background-size: cover;
  background-position: right;
  grid-area: c;
}

/*---------- TEXTE ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/

.text-bloc:nth-child(1) {
  background-color: #7374ea;
  width: 83%;
  max-height: 23%;
  padding: 5%;
  margin-bottom: 2vh;
  border-radius: 4%;
  transition: all 3s ease-in-out;
  align-items: center;
  justify-content: center;
}
.text-bloc:nth-child(2) {
  margin-top: 3.5%;
  width: 83%;
  transition: all 3s ease-in-out;
}
.text-bloc:nth-child(3) {
  margin-top: 3.5%;
  width: 83%;
  transition: all 3s ease-in-out;
}
/* .text-bloc:nth-child(4) {
  margin-top: 2.5vh;
  width: 83.5%;
} */

.title {
  font-family: "Roboto", sans-serif;
  font-size: 1.6rem;
  margin-bottom: 4%;
  font-weight: lighter;
  color: white;
  letter-spacing: 0.1rem;
  opacity: 0.85;
}

.def {
  font-family: "Roboto", sans-serif;
  font-size: 1.6rem;
  margin-bottom: 4%;
  font-weight: 200;
  color: white;
  letter-spacing: 0.1rem;
  opacity: 0.85;
}
.def2 {
  text-align: right;
  color: #2e00bc;
  opacity: 1;
}
.def3 {
  width: 70%;
  margin-left: 6vw;
  margin-top: -1vh;
}

.text {
  font-family: "Roboto", sans-serif;
  font-size: 1.6rem;
  /* margin-bottom: 10%; */
  font-weight: 400;
  color: black;
  letter-spacing: 0.1rem;
  opacity: 0.85;
}

.italic {
  font-style: italic;
}

#link {
  color: #3f41f5;
  text-decoration: none;
  font-style: italic;
  font-weight: 400;
  transition: 0.4s;
}

#link:hover {
  color: #701be3;
  font-style: italic;
  font-weight: 500;
  transition: 0.4s;
}

/*---------- SPEAKERS -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/

#first-grid-left-speaker {
  position: absolute;
  /*z-index: -1;*/
  content: "";
  background: white;
  height: 8.05rem;
  width: 5.25rem;
  margin-left: 11.05%;
  margin-top: 16.35%;
  filter: blur(1rem);
  opacity: 0.1;
  transition: all 0.5s ease-in-out;
}
#first-grid-left-speaker:hover {
  cursor: pointer;
}

#first-grid-roof-speaker {
  position: absolute;
  /*z-index: -1;*/
  content: "";
  background: white;
  height: 5.9rem;
  width: 5.2rem;
  margin-left: 28%;
  margin-top: 3.22%;
  filter: blur(1rem);
  opacity: 0.1;
  transition: all 0.5s ease-in-out;
}
#first-grid-roof-speaker:hover {
  cursor: pointer;
}

#first-grid-right-speaker {
  position: absolute;
  /*z-index: -1;*/
  content: "";
  background: white;
  height: 4rem;
  width: 3.5rem;
  margin-left: 34.3%;
  margin-top: 16.25%;
  filter: blur(1rem);
  opacity: 0.1;
  transition: all 0.5s ease-in-out;
}
#first-grid-right-speaker:hover {
  cursor: pointer;
}

#first-grid-ground-speaker {
  position: absolute;
  /*z-index: -1;*/
  content: "";
  background: white;
  height: 9.9rem;
  width: 7.2rem;
  margin-left: 35.42%;
  margin-top: 27.8%;
  filter: blur(1rem);
  opacity: 0.1;
  transition: all 0.5s ease-in-out;
}
#first-grid-ground-speaker:hover {
  cursor: pointer;
}

#second-grid-speaker {
  position: absolute;
  /*z-index: -1;*/
  content: "";
  background: white;
  width: 7rem;
  height: 6.8rem;
  margin-left: 50.15%;
  margin-top: 18.18%;
  filter: blur(1rem);
  opacity: 0.1;
  transition: all 0.5s ease-in-out;
}
#second-grid-speaker:hover {
  cursor: pointer;
}

/*---------- SOUND AUTORISATION POP UP -----------------------------------------------------------------------------------------------------------------------------------------------------------*/

.popup {
  background-color: rgb(54, 53, 126);
  width: 96vw;
  height: 87vh;
  margin-top: 3.5vh;
  position: fixed;
  transform: translate(-50%, -50%);
  left: 50%;
  top: 50%;
  border-radius: 8px;
  font-family: "Poppins", sans-serif;
  display: none;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -ms-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
  z-index: 2;
  opacity: 0.8;
}

.textpopup {
  position: fixed;
  width: 400px;
  left: 35%;
  top: 5%;
  padding: 2%;
  background-color: transparent;
  color: aliceblue;
  font-size: 2rem;
  letter-spacing: 0.1rem;
}

.popup button {
  display: block;
  /* margin: 0 0 20px auto; */
  margin-top: -60px;
  margin-left: auto;
  margin-bottom: 0px;
  background-color: transparent;
  font-size: 90px;
  border: none;
  outline: none;
  cursor: pointer;
}

.popup p {
  font-size: 14px;
  text-align: justify;
  margin: 20px 0;
}

.closepopup {
  margin-top: 5%;
  margin-left: 20%;
  width: 10%;
  font-size: 1.7rem;
  font-weight: 100;
}

#closebtn {
  /* transform: rotate(0turn); */
  color: white;
  width: 50px;
  margin-right: 42px;
  margin-top: -100px;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -ms-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}

#closebtn:hover {
  /* transform: rotate(0.25turn); */
  /* transform: scale(1.2, 1.2); */
  color: rgb(127, 129, 253);
  margin-right: 35px;
  transition: 0.5s ease;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -ms-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}

/*---------- SCREEN -------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/

#screen {
  position: absolute;
  width: 23%;
  height: 80%;
  visibility: hidden;
  opacity: 0;
  transition-property: visibility;
  transition-timing-function: ease-in-out;
  -webkit-transition: all 1s; /* For Safari 3.1 to 6.0 */
  transition: all 1s;
}

#first-grid-left-tablet {
  background-color: aliceblue;
  position: absolute;
  width: 8.8rem;
  height: 11rem;
  margin-left: 3.6%;
  margin-top: 14.85%;
  clip-path: polygon(19% 0, 69% 7%, 69% 89%, 19% 87%);
  opacity: 0;
  cursor: cell;
}
#first-grid-left-tablet-projection {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 2%;
  visibility: hidden;
  opacity: 0;
  transition-property: visibility;
  transition-timing-function: ease-in-out;
  -webkit-transition: all 1s; /* For Safari 3.1 to 6.0 */
  transition: all 1s;
}

#first-grid-television {
  background-color: aliceblue;
  position: absolute;
  width: 9.2rem;
  height: 7.2rem;
  margin-left: 19.54%;
  margin-top: 26.5%;
  clip-path: polygon(0 9%, 88% 0, 98% 11%, 98% 92%, 6% 100%, 0 90%, 0 52%);
  opacity: 0;
  cursor: cell;
}
#first-grid-television-projection {
  position: absolute;
  width: 100%;
  height: 40%;
  top: 28.75%;
  border-radius: 2%;
  visibility: hidden;
  opacity: 0;
  transition-property: visibility;
  transition-timing-function: ease-in-out;
  -webkit-transition: all 1s; /* For Safari 3.1 to 6.0 */
  transition: all 1s;
}

#first-grid-big-screen {
  background-color: aliceblue;
  position: absolute;
  width: 33.5rem;
  height: 48rem;
  margin-left: 32.68%;
  margin-top: 9.22%;
  clip-path: polygon(53% 13%, 77% 0, 81% 100%, 56% 85%);
  opacity: 0;
  cursor: cell;
}
#first-grid-big-screen-projection {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 2%;
  visibility: hidden;
  opacity: 0;
  transition-property: visibility;
  transition-timing-function: ease-in-out;
  -webkit-transition: all 1s; /* For Safari 3.1 to 6.0 */
  transition: all 1s;
}

#first-grid-right-tablet {
  background-color: aliceblue;
  position: absolute;
  width: 7.9rem;
  height: 18.1rem;
  margin-left: 55.7%;
  margin-top: 9.75%;
  clip-path: polygon(0 16%, 96% 0, 100% 97%, 2% 100%);
  opacity: 0;
  cursor: cell;
}
#first-grid-right-tablet-projection {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 2%;
  visibility: hidden;
  opacity: 0;
  transition-property: visibility;
  transition-timing-function: ease-in-out;
  -webkit-transition: all 1s; /* For Safari 3.1 to 6.0 */
  transition: all 1s;
}

#second-grid-big-screen-projection {
  position: absolute;
  margin-left: 9.15%;
  margin-top: 7.9%;
  height: 53.4rem;
  width: 30.5rem;
  clip-path: polygon(0 0, 100% 0.5%, 100% 99%, 0 100%);
  opacity: 0;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  cursor: cell;
}
#second-grid-big-screen-projection:hover {
  opacity: 0.9;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  cursor: cell;
}

#second-grid-tablet-projection {
  position: absolute;
  margin-left: 40.23%;
  margin-top: 15.08%;
  height: 7.25rem;
  width: 5.45rem;
  clip-path: polygon(0 0, 100% 0.5%, 100% 99%, 0 99%);
  opacity: 0;
  transition: all 0.5s ease-in-out;
  cursor: cell;
}
#second-grid-tablet-projection:hover {
  opacity: 0.9;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  cursor: cell;
}

#second-grid-television-projection {
  position: absolute;
  margin-left: 9.6%;
  margin-top: 16.72%;
  height: 15.6rem;
  width: 19.4rem;
  clip-path: polygon(
    2.5% 7%,
    2.5% 6%,
    4% 5%,
    33% 4%,
    66% 4%,
    94% 5.5%,
    97% 7%,
    98% 9%,
    99% 33%,
    99% 66%,
    98% 90%,
    96% 92%,
    94% 94%,
    66% 96%,
    33% 96%,
    8% 95%,
    5% 94.5%,
    2.5% 93%,
    2% 66%,
    2% 33%
  );
  opacity: 0;
  transition: all 0.5s ease-in-out;
  cursor: cell;
}
#second-grid-television-projection:hover {
  opacity: 1;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  cursor: cell;
}
