/* Variables */
:root {
  --primary-color: #1292EE;
  --white-color: #FFF;
  --gray-color: #F2F2F2;
  --black-color: rgb(20, 20, 20);
  --black-light-color: rgb(114, 114, 114);
}

/* Global */
*{
  margin: 0;
  padding: 0;
  box-sizing: 0;
}
body {
  background-color: var(--gray-color);
  color: var(--black-color);
  font-family: 'Trebuchet MS', Arial, sans-serif;
  font-size: 62.5%;
}
.shadow-out {
  box-shadow: 0px 5px 13px 0px rgba(0,0,0,0.12);
  -moz-box-shadow: 0px 5px 13px 0px rgba(0,0,0,0.12);
  -webkit-box-shadow: 0px 5px 13px 0px rgba(0,0,0,0.12);
}
a {
  color: inherit;
  text-decoration: none;
  animation-duration: 2.5s;
  animation-fill-mode: both;
  animation-iteration-count: infinite;
  animation-name: bounce;
}
h2, i {
  font-size: 1rem;
}
p {
  color: var(--black-light-color);
  font-size: 0.9rem;
}
.active h2, .active i{
  color: var(--primary-color);
}
.description {
  display: none;
}
.active .description {
  display: block;
}
.active p {
  animation-duration: 500ms;
  animation-fill-mode: both;
  animation-name: fadeTop;
}
.active i {
  transform: rotate(-180deg);
  transition: 500ms all ease-in-out;
}


/* Animaciones */ 
@keyframes fadeTop {
  0% {
    z-index: 0;
    opacity: 0;
    transform: translateY(-10px);
  }
  100% {
    z-index: 1;
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
  40% {transform: translateY(-10px);}
  60% {transform: translateY(-5px);}
}

/* Principal */
.questions {
  align-items: center;
  justify-content: center;
  display: flex;
  height: 95vh;
  min-height: 600px;
  width: 100%;
}
.questions__container {
  background-color: var(--white-color);
  border-radius: 1rem;
  margin: 0 auto;
  width: 50%;
}
@media (max-width: 900px) {
  .questions__container {
    width: 70%;
  }
}
@media (max-width: 768px) {
  .questions__container {
    width: 90%;
  }
}
.questions__container--item {
  border-bottom: 1px solid var(--gray-color);
}
.questions__container--item:last-child {
  border-bottom: none;
}
.questions__container--item .item {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 1rem 2rem;
}
.questions__container--item .item:hover {
  color: var(--primary-color);
  cursor: pointer;
  transition: 500ms all ease-in-out;
}
.questions__container--item .description div {
  background-color: var(--gray-color);
  height: 1px;
  width: 100%;
}
.questions__container--item .description p{
  padding: 1rem 2rem;
}

/* Footer */
footer {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: bold;
  height: 5vh;
}
.footer__container {
  display: flex;
  align-items: center;
}
.footer__container a {
  display: block;
  margin: 0 0.2rem;
}