/******************************************
/* BASE STYLES - HOME PAGE
/*******************************************/
nav,
#hero,
.speaker--info,
.recording,
.board--members,
.footer--content {
  margin: auto;
  max-width: 112rem;
}

#section-1,
#section-3 {
  background: url("../img/speaker-banner.jpg") 50% 50% repeat;
}

/******************************************
/* LAYOUT
/*******************************************/
#top-section {
  background: url("../img/banner.jpg") 50% 50% no-repeat;
  background-size: cover;
}

/* HERO SECTION STYLES */
#hero {
  padding: 10rem 0;
}

.event--title {
  font-size: 2.5rem;
  font-weight: 500;
  text-align: center;
  color: var(--primary-text);
}

.event--title > span {
  display: block;
  font-weight: 600;
}

.event--date {
  margin: auto;
  width: fit-content;
}

.event--date > span {
  display: block;
  width: 100%;
  padding: 0.5rem 5rem;

  font-size: 1.6rem;
  font-weight: 700;
  text-align: center;
}

.event--date {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.event--day {
  background-color: var(--primary-text);
  color: var(--secondary--text1);
}

.event--year {
  background-color: var(--primary-bg);
  color: var(--primary-text);
  font-size: 2.5rem !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* SECTION 1 - SPEAKER SECTION */
#section-1 {
  position: relative;
  padding: 5rem 1.2rem;
  z-index: 1;
}

.speaker--info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.speaker--img {
  width: 25rem;
  padding: 0.8rem;
  border: 0.1rem solid var(--primary-bg);
  border-radius: 50%;
}

.speaker--details {
  text-align: center;
}

.speaker--title {
  background-color: var(--primary-bg);
  padding: 0.7rem 1rem;

  font-size: 1.5rem;
  color: var(--primary-text);
}

.speaker--name {
  margin: 0.5rem 0;

  font-size: 2.3rem;
  color: var(--secondary--text2);
}

.cross--img {
  display: none;
}

/* SECTION 2 - FORM SECTION */
#section-2 {
  background: url("../img/form-banner.jpg") 50% 50% no-repeat;
  background-size: cover;
  padding: 5rem 0;
}

.section--title-text {
  padding: 1rem 2rem;

  font-size: 1.6rem;
  font-weight: 500;
  text-align: center;
  color: var(--primary-text);
  text-transform: none;
}

form {
  padding: 1.2rem;
}

.form-control {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
}

label {
  display: none;
}

input,
textarea {
  padding: 1.2rem;
  border-radius: 1rem;
  background-color: var(--secondary-bg);
  border: 0.2rem solid var(--outline);
  color: var(--primary-text);
  text-transform: none;
}

input::placeholder,
textarea::placeholder {
  color: #928876;

  text-align: center;
  text-transform: uppercase;
}

input:focus-within,
textarea:focus-visible {
  outline: none;
  border: 0.1rem solid var(--outline);
  color: var(--primary-text);
}

#btn--submit {
  display: block;
  margin: auto;
  background-color: var(--primary-bg);
  border: none;
  border-radius: 3rem;
  padding: 1.2rem 3.5rem;

  font-size: 1.6rem;
  font-weight: 500;
  color: var(--primary-text);
  text-transform: uppercase;
}

#btn--submit:hover {
  text-decoration: underline;
  transform: scale(1.05);
  transition: all 0.4s;
}

/* SECTION 3 - RECORDING SECTION */
#section-3 {
  padding: 7rem 0;
}

.recording {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.recording--img {
  width: 30rem;
}

.recording--instructions {
  width: 100%;
}

.instructions--title {
  margin: 0.5rem 0;
  padding: 3rem;
  background-color: var(--secondary-bg);
}

.instructions--title > h2 {
  color: var(--primary-text);

  text-align: center;
}

.recording--instructions > a {
  display: block;
  margin: auto;
  margin-top: 2rem;
  padding: 1rem 2rem;
  border-radius: 3rem;
  width: fit-content;
  background-color: var(--primary-bg);

  font-weight: 500;
  color: var(--primary-text);

  text-decoration: none;
  text-align: center;
}

.recording--instructions > a:hover {
  text-decoration: underline;
}

/* SECTION 4 - BOARD MEMBERS SECTION */
#section-4 {
  padding: 7rem 0;
  background: url("../img/board-members-banner.jpg") 50% 50% no-repeat;
  background-size: cover;
}

.board--members {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  gap: 1.5rem;
}

.board--member {
  margin-bottom: 2rem;
  width: 45%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 0.2rem;

  line-height: 1.5rem;
  text-align: center;
  color: var(--primary-text);
}

.board--member-img {
  width: 10rem;
  border-radius: 50%;
}

.board--member-name {
  margin: 0.5rem;
  margin-top: 1.5rem;

  font-size: 1.5rem;
  font-weight: 500;
}

.board--member-title {
  font-size: 1.4rem;
  text-transform: none;
}

footer {
  background-color: var(--secondary-bg);
  border-top: 0.1rem solid var(--outline);
  padding: 2rem 1.5rem;
}

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

  color: var(--primary-text);
}

.footer--content > p {
  font-size: 1.4rem;
}

.footer--content > a {
  background-color: var(--primary-text);
  padding: 0.5rem 1.2rem;
  border-radius: 3rem;

  font-size: 1.6rem;
  font-weight: 600;
  color: var(--secondary--text1);

  text-decoration: none;
}

.footer--content > a:hover {
  text-decoration: underline;
}

/******************************************
/* ADDITIONAL STYLES - MEDIA QUERIES
/*******************************************/
@media screen and (min-width: 540px) {
  #section-2 h2,
  form {
    margin: auto;
    max-width: 50rem;
  }

  #section-2 h2 {
    width: 48rem;
  }

  .instructions--title {
    padding: 3rem 9rem;
  }
}

@media screen and (min-width: 640px) {
  .board--member {
    width: 25%;
  }

  .speaker--info {
    flex-direction: row;
    justify-content: center;
  }

  .speaker--details {
    text-align: left;
  }
}

@media screen and (min-width: 768px) {
  .speaker--info {
    gap: 3rem;
  }

  #section-1 {
    overflow: hidden;
  }

  .cross--img {
    display: block;
    margin-left: 3rem;
    margin-bottom: -5rem;
    width: 20rem;
    z-index: -1;
  }

  #section-3 {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }

  .recording {
    flex-direction: row;
    justify-content: center;
  }

  .recording--img {
    z-index: 1;
    width: 40rem;
  }

  .recording--instructions {
    width: max-content;
    margin-left: -10rem;
    margin-right: 3rem;
  }

  .instructions--title {
    padding: 1.5rem;
    padding-left: 9rem;
    padding-right: 15rem;
    text-align: left;
  }

  .instructions--title > h2 {
    width: 22rem;
    text-align: left;
  }
}

@media screen and (min-width: 1024px) {
  .instructions--title {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
}

@media screen and (min-width: 1280px) {
  li.link > a,
  .speaker--title,
  .section--title-text,
  input::placeholder,
  textarea::placeholder,
  #btn--submit,
  .recording--instructions > a,
  .board--member-name,
  .footer--content > p,
  .footer--content > a {
    font-size: 1.8rem;
  }

  .event--title {
    font-size: 3.2rem;
  }

  .event--date > span {
    font-size: 2rem;
  }

  .speaker--info {
    gap: 5rem;
  }

  .speaker--img {
    width: 38rem;
  }

  .speaker--name {
    font-size: 2.8rem;
  }

  .cross--img {
    width: 30rem;
  }

  .recording--img {
    width: 50rem;
  }

  .instructions--title > h2 {
    font-size: 2.4rem;
  }

  .board--member-img {
    width: 12.5rem;
  }

  .board--member-title {
    font-size: 1.5rem;
  }
}

@media screen and (min-width: 1440px) {
  #hero {
    padding-top: 13rem;
    padding-bottom: 13rem;
  }

  #section-1,
  #section-2,
  #section-3,
  #section-4 {
    padding-top: 10rem;
    padding-bottom: 10rem;
  }

  .event--date > span {
    font-size: 2.2rem;
  }

  .event--date > .event--year {
    font-size: 2.5rem;
  }

  .cross--img {
    margin-left: 3rem;
    margin-bottom: -13.5rem;
  }
}
