/* General Styles */
body,
html {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

/* Header Styles */
header {
  background-color: white;
  padding: 20px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
}

header .logo {
  font-size: 20px;
  font-weight: bold;
}

/* Hero Section Styles */
.hero {
  height: 75vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #f0f0f2;
  text-align: center;
  padding-top: 60px;
}

.hero h1 {
  font-size: 66px;
  line-height: 76px;
  margin-bottom: 2px;
  font-weight: 800;
  padding: 0 20px;
}

.hero h2 {
  font-size: 46px;
  line-height: 56px;
  margin-bottom: 20px;
  margin-top: 0;
  font-weight: 800;
  padding: 0 20px;
}

.hero .learn-more {
  margin-top: 30px;
  padding: 20px 30px;
  font-size: 18px;
  font-weight: bold;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

/* Unsubscribe Section Styles */
.unsubscribe {
  background-color: #f0f0f2;
  border-top: 1px solid #cfcfde;
  padding: 50px 20px;
  text-align: center;
}

.unsubscribe h2 {
  font-size: 32px;
  color: #333;
  margin-bottom: 30px;
}

.unsubscribe form {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: transparent;
}

.unsubscribe form input,
.unsubscribe form button {
  margin-bottom: 15px;
  padding: 10px;
  width: 80%;
  height: 40px;
  max-width: 400px;
  font-size: 16px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.unsubscribe form input {
  background: transparent;
  border: 2px solid #cfcfde;
}

.unsubscribe form input:focus {
  border-color: #0536b1;
}

.unsubscribe form button {
  background-color: #007bff;
  color: white;
  cursor: pointer;
  width: 86%;
  height: 52px;
  font-weight: bold;
}

/* Footer Styles */
footer {
  background-color: transparent;
  text-align: center;
  /* padding: 20px; */
  position: relative;
  bottom: 0;
  width: 100%;
}

footer p {
  color: #333;
  font-size: 12px;
  font-weight: bold;
}

/* Overlay and Spinner Styles */
#overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.spinner {
  border: 8px solid #f3f3f3;
  border-top: 8px solid #007bff;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

.thank-you-message,
.error-message {
  display: none;
  font-size: 20px;
  color: #333;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
