/*  By pixelattack.gr */

:root {
  --color-bg: #000;
  --color-accent: #f5ec1d;
  --color-accent-alt: #2bb3a3;

  --social-size: 44px;
  --social-gap: 1rem;
  --social-inset: max(1rem, env(safe-area-inset-bottom));
}

html {
  background-color: var(--color-bg);
  color-scheme: dark;
}

body {
  box-sizing: border-box;
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;

  padding-bottom: calc(
    var(--social-size) + var(--social-gap) + var(--social-inset)
  );

  background-color: var(--color-bg);
  background-origin: content-box;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

body {
  background-image: url("../img/anarxaki-960.jpg");
  background-image: image-set(
    url("../img/anarxaki-960.webp") type("image/webp"),
    url("../img/anarxaki-960.jpg") type("image/jpeg")
  );
}

@media (min-width: 481px), (min-resolution: 2dppx) {
  body {
    background-image: url("../img/anarxaki-1280.jpg");
    background-image: image-set(
      url("../img/anarxaki-1280.webp") type("image/webp"),
      url("../img/anarxaki-1280.jpg") type("image/jpeg")
    );
  }
}

@media (min-width: 769px) and (min-height: 700px),
  (min-width: 481px) and (min-resolution: 3dppx) {
  body {
    background-image: url("../img/anarxaki-1707.jpg");
    background-image: image-set(
      url("../img/anarxaki-1707.webp") type("image/webp"),
      url("../img/anarxaki-1707.jpg") type("image/jpeg")
    );
  }
}

.social {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: center;
  padding-bottom: var(--social-inset);
  pointer-events: none;
}

.social__list {
  display: flex;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  pointer-events: auto;
}

.social__link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: var(--social-size);
  min-height: var(--social-size);
  border-radius: 0.5rem;
  color: var(--color-accent-alt);
  transition: color 0.2s ease;
}

.social__link:hover {
  color: var(--color-accent);
}

.social__link:focus-visible {
  color: var(--color-accent);
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.social__icon {
  display: block;
  width: 24px;
  height: 24px;
}

@media (prefers-reduced-motion: reduce) {
  .social__link {
    transition: none;
  }
}

.u-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
