@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
body {
  font-family: "Plus Jakarta Sans", serif;
  background-color: hsla(0, 0%, 92%, 0.216);
}
main {
  display: flex;
  justify-content: center;
  padding-top: 25px;
}
.head {
  text-align: center;
}
.grid-box {
  display: flex;
  padding: 10px;
  margin-inline: 8rem;
  gap: 20px;
  align-items: center;
}
.icon {
  display: flex;
  justify-content: flex-end;
  padding: 20px 0 0px 0;
}
img {
  width: 60px;
}
#box {
  display: flex;
  flex-direction: column;
  padding: 25px;
  border-radius: 5px;
  width: 20rem;
  background-color: white;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px,
    rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
}
.box1 {
  border-top: 0.2rem solid hsl(180, 62%, 55%);
}
.box2 {
  border-top: 0.2rem solid hsl(0, 78%, 62%);
}
.box3 {
  border-top: 0.2rem solid hsl(34, 97%, 64%);
}
.box4 {
  border-top: 0.2rem solid hsl(212, 86%, 64%);
}
.box-middle {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  padding: 10px;
  gap: 30px;
}
h1 {
  font-weight: 100;
  font-size: 28px;
  letter-spacing: 0.4px;
  color: hsl(212, 6%, 44%);
}
h2 {
  font-weight: 600;
  font-size: 30px;
  color: hsl(234, 12%, 34%);
  padding: 5px 0px 15px 0px;
}
h3 {
  color: hsl(234, 12%, 34%);
  padding-block: 10px;
}
#box p {
  color: hsl(212, 6%, 44%);
  line-height: 25px;
  font-size: 15px;
}
.sub-heading {
  color: hsl(212, 6%, 44%);
  line-height: 25px;
  font-size: 15px;
  padding-bottom: 30px;
}
.attribution {
  text-align: center;
  letter-spacing: 1.5px;
}
.attribution a {
  text-decoration: none;
  font-weight: 600;
}
#site {
  color: hsl(0, 78%, 62%);
}
#name {
  color: hsl(212, 86%, 64%);
}
#site:hover {
  color: hsl(180, 62%, 55%);
}
#name:hover {
  color: hsl(34, 97%, 64%);
}
