/* Box sizing rules */
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,200;0,300;0,400;0,500;0,700;0,800;0,900;1,600&display=swap");
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Prevent font size inflation */
html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

/* Remove default margin in favour of better control in authored CSS */
body, h1, h2, h3, h4, p,
figure, blockquote, dl, dd {
  margin-block-end: 0;
  margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role=list],
ol[role=list] {
  list-style: none;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  line-height: 1.5;
}

/* Set shorter line heights on headings and interactive elements */
h1, h2, h3, h4,
button, input, label {
  line-height: 1.1;
}

/* Balance text wrapping on headings */
h1, h2,
h3, h4 {
  text-wrap: balance;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
  color: currentColor;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
  margin: 0;
}

/* Inherit fonts for inputs and buttons */
input, button,
textarea, select {
  font: inherit;
}

/* Make sure textareas without a rows attribute are not tiny */
textarea:not([rows]) {
  min-height: 10em;
}

/* Anything that has been anchored to should have extra scroll margin */
:target {
  scroll-margin-block: 5ex;
}

footer {
  text-align: center;
  margin: 2rem 0;
}

.main-container {
  padding-top: 5rem;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: hsl(0, 0%, 81%);
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 375px;
  overflow: hidden;
}

@media (min-width: 900px) {
  main {
    max-width: 900px;
    height: 75vh;
    justify-content: center;
  }
}
.attribution {
  font-size: 11px;
}
.attribution a {
  color: hsl(251, 45%, 44%);
}

body {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 500;
}

.about {
  background-color: hsl(0, 0%, 81%);
}
.about h2 {
  font-size: 1.5rem;
  margin: 0.5rem 0;
  text-align: center;
  color: hsl(234, 12%, 34%);
}
.about h1 {
  font-size: 1.5rem;
  font-weight: 300;
  margin: 0.5rem 0;
  text-align: center;
  color: hsl(234, 12%, 34%);
}
.about p {
  font-size: 0.9rem;
  font-weight: 300;
  margin: 0.5rem 0;
  text-align: center;
  color: hsl(228, 4%, 55%);
}

@media (min-width: 900px) {
  .about {
    display: flex;
    flex-direction: column;
    width: 505px;
  }
  .about h2 {
    font-size: 2rem;
  }
  .about h1 {
    font-size: 2rem;
  }
  .about p {
    font-size: 1rem;
  }
}
.cards {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  margin: 1rem;
  padding: 1rem;
  background-color: hsl(0, 0%, 98%);
  box-shadow: 0px 10px 20px -10px rgba(0, 0, 0, 0.5);
  border-radius: 5px;
}
.cards h3 {
  font-size: 1.4rem;
  color: hsl(234, 12%, 34%);
  margin: 0.5rem 0;
}
.cards p {
  font-size: 0.8rem;
  font-weight: 400;
  color: hsl(228, 4%, 55%);
  margin-bottom: 1rem;
}
.cards img {
  height: 30%;
  width: 25%;
  align-self: flex-end;
  margin: 1rem 0;
}

.supervisor {
  border-top: 5px solid hsl(180, 62%, 55%);
}

.team-builder {
  border-top: 5px solid hsl(0, 78%, 62%);
}

.karma {
  border-top: 5px solid hsl(34, 97%, 64%);
}

.calculator {
  border-top: 5px solid hsl(212, 86%, 64%);
}

@media (min-width: 900px) {
  .cards {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    max-width: 350px;
    height: 220px;
    margin: 0.5rem;
  }
  .details {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(5, 1fr);
  }
  .supervisor {
    grid-column: 1/3;
    grid-row: 2/4;
  }
  .team-builder {
    grid-column: 3/5;
    grid-row: 1/3;
  }
  .karma {
    grid-column: 3/5;
    grid-row: 3/5;
  }
  .calculator {
    grid-column: 5/7;
    grid-row: 2/4;
  }
}

/*# sourceMappingURL=main.css.map */
