/*SECCION 3*/
#SECCION3 {
    padding-top: 30px;
    padding-bottom: 30px;
}
.content-section3 {
    display: flex;
    flex-wrap: wrap;
    height: auto;
    width: 100%;
    padding-top: 25px;
    padding-bottom: 25px;
    overflow: hidden;
    width: 85%;
    justify-content: center;
    align-items: center;
    margin: auto;
}

.title-section3 {
    width: 100%;
    text-align: center;
    font-size: 3.4rem;
    font-family: "Oswald", sans-serif;
    font-weight: 700;
    color: var(--colorThree);
    -webkit-text-stroke: -2px var(--colorOne);
    color: var(--colorTwo);
    text-shadow:
        3px 3px 0 var(--colorOne),
        -1px -1px 0 var(--colorOne),
        1px -1px 0 var(--colorOne),
        -1px 1px 0 var(--colorOne),
        1px 1px 0 var(--colorOne);
    z-index: 100;

}

.title-section4 {
    display: none !important;
}

.grid-item {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--colorTwo);
    font-size: 1.2em;
    font-weight: bold;
    height: 100%;
    width: 20%;
}

.item-1 {
    height: auto;
    background-color: var(--colorOne);
    background-size: 800% 15% !important;
    animation: lavaLampItem1 20s ease infinite alternate !important;
}

.red-social-link {
    display: block;
    width: 100%;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.red1:hover {
    transform: translateY(-5px);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.4);
}


.red1,
.red2,
.red3 {
    background-color: var(--colorThree);
    border-radius: 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: auto;
    width: 95%;
    aspect-ratio: 1;
    clip-path: shape(from 14.03% 30.96%, curve to 26.64% 22.16% with 19.32% 24.62%, curve to 40.05% 14.46% with 33.96% 19.71%, curve to 54.63% 8.30% with 46.14% 9.21%, curve to 67.68% 15.25% with 63.11% 7.38%, curve to 82.24% 25.38% with 72.24% 23.12%, curve to 95.93% 36.47% with 92.24% 27.63%, curve to 96.57% 54.35% with 99.62% 45.31%, curve to 90.50% 72.20% with 93.52% 63.39%, curve to 80.40% 87.52% with 87.48% 81.00%, curve to 63.41% 90.55% with 73.31% 94.03%, curve to 44.77% 91.22% with 53.50% 87.07%, curve to 28.77% 89.91% with 36.05% 95.36%, curve to 19.53% 75.81% with 21.50% 84.45%, curve to 12.74% 60.58% with 17.56% 67.17%, curve to 8.33% 45.64% with 7.91% 53.98%, curve to 14.03% 30.96% with 8.75% 37.31%);
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.676);
    transition: background-color 0.2s ease-in-out;
}


.red-social-link:hover .red1,
.red-social-link:hover .red2,
.red-social-link:hover .red3 {
    background-color: var(--colorThree);
}

.icon-social {
    font-size: 2.3rem;
    margin-bottom: 10px;
    color: var(--colorSix);
    transition: color 0.2s ease-in-out;
}

.red1:hover .icon-social {
    color: var(--colorFive);
}



.icon-social2 {
    font-size: 2.2rem;
    color: var(--colorSix);
}


.red1 h2,
.red2 h2,
.red3 h2 {
    font-size: 1.4rem;
    font-family: "Oswald", sans-serif;
    font-weight: 700;
    color: var(--colorSix);
    text-align: center;
}

.red1 p,
.red2 p,
.red3 p {
    font-size: 1rem;
    font-family: "Oswald", sans-serif;
    font-weight: 400;
    color: var(--colorSix);
    text-align: center;
}

@keyframes lavaLampItem1 {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

@keyframes lavaLampItem2 {
    0% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes lavaLampItem3 {
    0% {
        background-position: 50% 50%;
    }

    100% {
        background-position: 150% 50%;
    }
}

@media (max-width: 1536px) {
    .title-section3 {
        font-size: 3rem;
    }

    .cards-container {
        gap: 31px;
        padding-bottom: 40px;
    }

    .red1 {
        width: 92%;
    }
}

@media (max-width: 1280px) {
    .content-section3{
        gap: 50px;
        padding:15px 15px 35px 15px;
        margin-bottom: 5px;
    }
    .grid-content-header {
        display: flex;
    }

    .red1 {
        font-size: 1.1rem;
    }

    .cards-container {
        gap: 32px;
    }

    .grid-container-redes {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        place-items: center;
    }

    .grid-container-redes2 {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0% 14%;
        place-items: center;
    }

    .grid-container-redes .grid-item:nth-child(4) {
        grid-column: 2;
    }

    .grid-item {
        width: 225px;
        height: 225px;
    }

    .red1 {
        height: 60%;
        width: 100%;
    }

    .red1 h2 {
        font-size: 1.0rem;
    }

    .icon-social,
    .icon-social2 {
        font-size: 2.0rem;
    }
}

@media (max-width: 1024px) {

    .red1 {
        font-size: 0.9rem;
    }

    .icon-social.icon-social2 {
        font-size: 1.5rem;
    }

    .red1 {
        clip-path: none;
    }


    .grid-container-redes2 {
        padding: 0% 17%;
    }
}

@media (max-width: 768px) {

    .title-section3 {
        font-size: 2.3rem;
    }

    .grid-content-header {
        padding-top: 20px;
    }

    .grid-item {
        width: 65%;
    }

    .grid-container-redes,
    .grid-container-redes2 {
        grid-template-columns: repeat(1, 1fr);
        padding: 0% 0%;
        gap: 0px;
    }

    .cards-container {
        gap: 0px;
        width: 97%;
        padding-bottom: 30px;
    }

    .red1 {
        clip-path: none;
        width: 100%;
        height: 150px;

    }

    .red1 h2 {
        font-size: 1.5rem;
    }

    .red1 p {
        font-size: 1.4rem;
    }

}

@media (max-width: 640px) {
    .content-section3{
        gap: 1px;
    }
   .grid-content-header{
        padding-top: 40px;
    }
    .title-section3{
        font-size:1.5rem;
        padding: 15px 3% 0px;
    }
    .title-section4 {
        font-size: 2.3rem;
    }
}