@font-face {
  font-family: 'Afacad';
  src: url('fontused/Afacad-VariableFont_wght.ttf') format('truetype');
}




.container {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
  grid-auto-columns: 1fr;
  grid-auto-rows: 1fr;
  gap: 0px 0px;
  grid-auto-flow: row;
  grid-template-areas:
    "Header"
    "Intro"
    "Welcome"
    "Products"
    "Pictogram"
    "TipsandTricks"
    "Ergonomics"
    "Footer";
}



body {
  overflow-x:hidden;
  margin:0;
  width: 100vw;
  background-color: #f8e7dd;
  font-family: 'Afacad', sans-serif;
}

.Header {
  grid-area: Header;
}

.Intro {
  grid-area: Intro;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #f8e7dd;
}

.comfort-text {
  background-color: white;
  opacity: 0.77;
  transform: translateY(250px) translateX(-300px);
  z-index: 2;
  width: 450px;
  height: 350px;
  position: absolute;
  border-radius: 20px;
  line-height: 3.8em;
}

#title {
  font-size: 60px;
  text-align: center;
  opacity: 1;
  margin-bottom: 38px;
}

#sub-title {
  font-size: 35px;
  text-align: center;
  font-weight: 100;
  opacity: 1;
}

.Welcome {
  grid-area: Welcome;
  background-color: #f8e7dd;
}

.Products {
  grid-area: Products;
}

.Pictogram {
  grid-area: Pictogram;
  background-color: #f8e7dd;
}

.TipsandTricks {
  grid-area: TipsandTricks;
}

.Ergonomics {
  grid-area: Ergonomics;
  background-color: #f8e7dd;
}

.Footer {
  grid-area: Footer;
}

html,
body,
.container {
  height: 100%;
  margin: 0;
  width:100vw;  
}

.Welcome {
  display: flex;
}

.WelcomeText {
  display: flex;
  margin: 50px;
  flex-direction: column;
}

.WelcomeText p {
  font-size: 30px;
  margin-left: 80px;
}

.WelcomeText h1 {
  font-size: 60px;
  margin-left: 80px;
}

.Welcome img {
  width: 30vw;
  height: auto;
  padding: 30px;
  margin-right: 70px;
  border-radius: 35px;
}


.WelcomeText h1{
  font-size:50px;
  font-family: 'Afacad', sans-serif;
}

.Offers img {
  width: 5vw;
}

.Offers {
  display: flex;
  align-items: center;
  flex-direction: row;
  height: 150px;
}

.offer-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-left: 10px;
}

.offer-text h1,
.offer-text p {
  margin: 0;
}

.Pictogram {
  display: flex;
  justify-content: space-evenly;
  background-color: white;
  padding: 30px 0px;
}

.picture-pictogram {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
  width: 182px;
  height: fit-content;
  background-color: rgba(
    182,
    124,
    124,
    0.74
  ); /* Gebruik rgba voor transparantie */
  padding-top: 20px;
  border-radius: 10px;
}

.picture-pictogram img {
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
}

.WhiteSpace {
  display: flex;
  justify-content: space-evenly;
  transform: translateY(-60px);
  background-color: white;
  border-radius: 15px;
  width: 90vw;
  z-index: 4;
}

#hero {
  width: 80vw;
  position: relative;
  top: 60px;
  border-radius: 20px;
  z-index: 1;
}

.products-slider {
  overflow: hidden; /* Voorkomt dat items buiten de container zichtbaar zijn */
  position: relative;
  width: 990px;
  margin-left: 150px;
  margin-top: 50px;
}

.slider-mask {
  display: flex;
  transition: transform 1s ease-in-out;
  width: 600px;
}

.slider-item {
  min-width: 270px;
  color: white;
  padding: 20px;
  margin: 0 10px;
  border-radius: 5px;
  text-align: center;
  transition: transform 1s ease-in-out, opacity 1s ease-in-out;
  height: 400px;
  display: flex;
  align-items: flex-end;
}

/* Laat het vierde item tegelijkertijd verschijnen */
.slider-item.fade-in {
  opacity: 1;
  transform: translateX(0px);
}

.slider-item.fade-in.active {
  opacity: 1;
  transform: translateX(0);
}

.selected {
  transform: scaleY(1.25);
  transition: transform 1s ease;
}

.products {
  display: grid;
  grid-template-columns: 0.4fr 1fr;
  grid-auto-columns: 1fr;
  gap: 0px 0px;
  grid-auto-flow: row;
  height: auto;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.4) 80%,
    #f8e7dd 0%
  );
  z-index: 2;
  padding-bottom: 40px;
}

/* Vergroot het item wanneer het de tweede is */
.slider-item.enlarged {
  transform: scaleY(1.1); /* Vergroot het item 10% in hoogte */
  transition: transform 1s ease-in-out;
}

.slider-item.enlarged .content-post {
  opacity: 1;
  transform: translateY(0); /* Verwijder de offset */
}

.slider-item.enlarged .content-post {
  transform: scaleY(0.909); /* Zorg ervoor dat content-post vergroot wordt */
  transition: transform 1s ease-in-out;
}

/* Zorg ervoor dat het vijfde item geen vergroting heeft */
.slider-item.normal-size {
  transform: scaleY(1); /* Normale grootte */
  transition: transform 1s ease-in-out;
}

.slider-button {
  border-radius: 50%;
  border: 0px;
  width: 50px;
  height: 50px;
  color: #cff7d3;
  font-size: 24px;
  cursor: pointer;
  transform: translateY(-150px) translateX(370px);
}

.slider-item:first-child {
  transform: scaleY(1.1) translateY(11px);
}

.content-post {
  width: 150px;
  height: 100px;
  background-color: rgb(255, 255, 255, 0.8);
  display: flex;
  opacity: 0;
  transform: translateY(20px); /* Begin met een kleine offset */
  transition: opacity 0.5s ease, transform 0.5s ease; /* Voeg een vloeiende overgang toe */
  position: absolute;
  color: black;
  flex-direction: column;
  justify-content: space-around;
}

.row-content {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.6;
}

#dash {
  letter-spacing: -3px;
  margin: 0px 5px;
}

.products-text {
  margin-left: 80px;
}

.products-text h1 {
  font-size: 40px;
  color: #3a3a3a;
}

.products-text p {
  font-size: 24px;
  margin-top: 40px;
  color: #555555;
}

#supply {
  margin-left: 250px;
  width: 150px;
  height: 50px;
  background-color: #cff7d3;
  border: none;
  font-weight: bold;
}

.slider-item:first-child .content-post {
  display: flex;
  transform: scaleY(0.909);
  transition: linear 1s;
  opacity: 1;
  flex-direction: column;
  justify-content: space-around;
}

.slider-item img {
  width: 310px;
  height: 440px;
  transform: translateX(-20px) translateY(20px);
  border-radius: 5px;
}

#content-title {
  margin: 0;
}

#name {
  margin: 0;
  font-weight: bold;
  font-size: 24px;
}

#link {
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  color: rgb(1, 0, 0);
  background-color: #cff7d3;
  width: 50px;
  padding: 5px 0px;
  font-size: 24px;
  font-weight: bold;
  transform: translate(150px, -27px);
}

.TipsandTricks {
  grid-area: TipsandTricks;
  background-color: #f8e8dd;
  text-align: center;
  padding: 20px;
}

h3 {
  font-size: 24px;
  
}

.tips-link {
  text-decoration:dotted underline;
  color: rgb(215, 75, 75);
  font-size: 20px;
  font-weight: bold;
}

.tips-link:hover {
  color: rgb(107, 95, 95);
}

.tips-link:visited {
  color: rgb(215, 75, 75);
}

.carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.carousel-container {
  width: 60%;
  overflow: hidden;
}

.carousel-slide {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 100%;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  background: white;
}

.slide img {
  width: 100%;
  height: 700px;
  border-radius: 10px 10px 0 0;
}

.caption {
  padding: 15px;
  text-align: left;
}

.prev,
.next {
  background-color: #ff8a65;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 10px;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.prev {
  left: 10px;
}
.next {
  right: 10px;
}

.dots {
  margin-top: 10px;
}

.dot {
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s;
}

.dot.active {
  background-color: #ff7043;
}

.Ergonomics {
  display: flex;
  align-items: center;
  justify-content: center;
}

.Ergonomics img {
  width: 100%;
  height: auto;
}

#small-logo {
  width: 190px;
  height: 190px;
}

#Header {
  background-color: rgba(255, 255, 255, 1);
  display: flex;
  justify-content: space-between;
  font-family: 'Afacad', sans-serif;
}

#Header img {
  width: 100px;
  height: 100px;
}

#navigation {
  background-color: none;
  display: flex;
  align-items: center;
  margin-right: 55px;
  color: black;
  gap: 50px;
}
#navigation a {
  color: black;
  text-decoration: none;
  font-size: 20px;
}
#navigation a:hover {
  color: rgb(107, 95, 95);
}
.dropbtn {
  color: black;
  background-color: white;
  padding: 16px;
  font-size: 16px;
  border: none;
  cursor: pointer;
}

.ElementA {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 100px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 3;
  font-family: 'Afacad', sans-serif ;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: #f1f1f1;
}

.ElementA:hover .dropdown-content {
  display: block;
}

.ElementA:hover .dropbtn {
  color: gray;
}
#ElementB {
  display: flex;
  align-items: center;
  gap: 20px;
}

/*this just to show it works on a full page*/
/*make sure to delete this*/
#verytallwall {
  height: 500px;
}

/*Footer*/
#Footer {
  background-color: rgba(255, 255, 255, 1);
  display: grid;
  grid-template-columns: auto auto auto;
  justify-content: space-around;
  height: 300px;
}
#Contact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
  color: gray;
}
#Contact p {
  margin: 2px;
}
.footerTitle {
  font-size: 18px;
  font-weight: bold;
}
#LinkWall {
  display: flex;
  flex-direction: row;
  gap: 80px;
}
.footerColumn {
  margin-top: 30px;
}
.footerColumn a {
  color: black;
  text-decoration: none;
}
.footerTitle {
  font-size: 18px;
  font-weight: bold;
  color: gray;
}
#ContactColumn {
  margin-top: 50px;
}
#Extras {
  display: flex;
  justify-content: space-between;
  padding: 15px;
  background-color: white;
  border-top: solid;
  border-color: gray;
  border-width: 0.4px;
  color: gray;
}
#Newsletter {
  display: flex;
  justify-content: left;
  align-items: center;
}
#Base {
  padding: 10px;
  border-top-left-radius: 7px;
  border-bottom-left-radius: 7px;
  border: solid;
  border-width: 0.1px;
  border-color: gray;
}
#BaseButton {
  padding: 10px;
  border-top-right-radius: 7px;
  border-bottom-right-radius: 7px;
  border: solid;
  border-width: 0.1px;
  border-color: gray;
  background-color: rgba(2, 159, 174, 1);
  color: white;
}
#BaseButton:hover {
  background-color: rgb(0, 181, 197);
}
#BaseButton:active {
  background-color: rgb(0, 87, 95);
}

@media screen and (min-width: 300px) and (max-width: 600px) {
  #Header {
    background-color: rgba(255, 255, 255, 1);
    display: flex;
    justify-content: space-between;
    font-family: 'Afacad', sans-serif;
    font-size: 10px;
  }
  #Header img {
    width: 80px;
    height: 80px;
  }
  .dropbtn {
    color: black;
    background-color: white;
    padding: 0px;
    font-size: 10px;
    border: none;
    cursor: pointer;
  }
  #navigation {
    background-color: none;
    display: flex;
    align-items: center;
    margin-right: 50px;
    color: black;
    gap: 20px;
  }
  #navigation a {
    color: black;
    text-decoration: none;
    font-size: 12px;
  }

  #Footer {
    background-color: rgba(255, 255, 255, 1);
    display: grid;
    grid-template-columns: auto;
    justify-content: space-around;
    height: 800px;
  }
  #Contact {
    align-items: flex-start;
    margin-left: 50px;
  }
  #LinkWall {
    justify-content: center;
  }
  #ContactColumn {
    margin-left: 50px;
    display: flex;
    justify-content: center;
    flex-direction: column;
  }
}

@media screen and (min-width: 300px) and (max-width: 360px) {
  #hero {
    width:1200px;
  }

  .Intro {
    width:1300px;
  }

  .Welcome {
    width:1300px;
  }
  .products {
    width:1300px;
  }

  .products-slider {
    width:550px;
  }
  #Header {
    width:1300px;
  }

  .WhiteSpace {
    width:1300px; 
  }
  .Welcome img{
    width:500px;
    margin-right:40px;
  } 

  .WelcomeText p {
   margin-left:10;
   font-size:36px;
    
  }

  .WelcomeText h1 {
    font-size:64px;
  }

  .products-text p {
    font-size: 26px;
  }

  .WelcomeText {
    margin:10px;
  }

}


@media screen and (min-width: 375px) and (max-width: 420px) {
  #hero {
    width:1200px;
  }

  .Intro {
    width:1500px;
  }

  .Welcome {
    width:1500px;
  }
  .products {
    width:1500px;
  }

  .products-slider {
    width:850px;
  }
  #Header {
    width:1500px;
  }

  .WhiteSpace {
    width:1300px; 
  }
  .Welcome img{
    width:600px;
    margin-right:40px;
  } 
}

@media screen and (min-width: 424px) and (max-width: 700px) {

  #hero {
    width:1200px;
  }

  .WhiteSpace {
    width:1300px; 
  }

   
  .Welcome img{
    width:600px;
  }
}

@media screen and (min-width: 701px) and (max-width: 1000px) {

  #hero {
    width:1200px;
  }

  .WhiteSpace {
    width:1300px; 
  }

  
  .Welcome img{
    width:60vw;
  }
}

@media screen and (min-width: 1001px) and (max-width: 1300px) {

 
  #hero {
    width:1200px;
  }

  .WhiteSpace {
    width:1300px; 
  }

  .Welcome img{
    width:40vw;
  }
  
}
