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

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

.head {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 100px;
  color: rgb(66, 66, 66);
}

.little {
  font-size: 2.5rem;
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
}

.huge {
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  font-size: 3rem;
  font-weight: 900;
}

.very-little {
  font-size: 1.5rem;
  text-align: center;
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
  width: 60%;
}
.container {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 400px);
  grid-template-rows: repeat(2, 250px);
  align-items: center;
  justify-content: center;
}

.a,
.b,
.c,
.d {
  display: flex;
  width: 400px;
  height: 250px;
  /* justify-content: center; */
  /* align-items: center; */
  font-size: 20px;
  border-radius: 10px;
  box-shadow: 0 8px 8px 0 rgb(219, 219, 219);
}

.a {
  display: flex;
  flex-direction: column;
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
  padding: 20px;
  gap: 10px;
  background-color: white;
  grid-row: span 2;
  align-self: center;
  border-top: 6px solid aqua;
}

.img-con {
  width: 100%;
  height: 60px;
  display: flex;
  justify-content: end;
  margin-top: 50px;
}

.b {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
  background-color: white;
  border-top: 6px solid red;
}

.c {
  display: flex;
  flex-direction: column;
  padding: 20px;
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
  gap: 10px;
  background-color: white;
  border-top: 6px solid rgb(0, 162, 255);
  grid-row: span 2;
  align-self: center;
}

.d {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  background-color: white;
  grid-column-start: 2;
  grid-column-end: 3;
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
  border-top: 6px solid rgb(255, 153, 0);
}
@media screen and (max-width: 680px) {
  body {
    height: auto;
  }
  .container {
    display: flex;
    flex-direction: column;
    padding-bottom: 40px;
  }

  .head {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 10px;
  }

  .little {
    font-size: 2rem;
  }

  .huge {
    font-size: 2.5rem;
  }

  .very-little {
    font-size: 1.3rem;
    width: 80%;
  }
}

@media screen and (max-width: 460px) {
  .container {
    display: flex;
    flex-direction: column;
  }

  .head {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 10px;
  }

  .little {
    font-size: 1.3rem;
  }

  .huge {
    font-size: 1.5rem;
  }

  .very-little {
    font-size: 1rem;
  }
  .a,
  .b,
  .c,
  .d {
    display: flex;
    width: 90%;
    height: 250px;
  }
}
