@media only screen and (max-width: 1080px) {
    .custom-home-2 .infoblock-buttons {
        margin-top: 4rem;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .custom-home-2 .infoblock-buttons > .infoblock-button {
        width: 35%;
    }

    .custom-home-2 .infoblock-button a {
        margin: 0;
    }
}


.custom-home-2 .infoblock-button a {
    background-color: var(--color-main-3);
    color: var(--color-main-2);
    padding: 2rem 1rem;
    width: 240px;
    transition: transform 250ms;
    position: relative;
}

.custom-home-2 .infoblock-button a p {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    padding: 1rem;
    transform: translate(-50%, -50%) rotateY(-180deg);
    opacity: 0;
    transition: opacity 250ms;
}

@media only screen and (max-width: 800px) {
    .ib-halfImage-halfText .infoblock-item {
        flex-direction: column;
        gap: 3rem;
    }

    .ib-halfImage-halfText .infoblock-image,
    .ib-halfImage-halfText .infoblock-video,
    .ib-halfImage-halfText .infoblock-desc {
        width: 100%;
    }

    .columns-2,
    .columns-3 .infoblock-content {
        columns: 1;
        gap: 0;
        padding-top: 4rem;
    }

    .columns-2 .infoblock-item {
        padding-top: 0;
    }

    .content-width-1200 .infoblock-item::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        /*background-color: #fffc;*/
        z-index: 1;
    }

    .content-width-1200 .infoblock-desc p {
        width: 100%;
        max-width: none;
        text-align: center;
    }

    .content-width-1200 .infoblock-title,
    .content-width-1200 .infoblock-button {
        text-align: center;
    }

    .ib-image60-text40 .infoblock-item {
        flex-direction: column;
        gap: 3rem;
    }

    .ib-image60-text40 .infoblock-image,
    .ib-image60-text40 .infoblock-desc {
        width: 100%;
    }

    .custom-home-2 .infoblock-buttons > .infoblock-button {
        width: fit-content;
    }
}

@media only screen and (max-width: 480px) {

    .ib-halfImage-halfText .infoblock-button,
    .ib-halfImage-halfText h3 {
        text-align: center;
    }
}