/* Default css vars */
:root {
  --default-gap: 2.5rem;
  --bigger-gap: 3.75rem;
  --default-component-padding: 4rem 3.75rem;
  --default-component-container-padding: 0 0.75rem;
  --default-side-padding: 3.75rem;
}

details {
  border-radius: 0.625rem;
  border: 1px solid var(--dark-disabled);
  overflow: hidden;

  .details-content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 0 1.25rem 1.25rem;
    overflow: hidden;
  }
  .details-content__text {
    font-size: 1rem;
    letter-spacing: -0.038rem;
    line-height: 1.575rem;
    color: var(--dark-secondary);
  }
}
details[open] > summary::after {
  transform: scaleY(-1);
}
summary {
  font-family: 'Roobert Medium', sans-serif;
  font-size: 1.25rem;
  line-height: 1.65rem;
  letter-spacing: -0.05rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem;
  cursor: pointer;
  gap: 0.75rem;
  color: var(--dark-primary);
}
summary::after {
  content: '';
  min-width: 24px;
  aspect-ratio: 1/1;
  background: url("../icons/dropdown-marker.png") no-repeat;
  background-size: cover;
  transition: 0.3s;
}
summary::-webkit-details-marker {
  display: none;
}

/* General */
.desktop-padding-sides,
.desktop-padding-left {
  padding-left: var(--default-side-padding);
}
.desktop-padding-sides,
.desktop-padding-right {
  padding-right: var(--default-side-padding);
}
@media (max-width: 768px) {
  .desktop-padding-sides,
  .desktop-padding-left {
    padding-left: 0;
  }
  .desktop-padding-sides,
  .desktop-padding-right {
    padding-right: 0;
  }
}

.hr-dotted-blue {
  border-top: dotted 2px var(--blue);
  width: 100%;
}

/* Specific */

/* General reusable */
.block-and-image {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 768px) {
  .block-and-image {
    display: flex;
    flex-direction: column;
  }
}

/* Big Headlines */
.big-headline {
  display: flex;
  justify-content: center;
  background-color: var(--white);
  padding: var(--default-component-padding);
}
.big-headline__container {
  display: flex;
  flex-direction: column;
  width: 65.75rem;
  padding: var(--default-component-container-padding);
  justify-content: center;
  text-align: center;
  gap: var(--default-gap);
}
.big-headline__container__button-container {
  display: flex;
  justify-content: center;
}
@media (max-width: 768px) {
  .big-headline {
    padding: 3rem 1.25rem 3.75rem;
  }
}

/* Small Headlines */
.small-headline {
  display: flex;
  justify-content: center;
  padding: var(--default-component-padding);
  background-color: var(--grey);
}
.small-headline__container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  width: 53.5rem;
  padding: var(--default-component-container-padding);
  gap: var(--default-gap);
}
.small-headline-text {
  display: flex;
  justify-content: center;
  padding: var(--default-component-padding);
  background-color: var(--grey);
}
.small-headline-text__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--default-gap);
  text-align: left;
  width: 53.5rem;
}
@media (max-width: 768px) {
  .small-headline-text,
  .small-headline {
    padding: 3.75rem 1.25rem;
  }
  .small-headline-text__container {
    display: flex;
    flex-direction: column;
    padding: var(--default-component-container-padding);
  }
}


/* Text */
.text { /* right and left padding aren't the same (taken from design) */
  display: flex;
  flex-direction: column;
  padding: 5.5rem 2.75rem 7rem;
  gap: var(--bigger-gap);
  min-height: 22.5rem;
}
.text__container {
  display: flex;
  flex-direction: column;
  gap: var(--default-gap);
}
.text-and-image__image-container {
  width: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  flex-direction: column;
  padding: 5.5rem 0.75rem 7rem 2.688rem;
  height: 100%;
  place-content: end;
  gap: 1.5rem;

  button {
    background-color: var(--white);
    color: var(--black);
  }
}
.text-and-image__image-container__text {
  color: var(--white);
  max-width: 20rem;
}
.text-and-image__image__inline {
  display: none;
}
@media (max-width: 768px) {
  .text {
    padding: 3rem 1.25rem 3.75rem;
    gap: var(--default-gap);
    min-height: 0;
  }
  .text-and-image__image__inline {
    display: flex;
  }
  .text-and-image__image-container {
    min-height: 24.125rem;
    padding: 3rem 1.25rem 3.75rem;
  }
  .text-and-image__image__left-mobile,
  .text-and-image__image__right-mobile {
    display: none;
  }
}

/* Dropdown */
.dropdown {
  display: flex;
  flex-direction: column;
  gap: var(--default-gap);
  padding: 3.75rem 2.688rem 5.5rem;
}
.dropdown__headlines {
  display: flex;
  flex-direction: column;
  gap: var(--default-gap);
}
.dropdown__container {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.dropdown-and-image__image {
  width: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
.dropdown-and-image__image__inline {
  display: none;
}
@media (max-width: 768px) {
  .dropdown {
    padding: 3rem 1.25rem 3.75rem;
  }
  .dropdown-and-image__image__right {
    display: none;
  }
  .dropdown-and-image__image__inline {
    display: block;
  }
  .dropdown-and-image__image{
    min-height: 24.125rem;
  }
}

.faq__toggle::after {
  content: '';
  width: 20px;
  aspect-ratio: 1/1;
  background: url("../icons/dropdown-marker.png") no-repeat;
  background-size: cover;
  transition: 0.3s;
}

/* List and Image */
.list-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 66%;
}
.list-container__entry {
  display: grid;
  grid-template-columns: 2rem auto;
  padding: 0.75rem 0;
  gap: 1.5rem;
}
.list-container__entry__icon-wrapper__icon {
  aspect-ratio: 1 / 1;
  max-width: 2rem;
  min-width: 2rem;
}
.list-container__entry__text {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
@media (max-width: 768px) {
  .list-container {
    max-width: unset;
  }
}

/* Multimedia / Subtopic Menu */
.multimedia {
  display: flex;
  flex-direction: column;
  padding: 5.5rem 4.5rem 7rem;
  gap: 2.5rem;
}
.multimedia__container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.multimedia__container__switcher-container {
  overflow-y: auto;
  height: min-content;
}
.multimedia-video__overlay__switcher,
.multimedia__container__switcher {
  display: flex;
  background-color: var(--blue);
  width: min-content;
  border-radius: 0.875rem;
  height: 2.375rem;
  padding: .25rem;
}
.multimedia-video__overlay__switcher__entry,
.multimedia__container__switcher__entry {
  padding: 0 1.25rem;
  border-radius: 0.625rem;
  border: none;
  text-decoration: none;
  color: var(--white);
  align-content: center;
  height: 100%;
  white-space: nowrap;
}
.multimedia-video__overlay__switcher__entry.selected,
.multimedia__container__switcher__entry.selected {
   background-color: var(--white);
   color: var(--black);
 }
.multimedia__container__content {
  display: none;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
}
.multimedia__container__content.active {
  display: grid;
}
.multimedia__container__content__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.multimedia__container__content__text {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 2rem 2.5rem 0;
  gap: 2.5rem;
}
.multimedia__container__content__text__entry {
  display: flex;
  flex-direction: column;
  gap:1.5rem
}
.multimedia__container__content__text__entry__headline {
  font-family: "Youth Medium", sans-serif;
  font-size: 1.625rem;
  line-height: 1.4625rem;
  letter-spacing: -0.05rem;
}
.multimedia__container__content__text__entry__subheadline {
  font-size: 1.125rem;
  letter-spacing: -0.0375rem;
  line-height: 1.575rem;
}
@media (max-width: 768px) {
  .multimedia {
    display: flex;
    flex-direction: column;
    padding: 2.5rem 1.25rem 3.75rem;
  }
  .multimedia__container__content.active {
    display: flex;
    flex-direction: column;
  }
  .multimedia__container__content__image {
    aspect-ratio: 1 / 1;
  }
  .multimedia__container__content__text {
    padding: 0;
  }
}

/* Multimedia Video */
.multimedia-video {
  background-size: cover;
  background-repeat: no-repeat;
  padding-top: 56.25%;
  overflow: hidden;
  position: relative;
  display: none;

  video {
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    position: absolute;
    padding: 0;
    object-fit: cover;
    cursor: pointer;
  }
}
.multimedia-video.active {
  display: block;
}
.multimedia-video-overlay {
  padding: 0 7%;
  position: absolute;
  top: 0;
  width: 100%;
  transition: opacity .8s ease;
  opacity: 1;
}
.play-button-overlay-container {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  pointer-events: none;

}
.play-button-overlay {
  background-image: url("../icons/player-play.svg");
  background-position: center;
  background-repeat: no-repeat;
  opacity: .5;
  transition: opacity .8s ease;
  backdrop-filter: blur(5px);
  background-color: black;
  background-size: 30%;
  height: 100%;
  pointer-events: none;
}
.play-button-overlay.playing {
  opacity: 0;
}
.multimedia-video-overlay.playing {
  opacity: 0;
  pointer-events: none;
}
.multimedia-video-overlay__container {
  display: flex;
  justify-content: space-between;
  padding: 2.5rem .75rem 1.5rem;
  gap: 1.5rem;
}
.multimedia-video-overlay__container__header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  color: var(--white);
  max-width: 50%;
  pointer-events: none;
}
@media (max-width: 768px) {
  .multimedia-video {
    height: 40rem;
  }
  .multimedia-video-overlay {
    padding: 0;
  }
  .multimedia-video-overlay__container {
    flex-direction: column;
  }
  .multimedia-video-overlay__container__header {
    min-width: 100%;
  }
  .play-button-overlay {
    background-size: 15rem;
  }
}

/* Video */
.video {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.video-overlay {
  padding: 0 7%;
  position: absolute;
  top: 0;
  width: 100%;
  transition: opacity .8s ease;
  opacity: 1;
  pointer-events: none;
}
.video-overlay.playing {
  opacity: 0;
  pointer-events: none;
}
.video-overlay__container {
  display: flex;
  padding: 2.5rem .75rem 1.5rem;
  pointer-events: none;
}
.video-overlay__container__header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  color: var(--white);
}
@media (max-width: 768px) {
  .video-overlay {
    padding: 0;
  }
  .video-overlay__container {
    flex-direction: column;
  }
}

/* Comparison */
.comparison {
  padding: 3rem 4.5rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  background-color: var(--grey);
}
.comparison__entry {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: .75rem;
}
.comparison__entry img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
@media (max-width: 768px) {
  .comparison {
    padding: 3rem 1.25rem 4rem;
    grid-template-columns: 1fr;
  }
}

/* Brand Imagery */
.brand-image {
  background-size: cover;
  background-position: center;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}
.brand-imagery__overlay-content {
  position: absolute;
  color: white;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-imagery__overlay-content__logo {
  width: 25%;
}
.brand-imagery__overlay-content__dot {
  width: 2%;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  position: absolute;
  background-color: var(--white);
}
.brand-imagery__overlay-content__dot__bl,
.brand-imagery__overlay-content__dot__tl {
  left: 2rem;
}
.brand-imagery__overlay-content__dot__br,
.brand-imagery__overlay-content__dot__tr {
  right: 2rem;
}
.brand-imagery__overlay-content__dot__tl,
.brand-imagery__overlay-content__dot__tc,
.brand-imagery__overlay-content__dot__tr {
  top: 2rem
}

.brand-imagery__overlay-content__dot__bl,
.brand-imagery__overlay-content__dot__bc,
.brand-imagery__overlay-content__dot__br {
  bottom: 2rem;
}
@media (max-width: 768px) {
  .brand-imagery__overlay-content__dot__bl,
  .brand-imagery__overlay-content__dot__tl {
    left: 1rem;
  }
  .brand-imagery__overlay-content__dot__br,
  .brand-imagery__overlay-content__dot__tr {
    right: 1rem;
  }
  .brand-imagery__overlay-content__dot__tl,
  .brand-imagery__overlay-content__dot__tc,
  .brand-imagery__overlay-content__dot__tr {
    top: 1rem
  }

  .brand-imagery__overlay-content__dot__bl,
  .brand-imagery__overlay-content__dot__bc,
  .brand-imagery__overlay-content__dot__br {
    bottom: 1rem;
  }
}

/* Contact Form  */
.contact-form__text {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
.contact-form__default {
  background-color: var(--blue);
  background-image: none;
  padding: 4rem 2rem 4rem 4.5rem;
}
.contact-form__image {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  padding: 8rem 2rem 8rem 8rem;
}
.contact-form__text__header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  color: var(--white);
}
.contact-form__text__header-image {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 3rem 1.5rem;
  border-radius: 0.875rem;
  backdrop-filter: blur(5px);
  background-color: #FFFFFF80;
}
.contact-form__text__arguments {
  display: grid;
  grid-template-columns: auto 1fr;
  border-radius: 0.875rem;
  padding: 3.75rem;
  gap: .75rem;
  place-items: center;
  justify-items: flex-start;
  width: max-content;
  background-color: var(--white);
}
.contact-form__text__arguments-image {
  backdrop-filter: blur(5px);
  background-color: #FFFFFF80;
  color: var(--white);
}
.contact-form__text__arguments__icon {
  justify-self: center;
  width: 1.5rem;
  aspect-ratio: 1 / 1;
}
.contact-form__form {
  display: flex;
  flex-direction: column;
  padding: 0rem 8rem 4rem;
  gap: 1.5rem;
}
.contact-form__form__entry {
  display: flex;
  flex-direction: column;
  gap: .5rem;

  label {
    padding-left: 0.625rem;
    line-height: .875rem;
    letter-spacing: 0.01875rem;
    color: var(--dark-primary);
    font-weight: bold;
  }
}
.helper {
  font-weight: normal;
}
@media (max-width: 768px) {
  .contact-form__form,
  .contact-form__text {
    padding: 3rem 1.25rem 4rem;
  }
  .contact-form__text__arguments {
    width: 100%;
    padding: 1.5rem;
  }
  .contact-form__text__header-image {
    width: unset;
  }
}

/* Generic Form */
.generic-form {
  padding: 4rem 8rem 4rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;

  label {
    padding-left: 0.625rem;
    line-height: .875rem;
    letter-spacing: 0.01875rem;
    color: var(--dark-primary);
    font-weight: bold;
    margin-bottom: -1rem;
  }

  .custom-select-wrapper {
    min-width: 250px;
    select {
      font-size: 1rem;
    }
  }
}
.generic-form__marketing-consent {
  display: flex;
  gap: .5rem;
  font-weight: normal !important;
  place-items: start;
}
.generic-form__declaration {
  align-items: center;
  padding: .5rem 0;
  direction: ltr;

  a {
    text-decoration: underline;
    color: #2bb2fc;
  }
}
.generic-form__submit-button {
  display: inline-block;
}
@media (max-width: 768px) {
  .generic-form {
    padding: 7rem 1.25rem 4rem;
  }

}