:root {
  --red: #C5004A;
  --darkred: #7F0036;
  --lightgray: #B2B2B2;
  --darkgray: #333;
  --navy: #17050F;
  --blue: #082840;
  --white: #fff;
  --purple: #B82D91;
}
* {
  box-sizing: border-box;
}
html,
body {
  padding: 0;
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  color: var(--darkgray);
  background-color: black;
}
p:last-child {
  margin-bottom: 0;
}
p,
.tmpl-post li,
img {
  max-width: 37.5em;
}
p,
.tmpl-post li {
  line-height: 1.45;
}
header {
  background-color: black;
  z-index: 40;
  position: relative;
}
header:after {
  content: "";
  display: table;
  clear: both;
}
header h1 {
  font-family: 'Anton', sans-serif;
  font-weight: bold;
  font-size: 24px;
  max-width: calc(100% - 50px);
  float: left;
  margin: 10px 0 10px 10px;
  color: var(--purple);
  text-transform: uppercase;
}
h1 .city {
  color: var(--lightgray);
}
h1 a, h1 a:visited {
  color: var(--purple);
  text-decoration: none;
}
table {
  margin: 1em 0;
}
table td,
table th {
  padding-right: 1em;
}
/* Header */
.home-hero {
  background-image: linear-gradient(180deg, var(--purple) 0%, black 600px);
  color: white;
  padding-top: 0;
}
.hero-image {
  position: absolute;
  margin-top: -200px;
  z-index: 5;
}
.hero-content {
  display: inline-block;
  vertical-align: top;
  margin-left: 550px;
  padding-bottom: 100px;
  margin-right: 10px;
  position: relative;
  z-index: 20;
}

.home-hero h1 {
  font-family: 'Open Sans Condensed', sans-serif;
  font-weight: bold;
  background-color: white;
  color: black;
  display: table;
  width: auto;
  padding: 7px 15px;
  margin: 5px 0 0 0;
  text-transform: uppercase;

}
.home-hero h2 {
  font-family: 'Anton', sans-serif;
  font-weight: bold;
  text-transform: uppercase;
}
.home-links {
  font-family: 'Anton', sans-serif;
  font-weight: bold;
  margin: 0;
  max-width: 560px;
  padding-left: 0;
}
.home-links li {
  display: inline-block;
  width: 240px;
  text-align: center;
  background-color: white;
  color: var(--purple);
  margin: 0 15px 15px 0;
  text-transform: uppercase;
  font-weight: bold;
}
.home-links li:hover {
  background-color: var(--purple);
  color: white;
}
.home-links li a, .home-links li a:visited {
  text-decoration: none;
  color: inherit;
  display: block;
  width: 100%;
}

/* now make it responsive */
@media screen and (max-width:1075px) {
  .hero-image {
    margin-left: -150px;
  }
  .hero-content {
    margin-left: 350px;
  }
}
@media screen and (max-width:745px) {
  .hero-image {
    margin-left: -200px;
    margin-top: -300px;
  }
  .hero-content {
    margin-left: 250px;
  }
}
@media screen and (max-width:640px) {
  .hero-image {
    margin-left: -100px;
    margin-top: -300px;
  }
  .hero-content {
    margin-left: 0;
    margin-top: 250px;
  }
  .hero-content p, .hero-content h2, .home-links {
    padding: 0 10px;
  }
  .home-hero h1 {
    background-color: var(--purple);
    color: white;
  }
}
/* Nav */
.menu-container {
  display: inline-block;
  float: right;
  position: relative;
}
.nav {
  position: absolute;
  right: 0;
  top: 37px;
  width: 200px;
  background-color: white;
  padding: 0;
  list-style: none;
  float: left;
  text-align: right;
}
.hidden {
  display: none;
}
#nav-menu-button {
  background-color: transparent;
  color: white;
  border: 0;
  font-size: 30px;
  margin-top: 8px;
}
#nav-menu-button:hover {
  color: var(--lightgray);
}
.menu-label {
  font-size: 0;
}
.nav-item a, .nav-item a:visited {
  width: 100%;
  color: black;
  text-transform: uppercase;
  font-weight: bold;
  padding: 5px;
  display: inline-block;
  text-decoration: none;
}
.nav-item a:hover {
  background-color: var(--purple);
  color: white;
}
.nav-item a[href]:not(:hover) {
  text-decoration: none;
}
.nav-item-active {
  font-weight: 700;
  text-decoration: underline;
}
.page-content {
  background-color: white;
  padding: 20px 0;
}
.page-content h2 {
  font-family: 'Anton', sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  background-color: var(--purple);
  display: inline-block;
  width: auto;
  padding-left: 25px;
  padding-right: 5px;
  color: white;
}
.page-content ul {
  margin: 0;
}
.page-content a, .page-content a:visited {
  color: var(--purple);
  font-weight: bold;
}
.content-container {
  margin: 0 15px;
}

/* Posts list */
.postlist {
  list-style: none;
  padding: 0;
}
.postlist-item {
  counter-increment: start-from -1;
}
.postlist-item:before {
  display: inline-block;
  pointer-events: none;
  content: "" counter(start-from, decimal-leading-zero) ". ";
  line-height: 100%;
  text-align: right;
}
.postlist-date,
.postlist-item:before {
  font-size: 0.8125em; /* 13px /16 */
  color: var(--darkgray);
}
.postlist-date {
  word-spacing: -0.5px;
}
.postlist-link {
  display: inline-block;
  padding: 0.25em 0.1875em; /* 4px 3px /16 */
}
.postlist-item-active .postlist-link {
  font-weight: bold;
}
.tmpl-home .postlist-link {
  font-size: 1.1875em; /* 19px /16 */
  font-weight: 700;
}


/* Tags */
.post-tag {
  display: inline-block;
  vertical-align: text-top;
  text-transform: uppercase;
  font-size: 0.625em; /* 10px /16 */
  padding: 2px 4px;
  margin-left: 0.8em; /* 8px /10 */
  background-color: var(--red);
  color: var(--white);
  border-radius: 0.25em; /* 3px /12 */
  text-decoration: none;
}
a[href].post-tag,
a[href].post-tag:visited {
  color: #fff;
}

/* Warning */
.warning {
  background-color: #ffc;
  padding: 1em 0.625em; /* 16px 10px /16 */
}
.warning ol:only-child {
  margin: 0;
}

footer {
  background-color: var(--purple);
  color: white;
  margin: 0;
  padding: 15px;
  text-align: right;
  font-size: 12px;
  position: relative;
  z-index: 10;
}
.footer-text {
  display: inline-block;
  vertical-align: middle;
}
.learn-more {
  font-weight: bold;
  color: white;
}
.learn-more:hover {
  text-decoration: none;
}
.social-icons {
  font-size: 16px;
  display: inline-block;
  vertical-align: middle;
}
.social-icons a, .social-icons a:visited {
  color: white;
  text-decoration: none;
}
.social-icons a:hover {
  color: black;
}

@media screen and (max-width: 500px){
  header h1 {
    font-size: 18px;
  }
  #nav-menu-button {
    font-size: 22px;
  }
  .nav {
    top: 28px;
  }
}
