.design-diploms {
    background-color: var(--design-diploms-background);
    padding: 4.6875rem 16.25rem 5rem 16.25rem;
    background-image: var(--design-diploms-background-image);
}

.design-diploms__wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    row-gap: 2.3125rem;
}

.design-diploms__heading {
    font-family: ALSGorizont_var;
    font-weight: 550;
    font-size: 2.5rem;
    line-height: 130%;
    letter-spacing: 0px;
    color: var(--design-diploms-heading-text-color);
    align-self: center;
}

.design-diploms__heading span {
    color: var(--design-diploms-heading-accent-color);
}

.design-diploms__img {
    width: 100%;
    height: 100%;
    border-radius: 5rem;
    object-fit: cover;
    align-self: center;
    position: relative;
}

.design-diploms__item_wrapper {
    position: relative;
    width: 100%;
    height: 100%;
	max-width: 1636px;
    margin: 0 auto;
}

.design-diploms__item_wrapper:hover::after {
    position: absolute;
    content: "";
    display: block;
    background-color: var(--design-diploms-hover-overlay-color);
    background-image: var(--design-diploms-hover-icon);
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    border-radius: 5rem;
    top: 0;
    left: 0;
}

@media screen and (max-width: 1200px) {
    .design-diploms {
        padding: 3.5625rem 2.5rem 3.4375rem 2.5rem;
    }

    .design-diploms__heading {
        font-size: 2.5rem;
    }

    .design-diploms__img {
        border-radius: 2.5rem;
        height: 100%;
    }

    .design-diploms__item_wrapper:hover::after {
        border-radius: 2.5rem;
        background-size: 80%;
    }
}

@media screen and (max-width: 768px) {
    .design-diploms {
        padding: 2.25rem 1.25rem 2.5rem 1.25rem;
    }

    .design-diploms__wrapper {
        row-gap: 1.3125rem;
    }

    .design-diploms__heading {
        font-weight: 550;
        font-size: 1.25rem;
        line-height: 120%;
        letter-spacing: 0px;
    }

    .design-diploms__img {
        border-radius: 1.5rem;
    }

    .design-diploms__item_wrapper:hover::after {
        border-radius: 1.5rem;
        background-size: 50%;
    }
}
