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

#Logo-picture1 {
  /* giving a shadow to the image */
  filter: drop-shadow(10px 10px 10px rgb(126, 2, 99));
  width: 150px;
  border-radius: 10%;
  display: flex;
  justify-content: 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;
  padding-top: 80px;
  height: 100vh;
}

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

.info {
  text-align: center;
  font-size: 40px;
  font-weight: 100;
  color: rgb(126, 2, 99);
  font-family: "Lobster", sans-serif;
}

.content {
  display: block;
  text-align: center;
}

.message {
  text-align: center;
  font-size: 20px;
  padding: 0 30%;
  font-family: "Lobster", sans-serif;
}

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;
  align-self: center;
  text-align: center;
}

a.mail {
  color: rgb(173, 71, 151);
  align-self: center;
  text-align: center;
}

.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: #f17cec;
}

.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);
}
