body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
}

.header {
  background: url('./bowlingshot.jpg') no-repeat center center/cover;
  color: #fff;
  text-align: center;
  position: relative;
  height: 100%;
}


.event-info{
  height: 65%;
  display:flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.5); /* Dark overlay for readability */

}

.event-title {
  font-size: 72px;
  margin-bottom: 50px;
}

.event-date {
  margin-bottom: 30px;
}

.countdown {
  font-size: 72px;
  display: flex;
  justify-content: center;
  margin-top: 30px;
  visibility: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity 2000ms ease, visibility 2000ms ease;
}

.countdown.active{
  opacity: 1;
  visibility: visible;
}

.time-box {
  margin: 0 10px;
  text-align: center;
}

.number {
  margin-top: 16px;
  font-size: 72px;
  font-weight: bold;
}

.label {
  display: block;
  font-size: 2rem;
  font-weight: bold;
}


.event-details {
  display: flex;
  justify-content: center;
  color: #fff;
  height: 35%;
  background-color: rgba(0, 0, 0, 0.5); /* Dark overlay for readability */
}

.detail-box {
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 33%;
  opacity: 0;
  transition: opacity 2000ms ease, visibility 2000ms ease;
}

.detail-box.active {
  visibility: visible;
  opacity: 1;
  background-color: rgba(0, 0, 0, 0.6); /* Dark overlay for readability */
}

.detail-title {
  font-size: 18px;
  margin-bottom: 4px;
  font-weight: bold;
}

.detail-subtitle {
  font-size: 14px;
}

.activity-link{
  text-decoration: underline;
  color:white;
}

.location-link{
  text-decoration: underline;
  color:white;
}

.calendar{
  width: 48px;
  height: 72px;
}

.location{
  width: 72px;
  height: 72px;
}


@media only screen and (max-width: 600px) {
  .event-details {
    flex-direction: column
  }

  .detail-box {
    display: flex;
    flex-direction:row;
    margin-inline: 16px;
    width: 100%;
    margin-left: 0;
  }

  .event-title {
    font-size: 2rem;
  }

  .countdown {
    font-size: 1.25rem;
  }

  
  .label {
    font-size: 1.25rem;
  }
  
  
  .time-box {
    margin: 0 10px;
    text-align: center;
  }
  
  .number {
    font-size: 1.25rem;
    font-weight: bold;
  }

}







.typewriter h1 {
  overflow: hidden; /* Ensures the content is not revealed until the animation */
  border-right: .15em solid white; /* The typwriter cursor */
  white-space: nowrap; /* Keeps the content on a single line */
  margin: 0 auto; /* Gives that scrolling effect as the typing happens */
  letter-spacing: .15em; /* Adjust as needed */
  animation: 
    typing 4s steps(40, end),
    blink-caret .75s step-end infinite;
}

/* The typing effect */
@keyframes typing {
  from { width: 0 }
  to { width: 75% }
}

/* The typewriter cursor effect */
@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: white; }
}