:root {
  color-scheme: light dark;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--page-background-color);
  font-family: 'Share Tech Mono', -apple-system, BlinkMacSystemFont, 'Segoe UI',
    Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
    'Segoe UI Symbol';
}

a:not(.button, .location) {
  filter: var(--link-color);
}

code {
  color: var(--red);
  font-family: 'Share Tech Mono', 'Lucida Console', Monaco, monospace;
}

code.url {
  color: var(--button-color);
}

code.type {
  color: var(--code-type);
}

.header {
  height: 80px;
  border-bottom: 1px solid var(--light-border-color);
  display: flex;
  justify-content: center;
}
@media (max-width: 600px) {
  .header {
    height: auto;
    padding: 10px;
  }
}

.logo {
  max-width: 70px;
  height: auto;
}

@media (max-width: 600px) {
  .logo {
    height: 60px;
  }
}

.section {
  padding: 100px 20px;
}

.hero {
  background-color: var(--section-background-color);
  padding: 100px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.event-info {
  display: flex;
  max-width: 500px;
  border: 1px solid var(--border-color);
  padding: 30px;
  font-size: 14px;
  box-shadow: 0 13px 0 -7px var(--light-border-color);
  margin-bottom: 60px;
  color: var(--text-color);
}
@media (max-width: 540px) {
  .event-info {
    flex-direction: column;
  }
}
@media (max-width: 480px) {
  .event-info {
    width: 80%;
  }
}

.event-time,
.event-location {
  display: flex;
  justify-content: center;
  align-items: center;
}

.event-time {
  margin-right: 40px;
}
@media (max-width: 540px) {
  .event-time {
    margin-right: 0;
    margin-bottom: 40px;
  }
}

.event-info .icon {
  margin-right: 20px;
  width: 30px;
  height: 30px;
}

h2 {
  margin: 0 0 50px 0;
  font-size: 32px;
  color: var(--text-color);
  text-align: center;
  font-weight: normal;
}

.bnb-logo {
  max-width: 80%;
  margin-bottom: 70px;
}
@media (max-width: 768px) {
  .bnb-logo {
    max-width: 100%;
  }
}

.accent {
  color: var(--red);
}

.button {
  text-decoration: none;
  position: relative;
  color: var(--button-text-color);
  padding: 15px 80px;
  background-color: var(--button-color);
  font-size: 20px;
}

.intro {
  padding: 70px 20px;
}

.intro p {
  color: var(--text-color);
  text-align: center;
  font-size: 24px;
  line-height: 30px;
  margin: 0 0 20px 0;
}
.intro p:last-child {
  margin-bottom: 0;
}
.intro h2 {
  margin-top: 70px;
}

.text-accent {
  display: inline-block;
  padding: 5px;
}

.text-accent.blue {
  background-color: var(--button-color);
  color: var(--button-text-color);
}

.program {
  background-color: var(--section-background-color);
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media (max-width: 600px) {
  .program {
    align-items: stretch;
  }
}

.program h2,
.about h2,
.register h2,
.intro h2 {
  font-size: 42px;
}

.program-section {
  border: 1px solid var(--border-color);
  width: 500px;
  padding: 0 20px 20px 20px;
  display: flex;
  flex-direction: column;
}
@media (max-width: 600px) {
  .program-section {
    width: auto;
  }
}

.program-section:not(:last-child) {
  margin-bottom: 60px;
}

.program-section-time {
  padding-left: 0;
  display: inline-block;
  text-align: center;
  font-size: 24px;
  color: var(--button-color);
  top: -20px;
  position: relative;
}

.program-section-description {
  text-align: center;
  margin-top: 0;
  list-style: none;
  padding-left: 0;
  font-size: 20px;
  color: var(--text-color);
}

.program-section-description li:not(:last-child) {
  margin-bottom: 10px;
}
@media (max-width: 600px) {
  .program-section-description li:not(:last-child) {
    margin-bottom: 20px;
  }
}

.program-section-time time {
  display: inline-block;
  padding: 5px 10px;
  background-color: var(--section-background-color);
}

.location {
  color: var(--text-color);
  text-decoration: none;
  transition: 0.15s ease-in-out;
}

.location:hover {
  background-color: var(--text-color);
  color: var(--section-background-color);
}

.date {
  cursor: pointer;
  transition: 0.15s ease-in-out;
}

.date:hover {
  background-color: var(--text-color);
  color: var(--section-background-color);
}

.location a:hover .location {
  background-image: url(../img/map-preview.png);
  background-repeat: no-repeat;
  background-color: rgba(0, 0, 0, 0.4);
  background-blend-mode: soft-light;
}
.date-and-location {
  width: 800px;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  color: var(--text-color);
}
@media (max-width: 800px) {
  .date-and-location {
    width: 100%;
  }
}
@media (max-width: 768px) {
  .date-and-location {
    flex-direction: column;
    align-items: center;
  }
}

.date-and-location .icon {
  margin-bottom: 40px;
  width: 40px;
  height: 40px;
}
.date-and-location .label {
  font-size: 26px;
}
.date-and-location p {
  text-align: center;
  font-size: 18px;
  line-height: 24px;
  margin-bottom: 0;
}

.date-and-location .date,
.date-and-location .location {
  border: 1px solid var(--border-color);
  width: 320px;
  height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
@media (max-width: 768px) {
  .date-and-location .date {
    margin-bottom: 40px;
  }
  .date-and-location .date,
  .date-and-location .location {
    width: 280px;
    height: 280px;
  }
}
@media (max-width: 480px) {
  .date-and-location .date,
  .date-and-location .location {
    width: 100%;
  }
}

.about {
  padding-bottom: 40px;
}

.register {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.register ul {
  width: 500px;
  list-style: none;
  font-size: 18px;
  padding: 40px;
  background-color: var(--section-background-color);
  border-radius: 3px;
  border: 1px solid;
  box-shadow: 0 13px 0 -7px var(--light-border-color);
}
@media (max-width: 600px) {
  .register ul {
    padding: 20px;
    width: auto;
  }
}
.register li:not(:last-child) {
  margin-bottom: 10px;
}

.registration-info {
  padding: 0 20px;
  max-width: 780px;
  text-align: center;
  font-size: 20px;
  line-height: 24px;
  color: var(--text-color);
}
.registration-info span {
  color: var(--red);
  text-decoration: underline;
}

.registration-instructions {
  line-height: 28px;
  text-align: center;
  max-width: 780px;
  color: var(--button-color);
  font-size: 22px;
}

.footer {
  height: 120px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
@media (max-width: 600px) {
  .footer {
    height: auto;
    display: flex;
    flex-direction: column-reverse;
    padding: 20px;
  }
}
.footer img {
  height: 80px;
}
@media (max-width: 600px) {
  .footer img {
    margin-bottom: 20px;
  }
}

.copyright {
  position: absolute;
  left: 20px;
  font-size: 16px;
  margin-top: 0;
  color: var(--text-color);
}
@media (max-width: 600px) {
  .copyright {
    position: relative;
    left: auto;
  }
  .copyright span {
    text-align: center;
  }
}
.copyright span {
  margin-top: 10px;
  display: block;
  font-size: 12px;
  color: var(--light-border-color);
}

@media (max-width: 600px) {
  .section {
    padding: 80px 20px;
  }
}
