/* Fonts */
@font-face {
  font-family: 'RobotoCondensed';
  src: url('font/roboto_condensed/RobotoCondensed-Regular.ttf') format('truetype');
}

/* General Styles */
body {
  margin: 0;
  padding: 0;
  font-family: 'Rubik', Arial, sans-serif;
}

/* Header Styles */
.header-top {
  background-color: #3E4095;
  height: 22px;
}

.header {
  background-color: white;
  padding: 20px 0;
}

.logo-and-title {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo {
  height: 120px;
  width: auto;
}

.text {
  margin-left: 20px;
  font-size: 36px;
}

.headline-blue {
  color: #3E4095;
}

h1.headline-blue {
  font-weight: bold;
}

p.headline-blue {
  font-weight: normal;
}

/* Main Section Styles */
.main-section .row {
  margin-left: 0;
  margin-right: 0;
}

.main-section .col-md-6 {
  padding-left: 0;
  padding-right: 0;
}

.main-section {
  margin-top: 20px;
}

.main-image img {
  width: 100%;
  height: 482px;
}

.main-text {
  padding: 20px;
  background-color: #3E4095;
  color: white;
  width: 50%;
  height: 482px;
}

/* Login Section */
.login-section {
  padding: 20px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center; /* Vertically center content */
  align-items: flex-start; /* Left align content */
  height: 100%; /* Ensures it takes up the full height of the container */
}

.login-section h2 {
  font-family: RobotoCondensed, Verdana, sans-serif;
  font-size: 30px;
  color: white;
  margin: 0; /* Remove default margin */
}

.login-section p, .login-section .button {
  font-size: 25px; /* Updated font-size */
  margin: 10px 0; /* Add some spacing between elements */
}

.sub-headline {
  font-size: 25px; /* Updated font-size */
  margin-top: 20px;
}

.button {
  background-color: #dd4923;
  color: white;
  border: none;
  padding: 10px 30px;
  border-radius: 50px;
  font-size: 25px; /* Updated font-size */
  cursor: pointer;
}

.button:hover {
  background-color: #2B3A42;
  color: white;
}

/* Books Section */
.books-section {
  margin: 25px 0;
  background-color: #F3F3F3;
  padding: 20px 0;
}

.featured-books-header {
  font-size: 25px; /* Font size for the header */
  color: #3E4095; /* Header color */
  margin-bottom: 15px; /* Space below the header */
  text-align: center; /* Center align the header */
}

.featured-books .book-image {
  width: 150px;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

.featured-books .col-md-4 {
  margin-bottom: 20px;
}

/* Footer Styles */
.footer {
  background-color: white;
  padding: 20px 0;
}

.footer-bottom {
  background-color: #3E4095;
  height: 40px;
}

/* Media Queries for Responsiveness */

/* Small Screens (Mobile Phones) */
@media (max-width: 767px) {
  .header-top {
    height: 15px;
  }

  .logo {
    height: 80px;
  }

  .text {
    margin-left: 10px;
    font-size: 20px;
  }

  .main-text, .main-image img {
    height: auto;
  }

  .main-section .col-md-6 {
    width: 100%;
    padding: 10px;
  }

  .login-section {
    padding: 10px;
  }

  .login-section p, .login-section .button, .login-section h2 {
    font-size: 20px;
  }

  .featured-books .book-image {
    width: 100px;
    height: 150px;
  }

  .featured-books-header {
    font-size: 20px;
  }
}

/* Medium Screens (Tablets) */
@media (min-width: 768px) and (max-width: 1024px) {
  .logo {
    height: 100px;
  }

  .text {
    margin-left: 15px;
    font-size: 30px;
  }

  .main-image img {
    height: auto;
  }

  .main-text {
    padding: 15px;
    height: auto;
  }

  .login-section {
    padding: 15px 30px;
  }

  .login-section p, .login-section .button, .login-section h2 {
    font-size: 22px;
  }

  .featured-books .book-image {
    width: 120px;
    height: 180px;
  }

  .featured-books-header {
    font-size: 22px;
  }
}

/* Large Screens (Desktops) */
@media (min-width: 1025px) {
  .logo {
    height: 120px;
  }

  .text {
    font-size: 36px;
  }

  .main-image img {
    height: 482px;
  }

  .main-text {
    height: 482px;
  }

  .featured-books .book-image {
    width: 150px;
    height: 200px;
  }
}
