:root {
  --primary: #6CACE4;
  --footer-bg: #a3c8e8;
  --footer-text: #3a4a5a;
  --main-bg: #0D1C2B;
  --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(https://cdn.jsdelivr.net/fontsource/fonts/inter:vf@latest/latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', Arial, sans-serif;
  background-color: var(--main-bg);
  min-height: 100vh;
  color: #222;
}

.header {
  background: var(--primary);
  padding: 1rem 0;
  text-align: center;
}

.header__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary);
}

.header__logo img {
  --height: 40px;
  height: var(--height);

  @media (width > 1024px) {
    --height: 100px;
  }
}

.header__banner-info {
  margin: 40px 0 0 0;
  color: #fff;
  font-size: 1rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  @media (width < 767px) {
    padding: 20px;
  }
}



.main-section__banner {
  width: 100%;
  height: var(--height);
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;

  @media (width > 1024px) {
    --height: 80vh;
  }

  img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    mask-image: linear-gradient(to bottom, var(--main-bg) 10%, transparent 100%);
  }
}

.main-section {
  background: #fff;
  box-shadow: var(--shadow);
  border-radius: 8px 8px 0 0;
  margin: 40px 0 0;
  padding: 5rem 2rem;
  max-width: 1100px;
  width: 100%;
  text-align: center;
  position: relative;
  margin-top: 15vh;
}

.main-section h1 {
  --font-size: 2rem;
  font-size: var(--font-size);
  margin-bottom: 16px;
  font-weight: 700;

  @media (width > 1024px) {
    --font-size: 3rem;
  }
}

.text-primary {
  color: var(--primary);
}

.main-section__desc {
  color: #666;
  --font-size: 1rem;
  font-size: var(--font-size);
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;

  @media (width > 1024px) {
    --font-size: 1.05rem;
  }
}

.main-section__grid {
  --columns: 1fr;
  --rows: auto;
  --gap: 20px 0;
  display: grid;
  grid-template-columns: var(--columns);
  grid-template-rows: var(--rows);
  gap: var(--gap);
  margin-top: 32px;

  @media (width > 1024px) {
    --columns: 1fr 1fr 1fr;
    --rows: 1fr 1fr;
    grid-template-columns: var(--columns);
    --gap: 20px;
  }
}

.main-section__link {
  display: block;
  min-height: 560px;
}

.main-section__item {
  background: #eaf3fa;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 100%;

  @media (width > 1024px) {
    min-height: 200px;
    height: 100%;
  }
}

.main-section__item--big {

  @media (width > 1024px) {
    min-height: 560px;
    grid-column: 1 / 2;
    grid-row: 1 / 2;
  }
}

.main-section__item--tall {
  @media (width > 1024px) {
    min-height: 560px;
    grid-column: 1 / 4;
    grid-row: 1 / 2;
  }
}

.main-section__item--small {

  @media (width > 1024px) {
    min-height: 560px;
    grid-column: 2 / 3;
    grid-row: 2 / 3;
  }
}

.main-section__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease-in-out;

  &:hover {
    transform: scale(1.05);
  }
}

.main-section__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #222;
  width: 100%;
  height: 100%;
  padding: 24px;
}

.main-section__size {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 12px;
}

.footer {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 14px;
}

.footer nav {
  margin-bottom: 1rem;
}

.footer nav a {
  color: #fff;
  margin: 0 10px;
  text-decoration: none;
  transition: color 0.2s;
}

.footer nav a:hover {
  color: #0c1c2b;
}

.footer p {
  font-size: 12px;
}