/* https://design.chicago.gov/typography/ */
@font-face {
  font-family: 'BigShoulders';
  font-weight: 900;
  src: url('./fonts/BigShouldersText-Black.woff') format('woff');
}

@font-face {
  font-family: 'Roboto';
  font-weight: 300;
  src: url('./fonts/Roboto-Light.woff') format('woff');
}

@font-face {
  font-family: 'Roboto';
  font-weight: 400;
  src: url('./fonts/Roboto-Regular.woff') format('woff');
}

@font-face {
  font-family: 'Roboto';
  font-weight: 500;
  src: url('./fonts/Roboto-Medium.woff') format('woff');
}

@font-face {
  font-family: 'Roboto';
  font-weight: 700;
  src: url('./fonts/Roboto-Bold.woff') format('woff');
}

html {
  scroll-behavior: smooth;
}

body {
  --chicago-blue: #bdddf0;
  --chicago-red: #ea3323;
  --blue-text: #00b3e0;
  --page-content-max-width: 1200px;
  --page-content-width: 95%;
  --mobile-collapse-width: 600px;
  --regular-font-size: 24px;
  --smaller-font-size: 22px;
  --even-smaller-font-size: 20px;
  --default-font-color: rgba(0, 0, 0, 0.7);
  margin: 0 0 30px 0;
  font-family: Roboto, Arial, Helvetica, sans-serif;
  font-weight: 300;
  font-size: var(--regular-font-size);
  line-height: 1.6;
  color: var(--default-font-color);
}

h2 {
  font-family: 'BigShoulders';
  color: var(--chicago-red);
  font-size: 28px;
}

section {
  margin-bottom: 80px;
}

a {
  color: inherit;
}

a:hover {
  color: var(--chicago-red);
}

li {
  margin-top: 10px;
}

nav {
  margin-top: 20px;
  height: 50px;
  --border-weight: 15px;
  --border: var(--border-weight) solid var(--chicago-blue);
  border-top: var(--border);
  border-bottom: var(--border);
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 400;
}

nav > div {
  width: var(--page-content-width);
  max-width: var(--page-content-max-width);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav h1 {
  font-family: 'BigShoulders', Arial, Helvetica, sans-serif;
  font-weight: 900;
  color: var(--chicago-red);
  font-size: 30px;
}

.nav-left {
  flex: 0 0 auto;
}

.nav-left a {
  text-decoration: none;
}

.nav-right {
  max-width: 400px;
  margin-left: 20px;
  flex: 1 1 auto;
  display: flex;
  justify-content: space-between;
}

.nav-right > a {
  line-height: 1;
  vertical-align: middle;
  display: flex;
  align-items: center;
  color: var(--chicago-red);
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 20px;
  text-decoration: none;
}

.nav-right > a:hover {
  text-decoration: underline;
}

.socials {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.socials a {
  text-decoration: none;
  margin-left: 15px;
  display: flex;
  align-items: center;
}

.socials a:first-of-type {
  margin-left: 0;
}

.socials img {
  --size: 25px;
  width: var(--size);
  height: var(--size);
}

main {
  width: var(--page-content-width);
  max-width: var(--page-content-max-width);
  margin: 0 auto;
}

.photos {
  margin-top: 80px;
  display: flex;
  justify-content: space-between;
  align-items: start;
}

.promo-img {
  width: 100%;
  border-radius: 10px;
}

.video-container {
  flex: 0 0 28%;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

.event-dates {
  position: absolute;
  top: 0; right: 0; left: 0;
  background-color: rgba(0, 0, 0, 0.5);
  padding-top: 2px;
  font-size: 32px;
}

.event-dates > div:first-child {
  color: white;
  font-family: 'BigShoulders', Arial, Helvetica, sans-serif;
  text-align: center;
  font-size: 32px;
}

.event-dates > div:last-child {
  color: var(--chicago-blue);
  text-align: center;
  font-size: 30px;
  margin-top: -10px;
}

.video-container video {
  width: 100%;
  border-radius: 10px;
}

.carousel {
  flex: 0 0 auto;
  max-width: 64%;
}

#photo-carousel li {
  display: flex;
  align-items: start;
}

#photo-carousel img {
  width: 100%;
  border-radius: 10px;
}

.splide__pagination__page.is-active {
  background: var(--chicago-blue);
}

.about {
  margin-top: 100px;
}

.about p {
  font-weight: 300;
}

.about .event-name {
  font-family: 'BigShoulders', Arial, Helvetica, sans-serif;
  color: var(--chicago-red);
  text-transform: uppercase;
}

.about a:hover {
  color: var(--chicago-red);
}

.schedule {
  font-size: var(--smaller-font-size);
}

.schedule li {
  color: rgba(0, 0, 0, 0.8);
  margin-top: 40px;
}

.schedule li:first-child {
  margin-top: 0;
}

.schedule li > strong {
  /* font-family: 'BigShoulders', Arial, Helvetica, sans-serif; */
}

.schedule li > div {
  margin-top: 20px;
  margin-left: 20px;
  max-width: 700px;
  background-color: #dcf9ff;
  padding: 5px 0;
  border-radius: 10px;
  font-size: var(--even-smaller-font-size);
  color: rgba(0, 0, 0, 0.7);
  overflow: hidden;
  }

.schedule li > div > div:first-child {
  font-size: var(--smaller-font-size);
}

.schedule li p {
  margin-top: 10px;
  margin: 15px;
}

.schedule li > div > div {
  margin: 4px 15px;
}

.schedule li > div > div:first-child {
  margin-top: 6px;
  margin-bottom: 10px;
}

.schedule li > div > div strong {
  /* opacity: 0.95; */
  font-weight: 500;
  color: rgba(0, 0, 0, 0.9);
}

.schedule img {
  display: block;
  width: 100%;
  margin-top: 10px;
}

.schedule .dark {
  background-color: #124988;
  color: rgba(255, 255, 255, 0.8);
}

.schedule .dark strong {
  color: white;
}

.schedule .light {
  background-color: white;
  border: 1px solid rgba(0, 0, 0, 0.2);
}

#product-carousel li {
  display: flex;
  align-items: center;
}

#product-carousel a {
  width: 80%;
  margin: 0 auto;
}

#product-carousel img {
  width: 100%;
  border-radius: 10px;
}

iframe {
  width: 100%;
  max-width: 700px;
  height: 1025px;
  border: none;
}

footer {
  display: flex;
  justify-content: center;
  font-size: 16px;
}

footer a {
  text-decoration: none;
  color: #4dc3ff;
}

footer a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  body {
    --regular-font-size: 20px;
    --smaller-font-size: 18px;
    --even-smaller-font-size: 16px;
  }
}

@media (max-width: 600px) {
  body {
    --regular-font-size: 18px;
    --smaller-font-size: 16px;
    --even-smaller-font-size: 14px;
  }

  h2 {
    font-size: 22px;
  }

  section {
    margin-bottom: 40px;
  }

  nav {
    --border-weight: 10px;
    height: 40px;
    margin-top: 10px;
  }

  nav h1 {
    font-size: 20px;
  }

  ul {
    padding-inline-start: 20px;
  }

  .nav-right {
    margin-left: 10px;
    max-width: 300px;
  }

  .nav-right > a {
    font-size: 16px;
  }

  .socials a {
    margin-left: 10px;
  }

  .socials img {
    --size: 20px;
  }

  .photos {
    margin-top: 30px;
    display: block;
  }

  .skyline-logo {
    display: block;
    max-width: 300px;
    margin: 0 auto;
  }

  .carousel {
    max-width: 100%;
    margin-top: 10px;
  }

  .about {
    margin-top: 50px;
  }

  .schedule li > div {
    margin-left: 0;
  }

  .rules {
    font-size: 16px;
  }
}

@media (max-width: 450px) {

  nav h1 {
    font-size: 18px;
  }

  .nav-right > a {
    font-size: 12px;
  }
}
