@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro");

.detailsStyle[open] .summaryStyle ~ * {
    animation: open 0.3s ease-in-out;
}

@keyframes open {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
.detailsStyle .summaryStyle::-webkit-details-marker {
    display: none;
}

.detailsStyle .summaryStyle {
    width: 100%;
    padding: 0.5rem 0;
    border-top: 1px solid black;
    position: relative;
    cursor: pointer;
    font-size: 1.25rem;
    font-weight: 300;
    list-style: none;
}

.detailsStyle .summaryStyle:after {
    content: "+";
    color: black;
    position: absolute;
    font-size: 1.75rem;
    line-height: 0;
    margin-top: 0.75rem;
    right: 0;
    font-weight: 200;
    transform-origin: center;
    transition: 200ms linear;
}
.detailsStyle[open] .summaryStyle:after {
    transform: rotate(45deg);
    font-size: 2rem;
}
.detailsStyle .summaryStyle {
    outline: 0;
}
.detailsStyle p {
    font-size: 0.95rem;
    margin: 0 0 1rem;
    padding-top: 1rem;
}

.detailsInfo {
    width: 100%;
    margin: 0 auto ;
    background: floralwhite;
    margin-bottom: .5rem;
    box-shadow: 0 .1rem 1rem -.5rem rgba(0,0,0,.4);
    border-radius: 5px;
    overflow: hidden;
}

.summaryInfo {
    padding: 1rem;
    display: block;
    background: gainsboro;
    padding-left: 2.2rem;
    position: relative;
    cursor: pointer;
}

.summaryInfo:before {
    content: '';
    border-width: .4rem;
    border-style: solid;
    border-color: transparent transparent transparent #fff;
    position: absolute;
    top: 1.3rem;
    left: 1rem;
    transform: rotate(0);
    transform-origin: .2rem 50%;
    transition: .25s transform ease;
}

/* THE MAGIC 🧙‍♀️ */
.detailsInfo[open] > .summaryInfo:before {
    transform: rotate(90deg);
}


.detailsInfo .summaryInfo::-webkit-details-marker {
    display:none;
}

.detailsInfo > .ulInfo {
    padding-bottom: 1rem;
    margin-bottom: 0;
}