.home {
  display: flex;
  justify-content: center;
  align-items: center;
}

.outerdiv {
  margin-top: 4rem;
  margin-bottom: 4rem;
}

.slogan p {
  font-family: "Lucida Handwriting";
  letter-spacing: 2px;
  font-size: larger;
  margin-bottom: 4rem;
  text-align: center;
  color: #344b9b;
}

.products {
  display: flex;
  flex-direction: row;
}

.products img {
  border: 2px solid transparent;
  height: 13rem;
  margin-left: 0.5rem;
  margin-right: 0.5rem;
  transition: 200ms;
}

.info {
  background-color: #e5e5e5;
  width: auto;
  margin: 5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.info a,
i {
  text-decoration: none;
  color: black;
}

.copyright {
  text-align: center;
  color: #aaaaaa;
  margin-bottom: 20px;
}

/* animations */

.products img:hover {
  border: 2px solid #344b9b;
}

.products figcaption {
  text-align: center;
  font-family: "Lucida Handwriting";
  font-size: small;
  color: #344b9b;
}

.slogan p {
  animation: sloganSlide;
  animation-duration: 1000ms;
  width: 100%;
}

.products {
  animation: productSlide;
  animation-duration: 1000ms;
}

@keyframes sloganSlide {
  from {
    margin-left: 100rem;
    color:transparent;
  }
  to {
    margin-left: 0;
    color:#344b9b
  }
}

@keyframes productSlide {
  from {
    margin-right: 100rem;
    opacity: 0;
  }
  to {
    margin-right: 0;
    opacity: 1;
  }
}

@media screen and (max-width:600px) {

  .products {
    display: block;
    text-align: center;
  }
  .info {
    display: block;
    text-align: center;
  }
  .info pre {
    margin-top: 1rem;
    translate: -2rem  }

}
