*,
*:before,
*:after {
  box-sizing: inherit;
  margin: 0px;
  padding: 0px;
}

html {
  box-sizing: border-box;
  margin: 0px;
  font-size: 13px;
  font-family: "Barlow Semi Condensed", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  color: hsl(217, 19%, 35%);
}

body {
  height: 100vh;
  background-color: hsl(210, 46%, 95%);
}

#container {
  padding: 10% 7%;
}

.card {
  border-radius: 10px;
  overflow: hidden;
  background-color: hsl(0, 0%, 100%);
  margin-bottom: 45px;
  padding: 20px 30px 40px 30px;
  position: relative;
  z-index: -1;
  align-items: left;
}

.name {
  display: flex;
  z-index: 1;
  align-items: center;
  margin-bottom: 13px;
}

.name img {
  border: 2.5px solid hsla(0, 0%, 81%, 0.25);
  border-radius: 100%;
  height: 36px;
  margin-right: 13px;
}

#one {
  background-color: hsl(263, 55%, 52%);
  color: hsl(0, 0%, 100%);
}
#two {
  background-color: hsl(217, 19%, 35%);
  color: hsl(0, 0%, 100%);
}

#four {
  background-color: hsl(219, 29%, 14%);
  color: hsl(0, 0%, 100%);
}

#four img {
  border-color: hsl(263, 55%, 52%, 0.7);
}

.card #five {
  margin-bottom: 0px;
}

h4 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.verified {
  opacity: 50%;
}

.review {
  opacity: 70%;
}

#q {
  z-index: -1;
  position: absolute;
  right: 10%;
  top: 0;
}

footer {
  background-color: black;
  height: 66px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(204, 43%, 93%);
  position: static;
  bottom: 0px;
}

footer a {
  color: white;
}

footer {
  visibility: collapse;
}

@media (min-width: 1000px) {
  #container {
    display: flex;
  }

  footer {
    visibility: visible;
    height: 5%;
  }

  .card {
    margin: 13px;
    padding: 35px;
  }

  #five {
    flex-basis: 25%;
  }

  #top,
  #bottom {
    display: flex;
    flex-basis: 50%;
  }

  #left-cont {
    display: flex;
    flex-direction: column;
    flex-basis: 75%;
  }
  #one,
  #four {
    flex-basis: 70%;
  }

  #two,
  #three {
    flex-basis: 30%;
  }
}
