/* Font */
/* Font */
@font-face {
  font-family: "BrownStone";
  src: url("HETFont.ttf") format("truetype");
}

header {
  font-family: "BrownStone";
  color: white;
  text-shadow: black 2px 2px;
  font-size: 32px;
  line-height: 1.5;
}
section[description]>div {
  font-family: "Great Vibes";
  font-size: 16px;
}
section[description]>div{
  width: 50%;
  align-self: center;
  text-align: center;
  margin: auto;
}
/* Grid */
main {
  display: grid;
  grid-template-rows: auto 1fr auto;
  /*fr is good for breaking up less open space into fractions
    auto give this thing as much space as it needs
    */
  grid-template-columns: 1fr;
  grid-template-areas:
    "description"
    "teaCat"
    "expandArea";
  gap: 1em;
}
/* Sections centering */
header {
  align-self: center;
  text-align: center;
  margin: auto;
}
section[description] {
  grid-area: description;
  align-self: center;
  margin: auto;
}
section[teaCat] {
  grid-area: teaCat;
  text-align: center;
  margin: auto;
}
section[expandArea] {
  grid-area: expandArea;
  text-align: center;
  margin: auto;
}

/*Align Center*/
/* center align content */
h1,
p,
header,
main {
  margin: auto;
}
main,
p {
  text-align: center;
}

/*Background*/
body {
  /*background: rgb(145, 209, 139);*/
  background: radial-gradient(
    circle,
    rgba(145, 209, 139, 1) 0%,
    rgba(79, 121, 75, 1) 100%
  );
}

.card {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  transition: 0.3s;
  border-radius: 15px;
  background-color: #a3b18a;
  width: 50%;
  text-align: center;
  margin: auto;
  padding: 15px;
}

/*Mobile header font size*/
@media screen and (max-width: 750px) {
  header {
    font-size: 24px;
    text-shadow: none;
  }
  section[description] {
    text-shadow: none;
  }
}

/*Fix h1 space */
h1 {
  display: inline-block;
}

/* Mobile */
@media screen and (max-width: 750px) {
  .card {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    transition: 0.3s;
    border-radius: 15px;
    background-color: #a3b18a;
    width: 80%;
    text-align: center;
    margin: auto;
    padding: 15px;
  }

  section[description]>div{
    width: 80%;
  }
}
