:root {
  --pageBlack: #262626;
  --pageYellow: #fadf72;
  --pagePurple: #552b55;
  --pageRed: #E1332d;
  --pageGreen: #3a5248;
  --grey: #879c9b;
  --lightGreen: rgb(174, 194, 176);
  --pageGrey: #90a0a6;
  --lightBlue: #d9ebf7;
}
body {
  margin:0;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: sans-serif;
  /* overflow: hidden; */
  background-color: var(--lightGreen);
  /* overflow: hidden; */
}
.card {
  position: relative;
  width: 400px;
  height: 300px;
  display: flex;
  align-items: center;
  background-color: #a7a283;
  border-radius: 20px;
}
img {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 400px;
  transition: all .5s;
}
.card:hover img {
  height: 450px;
  left: 80%;
}
.content {
  position: relative;
  width: 40%;
  left: 20%;
  color:white;
  text-transform: capitalize;
  transition: all .5s;
  opacity: 0;
}
.card:hover .content {
  opacity: 1;
  left: 6%;
}
h2{
  margin: 0;
  padding:0;
}
p {
  margin-bottom: 20px;
  text-transform: none;
}
a {
  position: relative;
  display: inline-block;
  padding: 5px 10px;
  background: white;
  border-radius: 5px;
  text-decoration: none;
  color: var(--pageGreen);
  box-shadow: 0px 2px 5px rgba(174,194,126,.2);
}