:root {
  --background: #a3d4e4;
  --darkBlue: #013d4a;
  --darkGrey: #3b3b3b;

  --brightRed:  #cd4471;
}

body {
  margin: 0;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: sans-serif;
  /* overflow: hidden; */
  background-color: var(--darkGrey);
}
.card {
  position: relative;
  width: 300px;
  height: 400px;
  background-color: black;
  box-shadow: 0px 30px 30px rgba(0,0,0,.5);
}
.content {
  position: absolute;
  bottom: 0px;
  width: 80%;
  height: 80px;
  background-color: white;
  left: 10%;
  text-align: center;
  overflow: hidden;
  transition: all .5s;
}
h3 {
  font-size: 30px;
  text-transform: uppercase;
  margin: 25px;
}
p {
  width: 80%;
  margin: 10px auto;
  font-size: 18px;
  transition: .5s;
  opacity: 0;
}
a {
  text-decoration: none;
  background-color: var(--darkBlue);
  color: white;
  padding: 10px 15px;
  display: inline-block;
  margin-top: 10px;
  transition: all .5s;
  opacity: 0;
}
.card:hover .content {
  height: 100%;
  width: 100%;
  left: 0;
}
.card:hover p,
.card:hover a {
  opacity: 1;
  transition-delay: .2s;
}
.imgBox {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: all .5s;
  overflow: hidden;
}
img {
  height: 100%;
  object-fit: cover;
  transition: all .5s;
}
.card:hover img {
  opacity: 0;
}