.page {
  width: 100%;
  background-color: var(--cream);
  padding: 5vh 0 0;
  height: unset;
}

.conferencePage {
  background-color: var(--cream);
  display: flex;
  flex-direction: row;
  max-width: 90%;
  margin: 0 auto;
  align-items: flex-start;
  padding-bottom: 4rem;
  max-width: 1440px;
  width: 90%;
}

.conferencePage .introSection {
  margin: 2rem 0;
}

.footer {
  background-color: var(--yellow);
  margin-bottom: 0;
}

.conferencePage h1 {
  font-size: clamp(5rem, -2.385rem + 7.212vw, 8rem);
  line-height: 1;
}

.conferencePage h2 {
  font-family: var(--header-font);
  font-size: clamp(3rem, 0.538rem + 2.404vw, 4rem);
}

.eventDate,
.btnBookNow {
  font-size: clamp(1.6rem, 0.615rem + 0.962vw, 2rem);
}

.eventDate {
  margin-bottom: 0;
}

.eventLocation {
  margin-bottom: 0;
}

.conferencePage .introSection {
  width: 50%;
  padding: 2rem;
}

.datesSection {
  width: 50%;
  padding-top: 4rem;
  padding-right: 2rem;
  margin-right: 2rem;
  padding-bottom: 4rem;
}

.conferencePage .subtitle {
  font-weight: 700;
  font-size: 2.4rem;
  margin-top: 4rem;
}

.conferencePage .subtext {
  max-width: 100%;
}

ul {
  margin-top: 1rem;
}

.eventWrapper {
  border-bottom: 1px solid var(--black);
}

.eventTopLine {
  width: 100%;
  display: flex;
  flex-direction: row;
  padding: 1rem 0;
}

.eventWrapper:first-child {
  border-top: 1px solid var(--black);
}

.eventDetails {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 50%;
}

.eventButtons {
  display: flex;
  flex-direction: column;
  width: 50%;
  justify-content: center;
  align-content: center;
  align-items: end;
}

.eventButtons .btn {
  margin: 0.5rem auto;
}

.btnBookNow {
  margin-right: 0 !important;
}

.moreInfoBtn {
  padding: 0.6rem 0.8rem;
  color: var(--black);
  margin-left: 2rem;
  box-shadow: none;
}

.moreText {
  text-align: right;
  margin-top: 0.5rem;
  font-size: 1.4rem;
  width: 100%;
  display: flex;
  flex-direction: row;
}

.soldOut {
  background-color: var(--red);
}

.soldOut:hover,
.soldOut::selection {
  scale: 1;
  box-shadow: 0 2px var(--black);
}

.readMore {
  color: var(--red);
  background-color: transparent;
  border: none;
  box-shadow: none;
  font-family: var(--body-font);
  margin-left: 0;
  padding: 0;
  letter-spacing: 0;
}

.moreDetailsShow {
  display: block;
}

.carWrapper {
  margin: 0 auto;
  text-align: center;
}

.car {
  width: clamp(22rem, 20.435rem + 4.348vw, 26rem);
  padding-top: 2rem;
}

.moreEventDetails {
  width: 100%;
  display: flex;
  flex-direction: column;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.moreEventDetailsLeft {
  width: 100%;
  display: flex;
  flex-direction: column;
  padding-right: 1rem;
  padding-bottom: 2rem;
}

.moreEventDetailsRight {
  padding-left: 0;
  padding-bottom: 2rem;
}

.eventSubtitle {
  font-size: clamp(1.6rem, 1.435rem + 0.392vw, 2rem);
  line-height: clamp(2.2rem, 2.067rem + 0.37vw, 2.6rem);
  font-weight: 700;
  font-family: var(--body-font), sans-serif;
  margin-top: 1rem;
}

.venue {
  color: var(--red);
  text-decoration: none;
}

.moreEventDetails p {
  margin-bottom: 1rem;
}

.earlyBird {
  font-style: italic;
}

.price {
  font-weight: 500;
}

.conferencePage h3 {
  font-size: 2.6rem;
  font-weight: 500;
  margin-top: 2rem;
  max-width: 80%;
  padding-bottom: 1rem;
}

.moreEventDetails.expanded {
  opacity: 1;
}

.moreDetails {
  margin: 0 auto;
  max-width: 1440px;
  width: 90%;
}

.topics {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  max-width: 1440px;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 12px;
  padding: 2rem 2rem 6rem 2rem;
  border: 2px solid var(--black);
  box-shadow: 4px 4px var(--black);
  margin: 2rem 4rem;
}

.topics h3 {
  font-size: clamp(2.6rem, 0.6rem + 1.953vw, 3.6rem);
  font-weight: 500;
  margin-top: calc(2rem - 25px);
  max-width: 100%;
  padding-bottom: 2rem;
  font-weight: 700;
}

.topics .subtext {
  max-width: 90%;
}

.topics-headline {
  width: 100%;
  padding-left: 4rem;
  padding-top: 2rem;
}

.left-topics,
.right-topics {
  width: 50%;
  padding: 0 4rem;
  display: flex;
  flex-direction: column;
}

.left-topics {
  border-right: 1.5px dashed var(--black);
}

.subtitle {
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.boxesWrapper {
  margin: 0 auto;
  text-align: center;
  padding-top: 4rem;
}

.boxesImg {
  max-width: 300px;
}

.topicsImgWrapper {
  width: 100%;
}

.topicsImg {
  max-width: 100px;
  position: relative;
  border: 2px solid var(--black);
  border-radius: 50%;
  padding: 1rem;
  text-align: right;
  margin-top: calc(-2rem - 50px);
  background-color: var(--yellow);
  left: -50px;
}

.submittedMsg {
  border-left: 4px solid var(--green);
  padding: 0.2rem 1rem;
  display: none;
}

.earlyBirdBg {
  background-color: #fff;
  padding: 0 2rem;
  margin: 4rem 6rem 4rem 0;
  border: 2px solid var(--red);
  box-shadow: 4px 4px var(--red);
  border-radius: 12px;
}

.earlyBirdBg p {
  font-weight: bold;
}

@media screen and (max-width: 1023px) {
  .page {
    padding: 2rem 0 0;
  }
  .conferencePage {
    flex-direction: column;
    max-width: 100%;
    align-items: center;
    padding: 0 1rem 0;
  }
  .conferencePage .introSection {
    padding: 0;
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
  }
  .conferencePage h1 {
    max-width: 100%;
    font-size: clamp(4rem, 2.914rem + 3.017vw, 6rem);
  }
  .conferencePage h3 {
    max-width: 640px;
    font-size: clamp(2rem, 1.674rem + 0.905vw, 2.6rem);
    line-height: clamp(2.6rem, 2.274rem + 0.905vw, 3.2rem);
  }
  .conferencePage .subtext {
    max-width: 640px;
  }
  .datesSection {
    width: 100%;
    max-width: 640px;
    margin-right: 0;
    padding-right: 0;
    margin-left: 4px;
  }
  .moreDetails {
    max-width: 640px;
    width: 100%;
    padding: 0 2rem 3rem;
    margin-left: -4px;
  }
  .topics {
    margin: 2rem 0 2rem -1rem;
    padding: 2rem;
  }
  .left-topics,
  .right-topics {
    width: 100%;
    padding: 0;
  }
  .left-topics {
    border: none;
  }
  .topics-headline {
    padding-left: 0;
    padding-top: 3rem;
    margin-bottom: -2rem;
  }
  .topicsImg {
    margin-top: calc(-2rem - 32px);
    max-width: 64px;
    left: calc(50% - 32px);
  }
  .boxesImg {
    padding: 0 2rem;
  }
  .map iframe {
    margin-left: 0;
    margin-right: 0;
    background-color: none;
    padding: 0;
    margin: 0;
  }
}

/** Event Details on small mobiles **/

@media screen and (max-width: 480px) {
  .eventTopLine {
    padding: 0.5rem 0;
  }
  .eventDetails {
    width: 60%;
  }
  .eventButtons {
    width: 40%;
  }
  .eventButtons .btn {
    padding: 0.5rem 1rem;
    font-size: 1.4rem;
  }
  .btn.moreInfoBtn {
    font-size: 1.2rem;
  }
  .moreInfoBtn {
    margin-left: 1rem;
  }

  .conferencePage h2 {
    font-size: 2.2rem;
  }
  .map iframe {
    width: 280px;
    height: 193.84615384615384px;
  }
}
