@import url(./reset.css);
@import url(./fonts.css);

html {
  --white: #ffffff;
  --blue: #09467b;
  --graphite: #212529;
  --black: #000000;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 135px;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  max-width: 1140px;
  width: 100%;
  &::before {
    content: '';
    width: 100%;
    height: 150px;
    background-color: #eeeeee33;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
  }
  img {
    max-height: 96px;
  }
  nav {
    display: flex;
    gap: 24px;
    .nav-link {
      font-size: 20px;
      line-height: 30px;
      font-weight: 700;
      color: var(--blue);
    }
  }
}

section {
  display: flex;
  max-width: 1140px;
  width: 100%;
}

#about {
  h1, .about_content {
    flex: 0 0 50%;
  }
  h1 {
    font-size: 64px;
    font-weight: 600;
    line-height: 74px;
    color: var(--blue);
  }
  .about_content {
    display: flex;
    flex-direction: column;
    gap: 25px;
    p {
      font-size: 22px;
      line-height: 32px;
      font-weight: 500;
      color: var(--black);
      opacity: .7;
    }
  }
}

#ipo {
  flex-direction: column;
  gap: 24px;
  align-items: center;
  h2 {
    font-size: 64px;
    font-weight: 600;
    line-height: 74px;
    color: var(--blue);
    width: 100%;
  }
  .ipo_content {
    display: flex;
    flex-direction: column;
    gap: 25px;
    p {
      font-size: 22px;
      line-height: 32px;
      font-weight: 500;
      color: var(--black);
      opacity: .7;
    }
  }
  .companies {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 70%;
    margin-top: 20px;
    .companies_item {
      display: flex;
      gap: 50px;
      align-items: center;
      img {
        max-width: 220px;
      }
      .companies_item_description {
        h4 {
          font-weight: 600;
          color: var(--blue);
          font-size: 24px;
          margin-bottom: 10px;
          line-height: 130%;
        }
        p {
          font-size: 18px;
          font-weight: 500;
          color: var(--black);
          opacity: .7;
          line-height: 130%;
        }
      }
    }
  }
}

#pre-ipo {
  flex-direction: column;
  gap: 24px;
  h2 {
    font-size: 64px;
    font-weight: 600;
    line-height: 74px;
    color: var(--blue);
  }
  .pre-ipo_content {
    display: flex;
    p {
      font-size: 22px;
      line-height: 32px;
      font-weight: 500;
      color: var(--black);
      opacity: .7;
      flex: 0 0 50%;
    }
  }
  .pre-ipo_projects {
    display: flex;
    flex-direction: column;
    align-items: center;
    h3 {
      font-size: 36px;
      line-height: 46px;
      font-weight: 600;
      color: var(--blue);
      margin-top: 30px;
      margin-bottom: 24px;
    }
    .companies {
      display: flex;
      justify-content: space-between;
      gap: 10px;
      width: 100%;
      img {
        max-height: 120px;
      }
    }
  }
}

#trading {
  gap: 24px;
  align-items: center;
  h2, .trading_content {
    flex: 0 0 50%;
  }
  h2 {
    font-size: 64px;
    font-weight: 600;
    line-height: 74px;
    color: var(--blue);
  }
  .trading_content {
    display: flex;
    flex-direction: column;
    gap: 25px;
    p {
      font-size: 18px;
      font-weight: 500;
      color: var(--black);
      opacity: .7;
      line-height: 130%;
    }
  }
}

#contacts {
  display: flex;
  justify-content: space-between;
  align-items: center;
  .contacts_content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    h3 {
      font-size: 32px;
      line-height: 44px;
      font-weight: 600;
      color: var(--blue);
    }
    a, p {
      font-size: 18px;
      font-weight: 500;
      color: var(--black);
      opacity: .7;
      line-height: 130%;
    }
    a {
      color: var(--blue);
    }
  }
  .map_container {
    flex: 0 0 60%
  }
}

footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  max-width: 1140px;
  width: 100%;
  gap: 20px;
  &::before {
    content: '';
    width: 100%;
    height: 140px;
    background-color: var(--blue);
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: -1;
  }
  nav {
    display: flex;
    gap: 24px;
    .nav-link {
      font-size: 20px;
      line-height: 30px;
      font-weight: 700;
      color: var(--white);
    }
  }
  p {
    color: var(--white);
    font-size: 18px;
    line-height: 130%;
  }
}