@import url("https://fonts.googleapis.com/css?family=Hind:300,400&display=swap");
* {
    box-sizing: border-box
}

*::before, *::after {
    box-sizing: border-box
}

body {
    margin: 0;
    padding: 0;
    font-family: "Hind", sans-serif;
    color: #4d5974;
    display: flex;
    min-height: 100vh
}

.container {
    width: 48rem;
    background: #1a1c29;
}

.accordion {
    background: #1a1c29;
}

.accordion .accordion-item {
    background: #252735;
    padding: 0 1rem;
}

.accordion .accordion-item button[aria-expanded=true] {
    border-bottom: 1px solid #353d45;
}

.accordion button {
    position: relative;
    display: block;
    text-align: left;
    width: 100%;
    padding: 1em 0;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 400;
    border: 0;
    background: 0;
    outline: 0;
    letter-spacing: 0.6px;
    border-bottom: 1px solid #353d45;
}

.accordion button:hover, .accordion button:focus {
    cursor: pointer;
}

.accordion button:hover::after, .accordion button:focus::after {
    cursor: pointer;
    color: #ffffff;
    border: 1px solid #ffffff
}

.accordion button .accordion-title {
    display: block;
    padding-right: 26px;
    word-break: break-word;
}

.accordion button .icon {
    display: inline-block;
    position: absolute;
    top: 12px;
    right: 0;
    width: 22px;
    height: 22px;
}

.accordion button[aria-expanded=true] {
    color: #96ed71
}

.accordion button[aria-expanded=false] .icon::before {
    width: 10px;
    height: 10px;
    border-top: 1px solid;
    border-right: 1px solid;
    border-color: #ccc;
    content: '';
    position: absolute;
    right: 11px;
    top: 0;
    transform: rotate(45deg);
}

.accordion button[aria-expanded=true] .icon::after {
    width: 10px;
    height: 10px;
    border-top: 1px solid;
    border-right: 1px solid;
    border-color: #ccc;
    content: '';
    position: absolute;
    right: 11px;
    top: 0;
    transform: rotate(135deg);
}

.accordion button[aria-expanded=true] + .accordion-content {
    opacity: 1;
    max-height: 20em;
    transition: all 200ms linear;
    will-change: opacity, max-height
}

.accordion .accordion-content {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 200ms linear, max-height 200ms linear;
    will-change: opacity, max-height
}

.accordion .accordion-content div {
    font-size: 1.1rem;
    margin: 0 0 0.8em 0;
    border-radius: 8px;
    padding: 10px;
    background-color: #252735;
    color: #d6d6d9;
}

.category {
    font-size: 20px;
    margin-top: 8px;
    background: #252735;
    padding: 1rem 1rem 0 1rem;;
    color: #f7f7f7;
    font-weight: bold;
}

.category img {
    width: 17px;
}