* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

body {
  padding: 0;
  margin: 0;
}

img {
  height: 550px;
  width: 550px;
  display: block;
  margin: auto;
  margin-top: 100px;
  border-radius: 8px;
  box-shadow: 0 8px 8px 0 rgba(0, 0, 0, 1);
}

#llibre {
  position: relative;
  height: 10vh;
}

#llibre .llibre {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}

.llibre {
  max-width: 520px;
  width: 100%;
  line-height: 1.4;
  text-align: center;
}

.llibre .book {
  position: relative;
  height: 300px;
  margin: 0px auto 20px;
  z-index: -1;
}

.llibre .book h1 {
  width: 100%;
  font-family: 'Montserrat', sans-serif;
  font-size: 50px;
  font-weight: 400;
  margin: 0px;
  color: #211b19;
  text-transform: uppercase;
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}

.llibre .book h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 50px;
  font-weight: 400;
  text-transform: uppercase;
  color: #211b19;
  background: #fff;
  padding: 10px 0px;
  margin: auto;
  display: inline-block;
  position: absolute;
  bottom: 0px;
  left: 0;
  right: 0;
}

.llibre a {
  font-family: 'Montserrat', sans-serif;
  display: inline-block;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  text-transform: uppercase;
  padding: 13px 23px;
  background: hsl(0, 100%, 50%);
  font-size: 18px;
  -webkit-transition: 0.2s all;
  transition: 0.2s all;
  margin-left: 10%;
}

.llibre a:hover {
  color: #ff6300;
  background: #211b19;
}

@media only screen and (max-width: 767px) {
  .llibre .book h1 {
    font-size: 148px;
  }

  img {
    height: 300px;
    width: 300px;
  }

}

@media only screen and (max-width: 480px) {
  .llibre .book {
    height: 148px;
    margin: 0px auto 10px;
  }
  .llibre .book h1 {
    font-size: 86px;
  }
  .llibre .book h2 {
    font-size: 16px;
  }
  .llibre a {
    padding: 7px 15px;
    font-size: 14px;
  }

  img {
    height: 250px;
    width:250px;
  }

}
