@import "common.css";

.title {
  text-transform: uppercase;
  line-height: 0.8em;
  font-weight: 900;
}

body {
  border: 20px solid var(--secondary-color);
  padding: 20px;
}

@media only screen and (min-width: 480px) {
  body {
    font-size: 23px;
    border-width: 40px;
    padding: 40px;
    padding-top: 80px;
  }
}

@media only screen and (min-width: 800px) {
  body {
    padding: 60px;
  }
}

.title {
  margin: 0 0 20px;

  /**
     * @see https://stackoverflow.com/a/23889196
     */
  word-spacing: 100vw;
  font-family: "Raleway", sans-serif;
  font-size: 50px;
}

@media only screen and (min-width: 640px) {
  .title {
    font-size: 60px;
  }
}

@media only screen and (min-width: 800px) {
  .title {
    font-size: 80px;
    margin-bottom: 40px;
  }
}

.underline,
.no-js .title::after {
  display: block;
  height: 10px;
  background: var(--primary-color);

  margin-top: 20px;
  margin-bottom: 20px;
}

.no-js .title::after {
  content: "";
  width: 100%;
}

header,
main {
  margin: 0 auto;
  max-width: 1000px;
}

@media only screen and (min-height: 900px) and (min-width: 640px) {
  header {
    padding-top: 120px;
  }
}

header {
  margin-bottom: 40px;
}

@media only screen and (min-width: 800px) {
  .underline,
  .no-js .title::after {
    margin-top: 40px;
    margin-bottom: 40px;
  }

  header {
    margin-bottom: 160px;
  }
}

h2 {
  text-transform: uppercase;
  font-weight: 900;
  font-size: 30px;
  display: inline-flex;
  flex-direction: column;
}

h2::after {
  margin-top: 10px;
  line-height: 0;
  content: "";
  display: inline-block;
  height: 5px;
  background: var(--primary-color);
}

ul {
  list-style: none;
  padding: 0;
}

@media only screen and (min-width: 800px) {
  main {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }

  section {
    max-width: 380px;
  }

  #about {
    text-align: right;
  }
}

#tagline {
  margin: 0;
}

a:not(.page-link) {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}


#article-teasers li {
  margin-bottom: 20px;
}

:not(".no-js") [data-intro-state="unstarted"] {
  visibility: hidden;
}
