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

html {
  min-width: 360px;
  color-scheme: light;
}

body {
  margin: 0;
  min-width: 360px;
  font-family: Roboto, system-ui, sans-serif;
  font-weight: 400;
  font-stretch: 100%;
  font-synthesis: none;
  color: #3e546c;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

.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;
}

.page {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
}

.backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.backdrop picture {
  position: absolute;
  inset: 0;
}

.backdrop__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.content {
  position: absolute;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 39px;
  width: 1431px;
  max-width: calc(100% - 200px);
  margin: 0;
  padding: 0;
  left: 100px;
  top: 50%;
  transform: translateY(-50%);
}

.content__title {
  margin: 0;
  width: 825px;
  max-width: 100%;
  font-weight: 200;
  font-stretch: 100%;
  font-size: 64px;
  line-height: 1.2;
  color: #3e546c;
  overflow-wrap: break-word;
}

.content__lead {
  margin: 0;
  width: 100%;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.4;
  color: #3e546c;
}

.regions {
  width: 100%;
}

.regions__list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
  margin: 0;
  padding: 0;
  list-style: none;
}

.region-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 190px;
  height: 41px;
  padding: 10px 20px;
  color: #fff;
  text-decoration: none;
  background: #3e546c;
  border-radius: 50px;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.region-link:hover {
  background: #34475c;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgb(62 84 108 / 28%);
}

.region-link:active {
  transform: translateY(0);
  box-shadow: none;
}

.region-link:focus-visible {
  outline: 2px solid #3e546c;
  outline-offset: 3px;
}

.region-link__logo {
  position: relative;
  display: block;
  width: 150px;
  height: 21px;
  overflow: hidden;
}

.region-link__mark,
.region-link__flag {
  position: absolute;
  overflow: hidden;
}

.region-link__mark img,
.region-link__flag img {
  display: block;
  width: 100%;
  height: 100%;
}

.region-link__mark {
  top: 7.43%;
  right: 0;
  bottom: 0;
  left: 0;
  width: 150px;
  height: 19.44px;
}

.region-link__flag {
  top: 0;
  height: 6.07px;
}

.region-link--pl .region-link__flag {
  left: 36.15%;
  width: 16.8%;
}

.region-link--es .region-link__flag {
  left: 35.79%;
  width: 16.61%;
}

.region-link--pt .region-link__flag {
  left: 35.78%;
  width: 16.62%;
}

@media (max-width: 1440px) {
  .backdrop__image {
    object-position: left center;
  }

  .content {
    width: 1116px;
    max-width: calc(100% - 200px);
    gap: 30px;
    top: calc(50% - 30px);
  }
}

@media (max-width: 768px) {
  .backdrop__image {
    object-position: center bottom;
  }

  .content {
    left: 15px;
    width: auto;
    max-width: none;
    right: 15px;
    top: 16%;
    transform: none;
    align-items: stretch;
    gap: 20px;
    text-align: center;
  }

  .content__title {
    width: 100%;
    font-size: 26px;
    text-align: center;
  }

  .content__lead {
    font-size: 13px;
    text-align: center;
  }

  .regions__list {
    flex-direction: column;
    flex-wrap: nowrap;
    width: 100%;
    align-items: center;
  }

  .region-link {
    width: 100%;
  }
}

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

  .region-link:hover,
  .region-link:active {
    transform: none;
  }
}
