@font-face {
  font-family: "Assistant";
  src: url("Assistant/Assistant-SemiBold.ttf");
}

html, body {
  min-height: 100%;
}

body {
  margin: auto;
  background-image: url("img/pexels-photo-filtered_3.jpeg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  font-family: "Assistant", Helvetica, Verdana, sans-serif;
}
/*background-image: linear-gradient(to bottom right, white, gray);*/

h1 {
  text-align: left;
  margin-left: 25px;
}

h2 {
  text-align: center;
  margin-bottom: 10px;
}


/*
FOR DARK MIND
max-height: 398px;
*/
.image {
    max-height: 385px;
}

.book .image {
  padding: 0 30px 30px 30px;
}

.icon {
    max-height: 50px;
    margin-right: 15px;
}

.bookouter {
    display: inline;
}

.bookinner {
    display: inline-grid;
    max-width: 250px;
    padding: 15px 50px;
}

.blurb {
  display: inline;
  position: absolute;
  font-size: large;
  margin-left: 25px;
  max-width: 500px;
  margin-right: 25px;
}

@media (max-width: 767px) {
  .blurb {
    display: block;
    position: initial;
    margin-bottom: 40px;
  }
  .book .image {
    padding-bottom: 0;
  }
}

.curpage {
    font-weight: bold;
}

.booklink {
  margin-top:5px;
}

.booktitle {
  font-size: x-large;
}

#menu {
    font-size: 25px;
    margin-bottom: 35px;
    background-color: rgb(60, 60, 60, 0.7);
    padding: 20px;
}
/*#a60000;*/

#menu > a, .curpage {
    margin-right: 25px;
    color: #e6e6e6;
}

#aboutmenu {
  margin-right: 0;
}

#introtext, #homeimg, #booksbody {
    text-align: center;
    font-size: large;
}

#infobody, #bookslist, #storybody {
  background-color: rgba(241, 241, 241, 0.7);
  padding: 50px 50px 50px 15px;
  margin-left: 15px;
  border-radius: 10px;
  margin-bottom: 25px;
}

#profileimg {
  max-height: 250px;
}

#infobody {
  width: max-content;
}

@media (max-width: 552px) {
  #infobody {
    width: auto;
    margin-right: 15px;
  }
}

@media (max-width: 450px) {
#profileimg {
    max-height: 225px;
  }
}

#bookslist {
  width: 900px;
  margin-right: 15px;
}

@media (max-width: 1000px) {
  #bookslist {
    width: auto;
  }
}

#aboutinfo {
    float: left;
    margin-left: 50px;
    margin-right: 15px;
    max-width: 500px;
    font-size: large;
}

#aboutimg {
    float: left;
    margin-left: 25px;
}

#storybody {
  font-size: x-large;
  width: max-content;
  padding-top: 25px;
}

#reapingtext {
  display: inline-block;
}

#awardimg {
  max-height: 150px;
  float: right;
}

@media (max-width: 750px) {
  #storybody
  {
    width: auto;
    margin-right: 10px;
  }
  #reapingtext {
      display: block;
      margin-bottom: 20px;
  }
  #awardimg {
    float: none;
  }
}

.story {
  margin-bottom: 40px;
}

.storytext {
  max-width: 500px;
}

.title {
  font-size: xx-large;
}

@media (max-width: 965px) {
  #aboutinfo {
    max-width: 420px;
  }
}

@media (max-width: 830px) {
  #aboutinfo {
    margin: 10px 15px 5px 25px;
    float: none;
  }
  #aboutimg {
      float: none;
  }
}

#profile {
  overflow: auto;
}

#aboutlinks {
  margin-top: 15px;
}

#aboutlinks > a {
    display: block;
    margin-left: 20px;
    width: max-content;
    font-size: 18px;
}

 /* Style inputs with type="text", select elements and textareas */
input[type=text], select, textarea {
  width: 100%; /* Full width */
  padding: 12px; /* Some padding */
  border: 1px solid #ccc; /* Gray border */
  border-radius: 4px; /* Rounded borders */
  box-sizing: border-box; /* Make sure that padding and width stays in place */
  margin-top: 6px; /* Add a top margin */
  margin-bottom: 16px; /* Bottom margin */
  resize: vertical /* Allow the user to vertically resize the textarea (not horizontally) */
}

/* Style the submit button with a specific background color etc */
input[type=submit] {
  background-color: #4CAF50;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* When moving the mouse over the submit button, add a darker green color */
input[type=submit]:hover {
  background-color: #45a049;
}

/* Add a background color and some padding around the form */
.container {
  border-radius: 5px;
  background-color: #f2f2f2;
  padding: 20px;
}
