body {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    background-color: #f0f0f0;
    background-image: url(./images/Cloud-Background.jpg);
    animation: Backgroundmove 50s linear infinite;
    margin: 0px;
}


@keyframes Backgroundmove {
   0% {
    background-position: 0 0;
   } 
   100% {
    background-position: -1000px 0;
   }
}

.container {
    max-width: 700px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

h1 {
    text-align: center;
    color: #333;
}

form {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

input[type="text"] {
    padding: 8px;
    width: 30%;
    margin-right: 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

button {
    padding: 8px 20px;
    background-color: #007bff;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 3px;
}

button:hover {
    background-color: #0056b3;
}

#book-list {
    margin-top: 20px;
}

.book-item {
    margin-bottom: 10px;
    padding: 10px;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.book-item p {
    margin: 5px 0;
}

/* header */

header {
    background-color: #333;
    color: #fff;
    padding: 15px 0;
    margin: -10px;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

header nav ul {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
}

header nav ul li {
    margin: 0 20px;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

header nav ul li a:hover {
    text-decoration: underline;
}

header .logo {
    max-height: 50px;
}

.home-text {
    margin-left: 10px;
    text-decoration: none;
    line-height: 50px;
    color: #fff;
    font-weight: 500;
    font-size: 1.5em;
}

.logo-link {
    text-decoration: none;
}

.container {
    padding: 20px;
}

h1 {
    text-align: center;
    font-family: 'Raleway', sans-serif;
}

/* Modal Styles */
.modal {
    display: none; 
    position: fixed; 
    z-index: 1; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%; 
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}

/* Modal Content */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.5); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    background-color: #fff;
    margin: 9% auto; /* Centered vertically and horizontally */
    padding: 20px;
    border: 1px solid #888;
    border-radius: 8px;
    width: 80%; /* Could be more or less, depending on screen size */
    max-width: 500px; /* Set a maximum width for larger screens */
}

/* Header Container for Alignment */
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.header-container h2 {
    margin: 0;
    font-size: 24px;
}

.header-container .logotwo {
    width: 50px; /* Adjust width as needed */
    height: auto;
}

/* Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

/* Form Styling */
#registration-form,
#sign-in-form {
    display: flex;
    flex-direction: column;
}

#registration-form input,
#sign-in-form input {
    margin-bottom: 10px;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#registration-form button,
#sign-in-form button {
    padding: 10px;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    background-color: #007bff;
    color: #fff;
    cursor: pointer;
}

#registration-form button:hover,
#sign-in-form button:hover {
    background-color: #0056b3;
}

/* Success Message */
#success-message,
#sign-in-success-message {
    display: none; /* Hidden by default */
    color: green;
    font-size: 18px;
    margin-bottom: 15px;
}


/* NEW reviews */
#reviews-section {
    margin-top: 20px;
    padding: 10px;
    border-top: 2px solid #ccc;
}
#reviews .review-item {
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}


/* footer */
/*

*/
footer {
    background-color: #2C3E50;
    color: #fff;
    padding: 40px 0;
    font-family: Arial, sans-serif;
    margin: -8px;
  }

  .footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 20px;
    margin: 0px;
    margin-left: 10px;
  }

  .footer-section {
    flex: 1;
    min-width: 220px;
  }

  .footer-section h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
  }

  .footer-section p {
    font-size: 1em;
    line-height: 1.6;
  }

  .footer-section ul {
    list-style-type: none;
    padding: 0;
  }

  .footer-section ul li {
    margin-bottom: 10px;
  }

  .footer-section ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1em;
  }

  .footer-section ul li a:hover {
    text-decoration: underline;
  }

  .social-media {
    margin-top: 10px;
  }

  .social-icon {
    margin-right: 15px;
  }

  .social-icon img {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease;
  }

  .social-icon img:hover {
    transform: scale(1.1);
  }

  .footer-bottom {
    text-align: center;
    padding: 10px;
    background-color: #34495E;
    font-size: 1em;
  }