/*apply for all of the a from the navbar*/
.navbar {
  background-color: rgb(241, 197, 236);
  position: sticky; /*makes the navbar static */
  top: 0; /* the navbar is on the top of the page*/
  z-index: 1000; /* Keeps it above other elements */
  width: 100%;
  padding: 10px 20px;
}

.navbar li {
  display: inline-block; /* put the elements of the navbar in horizontal order*/
  padding: 0 20px;
}

/*apply for all of the a from the navbar*/
.navbar a {
  text-decoration: none;
  color: rgb(245, 235, 241);
}

.hero {
  background-image: url("../images/cake2/different-pieces-cake_.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  font-family: "Lobster", sans-serif;
  display: flex;
  color: rgb(126, 2, 99);
  font-size: large;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* <-- this keeps content at the top */
  align-items: center;
  padding-top: 80px;
  height: 100vh;
}

#Logo-picture1 {
  /* giving a shadow to the image */
  filter: drop-shadow(10px 10px 10px rgb(126, 2, 99));
  border-radius: 10%;
  width: 150px;
  display: flex;
  justify-content: center;
}

.story:hover {
  transform: scale(1.05); /* Zoom in slightly */
  opacity: 0.8; /* Slightly fade the element */
  transition: all 0.3s ease-in-out; /* Smooth transition */
}

/* shadow for the contact us button */
.intro-link {
  filter: drop-shadow(10px 10px 10px rgb(126, 2, 99));
}

/* hovering effect for the contact us */
.intro-link:hover {
  transform: scale(1.05); /* Zoom in slightly */
  opacity: 0.8; /* Slightly fade the element */
  transition: all 0.3s ease-in-out; /* Smooth transition */
}

.body-container {
  background-color: rgb(248, 241, 245);
  font-family: "Playfair Display", sans-serif !important;
}

#button {
  padding: 12px 24px;
  font-size: 18px;
  font-family: "Lobster", sans-serif;
  background-color: rgb(234, 193, 247);
  border-radius: 10%;
  filter: drop-shadow(10px 10px 10px rgb(126, 2, 99));
  transform: scale(1.05); /* Zoom in slightly */
  opacity: 0.8; /* Slightly fade the element */
  transition: all 0.3s ease-in-out; /* Smooth transition */
}

#button:hover {
  background-color: #f1a9e8; /* Add a dark-grey background on hover */
  transform: scale(1.05); /* Zoom in slightly */
  opacity: 0.8; /* Slightly fade the element */
  transition: all 0.3s ease-in-out; /* Smooth transition */
}

#title {
  font-size: 80px;
  font-family: Arial, Helvetica, sans-serif;
  color: rgb(126, 2, 99);
  text-align: center;
  font-family: "Lobster", sans-serif;
}

.menu-container {
  display: flex; /* Aligns all menus in one row */
  justify-content: space-between; /* Spaces them evenly */
  align-items: flex-start; /* Ensures all menus start at the top */
  gap: 20px; /* Adds space between them */
  flex-wrap: nowrap; /* Prevents wrapping */
  font-size: 20px;
  font-family: "Lobster", sans-serif;
}

.bold {
  flex: 1; /* Makes all menus take equal width */
  min-height: 100%; /* Ensures they all align properly */
  border-radius: 5px;
  box-sizing: border-box;
}

.menu {
  font-size: 40px;
  font-weight: 100;
  font-family: "Lobster", sans-serif;
}

.img {
  width: 100px; /* Set desired width */
  height: auto; /* Keeps aspect ratio */
  float: left;
}

.cream {
  font-family: "Lobster", sans-serif;
  font-size: 20px;
  font-weight: 100;
}

.description {
  font-size: 20px;
  font-weight: 100;
  text-align: center;
  font-family: "Lobster", sans-serif;
}

/* for the top button */
#myBtn {
  display: none; /* Hidden by default */
  position: fixed; /* Fixed/sticky position */
  bottom: 20px; /* Place the button at the bottom of the page */
  right: 30px; /* Place the button 30px from the right */
  z-index: 99; /* Make sure it does not overlap */
  border: none; /* Remove borders */
  outline: none; /* Remove outline */
  background-color: rgb(234, 193, 247); /* Set a background color */
  color: white; /* Text color */
  cursor: pointer; /* Add a mouse pointer on hover */
  padding: 15px; /* Some padding */
  border-radius: 10px; /* Rounded corners */
  font-size: 18px; /* Increase font size */
}

#myBtn:hover {
  background-color: #f1a9e8; /* Add a dark-grey background on hover */
  transform: scale(1.05); /* Zoom in slightly */
  opacity: 0.8; /* Slightly fade the element */
  transition: all 0.3s ease-in-out; /* Smooth transition */
}

/* footer section */
footer {
  background-color: rgb(246, 231, 250);
  color: rgb(126, 2, 99);
  text-align: center;
  padding: 20px 0;
}

.footer-container {
  display: flex;
}

.cell {
  flex: 1;
}

.contact-info,
.social-media,
.copyright {
  margin: 10px;
  text-align: center;
}
.contact-info h3,
.social-media h3,
.copyright {
  font-size: 18px;
  margin-bottom: 10px;
  text-align: center;
}

.contact-info p {
  margin: 5px 0;
  text-align: center;
}

.social-media a {
  color: rgb(222, 130, 243);
  font-size: 20px;
  height: 50px;
  width: 50px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  align-self: center;
  background-color: white;
  border-radius: 50%;
  text-decoration: none;
}

.social-media a:hover {
  color: #ff7b7b;
}

.copyright {
  margin-top: 10px;
  font-size: 16px;
  font-weight: 100%;
  opacity: 0.5;
  align-self: center;
}

.mail {
  color: rgb(126, 2, 99);
}
