@font-face {
  font-family: FielmannSans;
  src:
    url("assets/FielmannSans-Regular.woff2") format("woff2"),
    url("assets/FielmannSans-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  margin: 0;
  width: 100%;
  font-size: 62%;
  font-family: FielmannSans, Arial, Helvetica, sans-serif;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (max-width: 750px), (min-width: 1280px) {
  html {
    font-size: 63%;
  }
}

body {
  margin: 0;
  min-height: 100%;
  font-family: FielmannSans, Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  color: #000;
  background: #fff;
}

.page {
  position: relative;
  min-height: 100vh;
}

.background {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #8c8c8c;
}

.background img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.background::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.5);
  pointer-events: none;
}

.content {
  position: relative;
  z-index: 1;
  padding: 0 0 96px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.logo {
  display: flex;
  width: 176px;
  height: 150px;
  margin: 0 0 0 60px;
  color: #000;
}

.logo svg {
  display: block;
  width: 176px;
  height: 150px;
}

.panel {
  max-width: 1120px;
  margin: 10px 36px 36px;
  padding: 0 12px;
}

h1 {
  margin: 0;
  padding: 0 12px;
  font-size: 72px;
  line-height: 72px;
  font-weight: 400;
  letter-spacing: -1.2px;
}

h2 {
  margin: 0;
  padding: 20px 12px 0;
  font-size: 24px;
  line-height: 24px;
  font-weight: 400;
  letter-spacing: -0.1px;
}

.chooser {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  margin-top: 24px;
  padding: 0 12px;
}

.select {
  appearance: none;
  -webkit-appearance: none;
  height: 56px;
  border: 1px solid #d7d7d9;
  border-radius: 0 4px 4px 0;
  background-color: #fff;
  background-image:
    url("assets/arrow-down.svg"),
    linear-gradient(#d7d7d9, #d7d7d9);
  background-repeat: no-repeat, no-repeat;
  background-position: right 20px center, right 56px center;
  background-size: 20px, 1px 100%;
  padding: 6px 53px 6px 12px;
  font: inherit;
  font-size: 18px;
  color: #000;
}

.select-country {
  width: 316px;
  max-width: 100%;
  text-overflow: ellipsis;
}

.select-language {
  width: 180px;
  max-width: 100%;
}

.button-go {
  height: 56px;
  width: 112px;
  padding: 1px 6px;
  border: 0;
  border-radius: 4px;
  background: #000;
  color: #fff;
  font: inherit;
  font-size: 24px;
  line-height: 24px;
  cursor: pointer;
}

.button-go:focus-visible,
.select:focus-visible {
  outline: 2px solid #000;
  outline-offset: 2px;
}

.group-link {
  margin: 24px 0 0;
  padding: 0 12px;
  font-size: 24px;
  line-height: 24px;
}

.group-link a {
  color: #000;
}

.footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  box-sizing: border-box;
  height: 88px;
  padding: 36px;
  background: #fff;
}

.footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 18px;
}

.footer a {
  color: #000;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

@media (max-width: 549px) {
  .logo {
    width: 112px;
    height: 90px;
    margin-left: 24px;
  }

  .logo svg {
    width: 112px;
    height: 90px;
  }

  .content {
    padding-bottom: 96px;
  }

  .panel {
    margin: 10px 12px 36px;
    padding: 0;
    text-align: center;
  }

  h1 {
    font-size: 48px;
    line-height: 48px;
  }

  h2,
  .group-link {
    text-align: center;
  }

  .chooser {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }

  .select,
  .select-country,
  .select-language,
  .button-go {
    width: 100%;
    max-width: none;
  }

  .footer {
    height: auto;
    min-height: 88px;
    padding: 36px 24px;
  }

  .footer ul {
    font-size: 14px;
    gap: 16px;
  }
}
