.certificate-text {
    color: var(--Txt);
    margin-bottom: 20px;
}
.nom_serts {
    position: relative;
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.nom-sert {
    position: relative;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 5px;
    color: var(--Txt);
}

.certificate-banner {
    position: relative;
    width: 100%;
    height: 520px;
    background-color: var(--Background);
    padding-right: 53px;
    border-radius: 5px;
    overflow: hidden;
}
.certificate-img-bg {
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100%;
    width: auto;
}
.certificate-svg-bg {
    position: absolute;
    top: 0px;
    right: 0px;
    height: 100%;
    width: auto;
}
.certificate-banner-info {
    position: relative;
    width: 430px;
    min-width: 430px;
    padding-left: 40px;
    padding-top: 24px;
    padding-bottom: 10px;
    padding-right: 40px;
    background-color: var(--White);
    border-radius: 5px;
}

.certificate-banner-content {
    padding-top: 58px;
    /* padding-right: 53px; */
    margin-left: auto;
    width: fit-content;
    max-width: 560px;
    display: flex;
    align-items: end;
    gap: 10px;
}

.certificate-banner-info .socials .social {
    border: none;
}
.certificate-banner-title {
    color: var(--Serts);
    margin-bottom: 10px;
}
.certificate-top-text {
    color: var(--Gray);
    font-size: 5px;
    margin-bottom: 7px;
}
.certificate-bottom-text {
    font-size: 7px;
    color: var(--Gray);
    margin-bottom: 10px;
}
.certificate-banner-hr {
    width: 100%;
    height: 0.25px;
    background-color: var(--Gray);
    margin-bottom: 6.8px;
    opacity: 0.3;
}

.certificate-banner-cost {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: end;
}
.certificate-banner-cost-svg svg {
    width: 52px;
    height: 55px;
    margin-left: auto;
}
.certificate-banner-cost-container {
    transform: rotate(-180deg);
    writing-mode: vertical-rl;
    height: 240px;
}

.certificate-banner-cost-container .h1 {
    font-size: 72px;
    color: var(--Black);
}
.certificate-banner-cost-container .h1 span {
    font-size: 40px;
    font-family: inherit;
    font-weight: inherit;
    color: inherit;
    margin-top: 10px;
}

.certificate-banner-cost-container .p3 {
    font-size: 14px;
    color: var(--Black);
}

@media(max-width: 700px) {
    .certificate-banner-content {
        margin: 0px auto;
        padding: 0px;
    }
    .certificate-banner {
        padding: 30px;
        height: auto;
    }
}
@media(max-width: 660px) {
    .certificate-banner-content {
        position: relative;
        flex-direction: column;
        align-items: center;
        z-index: 2;
    }
    .certificate-banner-cost-container {
        transform: rotate(0deg);
        writing-mode: horizontal-tb;
        height: auto;
    }
    .certificate-banner-cost {
        flex-direction: row-reverse;
        align-items: center;
    }
    .certificate-banner::before {
        content: '';
        display: block;
        position: absolute;
        width: 100%;
        height: 100%;
        left: 0px;
        top: 0px;
        background-color: #ffffff85;
        z-index: 1;
    }
}

@media(max-width: 600px) {
    .nom-sert {
        font-size: 20px;
    }
}

@media(max-width: 540px) {
    .nom-sert {
        font-size: 14px;
    }
}


@media(max-width: 520px) {
    .certificate-banner {
        padding: 10px;
    }
}
@media(max-width: 500px) {
    .certificate-banner-content {
        width: 100%;
    }
    .certificate-banner-info {
        position: relative;
        width: 100%;
        min-width: 0px;
        padding-left: 20px;
        padding-top: 20px;
        padding-bottom: 10px;
        padding-right: 20px;
    }
}
@media(max-width: 420px) {
    .certificate-banner-title {
        font-size: 32px;
    }
    .certificate-banner-cost-container .h1 {
        font-size: 52px;
    }
    .certificate-banner-cost-container .p3 {
        font-size: 12px;
    }
    .certificate-banner-cost {
        gap: 20px;
    }
}