@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&family=Quicksand:wght@300;400;500;600&display=swap');

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

body {
  background-color: #ffbd59;
  color: #333;
  font-family: 'Quicksand', sans-serif;
  line-height: 1.5;
  padding: 1rem;
}

h1 {
  font-family: 'Fredoka One', cursive;
  font-size: 2rem;
  color: #1a74ed;
  text-align: center;
  margin-bottom: 1rem;
}

.button-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.policy-toggle {
  padding: 0.75rem 1rem;
  background-color: #1a74ed;
  border: none;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
  transition: background-color 0.2s ease;
  text-align: center;
}

.policy-toggle:hover {
  background-color: #3195ed;
}

h2 {
  font-family: 'Fredoka One', cursive;
  font-size: 1.5rem;
  color: #1a74ed;
  margin-top: 2rem;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.25rem;
  text-align: center;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 4px;
  background-color: #1a74ed;
  border-radius: 2px;
}

h3 {
  font-family: 'Fredoka One', cursive;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: #1a74ed;
  text-align: center;
}

p, ul, li, blockquote {
  font-family: 'Quicksand', sans-serif;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  text-align: left;
}

ul {
  list-style: disc inside;
  padding-left: 0;
}

.container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  flex: 1 1 45%;
  min-width: 280px;
  padding: 1.25rem;
  opacity: 0;
  transform: translateY(30px);
  text-align: center;
}

.alert {
  background-color: #fff8f2;
  border-left: 6px solid #ff8210;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  margin-bottom: 1rem;
  padding: 1rem 1.25rem;
  text-align: center;
}

#conditions {
  background-color: rgba(255, 130, 16, 0.7); 
  border-left: 6px solid #326295;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  padding: 1rem 1.25rem;
  transform: translateY(30px);
  text-align: center;
}

#conditions ul {
  list-style: disc inside;
}

#forecast {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
  opacity: 0;
  transform: translateY(30px);
}

.forecast-card {
  background: #ffffff;
  border-left: 6px solid #ff8210;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  flex: 1 1 140px;
  min-width: 120px;
  padding: 0.75rem 1rem;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  cursor: pointer;
}

.forecast-card h3 {
  font-family: 'Fredoka One', cursive;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  text-align: center;
}

.forecast-card img {
  width: 48px;
  height: 48px;
  margin-bottom: 0.25rem;
}

iframe {
  display: block;
  margin: 1.5rem auto 0;
  width: 85%;
  height: 650px;
  border-radius: 12px;
  border: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  opacity: 0;
  transform: translateY(30px);
}

.policy-box {
  background-color: #ffffff;
  border-left: 6px solid #326295;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  margin-top: 1rem;
  margin-bottom: 1rem;
  padding: 1rem 1.25rem;
  line-height: 1.6;
  text-align: left;
}

.policy-box[hidden] {
  display: none;
}

.policy-box ul,
.policy-box p,
.policy-box h3,
.policy-box blockquote {
  text-align: left;
}

.policy-box ul {
  list-style: disc inside;
  margin-top: 0.5rem;
}

@media (max-width: 480px) {
  body {
    padding: 1rem;
    font-size: 1.05rem;
  }

  h1 {
    font-size: 2.25rem;
    line-height: 1.2;
    text-align: center;
  }

  h2 {
    font-size: 1.75rem;
    text-align: center;
  }

  h3 {
    font-size: 1.25rem;
  }

  p,
  ul,
  li,
  blockquote {
    font-size: 1.05rem;
  }

  .forecast-card {
    flex: 1 1 100%;
    min-width: 140px;
    padding: 1rem;
  }

  .policy-toggle {
    width: 100%;
    font-size: 1.1rem;
    padding: 1rem;
  }

  .button-row {
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
  }
}