:root {
  --col1: #ffd47d;
  --col2: #9e9685;
  --col3: #9e2969;
  --col4: #b9cbeb;
  --col5: #4d6082;
}

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

body {
  background-color: var(--col1);
  color: var(--col5);
  font-family: 'Murecho', sans-serif;
}
.hman_top_div {
  justify-items: center;
  display: grid;
  grid-template-rows: auto 40% auto 2fr 1fr auto;
  row-gap: 0.5em;
  padding: 3px;
  height: 100vh;
}
header h1 {
  font-family: 'Poiret One', cursive;
}
#word_div {
  display: flex;
  justify-content: space-evenly;
}
svg path {
  fill: none;
  stroke: var(--col3);
  stroke-width: 2;
  stroke-linecap: butt;
  stroke-linejoin: miter;
  stroke-miterlimit: 4;
}
.pic {
  display: none;
  height: 100%;
  max-width: 250px;
}
.letter_rows_div {
  margin-top: 1em;
}
.letter_rows_div,
#score_p {
  text-align: center;
}
.letter_row_div {
  display: var(--let_row_display, none);
  /*display: flex;*/
  justify-content: space-evenly;
}
.letter_div {
  border: 1px solid var(--col2);
  color: var(--col5);
  cursor: pointer;
  font-weight: 500;
  line-height: 0px;
  margin: 5px 3px;
  padding-top: 15px;
  padding-bottom: 15px;
  text-align: center;
  width: 29px;
}
.shadowed {
  box-shadow: -2px -2px 2px var(--col4);
}
#play_btn {
  background-color: var(--col2);
  border: 1px solid var(--col4);
  border-radius: 5px;
  color: var(--col1);
  font-weight: 500;
  margin-top: 10px;
  padding: 5px;
  cursor: pointer;
}
.right_or_wrong {
  font-size: 1.6em;
  font-weight: 100;
  opacity: 0.5;
}
#score_p {
  color: var(--col3);
}
footer {
  font-family: 'Tangerine', cursive;
  font-size: 1.1em;
}
footer a {
  text-decoration: none;
}
.home_link {
  color: var(--col3);
}
@media screen and (min-width: 640px) {
  .hman_top_div {
    display: grid;
    grid-template-rows: auto 50% auto 2fr 1fr auto;
    height: 100vh;
    justify-items: center;
    margin: 0 auto;
    max-width: 45em;
    padding: 1em;
    row-gap: 1em;
  }
  .pic {
    display: none;
    height: 100%;
    max-width: 405px;
  }
  .letter_div {
    border: 1px solid var(--col2);
    color: var(--col5);
    cursor: pointer;
    font-weight: 600;
    line-height: 0px;
    margin: 8px 6px;
    padding-top: 18px;
    padding-bottom: 18px;
    text-align: center;
    width: 34px;
  }
}
