/* .footer */
footer {
  /* .container fluid */
  margin-inline: auto;
  padding: 0;
  width: 100%;
  /* .footer */
  background-color: black;
  color: white;
}

:is(#footer-contents,
#footer-legal,
#footer-ratings,
#footer-platforms,
#footer-platforms-logos) {
  display: flex;
}

#footer-contents {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  /* .container__fixed.con-padded */
  width: min(100%, 90em);
  padding-block: clamp(80px, 3vmax, 120px);
  padding-inline: clamp(10px, 1.0416666667vmax, 30px);
  margin-inline: auto;
}

.footer-divider {
  width: 1px;
  height: 120px;
  background-color: #222426;
}

@media (max-width: 1280px) {
  #footer-contents {
    gap: 30px;
    justify-content: center;
  }
  #footer-platforms + .footer-divider {
    width: min(90%, 100dvw);
    height: 1px;
  }
  #footer-legal,
  #footer-platforms + .footer-divider {
    flex: 1 0 100%;
  }
}
@media (max-width: 830px) {
  #footer-ratings,
  #footer-platforms,
  .footer-divider {
    flex: 1 0 100%;
  }
  .footer-divider {
    width: min(90%, 100dvw);
    height: 1px;
  }
}
/* platforms */
#footer-platforms {
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  row-gap: 0.625rem; /* 10px */
}

#footer-platforms span {
  text-transform: uppercase;
  font-size: 1.25rem;
}

#footer-platforms-logos {
  flex-direction: row;
  gap: 1.875rem; /* 30px */
}

#footer-platforms-logos figure {
  height: 20px;
}

#footer-platforms-logos img {
  width: auto;
  height: 100%;
}

@media (width > 1920px) {
  #footer-platforms-logos figure {
    height: 1.25rem;
  }
}
@media (max-width: 64em) {
  /* 1024px */
  #footer-platforms {
    text-align: center;
    justify-content: center;
  }
}
@media (max-width: 830px) {
  #footer-platforms,
  #footer-platforms-logos {
    align-items: center;
    justify-content: center;
  }
  #footer-platforms-logos {
    gap: 10px;
  }
}
@media (max-width: 37.5em) {
  /* 600px */
  #footer-platforms,
  #footer-platforms-logos {
    flex-direction: column;
  }
}
/* ratings */
#footer-ratings {
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  gap: clamp(0.625rem, 1.0416666667vmax, 1.875rem);
}

#footer-ratings ul {
  list-style: none;
  font-size: 0.875rem; /* 14px */
  text-align: left;
  margin: 0;
}

#footer-ratings img {
  max-width: 62px;
  height: auto;
}

@media (width > 1920px) {
  #footer-ratings img {
    max-width: unset;
    width: 3.875rem;
  }
}
/* legal */
#footer-legal-grid {
  display: grid;
  grid-template-areas: "sge copyrights copyrights" ". links links";
  column-gap: 30px;
  margin-inline: auto;
}

#footer-legal a:is(:link, :visited, :hover, :active) {
  color: white;
}

#footer-legal img {
  width: 11.25rem;
  /* width: min(100%, 11.25rem); */
  height: auto;
  margin-inline: auto;
}

#footer-legal img[src*=sge] {
  grid-area: sge;
}

#footer-legal p {
  grid-area: copyrights;
  color: #808080;
  font-size: 0.875rem; /* 14px */
  text-align: left;
}

#footer-legal ul {
  grid-area: links;
  list-style: none;
  display: flex;
  column-gap: 2ch;
  row-gap: 1ch;
  text-align: left;
  margin: 0;
  font-size: 0.875rem; /* 14px */
  flex-wrap: wrap;
}

#footer-legal p,
#footer-legal ul {
  /* max-width: 60ch; */
  max-width: 454px;
}

.link-highlight {
  font-weight: 700;
}

@media (width > 1920px) {
  #footer-legal {
    flex-basis: 33dvw;
    flex-basis: 41.5rem;
  }
  #footer-legal p,
  #footer-legal ul {
    max-width: unset;
  }
}
@media (max-width: 830px) {
  #footer-legal-grid {
    grid-template-areas: "sge" "copyrights" "links";
    column-gap: 30px;
    margin-inline: auto;
  }
  #footer-legal p {
    text-align: center;
  }
  #footer-legal ul {
    justify-content: center;
  }
}
@media (max-width: 37.5em) {
  /* 600px */
  #footer-legal {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  #footer-legal ul {
    flex-direction: column;
    gap: 1ch;
    padding-block-start: 2ch;
    text-align: center;
  }
}
.cookieNotice {
  position: fixed;
  inset-block-end: 0;
  inset-inline: 0;
  background-color: #546b8c;
  padding-block: 0.2em;
  padding-inline: 0.5em;
  color: white;
}

.cookieNotice div {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 0.625em;
}

.cookieNotice > div {
  justify-content: space-between;
}

.cookieNotice > div > button {
  flex: 0 0 auto;
  padding: 0;
}

.cookieNotice > div > div {
  flex: 1 1 auto;
}

.cookieNotice > div > div button {
  border: 1px solid white;
  padding-block: 0.2em;
}

@media (max-width: 37.5em) {
  .cookieNotice > div > div {
    flex-direction: column;
  }
}
.cookieNotice > div p {
  margin-inline: 0.5em;
}

.closeIcon {
  font-family: Arial, Helvetica, sans-serif !important;
  rotate: 45deg;
  font-size: 2em;
}
