.medals {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--bg-dark);
    width: 100%;
    padding: clamp(0px, calc(80px + (0 - 80) * ((100vw - 360px) / (768 - 360))), 80px) 20px;
    padding-bottom: clamp(25px, calc(80px + (25 - 80) * ((100vw - 360px) / (768 - 360))), 80px);
    isolation: isolate;
    overflow: hidden;
    position: relative;
}

@media (min-width: 768px) {
    .medals {
        padding: 0px clamp(20px, calc(20px + (175 - 20) * ((100vw - 768px) / (1920 - 768))), 175px);
        padding-bottom: clamp(25px, calc(25px + (0 - 25) * ((100vw - 768px) / (1920 - 768))), 25px);
    }
}

@media (min-width: 1920px) {
    .medals {
        padding: 0 175px;

    }
}

.medals__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    z-index: 2;
}



@media (min-width: 768px) {
    .medals__container {
        flex-direction: row;
        gap: clamp(50px, calc(50px + (120 - 50) * ((100vw - 768px) / (1280 - 768))), 120px);
    }
}

@media (min-width: 1280px) {
    .medals__container {
        gap: clamp(120px, calc(120px + (288 - 120) * ((100vw - 1280px) / (1920 - 1280))), 288px);
    }
}

.medals__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

@media (min-width: 768px) {
    .medals__content {
        align-items: flex-start;
    }
}

@media (min-width: 1280px) {
    .medals__content {
        width: clamp(460px, calc(460px + (520 - 460) * ((100vw - 1280px) / (1920 - 1280))), 520px);
    }
}

.medals__description {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-self: stretch;
    text-align: left;
}

@media (min-width: 768px) {
    .medals__description {
        margin-top: 16px;
    }
}

@media (min-width: 1280px) {
    .medals__description {
        gap: 10px;
    }
}

.medals__button {
    margin-top: 28px;
    padding: 14.5px 48px;
    border-radius: 12px;
    transition: all 0.3s ease;
    background-color: var(--color-primary);
    color: var(--text-light);
    border: none;
    width: 100%;
    text-align: center;
    text-decoration: none;
}

.medals__button:hover {
    background-color: var(--bg-light);
    border-color: var(--color-primary);
    color: var(--text-dark);
}

@media (min-width: 768px) {
    .medals__button {
        width: auto;
    }
}

@media (min-width: 1280px) {
    .medals__button {
        border-radius: 20px;
        padding: 20px 60px;
    }
}

.medals__image {
    display: none;
}

@media (min-width: 768px) {
    .medals__image {
        display: block;
        width: clamp(281px, calc(281px + (468 - 281) * ((100vw - 768px) / (1280 - 768))), 468px);
        height: auto;
        flex-shrink: 0;
    }
}

@media (min-width: 1280px) {
    .medals__image {
        width: clamp(468px, calc(468px + (507 - 468) * ((100vw - 1280px) / (1920 - 1280))), 507px);
    }
}

.medals__image img {
    width: 100%;
    height: auto;
    display: block;
}


.medals__bg-text {
    display: none;
}

@media (min-width: 768px) {
    .medals__bg-text {
        display: block;
        position: absolute;
        top: 13%;
        left: 30%;
        width: 486px;
        height: 100%;
        z-index: 1;
    }
}

@media (min-width: 1280px) {
    .medals__bg-text {
        width: 700px;
        top: 22%;
        left: 37%;
    }
}

@media (min-width: 1920px) {
    .medals__bg-text {
        width: 949px;

    }
}

.medals__bg-text img {
    width: 100%;
    height: auto;
    display: block;
}