body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  background-color: rgb(243, 238, 231);
  font-family: "DM Sans";
}

/* Top navigation bar */
.navbar {
  background-color: rgb(243, 238, 231);
  padding: 24px;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-title {
  font-size: 23px;
  font-weight: bold;
  font-family: "Source Serif 4";
  color: #333;
}

/* Main container styles */
.container {
  max-width: 736px;
  margin: 0px auto;
  padding: 32px 16px 48px 16px ;
}

.success-box {
  background-color: #C6F6D5; /* Light green background */
  border-radius: 12px;
  padding: 24px 40px;
  text-align: center;
  max-width: 100%;
}

.icon {
  font-size: 36px;
  color: #4CAF50; /* Green checkmark color */
  margin-bottom: 10px;
}

.success-box h1 {
  font-size: 18px;
  font-weight: bold;
  color: #202020;
  margin-top: 24px;
  margin-bottom: 4px;
}

.success-box img {
  width: 40px;
  height: 40px;
}

.success-box p {
  font-size: 16px;
  font-weight: bold;
  color: #202020;
  margin-top: 32px;
  margin-bottom: 10px;
}

.success-box p em {
  font-style: italic;
}

.form {
  padding: 0px 16px;
  margin: 0px 32px;
}

header h1 {
  margin: 40px 0px;
  font-size: 30px;
  font-family: "Source Serif 4";
  color: #202020;
}

header h1 span {
  text-transform: capitalize;
}

header em {
  font-style: italic;
}

section.questions h2 {
  margin: 0;
  color: #000;
  font-size: 18px;
}

.questions {
  color: #000000;
  font-size: 18px;
}

.question {
  display: flex;
  flex-direction: column;
}

.question p {
  margin-top: 0;
  margin-bottom: 12px;
  color: #202020;
  font-size: 16px;
}

textarea {
  height: 84px;
  border: 1px solid #202020;
  border-radius: 5px;
  padding: 8px 16px;
  resize: vertical;
  background-color: #FFFFFF;
  color: #000;
  font-size: 16px;
  font-family: "DM Sans";
}

textarea:focus {
  outline: none;
}

.save-section {
  margin-top: 20px;
  text-align: left;
}

.save-button {
  background-color: #CB5959;
  border: none;
  color: white;
  font-size: 16px;
  font-weight: bold;
  padding: 15px 24px;
  margin-top: 10px;
  border-radius: 8px;
  cursor: pointer;
}

.save-button:hover {
  background-color: #AE4949;
}

.note {
  margin: 28px 0;
  color: #4C4C4C;
  font-size: 14px;
  display: flex;
  align-items: center;
}

.note::before {
  content: '💖';
  margin-right: 12px;
}

/* Media query for smaller screens (mobile) */
@media screen and (max-width: 768px) {
  .navbar {
    padding: 20px 16px;
  }

  .container {
    max-width: 736px;
    margin: 0px auto;
    padding: 16px;
  }
  
  .form {
    padding: 0px 16px;
    margin: 0;
  }

  header h1 {
    font-size: 24px;
  }

  .save-button {
    width: 100%;
  }
}