@import url("https://fonts.googleapis.com/css2?family=Poiret+One&display=swap");
* {
  margin: 0;
  padding: 0;
}

body {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Poiret One", sans-serif;
  font-weight: 400;
  font-size: 1.25rem;
  font-style: normal;
  background-image: url("img/dancer.png");
  background-position: center/cover;
  background-repeat: round;
}

.container {
  margin-top: 270px;
  width: 850px;
  height: 500px;
  position: relative;
  border-radius: 5px;
}

.container img {
  width: 100%;
}

.container:before {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  content: "";
  background-color: #29022f;
  opacity: 0.8;
}

.caption {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  color: white;
  text-transform: uppercase;
}

h2 {
  text-align: center;
  font-size: 1.5rem;
  padding: 20px;
  margin-top: 20px;
  background: #271141;
}

p {
  font-size: 1.5rem;
  font-weight: bold;
  width: 80%;
  align-self: center;
  text-align: center;
}

a {
  text-decoration: none;
  background: #560930;
  color: #fff;
  width: 150px;
  padding: 15px;
  font-size: 1.25rem;
  text-align: center;
}

.container:before {
  transform: translate(850px, -100px) rotate(180deg);
  transition: all 0.2s;
}

.container:hover:before {
  transform: translate(0, 0) rotate(0deg);
}

h2 {
  transform: translateY(-120px);
  transition: all 0.2s;
}

.container:hover h2 {
  transform: translateY(0px);
  transition-delay: 0.5s;
}

p {
  transform: translateX(500px) rotate(90deg);
  transition: all 0.2s;
}

.container:hover p {
  transform: translateX(0) rotate(0deg);
  transition-delay: 0.4s;
}

a {
  transform: translateY(-300px);
  transition: all 0.2s;
  background: #b1397a;
}

.container:hover a {
  transform: translateY(0px);
  transition-delay: 0.3s;
}

.container {
  overflow: hidden;
}
.aquarell {
  width: 850px;
  height: 500px;
  border-top: 10px solid #b139;
  border-left: 10px solid #b1397a;
}
