.acordeon {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 1rem 0;
  color: var(--bg-color);
  background-color: transparent;
  border: 1px solid var(--text-color);
  border-radius: 1rem;
  transition: .25s;
}

.acordeon.open,
.acordeon:hover {
  border-color: var(--text-color);
}

.acordeon .trigger {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  padding: 1rem 2rem;
  background-color: transparent;
  border: none;
}

.acordeon .trigger h2 {
  margin: 0;
  font-size: 1.5rem;
  text-align: start;
  color: var(--text-color);
}

.acordeon .trigger i {
  font-size: 1.5rem;
  transition: transform .25s ease;
}

.acordeon.open .trigger i {
  transform: rotate(180deg);
}

.acordeon .content {
  overflow: hidden;
  height: 0;
  opacity: 0;
  transition: opacity .25s ease-in-out;
}

.acordeon.open .content {
  display: block;
  padding: 0 1rem 1rem 2rem;
  height: auto;
  opacity: 1;
  color: var(--bg-color);
}

@media only screen and (max-width: 425px) {
  .acordeon .trigger {
    padding: 1rem;
  }

  .acordeon .trigger h2, h3 {
    font-size: 1.2rem;
  }

  .acordeon .trigger::after {
    width: 1rem;
    height: 1rem;
  }

  .acordeon.open .content {
    padding: 0 1rem 1rem;
  }
}