 

/* Core styles/functionality */
.tabacc {
  position: relative;
}
.tabacc input {
  position: absolute;
  opacity: 0;
  z-index: -1;
}
.tabacc__content {
  max-height: 0;
  overflow: hidden;
  transition: all 0.35s;
   width:1200px;
  min-width:100%;
 }
.tabacc input:checked ~ .tabacc__content {
  max-height: 100%;
  width:100%;
  min-width:100%;
}

/* Visual styles */
.accordionacc {
  color: var(--theme);
  border: 2px solid;
  border-radius: 0.5rem;
  overflow: hidden;
}
.tabacc__label,
.tabacc__close {
  display: flex;
  color: #000;
  background: var(--theme);
  cursor: pointer;
  font-size:20px;
  font-weight:bold;
}
.tabacc__label {
  justify-content: space-between;
  padding: 1rem;
}
.tabacc__label::after {
  content: "\276F";
  width: 1em;
  height: 1em;
  text-align: center;
  transform: rotate(90deg);
  transition: all 0.35s;
  
}
.tabacc input:checked + .tabacc__label::after {
  transform: rotate(270deg);
}
.tabacc__content p {
  margin: 0;
  padding: 1rem;
}
.tabacc__close {
  justify-content: flex-end;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
}
.accordionacc--radio {
  --theme: var(--secondary);
}

/* Arrow animation */
.tabacc input:not(:checked) + .tabacc__label:hover::after {
  -webkit-animation: bounce .5s infinite;
          animation: bounce .5s infinite;
}
@-webkit-keyframes bounce {
  25% {
    transform: rotate(90deg) translate(.25rem);
  }
  75% {
    transform: rotate(90deg) translate(-.25rem);
  }
}
@keyframes bounce {
  25% {
    transform: rotate(90deg) translate(.25rem);
  }
  75% {
    transform: rotate(90deg) translate(-.25rem);
  }
}