@font-face {
  font-family: Satoshi;
  src: url(./fonts/Satoshi-Bold\ kopie.ttf);
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  background-color: gainsboro;
  overflow-x: hidden;
}

.container {
  position: relative;
  width: 100%;
  height: 100%;
}

/* POSTER */
.poster {
  position: absolute;
  top: 20vh;
  left: 10vw;
  width: clamp(120px, 20vw, 300px);
  z-index: 9999;
}

.poster img {
  width: 100%;
  height: auto;
  display: block;
}

/* WEBSITE PREVIEW (LAPTOP FRAME) */
.website {
  position: absolute;
  top: 20vh;
  left: 35vw;

  /* standaard desktop maat */
  width: 48vw;
  height: calc(48vw * 9 / 16); /* hoogte, 16:9 ratio */

  overflow: hidden;
  background-color: white;
  z-index: 9999;
  border-radius: 10px;
}

.website iframe {
  width: 200%;
  height: 200%;
  border: none;
  transform: scale(0.5);
  transform-origin: top left;
}

/* TERUG KNOP */
.terug-knop {
  position: fixed;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  width: 100%;
  height: auto;
  opacity: 20%;
  cursor: pointer;
}

/* --------------------------------------- */
/*                📱 TABLET                */
/* --------------------------------------- */
@media screen and (max-width: 1024px) {
  .poster {
    top: 30vh;
    left: 10vw;
    width: 20vw;
  }

  .website {
    top: 30vh;
    left: 40vw;
    width: 50vw;
  }
}

/* --------------------------------------- */
/*              📱📱 MOBIEL                */
/* --------------------------------------- */
@media screen and (max-width: 768px) {
  html,
  body {
    overflow: auto !important;
    height: auto !important;
  }

  .cursor-dot {
    display: none !important;
  }

  .hover-image {
    display: none !important;
    opacity: 0 !important;
  }
  .container {
    min-height: 180vh;
  }

  .poster {
    top: 10vh;
    left: 15vw;
    width: 70vw;
  }

  .website {
    top: 95vh;
    left: 5vw;
    width: 90vw;
    height: calc(90vw * 9 / 16); /* hoogte, 16:9 ratio */
  }

  .terug-knop {
    content: url("../assets/images/achtergrond\ mobile\ rood.webp");
  }
  .container {
    min-height: 150vh; /* meer scrollruimte voor mobiele weergave */
  }
}
