.index_sertificate_header{
    max-width: 608px;
}

.index_sertificate_header span{
    text-decoration: underline;
}

#index_sertificate{
    background-color: rgba(250, 249, 244, 1);
    border-radius: 80px;
    padding: 60px 80px;
    position: relative;
    height: 300px;
    overflow: hidden;
    height: auto;
}

.index_sertificate_buttons{
    margin-top: 24px;
}

.index_sertificate_left::before{
    content: "";
    position: absolute;
    background-image: url(/static/img/sertificate/SERTIFICATE_LEFT.webp);
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    top: -35%;
    left: -30%;
    transform: rotate(-15deg);
}

.index_sertificate_left::after{
    content: "";
    position: absolute;
    background-image: url(/static/img/sertificate/SERTIFICATE_RIGHT.webp);
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    top: -10%;
    right: -80%;
}

.index_sertificate_right img{
    width: 600px;
    height: 600px;
    object-fit: cover;
    position: absolute;
    top: -200px;
    right: 0;
}

.index_sertificate_right{
    position: relative;
    z-index: 1;
    width: 95%;
    max-width: 1232px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 1200px) {
    .index_sertificate_right img {
        right: -100px;
    }
}

@media (max-width: 1120px) {
    .index_sertificate_right img {
        width: 400px;
        height: 400px;
        top: -100px;
        right: -50px;
    }

    #index_sertificate{
        padding: 60px;
    }
}

@media (max-width: 970px) {
    .index_sertificate_right img {
        right: unset;
        top: -100px;
    }

    #index_sertificate{
        padding: 60px;
        padding-top: 250px;
        border-radius: 50px;
    }
}

@media (max-width: 768px) {
    #index_sertificate{
        padding: 24px;
        padding-top: 250px;
        border-radius: 32px;
    }
}

@media (max-width: 400px) {
    .index_sertificate_right img {
        width: 300px;
    }
}