body {
  min-height: 100%;
  background-color: var(--background-color);
  font-family: var(--ff-body);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.6875rem;
  color: var(--font-color-primary);
}

h2 {
  font-family: var(--ff-heading);
  font-size: 1.625rem;
  font-weight: 600;
  line-height: 2.625rem;
  margin: 0 0 1rem;
}

h3 {
  font-family: var(--ff-heading);
  font-size: 1.3125rem;
  font-weight: 600;
  line-height: 2.125rem;
  margin: 0 0 0.8rem;
}

p {
  margin: 0;
}

.button,
button {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  border-radius: 1.5rem;
  cursor: pointer;
  box-sizing: border-box;
  height: 3rem;
  padding: 0 2.25rem;
  font-family: var(--ff-heading);
  font-size: 1.375rem;
  line-height: 1;
  text-decoration: none;
  font-style: normal;
  font-weight: 700;
  align-self: center;
  color: var(--highlight-color);
  background-color: var(--primary-color);
}

.button:hover,
a:hover {
  background-color: var(--primary-color-lighter);
  outline: 0;
}

.button:focus,
a:focus,
.button:active,
a:active,
.button:target,
a:target {
  background-color: var(--primary-color);
  outline: var(--primary-color) solid 0.188rem;
  outline-offset: 0.25rem;
}

/* HEADER */

header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 0 11rem;
  background-color: var(--background-color);
}

.header-inner {
  display: flex;
  width: 100%;
  max-width: 1921px;
  flex-direction: row;
  gap: 0rem;
  filter: drop-shadow(-0.5rem 0 0.5rem rgba(0, 0, 0, 0.01)) 
          drop-shadow(0.5rem 0 0.5rem rgba(0, 0, 0, 0.01))
          drop-shadow(0 0.5rem 0.5rem rgba(0, 0, 0, 0.1));

}

.card {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.75rem;
  max-width: 36.5rem;
  padding: 0 2rem;
  position: relative;
  background-color: var(--secondary-color);
}

.card p {
  max-width: 26rem;
  font-family: var(--ff-heading);
  font-size: 1.688rem;
  font-weight: 400;
  line-height: 2.688rem;
  padding: 0 1rem;
  margin: 0 0 1.25rem;
  text-align: center;
}

.card:after {
  position: absolute;
  content: '';
  background-color: var(--secondary-color);
  top: calc(100% - 0.25px);
  left: 0;
  width: 100%;
  height: 3.375rem;
  clip-path: polygon(-1px 0, calc(100% + 1px) 0, 50% 100%);
}

.ylitse-logo {
  max-width: 16.25rem;
}

nav {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 2.125rem;
}

.art-container {
  width: 100%;
  background: url(../static/img/home-page-background-static.svg);
  background-position: 60% bottom;
  background-repeat: no-repeat;
  background-size: cover;
  height: 57.1875rem;
  position: relative;
  border-left: solid 0.5rem var(--background-color);
}

/* MAIN */

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: -11rem;
}

main > section {
  display: flex;
  width: calc(100% - 4rem);
  justify-content: center;
  padding: 0 2rem;
  margin: 0 0;
  background-color: var(--background-color);
  overflow: hidden;
}

main > section:last-child {
  margin-bottom: 0;
}

section.bg-secondary {
  background-color: var(--secondary-background-color);
}

section.bg-third {
  background-color: var(--secondary-color);
}

section.bg-dark {
  background-color: var(--background-color-dark);
}

section.max-width {
  max-width: calc(1921px - 4rem);
}

/* INFORMATION CONTAINER */

.information {
  display: flex;
  flex-wrap: wrap;
  max-width: 106rem;
  background-color: var(--primary-color);
  border-radius: 1.125rem;
  margin-top: 10.35rem;
  margin-bottom: 6.25em;
}

.information-illustration {
  flex-basis: 66%;
  color: var(--font-color-secondary);
  margin: 4.5rem 0 0;
  position: relative;
  background: url(../static/img/ylitse-middle-illustration.svg);
  background-size: 100% 110%;
  background-position: 0 80%;
  background-repeat: no-repeat;
}

.info-ring {
  display: flex;
  flex-direction: column;
  border: solid 0.625rem var(--secondary-color-darker);
  width: 13.5rem;
  height: 13.5rem;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: absolute;
  top: 2.5rem;
  font-weight: 600;
  line-height: 1.5rem;
}

.info-ring:nth-child(1) {
  left: 50%;
  margin-left: -27rem;
}

.info-ring:nth-child(2) {
  right: 50%;
  margin-right: -24.5rem;
}

.info-ring:before {
  content: '';
  width: 1.375rem;
  height: 1.375rem;
  background: var(--secondary-color-darker);
  border-radius: 50%;
  position: absolute;
  top: 2.313rem;
  right: 0;
}

.info-ring span {
  font-size: 2.8125rem;
  font-weight: 700;
  line-height: 3rem;
}

.information-text {
  flex-basis: 34%;
  color: var(--font-color-secondary);
  margin: 4.5rem 0;
}

.information-text div {
  margin: 0 5.625rem 1rem 0;
}

.information-footer {
  flex-basis: 100%;
  display: flex;
  justify-content: center;
  gap: 1.125rem;
  align-items: center;
  background-color: var(--secondary-color);
  padding: 1.9rem 2rem;
  font-weight: 600;
  border-radius: 0 0 1.125rem 1.125rem;
}

.information-footer p {
  font-size: 1.313rem;
  font-weight: 600;
}

/* MOBILE APP AD*/

.mobile-app-mobile {
  display: none;
}

.mobile-app-desktop {
  align-items: center;
  display: flex;
  margin: -1.5rem auto;
}

.mobile-app-mock-up {
  display: flex;
  width: 100%;
  max-width: 47.56rem;
  min-width: 25.11rem;
}

.app-information {
  padding-bottom: 2.5rem;
  max-width: 47.56rem;
}

.app-buttons {
  display: flex;
  gap: 1.2rem;
}

.app-call-to-action {
  display: flex;
  width: 100%;
  height: auto;
  max-height: 4.7rem;
}

.app-button {
  background: none;
}

.app-button:hover,
.app-button:focus,
.app-button:active,
.app-button:target {
  background-color: transparent;
  background: none;
  outline: none;
}


/* MENTORS */

.mentors {
  max-width: 57rem;
  padding: 4.25rem;
}

.mentors-header {
  margin-bottom: 3.5rem;
}

.mentor-cards {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 2rem;
}

.mentor-card {
  max-width: 27.5rem;
  min-height: 30rem;
  background-color: var(--background-color-light);
  border-radius: 1.125rem;
  position: relative;
  filter: drop-shadow(-0.5rem 0 0.5rem rgba(0, 0, 0, 0.01)) 
          drop-shadow(0.5rem 0 0.5rem rgba(0, 0, 0, 0.01))
          drop-shadow(0 0.5rem 0.5rem rgba(0, 0, 0, 0.01));
}

.mentor-card:before {
  content: '';
  width: 15rem;
  height: 40rem;
  position: absolute;
  bottom: 0;
}

.mentor-card:nth-child(1):before {
  left: -15rem;
  background: no-repeat url(../static/img/mentor-left.svg) bottom right;
}

.mentor-card:nth-child(2):before {
  right: -15rem;
  background: no-repeat url(../static/img/mentor-right.svg) bottom left;
}

.mentor-card-header {
  display: flex;
  height: 6.5rem;
  padding: 1.125rem;
  padding-left: 9rem;
  margin: 0 0 2rem;
  border-radius: 1.125rem;
  color: var(--font-color-secondary);
  background: no-repeat var(--primary-color)
    url(../static/icons/chat-profilepic.svg) 2.5rem center;
  background-size: 5.1875rem;
  flex-direction: column;
  justify-content: center;
}

.mentor-card-header h2 {
  margin: 0;
  line-height: 2rem;
}

.mentor-card-header p {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.mentor-card-content {
  padding: 0 2.75rem 2.75rem;
  text-overflow: ellipsis;
}

.mentor-card-content > div {
  margin-bottom: 1.5rem;
}

.mentor-card-content h3 {
  margin-bottom: 0.8rem;
}

.pill-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.813rem;
}

.pill {
  background: var(--background-color);
  border-radius: 1.5rem;
  padding: 0.35rem 1.2rem;
  box-shadow: 2px 3px 6px 0px #0000000f;
}

.mentor-cards {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 2rem;
}

.mentor-card {
  max-width: 27.5rem;
  min-height: 30rem;
  background-color: var(--background-color-light);
  border-radius: 1.125rem;
  position: relative;
}

.mentor-card:before {
  content: '';
  width: 15rem;
  height: 40rem;
  position: absolute;
  bottom: 0;
}

.mentor-card:nth-child(1):before {
  left: -15rem;
  background: no-repeat url(../static/img/mentor-left.svg) bottom right;
}

.mentor-card:nth-child(2):before {
  right: -15rem;
  background: no-repeat url(../static/img/mentor-right.svg) bottom left;
}

.mentor-card-header {
  display: flex;
  height: 6.5rem;
  padding: 1.125rem;
  padding-left: 9rem;
  margin: 0 0 2rem;
  border-radius: 1.125rem;
  color: var(--font-color-secondary);
  background: no-repeat var(--primary-color)
    url(../static/icons/chat-profilepic.svg) 2.5rem center;
  background-size: 5.1875rem;
  flex-direction: column;
  justify-content: center;
}

.mentor-card-header h2 {
  margin: 0;
  line-height: 2rem;
}

.mentor-card-header p {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.mentor-card-content {
  padding: 0 2.75rem 2.75rem;
  text-overflow: ellipsis;
}

.mentor-card-content > div {
  margin-bottom: 1.5rem;
}

.mentor-card-content h3 {
  margin-bottom: 0.8rem;
}

.pill-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.813rem;
}

.pill {
  background: var(--background-color);
  border-radius: 1.5rem;
  padding: 0.35rem 1.2rem;
  box-shadow: 2px 3px 6px 0px #0000000f;
}

/* GENERAL */

.general {
  max-width: 40rem;
  text-align: center;
  margin: 0 auto;
  padding: 6.25rem 0;
}

.general p {
  margin-bottom: 2.25rem;
}

.general .buttons {
  display: flex;
  justify-content: center;
  gap: 1.688rem;
}

/* FOOTER */

footer {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 3.5rem;
  max-width: 1921px;
  margin: 0 auto;
  background-color: var(--secondary-color-darker);
  color: var(--font-color-primary);
}

footer a {
  display: flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  color: var(--font-color-primary);
}

footer a:hover,
footer a:focus,
footer a:active,
footer a:target {
  background-color: unset;
  outline: none;
}

.footer-text {
  margin-right: 0.8rem;
}

.footer-logo {
  height: 2rem;
  margin-left: 0.8rem;
}

/* MEDIA QUERIES */

@media only screen and (max-width: 1399px) {
  .information-illustration {
    flex-basis: 50%;
    background-size: 36rem 100%;
    background-position: center 7rem;
  }

  .info-ring:nth-child(1) {
    top: 0;
    left: 2.5rem;
    margin-left: 0;
  }

  .info-ring:nth-child(2) {
    top: 0;
    right: 2.5rem;
    margin-right: 0;
  }

  .information-text {
    flex-basis: 50%;
  }
}

/* DESKTOP */

@media only screen and (max-width: 1199px) {
  .information-illustration {
    flex-basis: 50%;
    background-size: 44rem 100%;
    background-position: center 5rem;
  }

  .info-ring {
    width: 8.75rem;
    height: 8.75rem;
    border-width: 0.5rem;
    font-size: 1rem;
    line-height: 1.25rem;
  }

  .info-ring:before {
    top: 1.875rem;
    right: -0.75rem;
  }

  .info-ring span {
    font-size: 2.1875rem;
    line-height: 2.25rem;
  }

  .mobile-app-desktop {
    margin: 1rem auto;
  }

}

/* TABLET */

@media only screen and (max-width: 991px) {
  body {
    font-size: 1rem;
    line-height: 1.5rem;
  }

  h2 {
    font-size: 1.4375rem;
    line-height: 2.25rem;
  }

  h3 {
    font-size: 1.25rem;
    line-height: 2rem;
  }

  .button,
  button {
    font-size: 1.1875rem;
    line-height: 1.875;
  }

  header {
    margin-bottom: 6rem;
  }

  .card {
    max-width: 21.875rem;
  }

  .card img {
    max-width: 13rem;
  }

  .card p {
    max-width: 20rem;
    font-size: 1.125rem;
    line-height: 1.75rem;
  }

  nav {
    flex-direction: column;
    gap: 1.5rem;
  }

  .app-information {
    max-width: none;
  }

  .app-buttons {
    max-width: 25rem;
  }

  .art-container {
    height: 36rem;
    border-left: none;
  }

  .information {
    margin-bottom: 5rem;
  }

  .information-footer p {
    font-size: 1.25rem;
    line-height: 2rem;
  }

  .mentors-header {
    max-width: 35rem;
    margin-bottom: 3.5rem;
  }

  .mentor-card {
    max-width: 20.3125rem;
    min-height: 0;
  }

  .mentor-card:nth-child(1):before {
    background-size: auto 21rem;
  }

  .mentor-card:nth-child(2):before {
    background-size: auto 20.25rem;
  }

  .mentor-card-header {
    background-size: 4.375rem;
    background-position: 1.625rem center;
    padding-left: 7rem;
    margin-bottom: 1.375rem;
  }

  .mentor-card-content {
    padding: 0 1.875rem 1.875rem;
  }

  .mentor-card-content > div {
    margin-bottom: 1.25rem;
  }

  .mentor-card-content h3 {
    margin-bottom: 0.4rem;
  }

  .pill {
    padding: 0.219rem 0.8rem;
  }

  .general {
    max-width: 35rem;
    padding: 2.875rem 0;
  }

  .general p {
    font-size: 1.125rem;
    line-height: 1.6875rem;
  }
}

/* TABLET */

@media only screen and (max-width: 900px) {
  .information-illustration {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    background-size: 30rem auto;
    background-position: -5rem bottom;
  }

  .info-ring {
    position: relative;
  }

  .info-ring:nth-child(1) {
    top: auto;
    left: auto;
  }

  .info-ring:nth-child(2) {
    top: auto;
    right: auto;
  }

  .mobile-app-mock-up {
    min-width: 20.25rem;
  }

}

/* MOBILE */

@media only screen and (max-width: 767px) {
  main {
    margin: 0;
  }

  main > section {
    margin-bottom: 2.5rem;
  }

  p {
    font-size: 1.125rem;
    line-height: 1.6875rem;
  }

  header {
    filter: none;
    margin-bottom: 0;
  }

  .header-inner {
    flex-direction: column-reverse;
  }

  .card {
    max-width: none;
    width: calc(100% - 4rem);
    padding: 30% 2rem 2.5rem;
    margin-top: -30%;
    z-index: 10;
    background: var(--secondary-color);
    background: linear-gradient(
      0deg,
      var(--secondary-color) 0%,
      var(--secondary-color) 75%,
      var(--secondary-color-opacity-50) 85%,
      var(--secondary-color-opacity-0) 100%
    );
  }

  .card p {
    font-size: 1.25rem;
    line-height: 2rem;
  }

  .art-container {
    height: 31rem;
    background-position: 60% bottom;
    background-size: auto 115%;
  }

  section.no-padding-mobile {
    width: 100%;
    padding: 0;
  }

  section.no-margin-mobile {
    margin: 0;
  }

  section.bg-mobile {
    background-color: var(--background-color);
  }


  .information {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    padding-top: 3rem;
    margin: 0;
  }

  .information-illustration {
    flex-basis: 100%;
    display: flex;
    flex-direction: column;
    align-items: end;
    gap: 1rem;
    order: 2;
    padding: 0 2rem 2rem 0;
    margin: 0;
    background-size: contain;
    background-position: -7rem bottom;
  }

  .info-ring {
    position: relative;
  }

  .info-ring:nth-child(1) {
    top: auto;
    left: auto;
  }

  .info-ring:nth-child(2) {
    top: auto;
    right: auto;
  }

  .information-text {
    flex-basis: 100%;
    order: 1;
    margin: 0 2rem 1rem;
  }

  .information-text div {
    margin-right: 0;
  }

  .information-footer {
    flex-direction: column;
    order: 3;
  }

  .mobile-app-mobile {
    display: flex;
    flex-direction: column;
    padding-top: 7rem;
    padding-bottom: 3rem;
  }

  .mobile-app-desktop {
    display: none;
  }

  .mobile-app-mock-up-mobile {
    max-width: 100vw;
    padding: 0 2rem;
  }

  .app-information {
    padding: 0 5rem;
    text-align: center;
  }

  .app-buttons {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 0 3rem;
    max-width: none;
  }

  .app-call-to-action {
    max-height: none;
    max-width: 15rem;
  }

  .mentors {
    overflow: hidden;
    padding: 0 2rem;
  }

  .mentors-header {
    max-width: none;
  }

  .mentor-cards {
    width: calc(100% + 4rem);
    margin-left: -2rem;
    justify-content: start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; 
    -ms-overflow-style: none; 
  }

  .mentor-cards::-webkit-scrollbar {
    display: none; 
  }

  .mentor-card {
    scroll-snap-align: center; 
  }

  .mentor-card:first-child {
    margin-left: 2rem;
  }

  .mentor-cards::after {
    content: "";
    flex: 0 0 0.75rem;
  }

  .mentor-card:before {
    display: none;
  }

  .general {
    max-width: 35rem;
    padding: 2.875rem 0;
  }

  .general p {
    font-size: 1.125rem;
    line-height: 1.6875rem;
  }

  .general .buttons {
    flex-direction: column;
  }

  footer {
    font-size: 1rem;
    line-height: 1.5rem;
    padding: 0.5rem 0 0.4rem;
  }

  .footer-logo {
    font-size: 1rem;
    line-height: 1.5rem;
  }
}

/* SMALL MOBILE */

@media only screen and (max-width: 575px) {
  .card {
    background: linear-gradient(
      0deg,
      var(--secondary-color) 0%,
      var(--secondary-color) 85%,
      var(--secondary-color-opacity-50) 90%,
      var(--secondary-color-opacity-0) 100%
    );
  }
}

/* EXTRA SMALL MOBILE */

@media only screen and (max-width: 330px) {
  .card {
    background: linear-gradient(
      0deg,
      var(--secondary-color) 0%,
      var(--secondary-color) 91%,
      var(--secondary-color-opacity-50) 96%,
      var(--secondary-color-opacity-0) 100%
    );
  }

  .art-container {
    height: 25rem;
  }

  .information-illustration {
    background: none;
    align-items: center;
    padding: 0;
    margin: 0 2rem 2rem;
  }

  .mentor-cards {
    margin-left: -1.25rem;
    gap: 1rem;
  }

  .mentor-card {
    max-width: 18rem;
  }
}
