@import url("https://fonts.googleapis.com/css2?family=Indie+Flower&family=Cutive+Mono&display=swap");

@font-face {
  font-family: "embossedlabel";
  src: url(/assets/embossedlabel.ttf) format("truetype");
}

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  background: hsl(50, 100%, 85%);
  font-family: "Indie Flower", helvetica neue, helvetica, arial, sans-serif;
  font-weight: 700;
}

a,
a:active,
a:visited {
  color: blue;
  font-weight: 700;
  text-decoration: none;
}

a:hover {
  color: blue;
  font-weight: 700;
  text-decoration: underline;
}

::-webkit-scrollbar {
  display: none;
}

nav {
  margin: 1em auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  font-family: "embossedlabel";
  font-size: calc(0.5em + 1vw);
}

nav a:hover {
  color: green;
}

.nav-1 {
  transform: rotateZ(2deg);
  background: white;
}

.nav-2 {
  transform: rotateZ(-3deg);
  background: white;
}

.nav-3 {
  transform: rotateZ(2deg);
  background: white;
}

.nav-4 {
  transform: rotateZ(-2deg);
  background: white;
}

.nav-1:hover {
  transform: rotateZ(0deg);
  background: white;
}

.nav-2:hover {
  transform: rotateZ(0deg);
  background: white;
}

.nav-3:hover {
  transform: rotateZ(0deg);
  background: white;
}

.nav-4:hover {
  transform: rotateZ(0deg);
  background: white;
}


#paper {
  width: 85%;
  min-height: 70vh;
  height: auto;
  background: linear-gradient(
    to bottom,
    rgba(245, 245, 245, 255) 29px,
    #00b0d7 1px
  );
  background-size: 100% 30px;
  position: relative;
  margin: 2rem auto;
  padding-top: 145px;
  padding-left: 150px;
  padding-right: 20px;
  padding-bottom: 15px;
  overflow: hidden;
  -webkit-box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2),
    0px 0px 6px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2),
    0px 0px 6px rgba(0, 0, 0, 0.2);
  -ms-box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2), 0px 0px 6px rgba(0, 0, 0, 0.2);
  -o-box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2), 0px 0px 6px rgba(0, 0, 0, 0.2);
  box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2), 0px 0px 6px rgba(0, 0, 0, 0.2);
}

#paper:before {
  content: "";
  display: block;
  position: absolute;
  z-index: 1;
  top: 0;
  left: 140px;
  height: 100%;
  width: 1px;
  background: #db4034;
}

#content {
  margin-top: 70px;
  font-size: 1.75rem;
  line-height: 30px;
  padding-right: 20px;
}

header {
  height: 150px;
  width: 100%;
  background: rgba(245, 245, 245, 255);
  position: absolute;
  top: 0;
  left: 0;
}

footer {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
  font-family: 'Courier New', Courier, monospace;
}

h1 {
  font-size: 4rem;
  line-height: 1px;
  padding: 125px 0 0 150px;
  margin-top: 0.5em;
  width: auto;
  color: red;
}

h2,
h3,
h4,
h5 {
  font-size: 2.5rem;
  line-height: 1px;
  margin-top: 1.1em;
  margin-bottom: 1em;
  height: 10px;
  width: auto;
  text-decoration: underline;
  color: blue;
}

span {
  color: red;
}

b, em {
  color: green;
  font-weight: 900;
}

ul {
  padding-left: 20px;
}

li {
  margin: -2px 0 2px 0;
  padding: 0;
}

li::marker {
  font-size: 20px;
}

code {
  margin: 0;
  padding-top: 0;
  padding-bottom: 0;
  padding-left: 5px;
  padding-right: 5px;
  background: rgba(255, 255, 0, 0.75);
  font-size: 1.25rem;
  font-family: "Cutive Mono";
  font-weight: bold;
  letter-spacing: -2px;
  line-height: 0.125px;
  width: auto;
}

pre > code {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 0, 1) 0%,
    rgba(255, 255, 0, 1) 12%,
    rgba(255, 255, 0, 1) 75%,
    rgba(255, 255, 0, 1) 100%
  );
  line-height: 1.15;
  margin-top: -1.5em;
  margin-bottom: -2.8em;
  padding-left: 5px;
  display: flex;
  white-space: pre-line;
  font-size: 1.25rem;
  line-height: 1.25;
  height: 300px;
  width: 300px;
  max-width: auto;
  box-shadow: -2px 5px 5px 0 rgba(0, 0, 0, 0.2);
}

@media screen and (max-width: 900px) {
  nav {
    margin-top: 2em;
  }
  header {
    height: 85px;
  }

  h1 {
    font-size: 3rem;
    padding: 50px 20px 0 38px;
  }

  h2 {
    font-size: 2.5rem;
  }

  #paper {
    width: 100%;
    background-size: 50% 30px;
    margin: 2rem 0;
    padding-top: 54px;
    padding-left: 40px;
    min-height: 81.85vh;
  }

  #paper:before {
    left: 35px;
  }
}
