@import url("https://use.typekit.net/zoj0fcc.css");

* {
  margin: 0;
  padding: 0;
  font-family: balboa-plus-fill, sans-serif;
}

body {
  background-color: #f2cfc4;
}

#menu-bg {
  margin-bottom: 8vh;
}

#tap {
  display: none;
}

.past-event {
  margin-top: 8vh !important;
  margin-bottom: 8vh;
  width: 70vmin !important;
}

h4 {
  margin: 0;
  font-weight: 300;
}

h5 {
  margin: 0;
  font-weight: 300;
}

.event {
  position: relative;
  width: 100vw;
  height: 30vw;
  border-top: 3px solid black;

  background-color: #f2cfc4;
}

.event:last-child {
  border-bottom: 3px solid black;
}

.event div {
  /* outline: 2px solid teal; */
}

.event-photo {
  opacity: 1;
  display: block;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  object-fit: cover;
  transition: 0.3s;
}

.event-appear {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  color: black;

  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  align-content: space-between;
  align-items: flex-start;
}

.event-button {
  width: 20%;
  /* align-self: center; */
  padding-top: 3vh;
  padding-right: 2vw;
}

.event-button button {
  font-family: "Staatliches", cursive;
  float: right;
  width: 80%;
  background-color: transparent;
  border-style: none;
  border: 3px solid black;
  font-family: "Staatliches", cursive;
  line-height: 200%;
  font-size: 1.3em;
  color: black;
  cursor: pointer;
}

button:focus {
  outline: none;
}

button:hover {
  color: white;
  border-color: white;
}

button:active {
  color: #85cfc3;
  border-color: #85cfc3;
}

.event-description {
  width: 70%;
  padding-top: 3vh;
  padding-right: 3vw;
  font-size: 3vw;
}

.event-name {
  font-size: 8vmin;
  line-height: 8.2vmin;
}

.event-date {
  font-size: 5vmin;
  align-self: flex-end;
}

.event-time {
  font-size: 5vmin;
  align-self: flex-end;
}

.event:hover .event-photo {
  opacity: 0.2;
}

.event:hover .event-appear {
  opacity: 1;
}

/*PAST-EVENT SPECIFIC STYLES */
#past-events .event-button {
  display: none;
}

#past-events .event-time {
  display: none;
}

#past-events .event-description {
  width: 78%;
}

/* sorry about the liberal use of importants
professor, if I had more time I would fix it
but right now there are too many conflicts
with the delivery stylesheet */
@media screen and (max-width: 479px) {
  .past-event {
    margin: 0 auto !important;
    border-top: 0px solid black;
    width: 100% !important;
  }

  #menu-bg {
    margin-bottom: 0;
    border-top: 0px solid black;
  }

  #tap {
    display: block;
    width: 100%;
    background-color: #85cfc3;
    text-align: center;
    height: 5vh;
    line-height: 5vh;
    font-family: "Staatliches", cursive;
    border-top: 3px solid black;
  }

  .event-name {
    font-size: 5vmin;
    line-height: 5.8vmin;
    margin-bottom: 1vh;
  }

  .event-time {
    font-size: 4vmin;
    margin-bottom: 1vh;
  }

  .event-date {
    font-size: 4vmin;
    margin-bottom: 1vh;
  }

  .event-button {
    padding-top: 2vh;
  }

  .event-description {
    padding-top: 2vh;
  }

  #past-events {
    margin-bottom: 11vh;
  }
}
