body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  background-color: #f4f4f9;
  color: #333;

  opacity: 0;
  animation: fadeIn 0.4s ease-in-out forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.blo {

  max-width: 1200px;
  margin: 50px auto;
  background: rgba(255, 255, 255, 0.15);

  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 1020px;
  background-color: white;
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;

}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

header {
  background-color: #4a76a8;
  color: white;
  padding: 20px;
  text-align: center;
}

nav {
  margin-top: 10px;
}

nav a {
  margin: 0 10px;
  text-decoration: none;
  color: white;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
}

.intro {
  text-align: center;
  margin: 40px 0;
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.book-card {
  background: rgb(255, 255, 255);
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s;
}

.book-card:hover {
  transform: translateY(-5px);
}

.book-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
}

footer {
  text-align: center;
  padding: 4px;
  margin-top: 40px;
  color: #555555;
  background-color: #d6d5d5;
  border-radius: 9px;
}
.b-1{
  background-color: #4a76a8;
  border: 1px solid #f5f5f5;
  border-radius: 20px;
  color: #ffff;
  padding: 7px;
  font-size: 16px;
  font-weight: 700;
}

.title{
  font-size: 24px;
  color: #ff0000;
  background-color: #fff700;
  margin-top: 20px;
  margin-bottom: 30px;
  padding: 5px;
  font-weight: 700;
  border-radius: 7px;
}

.text strong{
  font-size: 40px;
  color: red;
}

.text{
  font-size: 17px;
}

.voprosi{
  display: flex;
  justify-content: space-between;
}

.vopros{
  width: 480px;
}

.vopros__title{
  width: 400px;
    font-size: 19px;
    margin-top: 20px;
    margin-bottom: 0px;
    padding: 5px;
    font-weight: 700;
    border-radius: 7px;
  
}

.list li{
  font-size: 17px;
  margin-bottom: 10px;
}

.vopros{
  border: 1px solid #4a76a8;
  border-radius: 15px;
}


.img img{
  width: 100px;

}

.text__flex{
  font-size: 23px;
}

.flex{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80px;
}

.header {
  background: #2f5fa6;
  color: white;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu a {
  color: white;
  margin: 0 10px;
  text-decoration: none;
}


.b_1 {
  background-color: #2f5fa6;
  color: #ffff;
  padding-left: 17px;
  padding-right: 17px;
  padding-top: 5px;
  padding-bottom: 5px;
  border-radius: 30px;
  border: 0.5px solid #ffffff;
  font-size: 16px;
}

.b_1:hover {
  background-color: rgba(0, 255, 102, 0.181);
  transition-duration: 1s;
}