@media (min-width: 769px) {
  .outil{
      display: flex;
      justify-content: center;
      align-items: center;
      margin-bottom:8% ;
  }

  #titre-outil{
      font-size: 1.5vw;
  }

  #feedly{
      width:7vw;
      height: auto;
      object-fit: cover;
      margin-left: 1vw;
  }

  .book-container{
      width: 90%;
      min-height: 55%;
      display: flex;
      justify-content: space-around;
  }

  .book {
      position: relative;
      border-radius: 10px;
      width: 25%;
      height: 100%;
      background-color: whitesmoke;
      box-shadow: 1px 1px 12px white;
      transform: preserve-3d;
      perspective: 2000px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      color: #000;
  }
    
  .cover {
      top: 0;
      position: absolute;
      background-color: lightgray;
      width: 100%;
      height: 100%;
      border-radius: 10px;
      cursor: pointer;
      transition: all 0.5s;
      transform-origin: 0;
      box-shadow: 1px 1px 12px #000;
      display: flex;
      align-items: center;
      justify-content: center;
  }
    
  .book:hover .cover {
      transition: all 0.5s;
      transform: rotatey(-80deg);
  }

  .book h1{
    font-size: 2vw;
    font-weight: bold;
    width: 70%;
  }
    
  .book p {
      font-size: 1.5vw;
      width: 70%;
      text-align: center;
  }

  .book img{
      width: 100%;
      height: 100%;
      object-fit: cover;
  }

  .book button {
      background: #0179f9;
      color: white;
      border: none;
      padding: 10px 20px;
      display: inline-block;
      font-size: 0.8vw;
      font-weight: 600;
      width: 100%;
      text-transform: uppercase;
      cursor: pointer;
      transform: skew(-21deg);
    }

  .book span {
      display: inline-block;
      transform: skew(21deg);
      color: white;
  }

  .book button::before {
      content: '';
      position: absolute;
      top: 0;
      bottom: 0;
      right: 100%;
      left: 0;
      background: rgb(20, 20, 20);
      opacity: 0;
      z-index: -1;
      transition: all 0.5s;
  }

  .book button:hover {
      color: #fff;
  }

  .book button:hover::before {
      left: 0;
      right: 0;
      opacity: 1;
  }

  .light-mode .outil {
    color: black;
    }

    .light-mode .book {
        background-color: #444;
        box-shadow: 1px 1px 12px rgba(0, 0, 0, 0.7);
    }

    .light-mode .cover {
        background-color: #555;
        box-shadow: 1px 1px 12px rgba(255, 255, 255, 0.5);
    }

    .light-mode .book h1 {
        color: #eee;
    }

    .light-mode .book p {
        color: #ddd;
    }

    .light-mode .book button::before{
        background-color: white;
    }

    .light-mode .book span {
        color: black;
    }

}

@media (max-width: 768px) {
  .outil{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 13% 0;
  }

  #titre-outil{
      font-size: 4.5vw;
  }

  #feedly{
      width: 18vw;
      height: auto;
      object-fit: cover;
      margin-left: 2vw;
  }

  .book-container{
      width: 100%;
      display: flex;
      flex-direction: column;
      overflow-y: scroll;
      margin-bottom: 5%;
  }

  .book {
      position: relative;
      border-radius: 10px;
      width: 85%;
      min-height: 90%;
      background-color: whitesmoke;
      box-shadow: 1px 1px 12px white;
      transform: preserve-3d;
      -webkit-perspective: 2000px;
      perspective: 2000px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      color: #000;
      transition: transform 0.5s ease;
      margin: 3% auto;
  }
    
  .cover {
      top: 0;
      position: absolute;
      background-color: lightgray;
      width: 100%;
      height: 100%;
      border-radius: 10px;
      cursor: pointer;
      transition: all 0.5s;
      transform-origin: 0;
      box-shadow: 1px 1px 12px #000;
      display: flex;
      align-items: center;
      justify-content: center;
  }
    
  .book:hover .cover {
      transform: rotatey(-80deg);
  }

  .book.rotate .cover {
    transform: rotateY(-80deg);
  }

  .book h1{
    font-size: 8vw;
    font-weight: bold;
    text-align: center;
    width: 70%;
  }
    
  .book p {
      font-size: 4.5vw;
      width: 70%;
      text-align: center;
  }

  .book img{
      width: 100%;
      height: 100%;
      object-fit: cover;
  }

  .book button {
      background: #0179f9;
      color: white;
      border: none;
      padding: 10px 20px;
      display: inline-block;
      font-size: 3.8vw;
      font-weight: 600;
      width: 100%;
      text-transform: uppercase;
      cursor: pointer;
      transform: skew(-21deg);
    }

  .book a{
    color: white;
  }

  .book span {
      display: inline-block;
      transform: skew(21deg);
  }

  .book button::before {
      content: '';
      position: absolute;
      top: 0;
      bottom: 0;
      right: 100%;
      left: 0;
      background: rgb(20, 20, 20);
      opacity: 0;
      z-index: -1;
      transition: all 0.5s;
  }

  .book button:hover {
      color: #fff;
  }

  .book button:hover::before {
      left: 0;
      right: 0;
      opacity: 1;
  }

  .light-mode .outil {
    color: black;
    }

    .light-mode .book {
        background-color: #444;
        box-shadow: 1px 1px 12px rgba(0, 0, 0, 0.7);
    }

    .light-mode .cover {
        background-color: #555;
        box-shadow: 1px 1px 12px rgba(255, 255, 255, 0.5);
    }

    .light-mode .book h1 {
        color: #eee;
    }

    .light-mode .book p {
        color: #ddd;
    }

    .light-mode .book button::before{
        background-color: white;
    }

    .light-mode .book span {
        color: black;
    }
}