* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.visually-hidden,
.visually-hidden-focusable:not(:focus):not(:focus-within) {
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.visually-hidden:not(caption),
.visually-hidden-focusable:not(:focus):not(:focus-within):not(caption) {
  position: absolute !important;
}

@font-face {
  font-family: "Gilroy";
  font-weight: 800;
  src: local("Gilroy"),
    url("assets/fonts/Gilroy-ExtraBold.otf") format("opentype");
}

@font-face {
  font-family: "Gilroy";
  font-weight: 300;
  src: local("Gilroy"), url("assets/fonts/Gilroy-Light.otf") format("opentype");
}

.header {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 24px;
  background-color: rgba(010, 010, 010, 0.8);
  backdrop-filter: blur(2px);
}

.header__logo-text {
  font-family: "Gilroy";
  font-weight: 800;
  font-size: 32px;
  color: #f2f2f2;
}

.main-nav__list {
  display: flex;
  margin: 0;
  padding: 0;
  gap: 24px;
}

.main-nav__item {
  list-style-type: none;
}

.main-nav__link {
  font-size: 16px;
  color: #f2f2f2;
  text-decoration: none;
  transition-duration: 0.2s;
}

.main-nav__link:hover,
.main-nav__link:focus {
  color: #c0c0c0;
}

.main {
  position: relative;
  min-height: calc(100vh - 72px);
  margin-top: -72px;
}

.main__image {
  width: 100%;
  height: 100vh;
  object-fit: cover;
}

.main__image-alt {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: block;
  padding: 24px;
  font-size: 24px;
  font-weight: 600;
  color: #f2f2f2;
  text-transform: uppercase;
  text-align: center;
  transform: translateX(-50%);
  background-color: rgba(010, 010, 010, 0.8);
}

@media screen and (min-width: 768px) {
  .main__image-alt {
    font-size: 48px;
  }
}
