@font-face {
  font-family: "document-heading-font";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/kondo/fonts/OpenSans-Regular.ttf);
}
@font-face {
  font-family: "document-heading-font";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/kondo/fonts/OpenSans-Light.ttf);
}
@font-face {
  font-family: "document-heading-font";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/kondo/fonts/OpenSans-SemiBold.ttf);
}
@font-face {
  font-family: "document-text-font";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/kondo/fonts/OpenSans-Regular.ttf);
}
@font-face {
  font-family: "document-text-font";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/kondo/fonts/OpenSans-Bold.ttf);
}

h1.poster-style {
  font-size: 96px;
  margin-top: 0;
  margin-bottom: 2rem;
}
h1.section-style {
  font-size: 48px;
  margin-top: 0;
  margin-bottom: 2rem;
}

div.introduction {
  max-width: 40em;
  margin-bottom: 4rem;
}
div.talks {
  display: grid;
  grid-template-columns: auto auto;
}
div.talk {
  padding-left: 2rem;
  padding-bottom: 4rem;
}
.date {
  text-align: left;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}
.date-month,
.date-day {
  display: inline-block;
}
.date-month {
  font-weight: 300;
  font-size: 1.5rem;
  line-height: 1.5rem;
}
.date-day {
  font-weight: 300;
  font-size: 6rem;
  line-height: 6rem;
}

main {
  flex-direction: column;
}
@media only screen and (max-width: 1000px) {
  #header-logo {
    top: 100px;
    left: 0;
    width: 100%;
  }
}
@media only screen and (max-width: 700px) {
  /* Switch to phone mode: */
  .poster-logo,
  .poster-style {
    display: block;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  div.talks {
    display: block;
  }
  div.date {
    padding-bottom: 2rem;
  }
  div.talk {
    padding-left: 0;
  }
  h1.poster-style {
    margin-bottom: 0.5em;
  }
}
#map-dialog {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;

  background: radial-gradient(
    circle at center,
    rgba(0, 0, 0, 99%) 0%,
    rgba(0, 0, 0, 90%) 50%,
    rgba(0, 0, 0, 60%)
  );
  overflow: hidden;
}
#map-close-button {
  position: absolute;
  top: 20px;
  right: 20px;
  pointer-events: fill;
}
#map-container {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  cursor: pointer;
}
#map-comments {
  background: black;
  padding: 1em 2em 2em 2em;
  border-radius: 6px;
  margin: 0;
  z-index: 2;
  color: white;
  position: absolute;
  bottom: 30px;
  left: 30px;
  right: 25vw;
  width: 40em;
  height: auto;
  font-size: 18px;
  line-height: 27px;
  text-shadow: 0px 0px rgba(0, 0, 0, 60%);
}

button {
  background-color: white;
  border: solid 1px #b84b06;
  color: black;
  border-radius: 5px;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 20px;
  cursor: pointer;
}
button:hover {
  background-color: #d47d0c;
}
