:root {
  --Red: hsl(0, 78%, 62%);
  --Cyan: hsl(180, 62%, 55%);
  --Orange: hsl(34, 97%, 64%);
  --Blue: hsl(212, 86%, 64%);
  --Darkblue: hsl(234, 12%, 34%);
  --Grayish-blue: hsl(229, 6%, 66%);
  --Very-light-gray: hsl(0, 0%, 98%);
}
body {
  font-family: "Poppins", sans-serif;
  font-style: normal;
  margin: 0;
  min-height: 100vh;
  background-color: var(--Very-light-gray);
  
}
header h1 {
  color: var(--Grayish-blue);
  font-weight: 200;
  margin-bottom: 0;

}
header h2 {
  color: var(--Darkblue);
  margin-top: 0;
  margin-bottom: 0;
  font-size: 2.6rem;
}
header p {
  color: var(--Grayish-blue);
  font-size: 0.85rem;
  text-align: center;
  max-width: 30rem;
  margin-bottom: 3rem;
}

.container p {
  color: var(--Grayish-blue);
  font-size: 0.8rem;
  margin-top: 0;
  font-weight: 200;
}
.container h2 {
  color: var(--Darkblue);
  font-size: 1.2rem;
  margin: 0.3rem 0;
}
.container img {
  width: 3rem;
}
.container--supervisor {
  box-shadow: 0.3rem 0.3rem 1rem var(--Grayish-blue);
  border-radius: 0.3rem;
  padding: 1rem;
  border-top: 4px solid var(--Cyan);
  display: grid;
}
.container--supervisor__image img,
.container--teambuilder__image img,
.container--karma__image img,
.container--calculator__image img{
  float: right;
  padding: 1rem;
}
.container--teambuilder {
  box-shadow: 0.1rem 0.1rem 0.5rem var(--Grayish-blue);
  border-radius: 0.3rem;
  padding: 1rem;
  border-top: 4px solid var(--Red);
  display: grid;
}
.container--karma {
  box-shadow: 0.1rem 0.1rem 0.5rem var(--Grayish-blue);
  border-radius: 0.3rem;
  padding: 1rem;
  border-top: 4px solid var(--Orange);
  display: grid;
}
.container--calculator {
  box-shadow: 0.1rem 0.1rem 0.5rem var(--Grayish-blue);
  border-radius: 0.3rem;
  padding: 1rem;
  border-top: 4px solid var(--Blue);
  display: grid;
}
header {
  display: flex;
  flex-direction: column;
  align-items: center;
}
header h1 {
  font-size: 1.3rem;
}
header h2 {
  font-size: 1.3rem;
  margin-top: 0.5rem;
}
.attribution { 
  font-size: 11px; 
  text-align: center; 
}
.attribution a { 
  color: hsl(228, 45%, 44%); 
}

@media screen and (min-width: 320px) and (max-width: 500px) {
  body {
    padding: 2.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    justify-content: center;
  }
  section {
    margin-bottom: 2rem;
  }
  
  .container {
    width: 90%;
    margin: auto;
    display: flex;
    flex-direction: column;
  }
}
@media screen and (min-width: 501px) and (max-width: 992px) {
  body {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    justify-content: center;
  }
  section {
    margin-bottom: 2rem;
  }
  .container {
    width: 25rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}
@media screen and (min-width: 993px) {
  .container {
    display: grid;
    grid-template-columns: 19rem 19rem 19rem;
    grid-template-rows: 12rem 12rem;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 5rem;
  }
  .container--supervisor {
    grid-area: 2 / 1 / 3 / 2;
    align-self: end;
    margin-bottom: 5rem;
  }
  .container--teambuilder {
    grid-area: 1 / 2 / 2 /3;
  }
  .container--karma {
    grid-area: 2 / 2 / 3 / 3;
  }
  .container--calculator {
    grid-area: 2 / 3 / 3 / 4; 
    align-self: end;
    margin-bottom: 5rem;
  }
}
