/**
 *	Schrijf hier de nodige css voor je eerste versie van de snoiepfabrikant website
*/
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

@font-face {
  font-family: 'dacherry';
  src: url(../fonts/Dacherry.otf);
}

body {

  width: 100vw;
  height: 80vh;
  background-size: cover;
  background-repeat: no-repeat;
  font-family: "Philosopher", serif;
  font-weight: 400;
  font-style: normal;
  background-color: #eeeee4;
}


header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;

  z-index: 100;
  height: 10vh;
  position: relative;
}

/* Logo stijl*/
.logo {
  top: 35px;
  font-size: 1.7rem;
  font-family: 'dacherry';
  position: fixed;
}

/* Menu stijl */
#nav {
  display: flex;
  align-items: center;
  position: fixed;
  right: 20px;
}

ul.menu {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 0;
  margin: 0;
}

ul.menu li a {
  text-decoration: none;
  color: black;
  font-size: 1.4rem;
 
}

/* Hamburger icon */
.hamburger {
  display: none;

  background-image: url(../img/menu-2.png);
  background-size: contain;
  background-repeat: no-repeat;
  width: 10vw;
  top: 100px;
  right: 30px;
  position: fixed;
  height: 10vh;
}

@media (max-width: 768px) {
  ul.menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
 text-transform: uppercase;
    font-family: 'dacherry';
    text-align: center;
    background: linear-gradient(to bottom, #add8e6, #9fe2bf, #da70d6, #ead396, #ffa07a);
    position: fixed;
    top: 0;
    right: -80%; 
    width: 80%;
    height: 90vh; 
    padding: 20px;

    box-shadow: -4px 0 8px rgba(0, 0, 0, 0.2); 
    transition: right 0.4s ease-in-out;
    z-index: 999;
    border-radius: 30px; 
  }

  ul.menu.active {
    display: flex;
    right: 0; 
  }

  .hamburger {
    display: block;
    position: fixed;
    top: 30px;
    right: 20px;
    z-index: 1000;
    cursor: pointer;
  }
}




footer .logo {
  background-image: url(../img/logo.png);
  width: 17vh;
  height: 17vw;
  background-size: contain;
  background-repeat: no-repeat;
  position: fixed;
}







.container {
  position: relative;
  width: 100vw;
  height: auto;
  background: linear-gradient(to bottom, #add8e6, #9fe2bf, #da70d6, #ead396, #ffa07a);

padding: 20px;
}

.macaron {
  background-image: url(../img/cupcakebox.png);
  background-repeat: no-repeat;
  background-size: contain;
  height: 300px;
  width: 960px;
  margin: 0 auto;
 
background-position: center;
}


#container-box {
  width: 960px;
  margin: 0 auto;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

}

#container-box-about {
  width: 100vw;

  padding-top: 40px;

  margin-bottom: 100px;
  position: relative;
}


/* MAINCONTENT SECTION */
.mainContent {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  gap: 80PX;

  position: relative;
  width: 960px;
  margin: 0 auto;
}

.mainContent h1 {
  font-size: 3rem;
  color: #333;
  margin-bottom: 20px;
  font-family: 'dacherry';
  font-weight: 800;
}

.main {
  padding-top: 30px;
}

.mainContent p {
  font-size: 1.3rem;

  line-height: 1.9;
  width: 400px;
}

.box {
  width: 50vw;
  height: 50vh;
  background-position: right;
  background-image: url(../img/cupcake.png);
  background-size: contain;
  background-repeat: no-repeat;

}

.container-2 {
  margin-top: 100px;
  width: 100vw;
  position: relative;

  background-size: contain;
  background-repeat: no-repeat;
  height: 70vh;
}

/* Favorite Products */
.products-header h2 {
  font-size: 36px;
font-family: 'dacherry';
  text-align: center;
  font-style: italic;
  font-weight: 100;
  margin-top: 150px;
  margin-bottom: 60px;
}



.products-container {
  display: flex; 
  justify-content: space-around; 
  align-items: center; 
  gap: 80px; 
  margin-top: 20px;
  max-width: 960px;

 
}

.product-item {
  width: 250px;
  height: 250px;
  display: flex;
  flex-direction: column;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
}

.product-item-1 {

  background-image: url(../img/favorite1.png);

}

.product-item-2 {

  background-image: url(../img/favorite2.png);

}

.product-item-3 {


  background-image: url(../img/favorite3.png);

}
.product-item::before {
  content: "From €24,95"; 
  position: absolute;

  top: -20px; 
right: -20px;
background-color: #b3e2d2;

  padding: 20px 20px; 
  border-radius: 20px; 
  font-size: 12px; 
  font-weight: bold; 
  z-index: 1; 
}

.product-item-1::before {
  content: "From €24,95"; 
}

.product-item-2::before {
  content: "From €19,95"; 
}

.product-item-3::before {
  content: "From €29,95"; 
}
.product-item h3{
width: 200px;
margin: 0 auto;
  text-transform: uppercase;
font-weight: 100;
font-family: "Philosopher", serif;
text-align: center;
margin-top: 260px;

}

/* Buy now button */
.buy-now-btn {
  display: block;
  width: 200px;
  margin: 80px auto;
  padding: 15px;
  background-color: #ffa07a;
  color: white;
  font-size: 18px;
  border-radius: 20px;
  font-family: "Philosopher", serif;
  cursor: pointer;
}

.buy-now-btn:hover {
  background-color: #ffa07a61;
  color: #000;
}

/* Kitchen Section */
.kitchen-section {
 background-color: #9fe2bf;
  font-family: "Philosopher", serif;

  position: relative;
  width: 100vw;
  margin-top: 20px;
}

.content-wrapper {
  display: flex;

align-items: center;
justify-content: center;
  flex-direction: column;

  width: 960px;

margin: 0 auto;
  position: relative;
  margin-top: 20px;
}

.text-content {
  max-width: 500px;
margin: 0 auto;
color: #000;
}

.text-content h2 {

  font-size: 2.3rem;
font-family: 'dacherry';
  font-style: italic;
  margin-bottom: 15px;
  margin-top: 20px;
}

.text-content p {
  font-size: 1.3rem;
  line-height: 1.4rem;
margin-bottom: 60px;
}


.keywords {
  display: flex;
  flex-direction: row;
  gap: 20px;

  justify-content: center;
  align-items: center;
color: #000;
  font-size: 1.6rem;
  text-align: center;
max-width: 600px;
margin: 0 auto;
padding-bottom: 30px;
}

.keywords p{
  border-right: 2px solid black;
  padding-right: 10px;
}
.keywords p:last-child {
  border-right: none; 
  padding-right: 0;  
}

/*HOME RESPONSIVE PAGE*/
@media (max-width: 768px) {
  #container-box {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
.box{
  width: 60vw;
  height: 40vh;
}
.mainContent h1{
  font-size: 2.5rem;
}
.main {
width: 100%;
padding-top: 0px;
margin: 0 auto;
}
.main p{
  width: 350px;
  font-size: 1.1rem;
}
  .mainContent {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
text-align: left;
    margin: 0 auto;
padding: 20px;
  }



  .sprinkles {
    background-image: url(../img/sprinkles.png);
    background-size: contain; 
    width: 500px; 
    margin: 0 auto;
    margin-top: 100px;
    height: 100vh; 
    background-repeat: no-repeat;
  position: relative;
  
   
  }
  .container-2{
    height: 90vh;
  }
 

  .macaron {
    width: 300PX;
    margin-top: 15Px;
    position: absolute;
  }

  .container {
    display: flex;
align-items: center;
flex-direction: column;
justify-content: center;
    position: relative;
    width: 100vw;
    background: linear-gradient(to bottom, #add8e6, #9fe2bf, #da70d6, #ead396, #ffa07a);
    height: 35vh;
margin-top: 100px;

  }

  .products-container {
    flex-direction: column; 
    align-items: center; 
    gap: 100px; 
  }

  .product-item {
width: 300Px;
height: 300Px;
  }

  .product-item::before {
    top: -20px;
    right: -20px;
    font-size: 1rem;
    padding: 25px 15px; 
  }

  .product-item h3 {
 margin-top: 310px;
  }

  .buy-now-btn {
    margin-top: 100px;
    font-size: 1rem;
  }


  .content-wrapper {
    display: flex;
    flex-direction: column;
width: 90%;
    align-items: center;
    justify-content: center;
  }




  .keywords p {
    font-size: 1.3rem;
 
   
    display: flex;
  align-items: center;
  justify-content: center;
    gap: 5px;
    text-align: center;
  }


}

/*END OF THE HOME RESPONSIVE PAGE*/
















/*page product*/

#macarons-order {




padding-top: 40px;
padding-bottom: 40px;
  width: 960px;
  margin: 0 auto;
  position: relative;

}


.pay {
padding-left: 25px;
  width: 500px;
  
}

#macarons-order h2 {
  font-size: 2.2rem;


  margin-bottom: 20px;
  font-style: italic;

}



.background-wrapper {
  position: relative;
  width: 100vw; 

 background-color: #da70d6;
  margin-top: 100PX;
border-radius: 20px;
}

#macarons-order p {
  font-size: 1rem;
  font-weight: 100;

  line-height: 1.2;
  margin-bottom: 15px;
  z-index: 999;
  width: 600px;
}



#macarons-section {
  width: 960px;
  z-index: 999;
}

#macarons-section h2 {
  font-size: 2.3rem;
font-family: 'dacherry';
  font-weight: bold;
  margin-top: 60px;
  text-align: left;
 

}

.vertelmac {

  display: flex;
  padding: 60px;

}

.product-image {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.product-image img {
  width: 300px;
  height: 300px;
  border-radius: 30px;
}

.product-details {
  margin-left: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;

}

.product-details h3 {
  font-size: 20px;
  padding-bottom: 10px;
  font-weight: bold;
  text-transform: uppercase;
}

.product-details p {
  font-size: 1rem;

  line-height: 1.6;
  margin-bottom: 15px;
  width: 300px;
}

.product-details .price {
  font-size: 18px;
  color: #333;
  font-weight: bold;
  margin-bottom: 15px;
}

.buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

button {
  padding: 10px 20px;
  border: none;
  border-radius: 15px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
}

.add-to-cart {
  background-color: #9fe2bf;
  color: white;
}

.add-to-cart:hover {
  background-color:#7ceeb3 ;
}

.more-info {
  background-color: #da70d6;
  color: white;
}

.more-info:hover {
  background-color: #d657d2;
}



/*PRODUCTS RESPONSIVE PAGE*/
@media (max-width: 768px) {
  #macarons-order {
    width: 90%;
    max-width: 350px;
    margin: 0 auto;
  }
  #macarons-order p {
    font-size: 1rem;
    line-height: 1.5;
 width: 350px;
    margin: 0 auto;
  }

  #macarons-order h2 {
    font-size: 1.8rem;
    text-align: left;
    margin-bottom: 30px;
  }

  #macarons-section {
    width: 100%;
    padding: 20px 0;
  }
  #macarons-section h2{
padding-left: 20px;
  }
  .pay {
    width: 90%;
   
  }


  .vertelmac {
    flex-direction: column;
  align-items: center;
  }

  .product-image img {
    width: 300px;
    height: 300px;
    margin-bottom: 10px;
  }

  .product-details h3 {
    font-size: 1.2rem;
  }

  .product-details p {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .product-details .price {
    font-size: 1rem;
  }

  .buttons {
    flex-direction: column;
    width: 100%;
  }

  .buttons button {
    width: 100%;
    font-size: 0.8rem;
  }
}






/*about page*/



.about-start {
  text-align: center;
  margin-top: 100px;

  font-style: italic;
  font-weight: normal;
}

.start-image {

  background-image: url(../img/start-image2.png);

  width: 100vw;

  height: 30vh;
  background-size: contain;
  background-repeat: no-repeat;
}

.start-image-2 {
  background-image: url(../img/start-image1.png);
  width: 150vw;
  height: 47vh;
  background-size: contain;
  background-repeat: no-repeat;

}

.start-image-3 {
  background-image: url(../img/start-image3.png);
  width: 100vw;
  height: 30vh;
  background-size: contain;
  background-repeat: no-repeat;
}

#flex {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 960px;
  margin: 0 auto;
  padding-top: 60px;

  font-weight: normal;

}

#flex-3 {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 960px;
  margin: 0 auto;
  margin-top: 0px;
}

#flex-2 {
  display: flex;
  position: relative;
  flex-direction: row;
  margin-top: -1500px;
  justify-content: center;
  align-items: center;
  width: 960px;
  margin: 0 auto;
}

#flex-1 p {
  margin-left: 20px;

}
#flex p{
  margin-right: 30px;

}
#flex-2 p {
margin-right: 70px;
}
#flex-3 p {
  margin-right: 70px;
  }
#flexbox {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

#descreption {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-top: 200Px;
}


.sprinkle {
  background-image: url(../img/sprinkle.png);
  width: 10vw;
  height: 10vh;
  background-size: contain;
  background-repeat: no-repeat;
  margin-left: 300px;

}

.sprinkle-2 {
  background-image: url(../img/sprinkle.png);
  width: 10vw;
  height: 10vh;
  background-size: contain;
  background-repeat: no-repeat;
  margin-left: 0px;
  margin-top: 100px;
}

.sprinkle-3 {
  background-image: url(../img/sprinkle.png);
  width: 10vw;
  height: 10vh;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right;
  position: absolute;
  right: 0;
}

.column h1 {
  font-style: italic;
  font-weight: 100;
  padding-bottom: 20px;
}

.part-2 {
  width: 100%;

  max-width: 960px;

  margin: 0 auto;

margin-top: 20px;
}

/*ABOUT US RESPONSIVE*/

@media (max-width: 768px) {
  .about-start {
    width: 90%; 
    margin: 0 auto;
    margin-top: 100px;
    font-size: 1.5rem;
  }

  #flex,
  #flex-2,
  #flex-3 {
    flex-direction: column;
    text-align: left;
    align-items: center;
    width: 90%; 
    margin: 0 auto;

  }
#flexbox{
  display: flex;
  align-items: center;
  justify-content: center;
}
  #flex p,
  #flex-2 p,
  #flex-3 p {

width: 350px;
margin: 0 auto;
  }
#flex p{
  margin-bottom: 30px;

}
#flex-3 p{
  margin-bottom: 30px;
}
#flex-2 p{
  margin-top: 40px;
}
.start-image{
  background-position: center;
}
.start-image-2{
  background-position: center;
}
.start-image-3{
  background-position: center;
}


  .column {
    text-align: left;

  }


.sprinkle,
.sprinkle-2
{
  width: 80px;

  height: 80px;
  margin: 10px auto;
}
.sprinkle-2{
  margin-top: 50px;
}

  #descreption {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;
    margin-top: 100Px;
  }

  .part-2 {
    width: 80%; /* Adjust the container width */
    margin: 0 auto; /* Center the container */
    margin-top: 100px; /* Adjust top margin */
  }


}

/* END OF THE ABOUT US RESPONSIVE*/


/*contact page*/
.title {
  width: 960px;
  margin: 0 auto;
font-family: 'dacherry';
font-weight: 100;
line-height: 1.6;
  font-weight: 300;
  padding-top: 60px;
  font-size: 32px;

  text-align: left;
  margin-top: 60px;
}

/* Contact Page Container */
.contact-container {
  width: 100%;
  max-width: 960px;

  margin: 0 auto;
  text-align: center;
  padding: 20px;
 
  border-radius: 8px;
  margin-bottom: 150px;
  margin-top: 120Px;
}

.contact-content {
  display: flex;

  justify-content: space-between;

  gap: 20px;
  margin: 0 auto;
  max-width: 960px;
  flex-wrap: wrap;
  margin-top: 80px;
}


.contact-details,
.address-details {
  width: 45%;

  background-color: #add8e6;
  padding: 15px;
  border-radius: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.601);
  text-align: left;
}

.contact-details h2,
.address-details h2 {
  font-size: 20px;
  color: #333;
  margin-bottom: 10px;
}

.contact-details p,
.address-details p {
  font-size: 16px;
  color: #555;

  margin: 5px 0;
}

.contact-details a {
  color: #007bff;
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}

.map-container {
  margin-top: 70px;
  border: 1px solid #ddd;

  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}


/* Başlık ve Paragraf */
.contact-container h1 {
  font-size: 28px;

  margin-bottom: 15px;
font-family: 'dacherry';
  font-weight: lighter;
}

.contact-container p {
  font-size: 16px;

  margin-bottom: 25px;
}

/* Form Stilleri */
.contact-form {
  display: flex;
  flex-direction: column;

  gap: 15px;

}

/* Form Grupları */
.form-group {
  text-align: left;
}

.form-group label {
  font-size: 14px;
  color: #555;
  margin-bottom: 5px;
  display: block;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 0px;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #333;
  outline: none;
}

/* Gönder Butonu */
.submit-button {
  padding: 12px 20px;
  font-size: 16px;
  color: #fff;
  background-color: #ffa07a;
  /* Koyu renk buton */
  border: none;
  border-radius: 0px;
  cursor: pointer;
}

.submit-button:hover {
  background-color: #db6f45;

}


/*responsive page CONTACT*/
@media (max-width: 768px) {
  .title {
    font-size: 24px;
    max-width: 410px;
    padding: 20px;
  }

  .contact-content {
    width: 400PX;
    display: flex;
    flex-direction: column;
    justify-content: baseline;
    align-items: center;
    /* Ortala */


  }

  .contact-details,
  .address-details {
    width: 400px;
    text-align: center;
    /* Ortala */
    padding: 10px;
  }

  .map-container {
    width: 100%;
    /* Tam genişlik */
    height: 300px;
    /* Daha kısa yükseklik */
  }

  .contact-form {
    padding: 10px;
    /* Kenarlarda daha az boşluk */
  }

  .form-group input,
  .form-group textarea {
    padding: 8px;
    /* Küçük ekranlar için daha az boşluk */
    font-size: 14px;
    /* Daha küçük yazı */
  }

  .submit-button {
    padding: 10px;
    font-size: 14px;
    /* Daha küçük yazı */
  }
 
}


/* Footer Section */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  bottom: 0px;
margin-top: 150px;
  width: 100vw;
  height: 30vh;
background-image: url(../img/sprinkles.png);
background-size: contain;
border-top: 3px solid #000;
}



.logof {
bottom: 20Px;
  font-size: 1.3rem;
  font-family: 'dacherry';
 position: absolute;
padding-left: 20px;
}

.footer p {
  text-align: center;
  width: 400px;
  margin: 0 auto;
}

.footer .social-links {
  display: flex;
  gap: 20px;
  right: 30px;
  bottom: 5px;
  position: absolute;
}

.footer .social-links a img {
  width: 40px;

  height: 40px;
  transition: transform 0.3s ease;
}

.footer .social-links a img:hover {
  transform: scale(1.2);
}



/*error page*/
.error-page {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(to bottom, #add8e6, #9fe2bf, #da70d6, #ead396, #ffa07a);
  padding: 50px;
  gap: 60px;
  border-radius: 40px;
  max-width: 1200px;
  max-height: 800px;
  font-family: "Philosopher", serif;
}
.error-bericht{
  font-size: 1.8rem;
  text-align: center;
  margin-top: 20px;
}
.error-title {
  font-size: 3rem;
  color: #FF6F61; /* Tatlı kırmızımsı renk */
 
  margin-bottom: 20px;
}

.error-message {
  font-size: 15rem;
  color: #000; /* Nötr renk */
  margin-bottom: 30px;
 font-family: 'dacherry';
}

.error-image {
  width: 400px;
  width: 80%;
  margin: 20px auto;
  display: block;

}

.error-button {
  display: inline-block;
  margin-top: 20px;
  padding: 15px 30px;
  font-size: 1.2rem;
  color: #FFF;
  background-color: #FF6F61; /* Tatlı kırmızımsı buton rengi */
  border: none;
  border-radius: 15px;
  text-decoration: none;
  font-family: 'Philosopher', sans-serif;
  transition: background-color 0.3s ease;
}

.error-button:hover {
  background-color: #FF8A75; /* Hover durumunda daha açık bir kırmızı */
}

@media (max-width: 768px) {
  .error-title {
    font-size: 2.5rem;
    margin-top: 20px;
  }

  .error-message {
    font-size: 8rem;
    padding: 0 20px;
  }

  .error-image {
    width: 200px;
  }
  .error-bericht{
    font-size: 1.5rem;
    text-align: center;
    margin-top: 40px;
  }
  .error-page {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(to bottom, #add8e6, #9fe2bf, #da70d6, #ead396, #ffa07a);
    padding: 50px;
    gap: 8px;
    border-radius: 40px;
    max-width: 430px;
  }
  .error-button {
    font-size: 1rem;
    padding: 12px 25px;
    margin-top: 40px;
  }
}