@font-face {
    font-family: 'JMHTypewriter';
    src: url(' /fonts/JMH Typewriter.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
  }
  
  @font-face {
    font-family: 'JMHTypewriter';
    src: url(' /fonts/JMH Typewriter-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
  }
  
  @font-face {
    font-family: 'JMHTypewriter';
    src: url(' /fonts/JMH Typewriter-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
  }
  
  @font-face {
    font-family: 'JMHTypewriter';
    src: url(' /fonts/JMH Typewriter-Thin.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
  }
  
  * {
    margin: 0;
    padding: 0;
    font-family: sans-serif, 'JMHTypewriter', Arial;
    box-sizing: border-box;
  }
    
    body {
      margin: 0;
      height: 100vh;
      position: relative;
      overflow: auto;
    }
    
    body::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-image: url("/assets/heroImage.png");
      background-size: cover; 
      background-position: center;
      opacity: 0.5;
      z-index: -1; 
    }    

    .header {
      background-color: #03b9f6;
      padding: 20px 0;
      width: 100%;
    }
    
    .web-icon {
      border-radius: 20%;
    }
    
    .container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0 20px;
    }
    
    .logo-brand {
      display: flex;
      align-items: center;
      text-decoration: none;
      color: #333;
    }
    
    .logo {
      width: 36px;
      height: 36px;
      border-radius: 50%;
    }
    
    .brand-name {
      margin-left: 10px;
      font-size: 1.5em;
      font-family: 'JMHTypewriter';
    }
    
    .nav {
      display: flex;
      align-items: center;
    }
    
    .nav-links {
      display: flex;
      gap: 20px;
    }
    
    .nav-link {
      font-family: 'JMHTypewriter';
      text-decoration: none;
      color: #333;
      font-size: 1em;
    }
    
    .nav-link:hover {
      color: #d5f500;
    }
    
    .nav-toggle {
      display: none; 
      flex-direction: column;
      justify-content: space-between; 
      width: 30px; 
      height: 20px; 
      cursor: pointer;
    }
    
    .nav-icon {
      width: 100%; 
      height: 3px; 
      background-color: #333; 
      border-radius: 2px; 
    }
    
    .show {
      display: flex;
      flex-direction: column;
    }

  .social-media-container{
    display: grid;
    place-items: center;
    margin: 0 auto;
    max-width: 600px;
    border-radius: 5%;
    display: grid;
    place-items: center;
    text-align: justify;
    margin: 0 auto;
    background-color: #ffff;
  }

  .social-media-container p{
    display: grid;
    place-items: center;
    margin: 0 auto;
  }

  .social-links {
    list-style: none;
    padding: 0;
    margin: 30px auto;
    text-align: center; 
  }
  
  .social-links li {
    display: inline-block; 
    margin: 0px 10px; 
  }
  
  .icon {
    width: 40px;
    height: 40px;
  }

/* From Uiverse.io by anniekoop */ 
.input {
  font-family: "SF Pro";
  max-width: 190px;
  padding: 0.875rem;
  font-size: 1rem;
  border: 1.5px solid #000;
  border-radius: 0.5rem;
  box-shadow: 2.5px 3px 0 #000;
  outline: none;
  transition: ease 0.25s;
  margin: 10px;
  }

form{
  display: grid;
  place-items: center;
  margin: 0 auto;
}

.input:focus {
  box-shadow: 5.5px 7px 0 black;
}
.form{
  max-width: 550px;
  border-radius: 5%;
  display: grid;
  place-items: center;
  text-align: justify;
  margin: 0 auto;
  background-color: #ffff;
}

.submit-button {
  background-color: #03b9f6;
  padding: 15px 30px;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  display: grid;
  max-width: 150px;
  place-items: center;
  margin: 10px auto;
}

.submit-button:hover {
  background-color: white;
  color: #03b9f6;
  border: 2px solid #03b9f6;
}

@media (max-width: 768px) {
  .book-item {
    flex-direction: column;
    align-items: center;
  }

  .book-img {
    width: 100%;
    margin-bottom: 15px;
  }

  .book-details {
    text-align: center;
  }

  .nav-links {
    display: none; 
    flex-direction: column;
    gap: 10px;
    position: absolute;
    top: 60px;
    right: 10px;
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }

  .nav-toggle {
    display: flex; 
  }

  .nav-links.active {
    display: flex; 
  }
}
