/* imports */
@import url("https://fonts.googleapis.com/css2?family=Nanum+Brush+Script&family=Reenie+Beanie&display=swap");

@font-face {
  font-family: "Dokdo";
  src: url(fonts/Dokdo/Dokdo-Regular.woff2) format("woff2");
}

/* Grid system */
* {
  box-sizing: border-box;
  font-family: "Dokdo";
}

iframe {
  width: 100%;
  height: 100%; /* Adjust height as needed */
  border: none; /* Remove default border */
  background: white; /* Ensure the iframe background is transparent */
  overflow: auto; /* Prevent clipping */
}

section {
  width: 100vw;

  display: flex;
  flex-wrap: wrap;
  padding: 0 5rem;
  overflow: visible;
}

body {
  margin: 0;
  background-image: url(/photos/reka.jpg);
  background-size: 60%;
  overflow: auto;
}

h1 {
  font-size: 11rem;
  letter-spacing: -1rem;
}

h2 {
  font-family: "Dokdo", sans-serif;
  font-weight: 500;
  font-size: 4rem;
  line-height: 1;
}

h3 {
  font-family: "Dokdo", sans-serif;
  font-weight: 500;
  font-size: 3rem;
  line-height: 1;
}

img {
  margin: auto;
  object-fit: contain;
}

/* GRIDS */
.wrapper {
  max-width: 1100px;
  margin: 0 auto;
}

.row {
  justify-content: center;
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin: 0;
}

.text-center {
  text-align: center;
}

.col1 {
  width: 8.3%;
  margin: 0 6px;
}

.col2 {
  width: 16.6%;
  margin: 0 6px;
}

.col3 {
  width: 24.9%;
  margin: 6px;
}

.col4 {
  width: 33.2%;
  margin: 6px;
}

.col5 {
  width: 41.5%;
  margin: 6px;
}

.col6 {
  width: 49.8%;
  margin: 0 6px;
}

.col7 {
  width: 58.1%;
  margin: 0 6px;
}

.col8 {
  width: 66.4%;
  margin: 6px;
}

.col9 {
  width: 74.7%;
  margin: 6px;
}

.col10 {
  width: 83%;
  margin: 6px;
}

.col11 {
  width: 91.3%;
  margin: 6px;
}

.col12 {
  width: 99.6%;
  margin: 6px;
}

/* Section */

/* FIRST */

.first {
  /*     display: none;
 */
  height: 100vh;
  margin: 0;
  align-content: center;
}

section.first h1 {
  text-align: center;

  text-transform: uppercase;
  margin: 0;
}

.first .row {
  justify-content: center;
}

section.first h2 {
  font-family: "Reenie Beanie", sans-serif;
  font-weight: 500;
  font-size: 3rem;
  text-align: center;
}

/* SECOND */
.second {
  /* display: none;
 */
  height: 100vh;
  align-content: center;
}

.second .row {
  margin: 0;
}

.second h1 {
  font-size: 8rem;
  text-align: center;
  margin: 0;
}

.second h2 {
  text-align: center;
  font-size: 4rem;
}

/* Third */

.third {
  /* display: none; */
  height: 100vh;
  align-content: space-between;
  align-items: center;
}

.third h2 {
  /* font-family: "Reenie Beanie",sans-serif; */
  font-weight: 500;
  font-size: 4.5rem;
}

.third img {
  width: 50rem;
}

.third .row {
  align-items: center;
}

/* fourth */

.fourth .row {
  height: 100vh;
  /*     align-content: center;
 */
  justify-content: center;
  padding-top: 15vh;
}

.fourth h2 {
}

.fourth img {
  width: 50rem;
}

.fifth {
  justify-content: space-between;
}

.preEyes {
  justify-content: space-between;
}

.mashtenas {
  align-items: stretch;
  justify-content: center;
}

.mashtenas img {
  width: 10vw;
  align-items: center;
  margin: auto;
  justify-content: flex-end;
}

.mashtenas col3 {
  align-content: center;
}

.fifth {
  height: 100vh;
}

.fifth h1 {
  font-size: 8rem;
  text-align: center;
  margin: 0;
}

.fifth h2 {
  text-align: center;
  font-size: 4rem;
  margin: 0;
}

.seventh {
  height: 100vh;
}

.game {
  height: 100vh; /* Full viewport height */
  min-height: 100vh;
  padding: 0; /* No padding */
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* Align to top */
  padding-top: 1vh; /* Small breathing room at top */
}

/* EYE shit */
main {
  position: relative;
  width: 50vw;
  align-items: center;
}
.eyettes img {
  margin: auto;
}
.eyettes {
  transition: opacity 1s ease-in-out; /* Adjust the duration and easing as needed */
}
.eyes .eye {
  position: absolute;
  width: 5vw;
}

/* EYE END */
.sixth {
  height: 100vh;
  overflow: hidden;
}
.sixth .col3 {
  align-items: center;
}

.sixth img {
  margin: 0;
}

#toilet {
  width: 50%;
  justify-content: center;
  display: flex;
  margin: auto;
  z-index: 1;
}

#sparklettes {
  position: absolute;
  z-index: -4;
  top: -20%;
  right: -15%;
  width: 130%;
  animation-name: rotacion;
  animation-duration: 30s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

@keyframes rotacion {
  0% {
    transform: rotate(0deg);
    opacity: 100;
  }

  100% {
    transform: rotate(360deg);
  }
}

/* video HERO section */

.container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  padding-left: 0;
}

#video {
  position: absolute;
  display: inline-block;
  width: 100%;
  height: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#vidContainer {
  position: relative; /* Ensure it stays relative during pinning */
  width: 100%; /* Maintain full width */
  height: 100%;
  top: 0; /* Set top position to prevent jumping */
  margin: 0;
  padding: 0;
  overflow: hidden;
}

#space {
  height: 500px;
}

/* MODAL EYE */

.show {
  /* כפתור */
  position: relative;

  padding: 0 2px;
  box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.3); /* Shadow effect */
  background: #f9f9f9; /* Light background to enhance the sticker look */
  border: 1px solid rgba(0, 0, 0, 0);

  &:hover {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
  }

  &:active {
    transform: scale(0.9);
  }
}

.show h2 {
  font-size: 2.5rem;
}

#wall {
  background-color: white;
  z-index: 40;
  border: #000 solid 4px;
  display: none;
}

/* Close Button */

.close {
  position: absolute;
  top: 0;
  right: 0;
  width: 35px;
  height: 30px;
  background: #000;
  color: #fff;
  cursor: pointer;
  border: 0;
}

/*  // The mask */

.mask {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);

  z-index: 50;
  visibility: hidden;

  opacity: 0;

  transition: 0.3s;
}

/*  // Modal */

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 300px;
  margin-left: -300px; /* Half of the width to center horizontally */
  margin-top: -150px; /* Half of the height to center vertically */
  background: transparent;
  z-index: 100;
  visibility: hidden;
  color: white;
  opacity: 0;
  font-size: 5rem;
  text-align: center;
  display: flex;
  align-items: center;

  transition: 0.5s ease-out;
}

/* // Class Active */

.active {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

/* // When active class is added, that affects the modal class */

.active + .modal {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.modalUpOn {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}
.modalDownOn {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}
.modalLeftOn {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}
.modalRightOn {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

video#atom {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  display: none; /* Initially hide the video element */
}

.focusWall {
  height: 100vh;
  overflow: hidden;
}

.wonderWall {
  font-family: "Reenie Beanie";
  font-size: 5rem;
  position: absolute;
}

#focusya {
  font-size: 2rem;
}

#focus2 {
  font-size: 5rem;
  transform: rotate(calc(0deg));
}

#wonder {
  font-size: 3rem;
}

#wonder2 {
  font-size: 6em;
}

#mean {
  font-size: 5rem;
}
