@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Jost:wght@300;400;500;700&display=swap');

/* Home page */

.nav-item a {
  font-size: 18px;
}

body {
  font-family: 'Jost', sans-serif;
}

a {
  text-decoration: none;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
}

.text-overlay {
  text-shadow: 6px 3px 6px rgb(0 0 0);
}

h1 {
  font-size: 60px;
}

h2 {
  font-size: 25px;
  font-weight: 400;
}

h4 {
  font-size: 30px;
}

p {
  font-size: 18px;
}

.back-btn {
  margin-left: 15%;
}

#title {
  margin-block: 5%;
}

.carousel-item {
  max-height: 700px;
  position: relative;
}

.carousel-item p {
  font-size: 40px;
  font-family: 'Playfair Display', serif;
  color: white;
  position: absolute;
  top: 70%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
}

.carousel-item img {
  min-height: 330px;
  object-fit: cover;
}

.carousel-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: rgba(0, 0, 0, 0.4); */
}

#carousel-item-2 p {
  top: 70%;
  left: 50%;
}

#who-we-are p {
  font-family: 'Playfair Display', serif;
  font-size: 25px;
}

#who-we-are {
  width: 80%;
  margin-block: 10%;
}

#who-we-are button {
  padding-inline: 60px;
}

#masterclasses {
  width: 100%;
  flex-wrap: wrap;
  margin-inline: auto;
}

#masterclasses .masterclass {
  background-size: cover; /* Ensures the image covers the entire div */
  background-position: center; /* Centers the image */
  background-repeat: no-repeat; /* Prevents image repetition */
  flex: 1 1 50%;
  min-width: 250px;
  height: 400px;
  justify-content: center;
  align-items: flex-end;
}

#drucktechniken {
  background-image: url("../img/index/drucktechniken.jpeg");
}

#sammelsurium {
  background-image: url("../img/index/sammelsurium.jpeg");
}

#besteck {
  background-image: url("../img/index/besteck.jpeg");
}

#silbergiessen {
  background-image: url("../img/index/silbergiessen.jpeg");
}

#birthday {
  width: 100%;
  background-image: url("../img/index/birthday.webp");
}

#masterclasses .masterclass:hover {
  transform: scale(1.02); /* Increase size */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); /* Add shadow */
  cursor: pointer;
}

#masterclasses .masterclass h3 {
  width: 100%;
  text-align: center;
  padding-block: 15px;
  background-color: #1a1a1a91;
  margin-bottom: 0;
  font-size: 22px;
  color: white;
}

.image-link {
  text-decoration: none;
}

#about-us img {
  width: 50%;
  filter: grayscale(100%);
}

#about-us h4 {
  font-size: 40px;
}

#about-us {
  width: 45%;
  margin-block: 10%;
}

#about-us p {
  font-size: 22px;
  text-align: justify;
}

#our-location h4 {
  font-size: 40px;
}

#our-location {
  width: 65%;
  margin-inline: auto;
}

#our-location p {
  font-size: 22px;
}


html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

footer {
  background-color: #393939;
  color: rgb(237, 237, 237);
  padding-inline: 15%;
}

footer a {
  color: rgb(237, 237, 237);
}

footer a:hover {
  color: rgb(127, 127, 127);
}

/* Masterclass */

#about-masterclass p {
  width: 50%;
  text-align: center;
}

#about-masterclass h2 {
  font-size: 50px;
}

.masterclass-carousel {
  width: 70%;
  margin-inline: auto;
}
.masterclass-carousel .carousel-control-prev-icon, .carousel-control-next-icon {
  background-color: rgba(37, 37, 37, 0.5); /* Semi-transparent red */
  border-radius: 50%;
}

#pricing {
  width: 50%;
  text-align: justify;
}

#pricing p {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
}

#birthday-masterclass {
  background-color: #f8f9fa; /* Light background */
  padding: 40px 20px;
  border-radius: 10px;
}

#birthday-masterclass p {
  font-size: 1.1rem;
  color: #333;
}

#house-img {
  width: 45%;
}


.masterclass-carousel img {
  height: auto;
  max-height: 700px;
  width: 100%;
  object-fit: contain;
}


@media (max-width: 750px) {
  h1 {
    font-size: 50px;
  }

  .carousel-item p {
    font-size: 30px;
  }

  #who-we-are p {
    font-size: 20px;
  }

  #about-us {
    width: 70%;
  }

  #map {
    height: 30%;
  }

  #masterclasses .masterclass {
    flex: 1 1 100%; /* One item per row */
    max-width: 100%;
  }
}

@media (max-width: 360px) {

  #title {
    margin-block: 40px;
  }

  .carousel-item p {
    font-size: 20px;
  }

  #about-us {
    width: 100%;
  }

  #about-us div {
    width: 70%;
    margin-inline: auto;
  }

}
