* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
}

.container {
  margin-left: auto;
  margin-right: auto;
  height: 100vh;
}

/* Small Screen*/
@media (min-width: 768px) {
  .container {
    width: 750px;
  }
}
/* Mediume Screen  */
@media (min-width: 992px) {
  .container {
    width: 970px;
  }
}
/* Larger Screen */
@media (min-width: 1200px) {
  .container {
    width: 1170px;
  }
}
/* End glolabl rules */
/* start content */
.container .content {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-template-rows: repeat(3, minmax(370px, 1fr));
}

/* End content */

@media (max-width: 599px) {
  .container .content {
    grid-template-rows: repeat(3, minmax(370px, 1fr));
  }
}

@media (min-width: 1000px) {
  .container .content {
    grid-template-columns: repeat(3, minmax(300px, 1fr));
    grid-template-rows: repeat(1, minmax(600px, 1fr));
  }
}
/* start cards */
.container .content .cards {
  padding-top: 20px;
  padding-left: 20px;
}
@media (min-width: 1000px) {
  .container .content .cards {
    padding: 20px 20px;
  }
}

/*  end cards*/
/* cards one */
.container .content .one {
  background-color: hsl(31, 77%, 52%);
}
/* end cards one */
/* card two */
.container .content .two {
  background-color: hsl(184, 100%, 22%);
}
/* card two */

/* crad three */
.container .content .three {
  background-color: hsl(179, 100%, 13%);
}
/* card three */

.container .content .cards h3 {
  color: hsl(0, 0%, 95%);
  text-transform: uppercase;
  font-family: "Big Shoulders Display";
  margin-top: 22px;
  font-size: 22px;
  font-weight: 700;
}

@media (min-width: 1000px) {
  .container .content .cards h3 {
    font-size: 35px;
  }
}

.container .content .cards p {
  color: hsla(0, 0%, 100%, 0.75);
  width: 191px;
  line-height: 1.6;
  font-family: "Lexend Deca";
  font-weight: 400;
  margin-top: 22px;
  font-size: 13px;
}

@media (min-width: 1000px) {
  .container .content .cards p {
    font-size: 21px;
    width: 300px;
  }
}

.container .content .cards a {
  display: block;
  text-decoration: none;
  text-transform: capitalize;
  margin-top: 22px;
  background-color: hsl(0, 0%, 95%);
  border: 2px solid hsl(0, 0%, 95%);
  width: fit-content;
  border-radius: 25px;
  padding: 10px 20px;
}

.container .content .one a {
  color: hsl(31, 77%, 52%);
}

.container .content .two a {
  color: hsl(184, 100%, 22%);
}

.container .content .three a {
  color: hsl(179, 100%, 13%);
}

@media (min-width: 1000px) {
  .container .content .cards a {
    margin-top: 140px;
  }
}

.container .content .cards a:hover {
  background-color: transparent;
  color: white;
}
