/* Accordion styles */
.accordion {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 4px -2px rgba(0, 0, 0, 0.5);
}
.accordion input {
	position: absolute;
	opacity: 0;
	z-index: -1;
}
.accordion .tab {
    width: 100%;
    color: white;
    overflow: hidden;
}
.accordion .tab:not(:last-child) {
	margin-bottom: 1px;
}
.accordion .tab-label {
    display: flex;
    justify-content: space-between;
    padding: 1em;
    background: rgba(44, 62, 80, .7);
    font-weight: bold;
    cursor: pointer;
    /* Icon */
}
.accordion .tab-label:hover {
    background: rgba(44, 62, 80, .7);
}
.accordion .tab-label::after {
    content: "\276F";
    width: 1em;
    height: 1em;
    text-align: center;
    transition: all .35s;
}
.accordion .tab-content {
    max-height: 0;
    padding: 0 1em;
    color: #2c3e50;
    background: rgba(255, 255, 255, .7);
    transition: all .35s;
}
.accordion .tab-content p {
	margin: 0;
	padding: 0 0 10px 0;
}
.accordion .tab-content ul {
	margin: 0;
}
.accordion .tab-close {
    display: flex;
    justify-content: flex-end;
    padding: 1em;
    font-size: 0.75em;
    background: #2c3e50;
    cursor: pointer;
}
.accordion .tab-close:hover {
    background: rgba(44, 62, 80, .7);
}

.accordion input:checked + .tab-label {
    background: rgba(44, 62, 80, .7);
}
.accordion input:checked + .tab-label::after {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
}
.accordion input:checked ~ .tab-content {
    max-height: 100vh;
    padding: 1em;
}
