* { margin: 0; padding: 0; box-sizing: border-box; }

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
    }
    
  to {
    opacity: 1;
    transform: translateY(0);
    }
}

body {
  font-family: Arial, sans-serif;
  background: linear-gradient(to bottom, #f8faf8, #eef5ee);
  color: #333;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* HEADER */
.header {
  background-color: #3D7A40;
  color: white;
  text-align: center;
  padding: 20px;
}
.header h1 {
  font-size: 28px;
  font-weight: bold;
}
.header p {
  font-style: italic;
  font-size: 15px;
  margin-top: 4px;
}

/* NAV */
nav {
  background: white;
  display: flex;
  justify-content: space-evenly;
  align-items: center;

  padding: 18px 40px;
  box-shadow: 0 3px 12px rgba(0,0,0,.08);
}
nav a {
  text-decoration: none;
  color: #333;
  font-size: 15px;
  font-weight: bold;
}
nav a:hover { text-decoration: underline; }
nav a.active { color: #3D7A40; }

#logo {
  width: 70px;
}

/* FOOTER */
.footer { background-color: #3D7A40; color: white; text-align: center; padding: 14px; font-size: 13px; }
.footer a { color: white; text-decoration: none; }
.footer a:hover { text-decoration: underline; }

/* NEWSLETTER specific styles - temporary location*/

.labels {
  padding: 24px;
  padding-bottom: 10px;
}

.labels h1 {
  font-size: 42px;
  color: #2C4A2E;
}

.newsletter-container{
  display: flex;
  flex-direction: column;
  padding: 0 2% 2%;
  flex: 1;
}

.newsletter-container a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.newsletter-card {
  padding: 20px;
  margin-top: 20px;
  background: white;
  border: 1px solid #ccc;
  border-radius: 8px;
  animation: fadeUp 0.8s ease forwards;
  box-shadow: 0 6px 20px rgba(0,0,0,.08);

  transition: .3s;
  position: relative;
  overflow: hidden;
  animation: fadeUp 0.8s ease;
}

.newsletter-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
}

.newsletter-card h2 {
  color: #2C4A2E;
  font-size: 28px;
}

.newsletter-date {
  color: rgb(63, 63, 63);
  font-style: italic;
  padding-bottom: 70px;
}