@import url('https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  font-size: 62.5%;
  font-family: 'Work Sans', sans-serif;
}

body {
  width: 80vw;
  height: 100vh;
  margin: auto;
}

/* KOPFTEIL - HEADER */

header {
  height: 10vh;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header ul {
  display: flex;
  gap: 20px;
  list-style: none;
}

a {
  text-decoration: none;
  font-size: 2rem;
  color: black;
  display: flex;
}

header a {
  padding: 3px 5px;
}
header a:hover {
  background-color: black;
  color: white;
  transition: all 0.5s ease;
  border-radius: 5px;
}

header a:active {
  scale: 0.9;
}


.name-webseite::before {
  content: "";
  display: inline-block;
  background-image: url(images/1000px-Speaker_Icon.svg.png);
  background-repeat: no-repeat;
  background-size: contain;
  width: 20px;
  height: 20px;
  margin-right: 5px;
}

/* HAUPTTEIL - PRODUCTS */

main {
  width: 100%;
  height: auto;
  margin: 5rem auto 0 auto;
}

h1 {
  font-size: 3rem;
  font-weight: 500;
}

.heading p {
  font-size: 2rem;
  margin-top: 3rem;
}

.video-link {
  margin: 3rem 0;
  display: flex;
  justify-content: flex-end;
}

.video-link a {
  background-color: black;
  border-radius: 5px;
  color: white;
  font-size: 1.8rem;
  padding: 5px 10px;
}

.video-link a::after {
  content: "";
  display: inline-block;
  background-image: url(images/play_video.png);
  background-repeat: no-repeat;
  background-size: contain;
  width: 20px;
  height: 20px;
  margin-left: 5px;
}

.video-link a:hover {
  background-color: gray;
  transition: all 0.5s ease;
}

.video-link a:active {
  scale: 0.95;
}

.product > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 10px;
  border-radius: 20px;
}

.product > img:hover {
  opacity: 0.7;
}

.room img {
  object-position: left;
}

.product-text {
  color: white;
  position: absolute;
  top: 8rem;
  left: 4rem;
  font-size: 2rem;
  text-shadow: 0px 0px 10px black;
  z-index: 4;
}

.open-icon {
  width: 3rem;
  background-color: white;
  border: 5px solid rgba(124, 124, 124, 0.486);
  border-radius: 50%;
}
.open-icon:hover {
  scale: 1.3;
}

.open-icon:active {
  scale: 1.1;
}

/* Breakpoint 1 */
@media (min-width: 0) and (max-width: 600px) {

  main {
    margin: 20px auto;
  }
  header {
    height: 10vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
 
    .video-link {
    margin: 3rem 0;
    display: flex;
    justify-content: center;
  }

  .products {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 5rem;
  }

  .product {
    width: 100%;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
  }
}

/* Breakpoint 2 */
@media (min-width: 601px) and (max-width: 800px) {
  .video-link {
    margin: 3rem 0;
    display: flex;
    justify-content: flex-end;
  }

  .products {
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: 5rem;
  }

  .product {
    /* width: 33.33%;
        height: 100%; */
    width: 100%;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
  }
}

/* Breakpoint 3 */
@media (min-width: 801px) {
  .video-link {
    margin: 3rem 0;
    display: flex;
    justify-content: flex-end;
  }

  .products {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 5rem;
  }

  .product {
    width: 33.33%;
    height: 50vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
  }
}

/* FUßTEIL - FOOTER */

footer {
  height: 10vh;
  width: 100%;

  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
}
