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

.bold {
  font-weight: 400;
  font-family: "Playfair Display", sans-serif !important;
  align-items: center;
  font-size: 20px;
  text-align: left;
  width: 100%;
}

.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: 50%;
  width: 150px;
}

#button {
  padding: 12px 24px;
  font-size: 18px;
  font-family: "Playfair Display", sans-serif !important;
}

/* General Styling */
body {
  font-family: "Playfair Display", sans-serif !important;
  background-color: aliceblue;
  text-align: center;
  padding: 20px;
}

/* Form Container */
form {
  background: white;
  padding: 20px;
  border-radius: 10px;
  max-width: 700px;
  margin: auto;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  font-family: "Playfair Display", sans-serif !important;
}

.date {
  margin-bottom: 15px;
  text-align: left;
}

/* Label Styling */
.date label {
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
  color: black;
}

/* Input Field Styling */
.date input[type="date"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  box-sizing: border-box;
  background-color: #fff;
  color: #333;
  cursor: pointer;
}

/* Styling on Hover */
.date input[type="date"]:hover {
  border-color: rgb(126, 2, 99);
}

/* Form Headings */
h1 {
  color: rgb(126, 2, 99);
  font-size: 24px;
}

/* Description */
p.description {
  font-size: 14px;
  color: #555;
  text-align: left;
  padding: 10px;
  background: #ffff;
  border-radius: 5px;
}

/* Labels */
label {
  font-weight: bold;
  display: block;
  margin: 10px 0 5px;
  text-align: left;
}

/* Inputs and Select Fields */
input,
select,
textarea {
  width: 100%;
  padding: 10px;
  margin: 5px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
}

/* Radio Buttons */
input[type="radio"] {
  width: auto;
  margin-right: 5px;
  /* position:relative; */
  display: inline-block;
}

/* Fondant Section */
.fondant span {
  font-weight: bold;
}

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

.fondant input[type="radio"],
.fondant label {
  display: inline-block;
  margin: 0;
}

/* Submit Button */
button {
  background-color: rgb(126, 2, 99);
  color: white;
  padding: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  margin-top: 10px;
}

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

/* Add Spacing for Sections */
section {
  margin-bottom: 15px;
}

/* Line Break Style */
hr {
  border: 0;
  height: 1px;
  background: #ddd;
  margin: 15px 0;
}

.button {
  padding: 12 24;
  margin: 0 220px;
  /* background-color: rgb(126, 2, 99); */
  border: none;
  cursor: pointer;
  font-weight: 100;
  font-size: 16px;
  transition: background-color 0.3s ease; /* Smooth transition */
}

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

.top-button {
  background-color: rgb(173, 92, 156);
  color: rgb(189, 174, 186);
}

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