:root {
  --bs-primary: #0085ff;
  --bs-success: #73c93e;
}

html,
body,
div {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

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

body {
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  line-height: 1;
}

header {
  display: flex;
  align-items: center;
  background: #2c2c2c;

  & .header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 24px 32px;

    & .logo-box {
      display: inline-flex;
      flex-direction: column;
      gap: 4px;
      font-size: 14px;
      color: var(--bs-success);

      & img {
        height: 20px;
      }
    }

    & .contact-box {
      & > a {
        display: flex;
        align-items: center;
        color: #fff;
        opacity: 0.7;
        transition: opacity 0.175s ease-in-out;
        text-decoration: none;
        font-size: 16px;

        & svg {
          height: 24px;
          margin-right: 8px;
        }

        &:hover {
          opacity: 1;
        }
      }
    }
  }
}

main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 32px;

  & section {
    & ul.products-list {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: center;
      list-style-type: none;
      margin-bottom: 24px;
      padding: 0 32px;

      & > li {
        width: 50%;
        min-width: 380px;
        max-width: 100%;
        padding: 24px 24px 40px 24px;

        & .product-logo {
          margin-bottom: 16px;

          & img {
            height: 48px;
          }
        }

        p {
          font-size: 16px;
          color: #6c6c6c;
          font-weight: 400;
          line-height: 1.4;
          margin-bottom: 16px;
        }
      }

      & .links {
        display: flex;

        & span {
          display: inline-block;
          margin-left: 12px;
          padding-left: 12px;
          border-left: 1px solid #ddd;
        }

        & a {
          display: inline-flex;
          padding: 12px 24px;
          border-radius: 5px;
          background: var(--bs-primary);
          border: 1px solid var(--bs-primary);
          text-decoration: none;
          color: white;
          transition: opacity 0.175s ease-in-out;

          &.outline {
            background: white;
            color: var(--bs-primary);
          }

          &:hover {
            opacity: 0.7;
          }
        }
      }
    }
  }

  & section.status {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 16px;
    padding: 32px;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;

    & strong {
      font-size: 20px;
      font-weight: bold;
    }

    & a {
      display: inline-flex;
      padding: 12px 24px;
      border-radius: 5px;
      background: var(--bs-success);
      border: 1px solid var(--bs-success);
      text-decoration: none;
      color: white;
      transition: opacity 0.175s ease-in-out;

      &:hover {
        opacity: 0.7;
      }
    }
  }
}

footer {
  text-align: center;
  padding: 24px;
  opacity: 0.5;
  font-size: 13px;
}
