:root {
  --primary-color: white;
  --secondary-color: #32ffff;

  --light-secondary-color: #32ffff33;
  --light-red: rgba(255, 109, 86, 0.2);
  --light-purple: rgba(168, 77, 255, 0.2);

  --primary-accent-color: rgb(168, 77, 255);
  --secondary-accent-color: rgb(255, 109, 86);
  --tertiary-accent-color: #ffff61;
  --dark-purple-color: rgb(45, 57, 255);

  --title-color: black;
  --text-color: #313030;
  --bg-color: black;

  --br-radius: 0.5rem;

  --sm-text-size: 0.95rem;
  --text-size: 1rem;
  --regular-text-size: 1.15rem;
  --title-size: 6.5rem;
  --small-title-size: 4.5rem;
  --subtitle-size: 1.5rem;
  --title-weight: bold;
  --light-weigth: 300;

  --font-main: 'Montserrat', sans-serif;
  --font-title: 'Bebas Neue', cursive;

  /*Media*/
  --max-xs: 575.99px;
  --min-sm: 576px;
  --max-sm: 767.99px;
  --min-md: 768px;
  --min-lg: 960px;
  --min-xl: 1200px;
  --min-xxl: 1500px;
}

body::-webkit-scrollbar {
  width: 1.5em;
}
body::-webkit-scrollbar-track {
  background: hsl(0, 1%, 95%);
  border-radius: 100vw;
}

body::-webkit-scrollbar-thumb {
  background-image: linear-gradient(
    var(--secondary-accent-color),
    var(--primary-accent-color),
    var(--dark-purple-color)
  );
  border-radius: 100vw;
  margin-block: 0.5em;
  border: 0.25rem solid hsl(0, 1%, 99%);
  height: 190px;
}

body {
  font-size: var(--regular-text-size);
  font-family: var(--font-main);
  max-width: 1440px;
  color: var(--text-color);
}
html {
  scroll-behavior: smooth;
}

body,
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  margin: 0 auto;
}

/* header */

.menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 80px;
  line-height: 80px;
  overflow: hidden;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  padding: 0 1rem;
  z-index: 99;
  background-color: var(--primary-color);
}
.nav-list {
  display: flex;
  flex-direction: row;
  font-size: var(--text-size);
  list-style: none;
  height: auto;
  width: 70%;
  text-align: right;
  justify-content: space-between;
  align-items: center;
}

.nav-toggle {
  background: transparent;
  outline: transparent;
  border: transparent;
  cursor: pointer;
  display: none;
}

.nav-item a {
  padding: 0.25rem;
  font-size: var(--regular-text-size);
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
  border: 5px solid transparent;
}
.nav-item a:hover,
.nav-item a:focus,
.nav-item a:active {
  border: 5px solid var(--secondary-color);
}
.nav-item:nth-child(1) a {
  display: flex;
  justify-content: center;
  align-items: center;
}
.nav-item:last-child a {
  background-color: var(--secondary-color);
  padding: 0.35rem;
}
a {
  text-decoration: none;
  color: var(--text-color);
}
.color-text {
  font-weight: 600;
  font-size: var(--subtitle-size);
  background-image: linear-gradient(
    to left,
    var(--secondary-color),
    var(--primary-accent-color),
    var(--tertiary-accent-color),
    var(--secondary-accent-color),
    var(--dark-purple-color)
  );
  -webkit-background-clip: text;
  -moz-background-clip: text;
  background-clip: text;
  color: transparent;
  padding: 0.5rem 0;
}
/* sections */

main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
section {
  display: flex;
  flex-direction: row;
  min-height: fit-content;
  justify-content: space-around;
  align-items: center;
  padding: 2rem;
  width: 100%;
  margin: 0;
  min-height: fit-content;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
}
section > * {
  flex: 1;
}

article {
  display: flex;
  flex-direction: column;
}

/* hero */

.hero {
  max-width: 1200px;
}

.hero-info {
  padding: 5%;
}

.hero-img {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  padding-right: 2rem;
}
.hero-img img {
  max-width: 450px;
  width: 100%;
  height: auto;
}
.website {
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  font-size: var(--sm-text-size);
  letter-spacing: 0.5px;
  font-weight: 600;
  color: var(--title-color);
}
.title {
  font-family: var(--font-title);
  font-size: var(--title-size);
  line-height: 0.85;
  letter-spacing: 5px;
  color: var(--title-color);
}

.subtitle {
  text-transform: uppercase;
  padding: 0.45rem 0.6rem;
  background-color: var(--bg-color);
  color: var(--primary-color);
  width: fit-content;
  font-size: var(--text-size);
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 1rem;
}
.add-info {
  background: var(--bg-color);
  color: var(--primary-color);
  padding: 1rem 0.6rem;
  padding-right: 1rem;
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: var(--text-size);
}
.data {
  font-weight: bold;
}
.hour {
  padding: 0.5rem 0;
}
/* cta */

.cta {
  flex-direction: column;
  line-height: 2;
  margin-bottom: 1rem;
  max-width: 1200px;
}
.cta h2 {
  font-size: var(--subtitle-size);
}
.hs3-logo {
  width: 260px;
  margin: 2rem;
  padding: 0.5rem;
}

.cta-link {
  font-size: var(--subtitle-size);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: bold;
  background-color: var(--primary-color);
  padding: 1rem 2.25rem;
  outline: transparent;
  border: 13px solid var(--secondary-color);
  cursor: pointer;
  margin-bottom: 1.5rem;
}
.cta-text {
  text-align: center;
}
.strong {
  font-weight: bold;
}

/* about */
.about {
  display: flex;
  flex-wrap: wrap;
  padding-top: 100px;
  max-width: 1200px;
}

.lead-info {
  flex-basis: 400px;
  height: fit-content;
  background-color: var(--light-secondary-color);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 1.5rem 5%;
}

.lead-info h2,
.mission h2 {
  font-size: var(--subtitle-size);
}

.lead-info p {
  line-height: 2;
}
.mission {
  flex-basis: 700px;
  padding: 5%;
  line-height: 2;
  font-size: var(--regular-text-size);
}
.mission h3 {
  font-weight: 600;
}
.lists-wrapper {
  display: flex;
}

.mission__list {
  padding: 3.5rem;
  font-weight: 500;
}
.mission__list:last-child {
  margin-left: 1rem;
  background-color: var(--light-red);
}
.mission__list:first-child {
  margin-right: 1rem;
}
.mission__list > * {
  font-size: var(--regular-text-size);
}
.mission__list li ul {
  padding-left: 1rem;
}

.mission > .second-subtitle {
  margin: 0;
  margin-bottom: 2rem;
  padding-top: 0;
}

/* schedule */
.schedule {
  padding: 5%;
  padding-top: 100px;
  font-size: var(--regular-text-size);
  max-width: 1200px;
}

.second-subtitle {
  width: fit-content;
  font-size: var(--subtitle-size);
  padding: 4rem 0.25rem 1rem;
  text-align: center;
  border-bottom-style: solid;
  border-bottom-width: 13px;
  border-image: radial-gradient(
      var(--secondary-color),
      var(--tertiary-accent-color),
      var(--secondary-accent-color),
      var(--primary-accent-color),
      var(--dark-purple-color),
      var(--secondary-color),
      var(--tertiary-accent-color),
      var(--secondary-accent-color),
      var(--primary-accent-color),
      var(--dark-purple-color)
    )
    1;
  margin: 0 auto;
  margin-bottom: 4rem;
}

.schedule ol {
  list-style: none;
  counter-reset: item;
}
.schedule li {
  counter-increment: item;
  margin-bottom: 5px;
  display: grid;
  grid-template-columns: 10rem 1fr;
  grid-template-rows: auto;
  margin: 1.5rem 0;
}
.schedule li::before {
  margin-right: 3rem;
  content: counter(item);
  background-image: linear-gradient(
    to left,
    var(--secondary-color),
    var(--primary-accent-color),
    var(--secondary-accent-color),
    var(--dark-purple-color)
  );
  -webkit-background-clip: text;
  -moz-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: var(--small-title-size);
  font-weight: bold;
  width: 7rem;
  height: 7rem;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.schedule__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  margin-left: 3rem;
}
.schedule__speaker {
  font-size: var(--subtitle-size);
  padding: 1rem 0;
}
.schedule__title {
  font-size: var(--subtitle-size);
  font-weight: bold;
}
.description-inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(5, 1fr);
  column-gap: 3rem;
  row-gap: 1.5rem;
  grid-template-areas:
    'first .'
    ' first second '
    ' first second '
    ' . second '
    ' third third';
}
.first {
  grid-area: first;
}
.second {
  grid-area: second;
}
.third {
  grid-area: third;
}

.text {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  line-height: 2;
}
.text:last-of-type {
  margin-bottom: 1.5rem;
}
.bg-purple {
  background-color: var(--light-purple);
  padding: 1.5rem 5%;
}
.bg-purple > .text:last-of-type {
  margin-bottom: 0;
}
.video {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  padding-top: 25px;
  height: 0;
}
.video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* speakers */
.speakers {
  padding: 5%;
  font-size: var(--regular-text-size);
  max-width: 1200px;
  width: 100%;
  margin-bottom: 0;
  padding-bottom: 0;
  padding-top: 100px;
}

.speakers-wrapper {
  padding: 4rem 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-content: space-between;
  width: 100%;
}

article.speaker {
  margin: 2rem auto;
  max-width: 400px;
  width: 100%;
  justify-content: space-between;
  padding-right: 1.5rem;
  padding-bottom: 1.5rem;
  padding-left: 0.25rem;
  padding-top: 0.25rem;
  border-bottom-style: solid;
  border-right-style: solid;
  border-width: 13px;
  border-image: radial-gradient(
      var(--secondary-color),
      var(--tertiary-accent-color),
      var(--secondary-accent-color),
      var(--primary-accent-color),
      var(--dark-purple-color),
      var(--secondary-color),
      var(--tertiary-accent-color),
      var(--secondary-accent-color),
      var(--primary-accent-color),
      var(--dark-purple-color)
    )
    1;
}

.img-wrapper {
  display: block;
  max-width: 120px;
  max-height: 120px;
}
.img-wrapper img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
}

.speaker-row {
  display: flex;
  align-items: center;
  padding-bottom: 2rem;
}
.speaker-about {
  width: fit-content;
  margin-left: 2rem;
}
.speaker-name {
  font-size: var(--subtitle-size);
  font-weight: 500;
  padding-bottom: 0.75rem;
}

.speaker-info {
  line-height: 1.5;
  font-size: var(--text-size);
}
.more {
  margin: 1rem auto;
  padding: 0.5rem 0.25rem 0.25rem;
  font-weight: 500;
  cursor: pointer;
  color: var(--secondary-accent-color);
  font-size: var(--text-size);
}

/* single speaker*/
.single-speaker {
  padding: 5%;
  font-size: var(--regular-text-size);
  max-width: 1100px;
  display: grid;
  grid-template-columns: 10rem 30% 1fr;
  grid-template-rows: repeat(2, auto);
  grid-template-areas:
    'img about s-m'
    '. text text';
  border-bottom-style: solid;
  border-bottom-width: 13px;
  border-image: radial-gradient(
      var(--secondary-color),
      var(--secondary-accent-color),
      var(--primary-accent-color),
      var(--dark-purple-color),
      var(--secondary-color),
      var(--secondary-accent-color),
      var(--primary-accent-color),
      var(--dark-purple-color)
    )
    1;
  margin-bottom: 1rem;
}
.single-img {
  display: flex;
  grid-area: img;
  grid-column: 1/2;
  grid-row: 1/2;
  margin: 1rem 0;
}
.single-company {
  font-weight: 600;
}
.single-about {
  grid-area: about;
  grid-column: 2/3;
  grid-row: 1/2;
}
.single-about > .subtitle {
  width: fit-content;
}
.speaker-socials {
  grid-area: s-m;
  grid-column: 3 /4;
  grid-row: 1/2;
  padding: 2rem 5%;
}
.single-text {
  grid-area: text;
  grid-column: 2/4;
  grid-row: 2/3;
  padding: 0.5rem;
  line-height: 1.5;
}
.lecture {
  display: flex;
  flex-direction: column;
  padding: 5%;
  font-size: var(--regular-text-size);
  max-width: 1100px;
}

.lecture p {
  line-height: 1.5;
}
.lecture > .subtitle {
  width: fit-content;
}

/* partners */
.partners {
  padding: 5%;
  font-size: var(--regular-text-size);
  max-width: 1440px;
  margin: 0 auto;
  padding-top: 100px;
}

.first-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  max-width: 650px;
  width: 100%;
  margin: 2rem auto;
  padding-top: 5%;
}

.logo-main {
  display: block;
  width: 160px;
  height: 160px;
  cursor: pointer;
}

.logo-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.second-row {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: space-around;
  flex-wrap: wrap;
}

.logo-next {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 220px;
  height: 120px;
  cursor: pointer;
  margin: 0.75rem 1.5rem;
}
.logo-next img {
  width: 75%;
  height: 100%;
  object-fit: contain;
}

/* footer */

footer {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
  height: max-content;
  padding: 1rem 2rem 2rem;
  justify-content: center;
  background-color: var(--text-color);
  color: var(--primary-color);
}
footer .hs3-logo {
  width: 150px;
}
.sm-logo {
  padding: 1rem;
}

/* media queries */
@media (max-width: 960px) {
  :root {
    --sm-text-size: 0.75rem;
    --text-size: 0.85rem;
    --regular-text-size: 1rem;
    --title-size: 4.5rem;
    --subtitle-size: 1.5rem;
    --small-title-size: 3.75rem;
  }

  .menu-mobile {
    height: 360px;
    line-height: 40px;
    display: grid;
    justify-content: space-between;
    grid-template-columns: 1fr min-content;
    grid-template-rows: 80px min-content;
    grid-template-areas:
      'logo logo menu'
      '. list list';
    box-shadow: 3px 3px 3px rgba(49, 48, 48, 0.3);
  }
  .brand {
    grid-area: logo;
  }
  .nav-toggle {
    margin: 0;
    grid-area: menu;
    display: flex;
    justify-content: flex-end;
  }
  .nav-list {
    display: none;
    grid-area: list;
  }
  /* .nav-list {
    height: 0;
    overflow: hidden;
  } */
  .show-links {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: end;
    grid-area: list;
    text-align: end;
    width: 100%;
    line-height: 40px;
  }

  .subtitle {
    width: min-content;
  }

  .lists-wrapper {
    flex-direction: column;
  }
  .speakers-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2%;
  }
  .single {
    width: max-content;
  }
  .speaker-socials {
    display: inline-flex;
    justify-content: space-evenly;
    align-items: center;
  }
  .speaker-socials > .sm-logo {
    padding: 0.45rem;
  }
}

@media (max-width: 768px) {
  :root {
    --sm-text-size: 0.75rem;
    --text-size: 0.85rem;
    --regular-text-size: 1rem;
    --title-size: 3.25em;
    --subtitle-size: 1.15rem;
    --small-title-size: 3rem;
  }

  section {
    flex-direction: column-reverse;
    padding-top: 0;
    max-width: 450px;
    margin: 0 auto;
  }
  section.about {
    flex-direction: column;
    padding: 5%;
  }
  .mission {
    flex-basis: auto;
    line-height: 1.5;
    margin: 0 auto;
  }
  .mission__list {
    padding: 1.5rem 2.5rem;
  }
  .mission__list:last-child {
    margin-left: 0;
  }
  .mission__list:first-child {
    margin-right: 0;
  }
  .color-text {
    font-size: 1.5rem;
  }
  .lead-info > .color-text {
    font-size: 1.5rem;
  }
  .hero-img img {
    max-width: 250px;
    margin-top: 0;
    margin-bottom: 1rem;
  }
  .hero-info {
    max-width: 400px;
    padding: 5%;
  }
  .subtitle {
    width: min-content;
  }
  .lead-info {
    max-width: 400px;
    width: 100%;
  }
  .schedule li {
    margin: 0.75rem 0.25rem;
    grid-template-columns: 3rem 1fr;
  }
  .schedule li::before {
    margin-right: 1.5rem;
    width: 3rem;
    height: 5rem;
  }

  .schedule__info {
    margin-left: 0;
  }
  .schedule li::before {
    justify-content: left;
    /* width: 100%; */
    margin-right: 0;
    margin: 0 auto;
  }
  .description-inner {
    display: flex;
    flex-direction: column;
  }
  .speaker-about {
    width: fit-content;
    margin-left: 1rem;
  }
  .single-about {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .img-wrapper img {
    max-width: 120px;
    max-height: 120px;
  }
  .single-speaker {
    display: flex;
    flex-direction: column;
  }

  .single-text {
    margin-top: 1rem;
  }
}
