

.accordion {
    width: 90%;
    margin: 30px auto;
}

.accordion * {
    margin: 0; padding: 0;
    color: white;
    font-weight: normal;
}


.accordion a {
    width: 40px;
    padding-top: inherit;
    padding-bottom: inherit;
    height: inherit;
    line-height: inherit;
    position: absolute;
    display: inline-block;
    color: inherit;
    background-color: #0000001c;
    text-align: center;
    text-decoration: none;
    right: 0;
    top: 0;
}


.accordion p {
    padding: 15px 35px;
    font-family: "Georgia";
    font-size: 14px;
    line-height: 1.2rem;
    color: #555;
    background-color: #ddd;
}
.accordion .opened-for-codepen {
    display: block;
}




.accordion h1,
.accordion h2,
.accordion h3,
.accordion h4,
.accordion h5,
.accordion h6 {
    font-size: 14px;
    position: relative;
    cursor: pointer;
    color: white;
}

.accordion h1 {
    font-size: 16px;
    padding: 20px 20px;
    padding-right: 50px;
    font-weight: normal;
    background-color: rgb(47 77 119 / 100%);
    border-bottom: 2px solid white;
    border-top: 2px solid white;
}
.accordion h1:hover {
    background-color: rgb(47 77 119 / 95%);
}
.accordion h1:first-child {
    /*border-radius: 10px 10px 0 0;*/
}
.accordion h1:last-of-type {
    /*border-radius: 10px 10px 0 0;*/
}
.accordion h1:not(:last-of-type) {
    border-bottom: 1px dotted black;
}
.accordion div, .accordion p {
    display: none;
}
.accordion h2 {
    padding: 15px 40px;
    font-weight: 400;
    color: black;
    background-color: rgb(105 147 205 / 20%);
}
.accordion h2:hover {
    background-color: rgb(105 147 205 / 5%);
}
.accordion h3 {
    padding: 15px 50px;
    background-color: rgb(47 77 119 / 80%);
}
.accordion h3:hover {
    background-color: rgb(47 77 119 / 75%);
}
.accordion h4 {
    padding: 15px 60px;
    background-color: rgb(105 147 205 / 100%);
}
.accordion h4:hover {
    background-color: rgb(105 147 205 / 95%);
}

.accordion h5 {
    padding: 10px 70px;
    background-color: rgb(105 147 205 / 80%);
}
.accordion h5:hover {
    background-color: rgb(105 147 205 / 75%);
}
.accordion h6 {
    padding: 5px 80px;
    font-weight: bold;
    color: black;
    background-color: white;
    cursor: default;
    line-height: 24px;
}

.accordion h6:hover {
    text-decoration: underline;
}


