body {
    background-color: #f1c8e8;
}

section#tarjetasAcumuladas {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}

h4 {
    font-size:4.5rem;
    line-height:4rem;
}

h5 {
    font-size:2.5rem;
}

#card2 h4{
    color:#E1C4F1;
}
#card1 h5{
    color:#DD3792;
}

#card2 h5 {
    color:#F4F29F;
}

#card2 p {
    color:#fff;
}
#card3 h4 {
    color:#FFE8F7;
}
#card3 p{
    color: #fff;
}
#card4 h5 {
    color:#DD3792;
}

.cards-container {
    position: relative;
    width: 60vw;
    height: 60vh;
}

.cardIconico {
    position: absolute;
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    user-select: none;
    cursor: grab;
    transition: transform 0.3s ease;
    display: flex;
}

.card:not(:last-child) {
    pointer-events: none;
}

.cardIconico div img{
    padding:2rem;
    width:20vw;
}

.cardIconico div p {
    font-size:20px;
    padding-right:2rem;
}

.cards-container div#card2, .cards-container div#card4 {
    transform: rotate(5deg);
}
.cards-container div#card3 {
    transform: rotate(-5deg);
}

span {
    float:right;
    background-color: #000;
    color: #DD3792;
    padding: 0.5rem 2rem 0.5rem 1rem;
    border-radius: 12px 0px 0px 12px;
    font-family:Roboto Condensed;
}

#card2 span {
    background-color:#E1C4F1;
    color:#33174D;
}

#card3 span{
    color:#FFE8F7;
}

#card4 span {
    color: #F4F29F;
}

#fondoIconicos div {
    padding:0;
    margin:0;
    margin-top:-8rem;
}

#fondoIconicos div img{
    max-width: 100%;
    height: auto;
    padding:0;
    margin:0;
}
@media (max-width: 1024px) {
    h4 { font-size: 3rem; line-height: 3rem; }
    h5 { font-size: 2rem; }
    .cards-container {
        width: 80vw;
        height: 60vh;
    }
    .cardIconico {
        flex-direction: column;
        text-align: center;
    }
    .cardIconico div img {
        width: 40vw;
        padding: 1rem 0;
    }
}

/* Móviles grandes */
@media (max-width: 768px) {
    h4 { font-size: 2.2rem; line-height: 2.5rem; }
    h5 { font-size: 1.5rem; }
    .cards-container {
        width: 90vw;
        height: auto;
    }
    .cardIconico {
        position: relative;
        flex-direction: column;
        padding: 1rem;
        height: auto;
    }
    .cardIconico div img {
        width: 60vw;
    }
    .cardIconico div p {
        font-size: 0.9rem;
        padding: 0;
    }
}

/* Móviles pequeños */
@media (max-width: 480px) {
    h4 { font-size: 1.8rem; line-height: 2rem; }
    h5 { font-size: 1.2rem; }
    span { font-size: 0.8rem; padding: 0.4rem 1rem; }
    .cardIconico div img {
        width: 80vw;
    }
    .cardIconico div p {
        font-size: 0.85rem;
        line-height: 1.2rem;
    }
}