* {
  overflow-x: hidden;
}



h1 {
  background-color: rgb(31, 31, 31);
  color: white;
  margin: 0;
  padding: 20px;

}
iframe{
    margin-left: 50px;
    margin-bottom: 20px;
    float: left;
}
.bryt{
  clear:both;
}
p{
    margin-left: 50px;
}
body{
    background-color: rgb(176, 170, 132);
    margin: 0;
    padding: 0;
}

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: rgb(255, 255, 255);
  }

  .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(58, 58, 58);
  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;
  margin-bottom: 10px;
  color: #ffffff;
}

.book-info p {
  margin: 5px 0;
}

.icon {
  font-size: 1.2em;
}


.buttons {
  margin-top: 20px;
}

button {
  padding: 10px 15px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  font-size: 1em;
}

.bestill {
  background-color: #787878;
  color: white;
  margin-right: 10px;
}

h2{
  margin-left: 50px;
}

#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;
}

.excelll{

font-size: 50px;
}

body.night-mode {
    background-color: rgb(67, 67, 67);
    color: white !important;
  }   

  @media (max-width: 500px) {
    .rita{
     width: 200px;
     }
      h1{
        font-size: 18px;
      }
      
      .book-card
      {
        width: 300px;
        height: 180px;
      }
      .book-cover {
       width: 100px;
       height: 180;
       }
       .book-info{
        font-size: 7px;
       }
       .darkth{
        font-size: 10px;
       }
       #toggle-theme {
        margin-top: 5px;
      }
      }