.navbar {
  background-color: rgb(231, 204, 228);
  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);
}

.name {
  padding-bottom: 25px;
  margin-bottom: 20px;
  font-size: 60px;
}

#button {
  padding: 12px 24px;
  font-size: 18px;
  background-color: rgb(234, 193, 247);
  border-radius: 10%;
  filter: drop-shadow(10px 10px 10px rgb(126, 2, 99));
}

/* 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 */
}

#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;
}

.logo-section {
  font-size: 22px;
  display: flex; /* Enables flexbox */
  flex-direction: row; /* Stack items vertically */
  align-items: center; /* Centers horizontally */
  justify-content: center; /* Centers vertically */
  text-align: center; /* Centers text within elements */
  height: 100vh; /* Makes the section full height of the viewport */
  width: 100vw; /* Ensures it takes full screen width */
  padding: 30px; /* Adds spacing around content */
}

#Cakes-and-bakes {
  color: rgb(126, 2, 99);
  font-size: 80px;
  text-align: center;
  align-items: center;
  display: flex;
  margin-bottom: 90px;
}








.titleTop {
  font-family: "Lobster", sans-serif;
  color: rgb(126, 2, 99);
  font-size: large;
  text-align: center;
  justify-content: center;
  align-items: center;
}

.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;
  height: 70vh;
  padding-top: 5%;
}

.card {
  background-color: rgb(239, 210, 248);
  opacity: 0.9;
  border-radius: 10px;
  font-family: "Playfair Display", sans-serif !important;
}

/* footer css
 */
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;
}

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

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

.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: #8b0b78;
  transform: scale(1.05); /* Zoom in slightly */
  opacity: 0.8; /* Slightly fade the element */
  transition: all 0.3s ease-in-out; /* Smooth transition */
}

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

.top-button {
  background-color: rgb(126, 2, 99);
  color: rgb(126, 2, 99);
}
