@font-face {
  font-family: 'Dymo';
  src: url('fonts/Dymo.woff2');
}

:root {
  --color1: rgb(172, 170, 170);
  --color2: rgb(66, 66, 66);
  --highlight: rgba(0, 0, 255, 0.753);
  --warning: rgb(236, 2, 2);
}
* {
  margin: 0px;
  padding: 0px;
}

html {
  height: 100%;
}

body {
  background-color: white;
  color: var(--color2);
  font-family: "Roboto Flex", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 20px;
  padding-left: 2%;
  padding-right: 2%;
  --padding-top: 1%;
  --padding-bottom: 1%;
  --margin-top: 1%;
  height: 100%;
}

h1, h2, h3, .site-title, .page-title, .main-menu {
  font-family: Barriecito;
  font-family: "Londrina Solid", sans-serif;
  font-family: "DM Serif Text", serif;
  font-weight: 800;
  font-style: italic;
  color: var(--color1);
}

h1 {
  font-size: 150px;
  color: var(--color1);
}

h1.smaller_h1 {
  font-size: 100px;
}

h2 {
  font-size: 80px;
  color: var(--color1);
  line-height: 85%;
}

h3 {
  font-size: 40px;
  padding-bottom: 10px;
  padding-top: 10px;
}

.blob-font {
  font-family: "Monofett", monospace;
  font-weight: 400;
  font-style: normal;
  font-size: 38px;
  color: var(--warning)
}

.dymo-font {
  font-family: "Dymo", monospace;
  font-size: 38px;
  color: var(--highlight);
}

.main-page {
  height: 97%;
  display: flex;
  flex-direction: column;
  --justify-content: space-between;
}

.site-title {
  font-size: 150px;
  color: var(--color1);
  line-height: 85%;
  margin-top: 20px;
  margin-bottom: 10px;
  flex-grow: 0;
  text-align: center;
}

.sub-title {
  flex-grow: 2;
  transform: rotate(-1deg);
  text-align: center;
}

.work-in-progress {
  transform: rotate(2deg);
  font-family: "Dymo", monospace;
  font-size: 38px;
  color: var(--warning);
  text-align: right;
}

.page-title {
  padding-bottom: 4vh;
  padding-top: 2vh;
  font-size: 80px;
  line-height: 85%;
  --text-rendering: geometricPrecision;
  --font-weight: 800;
  flex-grow: 2;
  text-align: center;
}

.main-menu {
  --height: 100;
  font-size: 60px;
  color: var(--color1);
  line-height: 100%;
  --margin-top: -20vh;
  flex-grow: 6;
  padding-left: 5%;
  padding-right: 5%
}

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

a:hover {
  color: var(--highlight);
}

/********* BOOKS *********/

.bookshelf {
  display: flex;
  flex-wrap: wrap;
}


.book-item {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  width: auto;
  margin: 20px;
  margin-bottom: 20px;
  border-radius: 10px;
}

.book-item:hover img {
  color: var(--highlight);
  transform: scale(1.08);
}

.book-item:hover {
  color: var(--highlight);
}

.book-part {
  display: flex;
  flex-wrap: wrap;
  width: 250px;
}

.book-cover {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  --position: relative;
}

.book-cover-img {
  width: 200px;
  border-radius: 2%;
  transition: transform .2s;
}

.book-notes {
  margin: 20px;
  margin-left: 5px;
  display: none;
  width: 300px;
  --width: 95%;
}

.book-title {
  --clear: left;
  font-size: 20px;
  margin-top: 10px;
  margin-bottom: 5px;
}

.book-author {
  font-size: 16px;
  margin-top: 0px;
  margin-bottom: 0px;
}

@media only screen and (max-width: 900px) {
  h1, .site-title, .page-title {
    font-size: 120px;
  }
  h2, .page-title, .main-menu {
    font-size: 50px;
  }
}

@media only screen and (max-width: 750px) {
  h1, .site-title {
    font-size: 70px;
  }
  h2, .main-menu {
    font-size: 40px;
  }
  .sub-title, .work-in-progress {
    font-size: 28px;
  }
}