@font-face {
  font-family: gaegu;
  src: url(assets/fonts/Gaegu-Light.woff2), url(assets/fonts/Gaegu-Light.woff);
}
@font-face {
  font-family: amatic;
  src:
    url(assets/fonts/AmaticSC-Regular.woff2),
    url(assets/fonts/AmaticSC-Regular.woff);
}

:root,
body {
  min-height: 100%;
}
:root {
  background-color: #547d47;
  color: #282833;
  font-family: gaegu;
  font-size: 1rem;
}

body {
  width: 70%;
  margin: auto;
  background-color: #8dd279;
  min-height: 100vh;
  box-shadow: #354f2d 0px 0px 10px;
}

p,
a {
  font-size: 1.5rem;
}

a {
  color: inherit;
}
a:hover {
  font-style: italic;
}
.flex-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-height: 100vh;
}

.header {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.head-title,
h1 {
  text-align: center;
  font-family: amatic;
  font-size: 5rem;
}
#logo {
  max-height: 180px;
  margin: 20px 30px;
  filter: invert(13%) sepia(8%) saturate(1372%) hue-rotate(202deg)
    brightness(95%) contrast(91%) drop-shadow(#547d47 0px 0px 2px);
}
nav {
  background-color: #547d47;
  width: 100%;
  margin: 10px 0 40px;
}
nav ul {
  list-style-type: none;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  color: #fcffae;
  font-size: 2rem;
  font-family: amatic;
  font-weight: bold;
  margin: 0;
}
.links {
  display: flex;
  align-items: center;
  background-color: #547d47;
  max-height: 400px;
  width: 35%;
  margin: auto 0;
  border-radius: 50px;
  box-shadow: #282833 0px 0px 3px;
}

.shop-links {
  flex-direction: column;
  border: #282833 4px solid;
  padding: 20px 0;
  margin-top: 30px;
}
.socials-links {
  background-color: transparent;
  box-shadow: none;
  justify-content: space-around;
  margin-top: 20px;
}
button {
  background-color: #fff371;
  color: #282833;
  padding: 5px 15px;
  margin: 25px;
  border-radius: 40px;
  font-family: inherit;
  font-weight: bolder;
  border: #282833 3px solid;
  box-shadow: #282833 0px 0px 4px;
}
button:hover {
  border-color: #282833;
  filter: brightness(80%);
}
button:active {
  transform: translateY(2px);
  box-shadow: #282833 0px 0px 2px;
}

button a {
  color: inherit;
  font-size: 2rem;
  vertical-align: middle;
  text-decoration: none;
}
.social-icon {
  height: 40px;
  margin: 10px;
  filter: invert(13%) sepia(8%) saturate(1372%) hue-rotate(202deg)
    brightness(95%) contrast(91%) drop-shadow(#547d47 0px 0px 2px);
}
.social-icon:hover {
  filter: invert(84%) sepia(65%) saturate(364%) hue-rotate(351deg)
    brightness(101%) contrast(103%) drop-shadow(#547d47 0px 0px 4px);
}

.block-body {
  padding: 15px;
}

button.back {
  display: block;
  margin: auto;
}

button.back > a {
  font-family: gaegu;
  font-size: 1rem;
}

#tos {
  font-family: Georgia, "Times New Roman", Times, serif;
}

#tos > p:first-of-type {
  text-align: right;
}

#tos p {
  font-size: 1rem;
}
#tos h2 {
  font-size: 2rem;
  text-align: center;
}

#tos > a {
  text-align: center;
}

footer {
  margin: auto 0 30px;
}
footer a {
  color: inherit;
  font-size: 1.3rem;
  font-weight: bold;
}

footer a:hover {
  text-decoration: none;
}

@media only screen and (max-width: 600px) {
  body {
    width: 90%;
  }
  .header {
    flex-direction: column;
  }
  .head-title {
    font-size: 3rem;
  }
  #logo {
    height: 120px;
    margin: 0;
  }
  .links {
    width: fit-content;
  }
}
