.card:hover {
  box-shadow: 8px 16px rgba(0, 0, 0, 0.2);
  color: red;
  font-style: italic;
}

.cards {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
  margin-top: 2px;
  width: 100%;
}

.card {
  box-sizing: border-box;
  animation: show_card 2s ease-out;
  margin-bottom: 1%;
  box-shadow: 4px 8px grey;
  transition: 0.5s;
  border-radius: 5px;
  background-color: white;
  color: black;
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
  padding: 20px 24px;
  position: relative;
  outline: none;
  width: 50%;
  margin-bottom: 20px;
  overflow-wrap: break-word;
  margin-left: auto;
  margin-right: auto;
}

.last {
  margin-bottom: 10%;
}

@media only screen and (min-width: 540px) {
  .cards {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 2px;
    width: 100%;
  }

  .card {
    box-sizing: border-box;
    animation: show_card 2s ease-out;
    margin-bottom: 1%;
    box-shadow: 4px 8px grey;
    transition: 0.5s;
    border-radius: 5px;
    background-color: white;
    color: black;
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    padding: 20px 24px;
    position: relative;
    outline: none;
    width: 50%;
    margin: 10px;
    overflow-wrap: break-word;
  }

  .last {
    margin-bottom: 10%;
  }
}

@media only screen and (min-width: 768px) {
  .cards {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-top: 2px;
    width: 100%;
  }

  .card {
    box-sizing: border-box;
    animation: show_card 2s ease-out;
    box-shadow: 4px 8px grey;
    transition: 0.5s;
    border-radius: 5px;
    background-color: white;
    color: black;
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    padding: 20px 24px;
    position: relative;
    outline: none;
    width: 40%;
    margin-bottom: 10px;
    margin-left: 50px;
    overflow-wrap: break-word;
  }

  .last {
    margin-bottom: 5%;
  }
}

@media only screen and (min-width: 1024px) {
  .cards {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-top: 2px;
    width: 100%;
  }

  .card {
    box-sizing: border-box;
    animation: show_card 2s ease-out;
    box-shadow: 4px 8px grey;
    transition: 0.5s;
    border-radius: 5px;
    background-color: white;
    color: black;
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    padding: 10px 12px;
    position: relative;
    outline: none;
    width: 25%;
    margin-bottom: 10px;
    margin-left: 150px;
    overflow-wrap: break-word;
  }
}

@media only screen and (min-width: 1200px) {
  .cards {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-top: 2px;
    width: 100%;
  }

  .card {
    box-sizing: border-box;
    animation: show_card 2s ease-out;
    box-shadow: 4px 8px grey;
    transition: 0.5s;
    border-radius: 5px;
    background-color: white;
    color: black;
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    padding: 20px 24px;
    position: relative;
    outline: none;
    width: 17.5%;
    margin-bottom: 3%;
    margin-left: 60px;
    overflow-wrap: break-word;
  }

  @media only screen and (min-width: 1400px) {
    .cards {
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;
      justify-content: flex-start;
      margin-top: 2px;
      width: 100%;
    }

    .card {
      box-sizing: border-box;
      animation: show_card 2s ease-out;
      box-shadow: 4px 8px grey;
      transition: 0.5s;
      border-radius: 5px;
      background-color: white;
      color: black;
      font-size: 2.5rem;
      font-weight: bold;
      text-align: center;
      padding: 20px 24px;
      position: relative;
      outline: none;
      width: 20%;
      margin-bottom: 3%;
      margin-left: 60px;
      overflow-wrap: break-word;
    }
  }
}
