{% require_css %}

<style> 
{% scope_css %}

.event-card {
display: flex;
  justify-content: center;
  align-items: center;
  height: ; 
}

.card-container {
  margin: 30px auto;
  max-width: 100%;
  width: 1200px;
  display: grid;
  grid-template-areas: "photo info";
  grid-template-columns: 150px 1fr;
  background-color: #ffffff;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
  line-height: 1.75em;
  border-radius: 30px;
  
}

.photo-container {
  font-size: 1.5em;
  background-color: #3EC6C5;
  color: white;
  padding: 20px;
  text-align: center;
  grid-area: photo;
  display: flex;
  justify-content: center;
  align-items: center;
   border-radius: 10px 0px 0px 10px ;
}

.info-container {
  padding: 20px;
  grid-area: info;
}

.event-name {
  font-weight: bold;
  padding-bottom: 5px;
}

.event-location {
  font-weight: 300;
}

.day {
  font-weight: 300;
  font-size: 35px;
  background-color: #3EC6C5;
  color: white;
  padding: 10px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.month {
  font-weight: 400;
  font-size: 40px;
  padding: 15px;
  background-color: #3EC6C5;
  color: white;
  padding: 10px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.button {
  display: inline-block;
  background-color: #D2237D;
  color: white;
  padding: 8px 15px;
  border-radius: 25px;
  text-decoration: none;
  margin-top: 10px;
  transition: background-color 0.3s, color 0.3s;
}

.button:hover {
  background-color: white;
  color: #D2237D;
  border: 2px solid #D2237D;
}

/* Media queries for mobile responsiveness */

@media screen and (max-width: 768px) {
  .card-container {
    grid-template-areas: "photo" "info";
    grid-template-columns: 1fr;
  }

  .photo-container {
    padding: 10px;
  }

  .day {
    font-size: 30px;
    padding: 5px;
  }

  .month {
    font-size: 35px;
    padding: 10px;
  }
}

{% end_scope_css %}

</style>
{% end_require_css %}