@import url("https://fonts.googleapis.com/css?family=Hind:300,400&display=swap");

:root {
  --color-text: hsl(248, 10%, 40%);
  --color-text-muted: hsl(248, 10%, 40%);
  --color-purple: slateblue;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.accordion {
  /*display: grid;*/
  place-items: center;
  overflow: hidden;
  /*min-height: 100vh;*/
  color: var(--color-text);
  background: hsl(248, 53%, 95%);
  font-family: "Hind", sans-serif;
}

.accordion {
  width: 42rem;
  padding: 1.2rem 0;
  border-radius: 1rem;
  background: white;
/*   box-shadow: 0 0 5rem lightgrey; */
}

.accordion__heading {
  margin-bottom: 1rem;
  padding: 0 1.4rem;
}

.accordion__item:not(:last-child) {
  border-bottom: 1px solid lightgrey;
}

.accordion__btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1.2rem 1.4rem;
  background: white;
  border: none;
  outline: none;
  color: var(--color-text);
  font-size: 1.2rem;
  text-align: left;
  cursor: pointer;
  transition: 0.1s;
}
.accordion__btn:hover {
  color: var(--color-purple);
  background: hsl(248, 53%, 97%);
}

.accordion__item--active .accordion__btn {
  color: var(--color-purple);
  border-bottom: 2px solid var(--color-purple);
  background: hsl(248, 53%, 97%);
}

.fa-lightbulb {
  padding-right: 1rem;
}
.accordion__icon {
  border-radius: 50%;
  transform: rotate(0deg);
  transition: 0.3s ease-in-out;
  opacity: 0.9;
}
.accordion__item--active .accordion__icon {
  transform: rotate(135deg);
}

.accordion__content {
  font-weight: 300;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  color: var(--color-text-muted);
  transform: translateX(16px);
  transition: max-height 0.5s ease, opacity 0.5s, transform 0.5s;
}
.accordion__content p {
  padding: 1rem 1.8rem;
}

.accordion__item--active .accordion__content {
  opacity: 1;
  transform: translateX(0px);
  max-height: 100vh;
}

.accordion__item {
    padding: 10px 25px;
}
.fa.fa-plus {
    padding-right: 10px;
}
@media only screen and (max-width: 426px) {
.accordion {
    width: 20rem;
}
}

/*how-to section*/
.containter {
	width: 100%;
	display: grid;
	grid-gap:  10px;
}

.containter2 {
	width: 100%;
	display: grid;
	grid-gap:  10px;
	padding-top: 100px;
}

div.item::first-letter {
    color: #ed1b53;
    font-size: 350%;
    padding: 10px 10px;
    float: left;
}

.item {
	width: 100%;
	height: 150px;
	line-height: 20px;
	text-align: center;
}

.item:nth-of-type(1) {
	grid-row: 1;
}
.item:nth-of-type(2) {
	grid-row: 2;
}
.item:nth-of-type(3) {
	grid-row: 1;
}
.item:nth-of-type(4) {
	grid-row: 2;
}
.item:nth-of-type(5) {
	grid-row: 1;
}
.item:nth-of-type(6) {
	grid-row: 2;
}
.item:nth-of-type(7) {
	grid-row: 3;
}
.item:nth-of-type(8) {
	grid-row: 4;
}
.item:nth-of-type(9) {
	grid-row: 3;
}
.item:nth-of-type(10) {
	grid-row: 4;
}
.item:nth-of-type(11) {
	grid-row: 3;
}
.item:nth-of-type(12) {
	grid-row: 4;
}

.how-to-img {
	margin-top: -5px;
}

@media only screen and (max-width: 426px) {
.item:nth-of-type(1) {
	grid-row: 1;
}
.item:nth-of-type(2) {
	grid-row: 2;
}
.item:nth-of-type(3) {
	grid-row: 3;
}
.item:nth-of-type(4) {
	grid-row: 4;
}
.item:nth-of-type(5) {
	grid-row: 5;
}
.item:nth-of-type(6) {
	grid-row: 6;
}
.item:nth-of-type(7) {
	grid-row: 7;
}
.item:nth-of-type(8) {
	grid-row: 8;
}
.item:nth-of-type(9) {
	grid-row: 9;
}
.item:nth-of-type(10) {
	grid-row: 10;
}
.item:nth-of-type(11) {
	grid-row: 11;
}
.item:nth-of-type(12) {
	grid-row: 12;
}
}

@media only screen and (max-width: 1025px) and (min-width: 427px)  {
.item:nth-of-type(1) {
	grid-row: 1;
}
.item:nth-of-type(2) {
	grid-row: 2;
}
.item:nth-of-type(3) {
	grid-row: 1;
}
.item:nth-of-type(4) {
	grid-row: 2;
}
.item:nth-of-type(5) {
	grid-row: 3;
}
.item:nth-of-type(6) {
	grid-row: 4;
}
.item:nth-of-type(7) {
	grid-row: 3;
}
.item:nth-of-type(8) {
	grid-row: 4;
}
.item:nth-of-type(9) {
	grid-row: 5;
}
.item:nth-of-type(10) {
	grid-row: 6;
}
.item:nth-of-type(11) {
	grid-row: 5;
}
.item:nth-of-type(12) {
	grid-row: 6;
}
}
/*how-to section END*/