* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-width: 320px;
  min-height: 100%;
  margin: 0;
}

body {
  font-family: "Inter", Arial, sans-serif;
}

.country-landing {
  position: relative;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  place-items: center;
  background: #c9c0b9;
}

.country-landing__background {
  position: absolute;
  inset: 0;
}

.country-landing__background img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.country-landing__content {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  padding: 32px 24px;
  text-align: center;
}

.country-landing__logo {
  display: block;
  width: min(300px, 72vw);
  height: auto;
  margin: 0 0 10px;
}

.country-landing__panel {
  padding: 24px;
  color: #fff;
  background: linear-gradient(
    96.05deg,
    rgba(244, 241, 236, 0.4) -1.19%,
    rgba(244, 241, 236, 0.12) 28.44%,
    rgba(244, 241, 236, 0.32) 55.24%,
    rgba(244, 241, 236, 0.12) 74.7%,
    rgba(244, 241, 236, 0.4) 100%
  );
  backdrop-filter: blur(10px);
}

.country-landing__panel h1 {
  font-family: "Zalando Sans SemiExpanded", sans-serif;
  margin: 0;
  font-size: 24px;
  font-weight: 500;
  line-height: 32px;
}

.country-landing__panel p {
  margin: 8px 0 24px;
  font-size: 14px;
  line-height: 20px;
}

.country-landing__countries {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.country-landing__countries a {
  font-family: "Zalando Sans SemiExpanded", sans-serif;
  display: flex;
  min-width: 100px;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border: 1px solid #ffffff;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  text-decoration: none;
  transition:
    color 160ms ease,
    background-color 160ms ease;
}

.country-landing__countries a:hover,
.country-landing__countries a:focus-visible {
  color: #222;
  background: #fff;
}

.country-landing__countries a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@media (max-width: 767px) {
  .country-landing__content {
    padding: 24px;
  }

  .country-landing__logo {
    width: min(300px, 78vw);
    margin-bottom: 8px;
  }

  .country-landing__panel {
    padding: 25px 24px 31px;
  }

  .country-landing__panel h1 {
    max-width: 300px;
    margin-inline: auto;
    font-size: 23px;
    line-height: 1.35;
  }

  .country-landing__panel p {
    margin: 8px 0 30px;
    font-size: 14px;
  }

  .country-landing__countries {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .country-landing__countries a {
    min-width: 0;
    min-height: 33px;
    padding: 7px 4px;
    font-size: 12px;
  }
}

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