.acordeon{
    display: inline-block;
    position: relative;
    padding: 30px;
}

main h2{
    font-size: 26px;
    line-height: 34px;
    font-weight: 300;
    letter-spacing: 1px;
    display: block;
    color: #58a5f0;
    margin: 0;
    cursor: pointer;
}

main p{
    padding-top: 14px;
    margin-left: 14px;
    margin-right: 14px;
    color: rgba(48, 69, 92, 0.9);
    font-size: 17px;
    line-height: 26px;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    height: 0;
    transform: translate(0, -50%);
    z-index: -15;
    opacity: 0;
}

main ul{
    list-style: none;
    padding: 0;
    margin: 0;
}

main ul li{
    position: relative;
    padding: 0;
    margin: 0;
    padding-bottom: 4px;
    padding-top: 18px;
    border-top: 1px dotted #58a5f0;
}

main ul li:nth-of-type(1){
    animation-delay: 0.5s;
}

main ul li:nth-of-type(2){
    animation-delay: 0.75s;
}

main ul li:nth-of-type{
    padding-bottom: 0;
}

main ul li i{
    position: absolute;
    transform: translate(-10px, 0);
    margin-top: 16px;
    right: 0;
}

main ul li i:before,
main ul li i:after{
    content: "";
    position: absolute;
    background: #ff6873;
    width: 3px;
    height: 9px;
}

main ul li i:before{
    transform: translate(-2px, 0) rotate(45deg);
}

main ul li i:after{
    transform: translate(2px, 0) rotate(-45deg);
}

main p,
main ul li i:before,
main ul li i:after{
    transition: all 0.5s ;
}

main ul li input[type=checkbox]{
    position: absolute;
    cursor: pointer;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0;
}

main ul li input[type=checkbox]:checked ~ p{
    margin-top: 0;
    height:100%;
    transform: translate(0,0);
    opacity: 1;
}

main ul li input[type=checkbox]:checked ~ i:before{
    transform: translate(-2px, 0) rotate(-45deg);
}

main ul li input[type=checkbox]:checked ~ i:after{
    transform: translate(2px, 0) rotate(45deg);
}


@media only screen and (max-width: 1024px){
    .contenido-principal{
        min-height: 665px;
        margin:0 auto;
    }
    .acordeon{
        margin:0 auto;
        padding:0;
    }
}