@import url("./global.css");

body {
  background-image: url("/assets/imgs/bg_1.png");
}

/*.typografie */

/* text in sticker */
.popup-image h3 {
  margin: 0;
  font-size: 1.1rem;
  background-color: rgba(0, 255, 255, 0);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* nog een betere hover fixen, iets met nested divs aanspreken */
.popup-image:hover > h3 {
  background-color: aqua;
}

/* title in popup */
.popup h3 {
  margin: 0;
  font-size: 1.5rem;
  font-family: "AlfaZ";
}

/* text in popup */
.popup-content p {
  text-align: left;
  font-family: "kabeljauw";
  font-size: 0.9rem;
}

/* close btn in popup */
.popup-close {
  top: 0.5rem;
}

/*** ABOUT PAGE ***/

/* image-container */
.about-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 35px));
  justify-content: center;
  padding: 7rem 0;
}

.about-wrapper {
  padding: 2.5rem 0 0 1rem;
  position: relative;
}

.popup-image {
  display: flex;
  cursor: pointer;
  position: relative;
  justify-content: center;
  align-items: center;
}

.popup-image:hover {
  cursor: pointer;
  transform: scale(1.025);
}

.popup-image,
img {
  width: 135px;
  height: auto;
  display: block;
  box-shadow: 10px 10px 5px 0px rgba(0, 0, 0, 0.75);
  -webkit-box-shadow: 10px 10px 5px 0px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 10px 10px 5px 0px rgba(0, 0, 0, 0.75);
}

/* draggable pop-ups*/
.popup {
  display: none;
  position: fixed;
  width: 90vw;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: white;
  cursor: move;
  z-index: 9999;
}

.popup.open {
  display: block;
  z-index: 9999;
}

.popup-content {
  padding: 2rem 1rem 0.25rem 1rem;
  text-align: center;
}

/* SMALL SCREEN */
@media only screen and (max-width: 600px) {
  .popup {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

/* BIG SCREEN */
@media only screen and (min-width: 600px) {
  .about-container {
    max-width: 850px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 250px));
    justify-content: center;
  }

  .popup-image,
  img {
    width: 155px;
  }

  .popup {
    width: 300px;
    height: auto;
  }

  #popup1 {
    top: 20%;
    left: 30%;
  }

  #popup2 {
    top: 50%;
    left: 40%;
  }

  #popup3 {
    top: 20%;
    left: 60%;
  }

  #popup4 {
    top: 75%;
    left: 20%;
  }

  #popup5 {
    top: 65%;
    left: 45%;
  }

  #popup6 {
    top: 85%;
    left: 65%;
  }
}
