.cardcontent {
  display: flex;
    justify-content: center;
    align-items: start;
    position: absolute;
    top: -300vh;
    left: 50%;
  transform: translate(-50%, 0%);
  transition: all 0.69s ease-in-out;
  scroll-behavior: auto;
  font-size: 19px;
  width: 90vw;
  height: 125vh;
}
img {
  border-radius: 10px 10px 0 0;
  width: 100%;
}
.cardinnards {
border-radius: 10px;
  background-color: #fff;
  max-width: 50vw;
  position: relative;
}
.cardcontent.active {
top: 5vh;

}
.cardtext {
  padding: 1vw;
}

#card4frame {
  position: relative;
  left:50%;
  transform: translateX(-50%);
}

.hidecardbutton {
  background-color: rgb(0, 0,0, 0.369);
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 21px;
  color: black;
  font-family: Stalemate;
  font-weight: 900;
  position: absolute;
  right: 3%;
  transition: all 0.3s ease-in-out;
  padding: 2%;
}
.hidecardbutton:hover {
  background-color: rgb(0, 0,0, 0.69);
  padding: 3%;
  color: white;
  font-size: 30px;
}