
#hero{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    height: 20vh;
    background: rgb(16,78,47);
    background: linear-gradient(90deg, rgb(190, 209, 190) 0%, rgb(159, 199, 173) 20%, rgb(89, 179, 134) 100%); 
}
#hero span{
    color: #000;
}

#hero h1{
    color: white;
    font-size: 4vw;
}

.accordion{
    margin: auto;
    width: 800px;
}

.accordion img{
    padding-left: 26%;
    width: 360px;
}

.accordion li{
    list-style: none;
    width: 100%;
    margin: 20px;
    padding: 10px;
    border-radius: 8px;
    background: #eff0f3;
    box-shadow: 6px 6px 10px -1px rgba(0, 0, 0, 0.15),
    -6px -6px 10px -1px rgba(255, 255, 255, 0.15);
}
.servicios li{
    list-style-type: disc;
    box-shadow: none;
    padding: 0;
}

.accordion li label{
    display: flex;
    align-items: center;
    padding: 10px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
}

ul label::before{
    content: "+";
    margin-right: 10px;
    font-size: 24px;
    font-weight: 600;
}

input[type="radio"]{
    display: none;
}

.accordion .content{
    color: #555;
    padding: 0 10px;
    line-height: 26px;
    max-height: 0;
    overflow: hidden;
    text-align: justify;
    transition: max-height 0.5s, padding 0.5s;
}
.accordion input[type="radio"]:checked + label + .content{
    max-height: 400px;
    padding: 10px 10px 20px;
}

.accordion input[type="radio"]:checked + label::before{
    content: "-";
}

.content a{
    background: #a3a5ac;
    color: #555;
    border-radius: 5px;
    padding: 4px;
    text-decoration: none;
}
.content a:hover{
    background: #555;
    color: #eff0f3;
}
.content a:active{
    background: rgb(46, 44, 44);
    color: #c7c8cc;
}

@media(max-width: 900px){
    #hero h1{
        font-size: 30px;
    }
    .accordion{
        width: auto;
        margin-left: 0;
        margin-right: 25px;
        padding: 30px;
    }
    .accordion img{
        display: flex;
        margin: auto;
        width: 330px;
    }

}
@media(max-width: 470px){
    #hero h1{
        font-size: 30px;
    }
    .accordion{
        width: 350px;
        margin-left: 0;
        padding: 5px;
    }
    .accordion .content{
        overflow-y: scroll;
    }
    .accordion .content::-webkit-scrollbar{
        background-color: #eff0f3;
        border-radius: 10px;
        width: 8px;
    }
    .accordion .content::-webkit-scrollbar-thumb{
        background-color: rgb(143, 141, 141);
        border-radius: 10px;
    }
    .accordion img{
        padding-left: 12px;
        width: 300px;
    }
}
