/**
 * Fonts
 */
/* latin-ext */
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 100;
  src: local("Roboto Thin"), local("Roboto-Thin"),
    url(https://fonts.gstatic.com/s/roboto/v19/KFOkCnqEu92Fr1MmgVxGIzIXKMnyrYk.woff2)
      format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 100;
  src: local("Roboto Thin"), local("Roboto-Thin"),
    url(https://fonts.gstatic.com/s/roboto/v19/KFOkCnqEu92Fr1MmgVxIIzIXKMny.woff2)
      format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  src: local("Roboto"), local("Roboto-Regular"),
    url(https://fonts.gstatic.com/s/roboto/v19/KFOmCnqEu92Fr1Mu7GxKKTU1Kvnz.woff2)
      format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  src: local("Roboto"), local("Roboto-Regular"),
    url(https://fonts.gstatic.com/s/roboto/v19/KFOmCnqEu92Fr1Mu4mxKKTU1Kg.woff2)
      format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

/**
 * Basic
 */

:root {
  --color-primary: #793d3d;
  --color-lightred: #b15a5a;
  --color-yellow: #eee857;
  --color-grey: #696969;
  --color-lightgrey: #ccc;
  --color-background: #fff;
  --color-text: #333;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}
body {
  margin: 0;
  font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue",
    sans-serif;
  font-size: 1.6rem;
  line-height: 1.5;
  margin: 0;
  color: var(--color-grey);
}

p {
  font-size: 12pt;
  line-height: 1.5em;
}

a {
  text-decoration: none;
  color: inherit;
}

h1 {
  color: var(--color-primary);
  font-size: 24pt;
  font-weight: 300;
  margin-top: 25px;
  margin-bottom: 35px;
}

h2 {
  font-size: 18pt;
  color: var(--color-primary);
  border-bottom: solid 1px #5c5990;
  font-weight: 300;
  margin-top: 40px;
  margin-bottom: 25px;
}

h3 {
  font-size: 12pt;
  color: var(--color-primary);
  font-weight: 500;
  margin-top: 30px;
  margin-bottom: -10px;
}

ul {
  list-style-image: url("/images/bulletpoint.svg");
}

li {
  margin-bottom: 1rem;
}

.top-bar {
  background: url(/images/top-bar.svg);
  position: fixed;
  top: 0;
  width: 100vw;
  height: 20px;
  z-index: 3;
}

.background {
  background: rgb(128, 121, 237);
  background: var(--background-image) 10px 90px / contain,
    linear-gradient(
      45deg,
      var(--background-color-left) 0%,
      var(--background-color-right) 100%
    );
  background-repeat: no-repeat;
  position: fixed;
  width: 100vw;
  height: 100vh;
  --background-image: url(./networking.svg);
  --background-color-left: rgba(128, 121, 237, 1);
  --background-color-right: rgba(92, 89, 144, 1);
}

nav {
  top: 50px;
  left: 80px;
  position: fixed;
  color: white;
  font-size: 18pt;
  font-weight: 100;
}

nav a:before {
  content: "";
  border-left: solid 2px white;
  border-top: solid 2px white;
  width: 18px;
  height: 18px;
  right: 60px;
  top: 5px;
  transform: rotate(-45deg);
  position: absolute;
}

.post-container {
  width: 760px;
  padding: 60px;
  background-color: white;
  top: 500px;
  box-sizing: border-box;
  position: relative;
  left: calc(100vw - 790px);
  margin-bottom: 80px;
  z-index: 2;
}

blockquote {
  border-top: solid 1px var(--color-primary);
  margin-left: 0;
  padding-left: 40px;
  margin-bottom: 30px;
  margin-top: 30px;
  margin-right: 0;
  padding-right: 40px;
  position: relative;
}

blockquote:nth-of-type(2n) {
  padding-left: 70px;
}

blockquote p {
  color: var(--color-primary);
  font-style: italic;
}

blockquote:after {
  position: absolute;
  content: "";
  right: 20px;
  top: -13px;
  width: 36px;
  height: 36px;
  background: url(/images/quotes.svg);
  background-size: contain;
}

blockquote:nth-of-type(2n):after {
  left: 20px;
}

.footnote-container {
  display: none;
  position: absolute;
  width: 240px;
  padding: 20px;
  bottom: 15px;
  background-color: gray;
  color: white;
  border-radius: 10px;
}

.footnote {
  color: red;
}

@media (min-width: 1580px) {
  .post-container {
    left: 50vw;
  }
}

@media (max-width: 860px) {
  .background {
    height: 70vh;
    background: var(--background-image) center center/contain,
      linear-gradient(
        45deg,
        var(--background-color-left) 0%,
        var(--background-color-right) 100%
      );
    background-repeat: no-repeat;
  }

  .post-container {
    width: 100vw;
    left: 0;
    top: 65vh;
    padding: 25px;
  }
}
