#section-top-gracias{
    position: relative;
}

.full-img-container{
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.section-absolute-gracias{
    width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
}

.section-msg-gracias{
    width: 460px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: white;
    background-color: rgb(237, 73, 54);
    border-radius: 4px;
}

.section-msg-gracias span{
    font-size: 1.5rem;
    color: white;
    font-weight: 600;
}

.section-msg-gracias p{
    font-size: 1rem;
    color: white;
}

.btn-siguenos{
    color: white;
    background-color: rgb(253, 204, 64);
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: auto;
    border-radius: 2px;
}

.btn-siguenos a{
    text-align: center;
    width: 100%;
    height: 100%;
    font-size: 1.35rem;
    text-decoration: none;
    color: white;
    font-weight: 600;
    padding: 15px 20px;
    box-shadow: 5px 5px 0 #575756;
    transition: all 0.5s ease;
}

.btn-siguenos a:hover{
    box-shadow: 0 0 0 #575756;
}

#section-middle-gracias{
    width: 100%;
    padding: 50px 0;
}

.section-buttons{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.item-link-g{
    color: white;
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: auto;
    border-radius: 2px;
}

.item-link-g img{
    position: absolute;
    right: 0;
    top: 0;
    height: 50%;
}

.item-link-g a{
    text-align: center;
    width: 100%;
    height: 100%;
    font-size: 1.75rem;
    text-decoration: none;
    color: white;
    font-weight: 600;
    padding: 45px 60px;
    text-transform: uppercase;
    box-shadow: 5px 5px 0 #575756;
    transition: all 0.5s ease;
}

.item-link-g a:hover{
    box-shadow: 0 0 0 #575756;
}


.item-link-g:first-child{
    background-color: rgb(253, 204, 64);
}

.item-link-g:last-child{
    background-color: rgb(237, 73, 54);
}



.pattern-container-absolute{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.pattern-container{
    position: relative;
    height: 100%;
    margin: auto;
}


.pattern-red {
    --wpr-bg-b48ebea5-99f3-42b1-aa08-7a16760f0c29: url(/wp-content/themes/isil-ecala/images/diagonal-red.png);
}
.pattern-red {
    background-image: var(--wpr-bg-b48ebea5-99f3-42b1-aa08-7a16760f0c29);
}
.pattern-left {
    left: 40px;
    bottom: 0;
}
.line-pattern {
    width: 168px;
    height: 600px;
    position: absolute;
    z-index: 1;
}


@media (max-width: 720px) {
    .section-absolute-gracias{
        width: 100%;
        height: auto;
        display: flex;
        position: relative;
    }
}

@media (max-width: 991px) {

    .section-absolute-gracias{
        padding-top: 180px;
    }


    .section-msg-gracias{
        width: 460px;
    }

    .section-buttons{
        width: 100%;
        margin: auto;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }


}


@media (max-width: 767px) {
    #section-top-gracias{
        height: 530px;
    }

    .section-absolute-gracias{
        padding-top: 150;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .section-msg-gracias{
        width: 400px;
        padding: 20px;
    }

    .section-msg-gracias span{
        font-size: 1.5em;
    }
    
    .section-msg-gracias p{
        font-size: 1em;
        line-height: 1.4;
    }

    .btn-siguenos a{
        font-size: 1.18em;
        padding: 15px 20px;
    }
   
    .section-buttons{
        width: 100%;
        margin: auto;
        flex-direction: column;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .pattern-container{
        width: 100%;
    }

}


@media (max-width: 567px) {
    #section-top-gracias{
        height: 420px;
    }

    .section-absolute-gracias{
        padding-top: 120px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .section-msg-gracias{
        width: 100%;
        padding: 15px;
    }

    .section-msg-gracias span{
        font-size: 1em;
        line-height: 1.4;
    }
    
    .section-msg-gracias p{
        font-size: .85em;
    }

    .btn-siguenos a{
        font-size: 1.23em;
        padding: 10px 5px;
    }

    .section-buttons{
        padding-left: 20px;
        padding-right: 20px;
    }

    .item-link-g a{
        font-size: 1.41em;
        padding: 25px 30px;
    }

    .pattern-left {
        top: 0;
    }

    .line-pattern {
        max-height: 100%;
        width: 112px;
    }

    .pattern-container{
        width: 100%;
    }

}


@media (min-width: 768px) {
    #section-top-gracias{
        height: 700px;
    }

    .section-absolute-gracias{
        padding-top: 180px;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
}



@media (min-width: 992px) {
    #section-top-gracias{
        height: 700px;
    }

    .section-absolute-gracias{
        padding-top: 220px;
        max-width: 960px;
        margin: auto;
    }


    .section-msg-gracias{
        width: 460px;
        padding: 25px;
    }

    .section-buttons{
        max-width: 960px;
        margin: auto;
    }

    .pattern-container{
        max-width: 960px;
    }
}


@media (min-width: 1200px) {
    .section-absolute-gracias{
        max-width: 1140px;
        margin: auto;
    }

    .section-buttons{
        max-width: 1140px;
        margin: auto;
    }
    .pattern-container{
        max-width: 1140px;
    }

    
}

@media (min-width: 1400px) {
    .section-absolute-gracias{
        max-width: 1320px;
        margin: auto;
    }

    .section-buttons{
        max-width: 1320px;
        margin: auto;
    }

    .pattern-container{
        max-width: 1320px;
    }
    
    
}