*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-size: 16px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #6d6d6d;
  font-family: "Times New Roman", Times, serif;
  position: relative;
  text-align: justify;
}

.italic {
  font-style: italic;
}

.nav {
  width: 70%;
  display: block;
  position: fixed;
  top: 0;
  z-index: 10;
  margin: 0 auto;
  padding: 10px;
  height: 60px;
  background-color: #fff;
  border-bottom: 2px solid #002060;
  margin-bottom: 50px;
}

.nav__list {
  display: flex;
  height: 40px;
  justify-content: space-evenly;
  align-items: center;
  list-style: none;
}

.nav__list--item button {
  background: transparent;
  border: none;
  font-size: 18px;
  color: #242424;
  cursor: pointer;
  transition: all 0.3s;
}

.nav__list--item button:hover,
.nav__list--item button:focus {
  font-size: 20px;
  text-decoration: underline #c00000 2px;
}

.hero__img {
  display: block;
  width: 70%;
  margin: 0 auto;
  margin-bottom: 32px;
}

hero {
  width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
}

.heading {
  display: flex;
  flex-direction: column;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  margin-bottom: 32px;
}

.heading__main {
  font-size: 32px;
  color: #002060;
  margin-bottom: 10px;
}

.heading__secondary {
  font-size: 24px;
  color: #c00000;
}

h2 {
  width: 70%;
  display: flex;
  justify-content: space-between;
  font-size: 22px;
}

.intro {
  width: 70%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}

.intro a {
  color: #002060;
  text-decoration: none;
}

.intro a:hover {
  text-decoration: underline;
}

.agenda {
  margin-bottom: 40px;
}

.agenda__heading {
  font-size: 24px;
  text-align: center;
  margin-bottom: 20px;
  color: #002060;
}

.agenda__group {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
}

.time {
  color: #242424;
  font-weight: bold;
}

.activity {
  margin-bottom: 8px;
  color: #002060;
  font-weight: 600;
}

.agenda__speaker {
  margin-bottom: 8px;
}

.agenda__speaker strong {
  color: #3a3a3a;
}

.activity__description {
  color: #3a3a3a;
  text-decoration: underline 1px #a7a7a7;
  margin-bottom: 8px;
}

.activity__panel {
  color: #c00000;
  font-weight: bold;
}

.panels {
  width: 70%;
  margin-bottom: 50px;
}

.panel {
  position: relative;
  margin-bottom: 30px;
}

.panel::after {
  content: "";
  width: 100%;
  height: 1px;
  background-color: gray;
  position: absolute;
  bottom: -14px;
}

.panel:last-child::after {
  display: none;
}

.panel h3 {
  color: #002060;
  margin-bottom: 10px;
}

.panel__info {
  margin-bottom: 14px;
}

.panel__collapsible {
  width: 100%;
  padding: 8px 20px;
  display: flex;
  justify-content: space-between;
  background-color: #002060;
  color: #fff;
  font-weight: bold;
  margin-bottom: 8px;
}

.panel__collapsible:hover {
  cursor: pointer;
}

.panel__content {
  line-height: 1.3;
  max-height: 0px;
  overflow: hidden;
  transition: all 0.3s;
}

.active.panel__content {
  visibility: visible;
  opacity: 1;
  max-height: fit-content;
}

.speakers,
.moderators {
  width: 70%;
  display: flex;
  flex-direction: column;
  gap: 46px;
  margin-bottom: 60px;
}

.speakers__heading,
.moderators__heading {
  color: #002060;
  text-align: center;
  font-size: 24px;
}

.speaker,
.moderator {
  display: flex;
  gap: 32px;
}

.speaker__link {
  text-decoration: none;
  color: #6d6d6d;
  line-height: 2;
}

.speaker__link:hover {
  text-decoration: underline;
}

.speaker__img,
.moderator__img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  aspect-ratio: 1/1;
  object-position: 50% 10%;
  align-self: flex-start;
  border-radius: 4px;
}

.speaker strong,
.moderator strong {
  font-size: 18px;
  margin-bottom: 2px;
}

.moderators h4,
.speakers h4 {
  font-size: 20px;
  color: #242424;
  margin-bottom: -20px;
}

.location {
  width: 70%;
  margin-bottom: 40px;
}

.location__heading {
  text-align: center;
  font-size: 26px;
  color: #002060;
  margin-bottom: 10px;
}

.location p {
  text-align: center;
  margin-bottom: 16px;
}

.location img {
  width: 90%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.registration {
  width: 70%;
  margin-bottom: 50px;
}

.registration h3 {
  text-align: center;
  font-size: 28px;
  color: #002060;
  margin-bottom: 12px;
}

.registration p {
  width: 80%;
  margin: 0 auto;
  margin-bottom: 20px;
}

.registration a {
  text-decoration: none;
  color: #002060;
  font-weight: bold;
}

.registration a:hover {
  text-decoration: underline;
}

.registration__form {
  display: block;
  margin: 0 auto;
  width: 70%;
}

.agenda-offset-point,
.speakers-offset-point,
.location-offset-point,
.registration-offset-point {
  height: 24px;
}

@media (max-width: 900px) {
  hero,
  .nav,
  .intro,
  .agenda,
  .panels,
  .speakers,
  .moderators,
  .location,
  .registration {
    width: 90%;
  }

  .hero__img {
    width: 90%;
  }

  hero h2 {
    width: 90%;
    font-size: 18px;
  }

  hero h2 span {
    max-width: 50%;
    text-align: center;
  }

  .registration__form {
    width: 100%;
  }
}

@media (max-width: 707px) {
  body {
    font-size: 14px;
  }

  .nav {
    width: 95%;
  }

  hero {
    margin-top: 40px;
  }

  .heading__main {
    font-size: 26px;
  }

  .heading__secondary {
    font-size: 20px;
  }

  .agenda__heading {
    font-size: 22px;
  }
}

@media (max-width: 586px) {
  .heading__main {
    font-size: 18px;
  }

  .heading__secondary {
    font-size: 16px;
  }

  hero h2 {
    font-size: 14px;
  }

  .agenda__heading {
    font-size: 16px;
  }

  .panel__collapsible {
    padding: 4px 10px;
    font-size: 11px;
  }
}

@media (max-width: 475px) {
  body {
    font-size: 10px;
  }

  hero,
  .intro,
  .panels,
  .speakers,
  .moderators,
  .location,
  .registration {
    width: 95%;
  }

  .nav {
    width: 100%;
  }

  .nav__list--item button {
    font-size: 12px;
  }

  .nav__list--item button:hover,
  .nav__list--item button:focus {
    font-size: 14px;
  }

  .agenda {
    width: 98%;
  }

  .hero__img {
    width: 95%;
  }

  hero h2 {
    width: 95%;
  }

  .heading__main {
    font-size: 14px;
  }

  .heading__secondary {
    font-size: 12px;
  }

  hero h2 {
    font-size: 9px;
  }

  .agenda__heading {
    font-size: 12px;
  }

  .activity__panel {
    font-size: 10px;
  }

  .agenda__group {
    gap: 10px;
  }

  .time {
    font-size: 8px;
  }

  .panel__collapsible {
    padding: 1px 8px;
    font-size: 9px;
  }

  .activity__panel {
    font-size: 10px;
  }

  .panels h3 {
    font-size: 12px;
  }

  .speakers__heading {
    font-size: 14px;
    margin-bottom: -20px;
  }

  .speaker,
  .moderator {
    gap: 20px;
  }

  .speaker__img,
  .moderator__img {
    width: 70px;
    height: 70px;
  }

  .speaker__info strong,
  .moderator__info strong {
    font-size: 12px;
  }

  .moderators__heading {
    font-size: 14px;
    margin-bottom: -20px;
  }

  .moderators h4,
  .speeakers h4 {
    font-size: 12px;
  }

  .location__heading,
  .registration__heading {
    font-size: 14px;
  }

  .registration__form {
    width: 98%;
  }
}
