/* effects for buttons with hover effect and check box */

.container {
  position: relative;
  margin-top: 50px;
  width: 600px;
    height: 600px;
}

.overlay p {
  position: absolute;
  border-radius: 7%;
  top: 0;
  left: 0;
  width: 600px;
  height: 600px;
  background: rgba(0, 0, 0, 0);
  transition: background 0.5s ease;
}

.container:hover .overlay p {
  display: block;
  background: rgba(0, 0, 0, .3);
}

img {
  border-radius: 7%;
  border: 2px solid #a5a5a5;
  position: absolute;
  width: 99.6%;
  height: 99.5%;
}

.title {
  position: absolute;
  width: 600px;
  text-align: center;
  top: 490px;
  font-weight: 700;
  font-size: 40px;
  text-transform: uppercase;
  color: white;
  z-index: 1;
  transition: top .5s ease;
}

.infoPopOut{
  padding-top: 50px;
  padding-left: 0px;
  width: 500px;
  height: 100%;
  opacity: 0;
  z-index: 2;
  transition: .5s ease;
}

.prodCard{
  display: flex;
  flex-direction: row;
  opacity: 0;
  animation: fadeUp 0.7s forwards;
  animation-delay: 200ms;
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(+60px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.container:hover .title {
  top: 450px;
}

.button {
  position: absolute;
  width: 70px;
  left:var(--buttofset, 460px);
  top: 520px;
  opacity: 0;
  transition: opacity .35s ease;
}

.buttonOffSet{
  --buttofset: 360px;
}

.button a {
  width: 100px;
  border-radius: 3000px!important;
  padding: 12px 25px;
  text-align: center;
  color: white;
  border: solid 2px white;
  z-index: 10;
  text-decoration: none;
  cursor: pointer;
  transition: .35s ease;
}

.button a:hover {
  background: white;
  color: black;
}

.container:hover .button {
  opacity: 1;
}
