html {
  background-size: cover;
  background-image: url(../wp4.jpg);
  padding-bottom: 20px;
}

menu {
  position: absolute;
}

h1 {
  font-family: 'Bungee Inline';
  text-align: center;
  margin-top: 60px;
  color: rgb(239, 239, 239);
  line-height: 1.7em;
  margin-bottom: 60px;
}

.tabs {
  text-align: center;
}
.tabs button {
  margin: 5px 10px;
  color: #efefef;
  font-family: 'Open Sans', sans-serif;
  background: transparent;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  transition: 0.15s;
  border-bottom: 2px solid transparent;
}
.tabs button:focus {
  outline: none;
}
.tabs button:not(.active):hover,
.tabs button:not(.active):focus {
  color: white;
}
.tabs button.active {
  border-bottom-color: currentColor;
  cursor: default;
}
.tabs button i.fas {
  margin-left: 4px;
  cursor: pointer;
}

main {
  transition: 0.3s opacity;
}
main:not(.active) {
  display: none;
}

.list-item {
  --time-size: 4.2rem;
  --margin: 20px;
  --ivory: #e8e8e8;
  margin: var(--margin) auto;
  width: 100%;
  max-width: 580px;
  position: relative;
}
.list-item:before {
  --line-width: 5px;
  content: '';
  display: block;
  width: var(--line-width);
  background-color: var(--ivory);
  position: absolute;
  left: calc(var(--line-width) / -2);
  top: calc(var(--margin) * -1);
  height: calc(100% + 2 * var(--margin));
}
.list-item:first-of-type:before {
  top: 50%;
  height: 50%;
}
.list-item:last-of-type:before {
  height: 50%;
}
.list-item time {
  border-radius: 50%;
  font-size: 1.3rem;
  width: var(--time-size);
  height: var(--time-size);
  text-align: center;
  line-height: var(--time-size);
  display: inline-block;
  background-color: var(--ivory);
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 7px 0px rgba(0, 0, 0, 0.8);
}
.list-item .info {
  margin-left: calc(var(--time-size) * 0.8);
  box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.33);
}
.list-item .info h3 {
  color: #f5f5f5;
  background-color: black;
  margin: 0;
  font-size: 1.1rem;
  padding: 1px 10px;
  font-family: 'Bungee Inline', 'Open Sans', sans-serif;
}
.list-item .info h3 .location {
  font-size: 1rem;
  margin-left: 0.4rem;
  font-family: 'Open Sans', sans-serif;
}
.list-item .info h3 .location::before {
  content: '(';
}
.list-item .info h3 .location::after {
  content: ')';
}
.list-item .info .content {
  background-color: white;
  padding: 10px;
}
.list-item .info .content a {
  color: black;
}

#dialog {
  background-color: white;
  width: 310px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
#dialog i {
  position: absolute;
  right: 6px;
  top: 4px;
  color: black;
  cursor: pointer;
  transition: 0.2s;
}
#dialog i:hover {
  text-shadow: 0 0 10px #00000078;
}
#dialog p {
  padding: 20px 12px;
  text-align: center;
  margin: 0;
}

@media screen and (max-width: 675px) {
  .list-item {
    width: calc(100% - 45px);
    margin-left: 40px;
    margin-right: 5px;
  }
}
