body {
  font-family: 'Georgia', serif; /* More elegant, traditional feel */
  margin: 0;
  padding: 20px;
  max-width: 800px;
  margin: 0 auto;
  background: linear-gradient(to bottom, #f0f8ff, #fffaf0); /* Soft snowy to warm gradient */
  color: #333;
  min-height: 100vh;
}

nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 15px 0;
  background-color: #b22222; /* Deep festive red */
  border-radius: 0 0 10px 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 10;
}

nav a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  font-size: 18px;
  padding: 8px 16px;
  border-radius: 5px;
  transition: background 0.3s;
}

nav a:hover {
  background-color: #8b1a1a;
}

h1 {
  text-align: center;
  color: #b22222;
  margin: 30px 0;
  font-size: 36px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.day-container, .content {
  padding: 25px;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  margin-bottom: 30px;
  border: 1px solid #eee;
}

.day-container h2 {
  color: #b22222;
  font-size: 28px;
  margin-bottom: 20px;
  text-align: center;
  border-bottom: 2px solid #4caf50;
  padding-bottom: 10px;
}

.day-container p, .content p {
  margin: 15px 0;
  line-height: 1.8;
  font-size: 17px;
}

.day-container strong, .content strong {
  color: #b22222;
  font-weight: bold;
}

.share-btn {
  display: block;
  margin: 30px auto;
  padding: 14px 28px;
  background-color: #4caf50; /* Green for action */
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 18px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s, background 0.3s;
}

.share-btn:hover {
  background-color: #388e3c;
  transform: translateY(-2px);
}

.tracker {
  text-align: center;
  margin: 40px 0;
  padding: 20px;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.tracker h2 {
  color: #b22222;
  margin-bottom: 15px;
}

#daysRemaining {
  font-size: 18px;
  color: #4a4a4a;
  margin-bottom: 20px;
}

.calendar {
  display: grid;
  grid-template-columns: repeat(6, 1fr); /* Better for 12 days: 2 rows */
  gap: 10px;
  max-width: 400px;
  margin: 0 auto;
}

.calendar div {
  width: 50px;
  height: 50px;
  line-height: 50px;
  border-radius: 50%; /* Circular days for fun */
  font-size: 18px;
  font-weight: bold;
  transition: transform 0.2s;
}

.calendar div:hover {
  transform: scale(1.1);
}

.viewed {
  background-color: #4caf50;
  color: white;
}

.past {
  background-color: #ff4d4d;
  color: white;
}

.current {
  background-color: #2196f3;
  color: white;
  animation: pulse 2s infinite;
}

.future {
  background-color: #e0e0e0;
  color: #666;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(76,175,80,0.7); }
  70% { box-shadow: 0 0 0 10px rgba(76,175,80,0); }
  100% { box-shadow: 0 0 0 0 rgba(76,175,80,0); }
}

.contact {
  text-align: center;
  margin-top: 50px;
  padding: 20px;
  color: #333;
}

.contact a {
  color: #b22222;
  text-decoration: none;
  font-weight: bold;
}

footer {
  margin-top: 40px;
  text-align: center;
  font-size: 14px;
  color: #666;
  border-top: 1px solid #ddd;
  padding-top: 20px;
}


/* Better mobile support */
@media (max-width: 600px) {
  .calendar {
    grid-template-columns: repeat(4, 1fr);
  }
  .calendar div {
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 16px;
  }
  h1 {
    font-size: 30px;
  }
}

/* video container */
.vid-container {
  max-width: 514px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.vid-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 56.25%;
} 
.vid-container iframe {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

