*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

main{
  display: flex;
  flex-direction: column;
  max-width: 1200px;
  margin: 0 auto;
}

.image{
  display: flex;
  flex-direction: column;
  align-items: center;

}
.image p{
  color: #565959;
  margin-top: 1em;
}
.main-img {
  width: 70%;
  height: auto;
  box-shadow: 0px 2px 5px lightgray;
  margin-block: 1em;
}

.text{
  width: 90%;
  margin: 0 auto;
  padding: 1em;
}
.text h1{
  font-weight: 500;
  margin-block: 1em;
}
.author-link{
  color: #007185;
  text-decoration: none;
}
.rating{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-block: 1em;
  gap: 1em;
}
.rating-img{
  width: 30%;
}
.rating a{
  color: #007185;
  cursor: pointer;
  text-decoration: none;
}

h2{
  font-size: 1.1rem;
}
.main-text{
  line-height: 1.5;
  margin-block: 1em;
}
.main-text p{
  margin-block: 1em;
}

@media (min-width:850px){
  main{
    flex-direction: row;
    gap: 2em;
    padding: 2em;
  }
  .image{
    height: 100vh;
  }
  .main-img{
    width: 100%;
  }
}