
  
h1 {
    background-color: rgb(31, 31, 31);
    color: white;
    padding: 20px;
    margin: 0px;
}

h2{
  color: white;
  text-align: center;
}

h3{

  color: white;}

p
{
    margin: 100px;
}

body{
font-family: Arial, sans-serif;
background-color: rgb(176, 170, 132);
color: white;
margin: 0;
padding: 0px;
}

.container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .news-item {
    flex: 1 1 calc(33.333% - 20px);
    box-sizing: border-box;
  }
  .news-item h3 {
    margin: 0 0 10px;
    text-align: center;
  }
  
  .news-item img {
    max-width: 50%;
    height: auto;
  }
  

a {
    text-decoration: none;
}
   
#menu__toggle {
    opacity: 0;
  }
  
  .menu__btn {
    display: flex;
    align-items: center; 
    position: fixed;
    top: 20px;
    right: 20px;
    width: 26px;
    height: 26px;
    cursor: pointer;
    z-index: 1;
    background-color: #ffffff;
  }

  .menu__btn > span,
  .menu__btn > span::before,
  .menu__btn > span::after {
    display: block;
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #616161;
  }
  .menu__btn > span::before {
    content: '';
    top: -8px;
  }
  .menu__btn > span::after {
    content: '';
    top: 8px;
  }
  .menu__box {
    display: block;
    position: fixed;
    visibility: hidden;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100%;
    margin: 0;
    padding: 80px 0;
    list-style: none;
    text-align: center;
    background-color: #000000;
    box-shadow: 1px 0px 6px rgba(0, 0, 0, .2);
  }

  .menu__item {
    display: block;
    padding: 12px 24px;
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
  }
  .menu__item:hover {
    background-color: #CFD8DC;
  }
  #menu__toggle:checked ~ .menu__btn > span {
    transform: rotate(45deg);
  }
  #menu__toggle:checked ~ .menu__btn > span::before {
    top: 0;
    transform: rotate(0);
  }
  #menu__toggle:checked ~ .menu__btn > span::after {
    top: 0;
    transform: rotate(90deg);
  }
  #menu__toggle:checked ~ .menu__box {
    visibility: visible;
    right: 0;
  }
  .menu__btn > span,
.menu__btn > span::before,
.menu__btn > span::after {
  transition-duration: .50s;
}
.menu__box {
  transition-duration: .50s;
}
.menu__item {
  transition-duration: .50s;
}

.book-card {
  display: flex;
  background-color: rgb(90, 91, 88);
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(11, 1, 1, 0.897);
  overflow: hidden;
  max-width: 600px;
}

.book-cover {
  width: 150px;
  object-fit: cover;
}

.book-info {
  padding: 20px;
}

.book-info h1 {
  font-size: 1.2em;
  color: #ffffff;
}


.icon {
  font-size: 1.2em;
}


button {

  border: none;
  border-radius: 3px;
  cursor: pointer;
  font-size: 1em;
}

.bestill {
  background-color: #787878;
  color: white;

  border-radius: 6px;
}


.container {
  display: flex;
  justify-content: start;
  gap: 20px;
  }
  .news-item {
    text-align: center;
    }
    .news-item1 {
      text-align: center;
      }

img {
border-radius: 5px;
max-width: 250px;
height: auto;
}

.container1 {
  display: flex;
  justify-content: start;
  gap: 20px;
  }


#toggle-theme {
  position: fixed;
  top: 12px;
  right:60px;
  padding: 10px 20px;
  background-color:rgb(255, 227, 157);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s;
}

#toggle-theme:hover {
  background-color: #947e6a;
}

body.night-mode {
    background-color: rgb(80, 81, 79);
    color: white !important;
  }  

  .book-card.night-mode{
    background-color: rgb(0, 0, 0);
    color:white !important;
  }

  section{
    margin: 20px;
  }
  @media (max-width: 768px) {
    .news-item {
      flex: 1 1 100%;
    }
  }

  @media (max-width: 500px) {
    h1{
      font-size: 18px;
    }
    h3{
        font-size: 12px;
    }
     .darkth{
      font-size: 10px;
     }
     #toggle-theme {
      margin-top: 5px;
    }
    }