:root {
  --darkBlue: #19313e;
  --cream: #ffecd4;
  --emerald: #40755e;
  --gold: #956d3c;
  --bronze: #634625;
}

body {
  margin: 0;
  padding:0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: var(--darkBlue);
  font-family: sans-serif;
}
.card {
  position: relative;
  width: 400px;
  height: 400px;
  background-color: var(--gold);
}
.content {
  position: absolute;
  width: 60%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--cream);
  text-align: center;
}
h2 {
  margin-bottom: 20px;
  text-transform: capitalize;
}
p {
  margin-bottom: 30px;
  text-transform: capitalize;
}
a {
  display: inline-block;
  padding: 10px 10px;
  border: 1px solid white;
  text-decoration: none;
  color: white;
  transition: .5s;
  text-transform: capitalize;
}
a:hover {
  color: black;
  background-color: var(--cream)
}
img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .4s;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
img:hover {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 100% 0);
}