@import "style.css";

.gallery-cnr {
  position: relative;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Add a pointer when hovering over the thumbnail images */
.cursor {
  cursor: pointer;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 40%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #ffffff;
  background-color: rgba(0, 0, 0, 0.193);
  border-radius: 5rem;
  font-size: 15px;
  padding: 8px 8px;
  position: absolute;
  top: 0;
}

/* Container for image text */

.row {
  display: flex;
  margin-top: -0.3rem;
}

/* Six columns side by side */

.column img {
  display: block;
  max-width: 100%;
  border: .05rem solid white;
}

/* Add a transparency effect for thumnbail images */
.demo {
  opacity: 0.3;
}

.active,
.demo:hover {
  opacity: 1;
  box-shadow: 0.1rem 0.1rem 0.3rem black;
}

.gallery-descMap-cnr__row {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: -0.3rem 0 3rem;
}

.gallery-descMap-cnr__row__descBox {
  padding: 3rem 2rem;

  background-color: var(--textLighterGrey);
}

.gallery-descMap-cnr__row__descBox h1 {
  color: var(--main);
  margin-bottom: 1rem;
}

.gallery-descMap-cnr__row__descBox p {
  color: var(--textDarkerGrey);
  line-height: 1.4rem;
  margin-bottom: 1rem;
}

.gallery-descMap-cnr__row__mapBox {
  box-shadow: 0.1rem 0.1rem 1rem black;
}

.gallery-descMap-cnr__row__mapBox iframe {
  max-width: 100%;
}

.gallery-descMap-cnr__row__mapBox img {
  display: block;
  max-width: 90%;
  margin: 1rem auto;

}


/* ----------------------    START MediaQueries START    ------------------------ */
/* ----------------------        MediaQueries 576    ------------------------ */
@media only screen and (min-width: 576px) {
  .gallery-descMap-cnr__row__descBox {
    padding: 3rem 18%;
  }
}

@media only screen and (min-width: 768px) {
  .gallery-descMap-cnr__row__descBox {
    padding: 3rem 22%;
  }

  .gallery-descMap-cnr__row__descBox p {
    line-height: 1.5rem;
  }

  .gallery-descMap-cnr__row__mapBox {
    margin-top: 4rem;
  }
}

@media only screen and (min-width: 992px) {
  .gallery-cnr {
    position: relative;
    margin: 1rem auto 0;
    max-width: 53rem;
    box-shadow: 0.1rem 0.1rem .7rem black;
  }

  .numbertext {
    top: 0.2rem;
    left: 0.2rem;
  }

  .gallery-descMap-cnr__row {
    margin: 2rem 0 3rem;
  }

  .gallery-descMap-cnr__row__descBox {
    padding: 3rem 25%;
  }
}

@media only screen and (min-width: 1200px) {
  .gallery-cnr {
    position: relative;
    max-width: 65rem;
    margin: 2rem auto 0;

    border-radius: 0.5rem;
    overflow: hidden;
  }


  .gallery-descMap-cnr__row {
    flex-direction: row;
    justify-content: center;
    align-items: start;
    max-width: 65rem;
    margin: 4rem auto 3rem;
    gap: 3rem;
  }

  .gallery-descMap-cnr__row__descBox {
    background-color: white;
    padding: 0;
    width: 45%;

  }

  .gallery-descMap-cnr__row__descBox h1 {
    color: var(--main);
    margin-bottom: 1rem;
  }

  .gallery-descMap-cnr__row__descBox p {
    color: var(--textDarkerGrey);
    line-height: 1.4rem;
    margin-bottom: 1rem;
  }

  .gallery-descMap-cnr__row__mapBox {
    box-shadow: none;
    width: 35%;
    margin: 0;
  }

  .gallery-descMap-cnr__row__mapBox iframe {
    max-width: 100%;
  }

  .gallery-descMap-cnr__row__mapBox img {
    display: block;
    max-width: 150%;
    margin: 1rem auto;

  }
}

@media only screen and (min-width: 1400px) {
  .gallery-cnr {
    position: relative;
    max-width: 70rem;
    margin: 2rem auto 0;
    border-radius: 0.5rem;
    overflow: hidden;
  }
}