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

body {
  width: 1440px;
  margin: auto;
  background: #e5e5e5;
}

.container {
  max-width: 1170px;
  margin: auto;
}

header {
  display: flex;
  align-items: center;
  gap: 13px;
  height: 80px;
  border-bottom: 2px solid #bbbbbc;

  h1 {
    font-family: "Quicksand", sans-serif;
    font-size: 35px;
    font-weight: medium;
    color: #16133d;
  }
}

main {
  background: #fff;
  padding-bottom: 114px;

  span {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 131%;
    color: #7690a8;
    display: block;
    margin: 90px 0 30px 0;
  }

  h2 {
    font-family: "Nunito Sans", sans-serif;
    font-weight: 600;
    font-size: 40px;
    line-height: 130%;
    letter-spacing: 0.01em;
    color: #16133d;
    margin-bottom: 47px;
  }

  ul {
    display: flex;
    justify-content: space-between;

    li {
      list-style: none;
      height: 340px;
      width: 370px;
      border: 2px solid #bbbbbc;
      border-radius: 6px;
      padding: 60px 55px 46px 37px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;

      &:not(:hover) .blue {
        opacity: 1;
      }

      &:hover {
        border: 2px solid #3db370;
        transition: 0.3s;
      }

      .icons {
        height: 64px;
        width: 64px;
        border: 2px solid #bbbbbc;
        border-radius: 18px;
        display: grid;
        place-items: center;

        .blue,
        .green {
          grid-area: 1 / 1;
          transition: opacity 0.3s;
        }

        .green {
          opacity: 0;
        }
      }

      h3 {
        font-family: "Roboto", sans-serif;
        font-weight: 400;
        font-size: 24px;
        line-height: 89%;
        letter-spacing: 0.01em;
        color: #16133d;
      }

      p {
        font-family: "Roboto", sans-serif;
        font-weight: 400;
        font-size: 16px;
        line-height: 175%;
        color: #16133d;
      }

      a {
        text-decoration: none;
        font-family: "Roboto", sans-serif;
        font-weight: 600;
        font-size: 16px;
        color: #3db370;
      }

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

footer {
  background-color: #16133d;
  height: 193px;

  .container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
  }

  .footer_logo {
    display: flex;
    gap: 13px;

    span {
      font-family: "Quicksand", sans-serif;
      font-size: 35px;
      font-weight: medium;
      color: #fff;
    }
  }

  ul {
    display: flex;
    gap: 10px;

    li {
      list-style: none;
      height: 38px;
      width: 38px;
      background-color: #efeef3;
      border-radius: 6px;
      display: flex;
      justify-content: center;
      align-items: center;

      &:hover a {
        color: #3db370;
      }

      a {
        color: inherit;
        transition: 0.3s;
      }

      .icon {
        width: 24px;
        height: 20px;
        margin-top: 4px;
      }
    }
  }
}
