html {
  font-size: 16px;
  height: 100%;
}
@font-face {
  font-family: "Selectric";
  src:
    url("../font/SelectricRoman.woff") format("woff");
}
body {
  font-family: "Selectric", sans-serif;
  font-size: 1rem;
  height: 100%;
  line-height: 1.1rem;
  display: flex;
  flex-direction: column;
  background: #fff;
  color: #000;
  background:url('../img/bg-new.png'), #6386c5;
  background-position: right top;
  background-size: cover;
}
main {
  flex: 1 0 auto;
}
footer {
  flex-shrink: 0;
}
h1, h2, h3, h4, h5, h6, ul, li, p {
  font-size: 1rem;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  color: #6e6e6e;
  text-decoration: none;
  border-bottom: 2px solid currentColor;
}
a:hover {
  color: #2000ff;
}
a:focus {
  color: #fff;
  background-color: #2000ff;
}
.container {
  max-width: 1200px;
  padding: 20px;
  background: #fff;
}
.content {
  padding-top: 20vh;
  max-height: 100vh;
  overflow-y: scroll;
}
.grid {
  display: grid;
  max-width: 100%;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 10px;
}
.item h2 {
  font-weight: normal;
  display: inline;
}
.item img {
  user-select: none;
}
ul {
  padding: 0px;
}
li {
  list-style: none;
  margin-left: 0px;
}
.item-desc li:first-child {
  margin-bottom: 15px;
}
.item-horoscope {
  text-transform: uppercase;
}
footer p {
  color: #6e6e6e;
}

@media (max-width: 700px) {
  html {
    font-size: 15px;
  }
  .container {
    padding: 15px;
  }
  .content {
    padding-top: 15vh;
    max-height: none;
    overflow: visible;
  }
}

@media (max-width: 500px) {
  .grid {
    display: flex;
    flex-direction: column;
  }
  .item {
    margin-top: 50px;
  }
}
