/*
* Resets
*/

html,
body {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
}

body {
  background-color: black;
  /* color: white; */
  color: rgb(255, 166, 0);
  font-family: "Josefin Sans", sans-serif;
}

* {
  box-sizing: border-box;
}

a,
a:hover,
a:active {
  text-decoration: underline;
  color: inherit;
}

button {
  background-color: transparent;
  background-repeat: no-repeat;
  border: none;
  cursor: pointer;
  outline: none;
}

/*
* Typography
*/

html,
body,
svg {
  line-height: 1.43;
  font-size: 19px;
  font-weight: 300;
}

@media only screen and (min-width: 970px) {
  html,
  body {
    font-size: 17px;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.1;
  font-weight: 500;
}

h1,
h2,
h3 {
  margin-top: 20px;
  margin-bottom: 10px;
}

h1 {
  font-size: 2.5em;
}

h2 {
  font-size: 2.15em;
}

h3 {
  font-size: 1.6em;
}

h4 {
  font-size: 1.4em;
}

h5 {
  font-size: 1em;
}

h6 {
  font-size: 0.85em;
}

p {
  margin-bottom: 10px;
}

/*
* Images
*/

img {
  vertical-align: middle;
}

img.circle {
  border-radius: 50%;
}

/*
* Header
*/

/*
* Footer
*/

footer {
  min-height: 55px;
}

/*
* Content
*/

section {
  background-color: black;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 15px;
}

@media only screen and (min-width: 970px) {
  section {
    padding-right: calc(50% - 485px);
    padding-left: calc(50% - 485px);
    padding-top: 45px;
    padding-bottom: 45px;
  }
}

section.intro h1 {
  font-size: 3em;
  line-height: 0.8em;
  font-weight: 100;
}

section.intro h1 small {
  display: block;
  font-size: 1rem;
  line-height: 1.4;
}

section.intro img {
  display: none;
}

@media only screen and (min-width: 970px) {
  section.intro {
    flex-direction: row;
    justify-content: space-between;

    padding: 30px 30px 30px 50px;

    font-size: 22px;
  }

  section.intro h1 {
    font-size: 4.5em;
  }

  section.intro h1 small {
    font-size: 1.3rem;
  }

  section.intro img {
    display: block;

    flex: 1;

    min-width: 0;
    max-height: calc(100vh - 60px);

    margin-left: 8%;

    object-fit: contain;
  }
}

section.contact img {
  width: 130px;
}

section.contact > div {
  flex-direction: column;
}

section.contact div.social-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

section.contact div.social-container img {
  filter: invert(51%) sepia(98%) saturate(604%) hue-rotate(2deg)
    brightness(110%) contrast(102%);
}

@media only screen and (min-width: 970px) {
  section.contact div.social-container {
    flex-direction: row;
  }
}

section.contact a.mail-link {
  text-decoration: none;
  font-size: 2em;
  font-weight: 100;

  margin-top: 55px;
}

section.blog-preview {
  flex-direction: column;
}

section.blog-preview h1 {
  margin-top: 0;
  text-align: center;
}

section.blog-preview img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

section.blog-preview > a,
section.blog-preview > a:hover,
section.blog-preview > a:active {
  text-decoration: none;
}

@media only screen and (min-width: 970px) {
  section.blog-preview div {
    max-width: 550px;
  }
}

section.blog-post {
  display: block;

  font-size: 1.2em;
  line-height: 1.5;
}

@media only screen and (min-width: 970px) {
  section.blog-post {
    padding-right: calc(50% - 320px);
    padding-left: calc(50% - 320px);
  }
}

section.blog-post img {
  width: 100%;
}

section.blog-post figure {
  margin: 40px 0px;
}

section.blog-post figure figcaption {
  color: #858483;
  font-size: 0.8em;
}

section.blog-post figure figcaption > :first-child {
  margin-top: 5px;
}

.blog-lead {
  font-size: 1.15em;
  font-weight: 400;
}

header.nav a:hover,
header.nav a.choosen {
  border-color: white;
}
