* {
  padding: 0;
  margin: 0;
}
body {
  box-sizing: border-box;
  padding: 20px 50px;
  font-family: "Poppins", sans-serif;
  background-color: #fcfcfc;
}
:root {
  --main-color: #ff2e2e;
  --second-color: #f5f5f5;
  --font-color: #252424;
}
.header-page{
  display: flex;
  flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}
.header-page strong{
  color: var(--main-color);
}
.search {
  display: flex;
  justify-content: center;
 
}

.search input {
  background-color: var(--second-color);
  border: 0.5px #a8a8a8 solid;
  border-radius: 15px;
  height: 40px;
  width: 30%;
  padding-left: 15px;
  padding-right: 15px;
  margin-bottom: 20px;
}

#search{
  width: 70px;
  height: 40px;
  border: none;
  border-radius: 15px;
  background-color: var(--main-color);
  color: #fff;
  margin-left: 20px;
}
.main-font {
  color: var(--main-color);
  margin-bottom: 15px;
  margin-top: 20px;
  font-weight: bold;
}
.books .book-card {
  display: flex;
  justify-content: space-between;
  width: 100%;
  height: fit-content;
  background-color: var(--second-color);
  margin-bottom: 20px;
}
.book-img {
  width: 50%;
  height: 100%;
}
.book-img-container {
  width: 100%;
}
.book-desc {
  width: 50%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
}
.book-name .book-author {
  margin-bottom: 10px;
}
.book-link-to-read {
  text-decoration: none;
  color: var(--main-color);
  font-weight: bold;
}
.book-link-to-read:hover {
  color: #000000;
}
.movies .movie-card {
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 100%;
  height:fit-content;
  background-color: var(--second-color);
  margin-bottom: 20px;
}
.movie-card img {
  width: 100%;
  margin-bottom: 20px;
}
.movie-desc{
  text-align: center;
}
.movie-desc p {
  margin-bottom: 10px;
}

@media only screen and (min-width: 600px)  {
    .books{
        display: flex;
        flex-wrap: wrap;
        justify-content:space-between;
    }
    .books .book-card{
        width: 31%;
        height: 300px;
    }
    .book-img-container {
      height: 100%;
      width: 100%;
    }
    .book-desc{
      text-align: center;
      display: flex;
      align-items: center;
      padding: auto 20px;
    }
    .book-desc p{
      margin-top: 20px;
    }
    .movies{
        display: flex;
        flex-wrap: wrap;
        justify-content:space-between;
    }
    .movies .movie-card{
        width: 24%;
    }
}