@font-face {
  font-family: "head";
  src: url("fonts/jalapeno.ttf") format("truetype");
}

@font-face {
  font-family: "body";
  src: url("fonts/santafe.ttf") format("truetype");
}

body {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  height: 100vh;
  background-color: #fdf3a8;
  color: #4cc5b1;
  font-family: "body";
}

header {
  text-align: center;
  padding: 20px;
  font-size: 3vw;
  font-family: "head";
}

h2 {
  font-family: "head";
}

#blondies-logo {
  max-width: 100%;
  height: auto;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

#top-buttons-container {
  display: flex;
  gap: 20px;
  justify-content: center;
}

button {

  display: inline-block;
  outline: none;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  border-radius: 500px;
  transition-property: background-color,border-color,color,box-shadow,filter;
  transition-duration: .3s;
  border: 1px solid transparent;
  letter-spacing: 2px;
  min-width: 160px;
  text-transform: uppercase;
  white-space: normal;
  font-weight: 700;
  text-align: center;
  padding: 17px 48px;
  color: #fdf3a8;
  background-color: #4cc5b1;
  height: 48px;
}

button:hover{
  transform: scale(1.04);
  background-color: #119b84;
}


#events-container {
  overflow-y: auto;
  width: 100%;
  max-height: 60vh;
}

.event-listing {
  display: flex;
  gap: 20px;
}

.event-image-container {
  position: relative;
  width: 25%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #f0f0f0;
  border-right: 1px solid #ddd;
}

.event-flyer {
  width: 100%;
  height: auto;
}

.event-date {
  position: absolute;
  bottom: 10px;
  left: 10px;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 14px;
  color: #fdf3a8;
  background-color: #4cc5b1;
}

#events-list li:hover {
  background-color: #4cc5b1;
  color: #fdf3a8;
  transition-duration: .2s;
}

#event-form,
#usage-docs {
  outline: none;
  width: 70%;
  margin-top: 20px;
  background-color: #fdf3a8;
  color: #4cc5b1;
  align-items: center;
}

#event-form-fields {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

input #flyer {
  font-family: "body";
}

.hidden {
  display: none;
}

footer {
  text-align: center;
  padding: 10px;
  color: #fdf3a8;
  background-color: #4cc5b1;
}
