@import url('https://fonts.googleapis.com/css?family=Roboto+Slab:100,300,400,700');
@import url('https://fonts.googleapis.com/css?family=Raleway:300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i');
@import url('https://fonts.googleapis.com/css?family=Lato:400,700');

*{
  align-items: center;
}
body {
  font-family: 'Roboto Slab', serif;
  text-align: center;
  background-color: lightpink;
}

.image {
        display: block;
        width: 100%;
        height: auto;
        border-radius: 20px;
        scale: 80%;
        bottom: 0;
        top: 10;
        transition: 0.2s all ease-out;
      }

.overlay {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        max-width: 100%;
        height: auto;
      }

.button {
      transition: 0.2s all ease-out;
        position: absolute;
        top: 0;
        left: 0;
        max-width: 100%;
        height: auto;
        transform: scale(0.8, 0.8);
      }

.card:hover .button {
        transition: 0.2s all ease-out;
        padding:0%;
        opacity: 1;
        transform: scale(0.7, 0.7);
      }

.card:hover .image {
  box-shadow: 0px 30px 18px -8px rgba(0, 0, 0,0.1);
  transform: scale(1.10, 1.10);
  border-radius: 50px;
  transition: 0.2s all ease-out;
}

#footer img {
  max-width: 50%;
  height: auto;
  margin: auto;
  margin-top: 5%;
}

/* TELEPHONE */
@media screen and (max-width: 600px) {
  body {
    font-size: 16px;
  }

    #logo {
  max-width: 70%;
  height: auto;
  }

  h1 {
    font-size: 1em;
  }

  .card {
  position: relative;
  width: 70%;
  margin:auto;
}

}

/* TABLETTE */
@media screen and (min-width: 600px) {
    #logo {
  max-width: 60%;
  height: auto;
  }

  h1 {
    font-size: 1.5em;
  }

  .card {
  position: relative;
  max-width: 40%;
  display: inline-block;
  margin: 0%;
}
}

/* ORDINATEUR */
@media screen and (min-width: 900px) {
    #logo {
  max-width: 60%;
  height: auto;
  }

  h1 {
    font-size: 1.5em;
  }

  .card {
  position: relative;
  max-width: 30%;
  display: inline-block;
}

  #footer img {
  max-width: 25%;
  height: auto;
  margin: auto;
  margin-top: 2%;
}
}

/* PRINT */
@media print {
  body {
    background-color: white;
  }
}