body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #f1f1f1;
}

.certificate {
    display: flex;
    margin: 50px 0;
    overflow: hidden;
    /* по умолчанию */

}

/* Для экранов меньше 1200px */
@media (max-width: 1199px) {
    .certificate {
        overflow-x: auto;
        /* горизонтальный скролл */
        overflow-y: auto;
        /* вертикальный скролл, если нужно */
    }

    .certificate_container {
        min-width: 1123px;
        /* чтобы не сжимался блок */
        min-height: 794px;
    }
}

.certificate_container {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 1123px;
    height: 794px;
    background: white;
}

.certificate_container img {
    opacity: .5;
    z-index: 1;
}

.certificate_container .img_1 {
    position: absolute;
    width: 100%;

    transform: rotate(-45deg);
    bottom: -300px;
    right: -300px;
}


.certificate_container .img_2 {
    position: absolute;
    width: 100%;

    transform: rotate(-45deg);
    top: -50px;
    left: -200px;
}

.content {
    position: absolute;
    z-index: 9;
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

h1 {
    font-size: 80px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px;
    z-index: 2;
}

h3 {
    margin-bottom: 30px;
    z-index: 2;
}

h2 {
    margin-bottom: 30px;
    text-transform: uppercase;
    color: blue;
    font-weight: bold;
    font-size: 40px;
    z-index: 2;
}

button {
    display: flex;
    width: auto;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10px 30px;
    color: white;
    background: rgb(0, 81, 255);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 30px;
}

@media screen and (max-width:800px) {
    button {
        font-size: 16px !important;
    }
}