#main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: end;
  animation: main 0.7s ease-in-out forwards;
}
#text {
  display: flex;
  width: 50vw;
  border: 10px double #333;
  padding: 40px 60px;
  font-size: clamp(1em, 1.5vw, 1.5em);
  text-align: justify;
  border-radius: 12px;
  animation: text 0.7s ease-in-out forwards;
}
#list {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 60%;
}
ul {
  list-style: none;
  padding: 0;
}
.card {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  text-align: justify;
  width: 100%;
  margin: auto;
}
.card img {
  width: 50%;
  height: auto;
  border-radius: 12px;
  border: 2px solid #333;
}
.card p {
  font-size: clamp(0.8em, 1.3vw, 2em);
  margin: 10px 0;
}
.card button {
  background-color: #333;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: clamp(0.8em, 1vw, 1em);
  border-radius: 6px;
  margin-top: 5%;
}
.card button:hover {
  background-color: #555;
  transition: all 0.3s ease-in-out;
  letter-spacing: 1px;
}
@keyframes text {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes main {
  from {
    opacity: 0;
    transform: translateY(90px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media screen and (max-width: 1000px) {
  #text {
    border: 5px double #333;
    width: 80vw;
    padding: 5px;
  }

  #list {
    width: 90%;
  }
}
