:root {
    --primary-green-color: rgba(57, 234, 93, 1);
    --gradient-border-background: linear-gradient(45deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.8) 76.5%, rgba(255, 255, 255, 0.1) 100%);
    --gradient-border-mask: linear-gradient(rgba(27, 27, 35, 1) 0 0) exclude, 
                            linear-gradient(rgba(27, 27, 35, 1) 0 0) content-box;
    --default-fast-transition: all 0.2s ease;
    --sirius-font: "ALS Sirius";
    --side-margin-desc: 80px;
    --side-margin-tablet: 24px;
    --side-margin-mobile: 12px;
    --defaul-font-color: rgb(255, 255, 255);
    --white-opacity-05: rgba(251, 251, 251, 0.05);

    --paragraph-size-mobile: 14px;
}

/* body {
    background-image: none;
} */
.vectors {
    background-image: none;
}
body * {
    font-family: var(--sirius-font);
}
.abitur-head {
    margin: 80px var(--side-margin-desc) 80px var(--side-margin-desc);
    display: flex;
    position: relative;
    flex-direction: column;
    align-items: center;
    gap: 48px;
}


/* .abitur-head::before {
    content: "";
    position: absolute;
    border-radius: 20px;
    z-index: -1;
    inset: 0;
    padding: 1px;
    border-radius: 41px;
    background: var(--gradient-border-background);
    mask: var(--gradient-border-mask);

    opacity: 0;
} */
.grad-stroke-text {
    font-size: 80px;
    letter-spacing: 3.2px;
    text-transform: capitalize;
    background: linear-gradient(90deg, rgba(210, 112, 243, 1) 0.6%, rgba(111, 107, 238, 1) 29.31%, rgba(79, 139, 254, 1) 47.37%, rgba(25, 133, 255, 1) 65.43%, rgba(0, 227, 123, 1) 93.22%);
    -webkit-background-clip: text;
    -webkit-text-stroke: 4px transparent;
    width: fit-content;
}

.abitur-head__title {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    /* width: 100%; */
    width: 66vw;
    justify-content: center;
}


.abitur-head__title > img:first-child:not([class])  {
    width: 65%;
}
.abitur-head__title > img:last-child:not([class]) {
    width: 22%;
    padding-bottom: 22px;
}

.abitur-head__title > img._full {
     width: 65%;
    padding-bottom: 22px;
max-height:92px;
}
.abitur-head__buttons {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;

    gap: 16px;

    max-width: 800px;
}
.empty_button {
    padding: 10px 24px 10px 28px;

    position: relative;
    display: flex;
    align-items: center;

    gap: 8px;
    border-radius: 41px;

    text-transform: uppercase;
    font-size: 14px;
    fill: #fff;
    color: var(--defaul-font-color);

    cursor: pointer;

    /* transition: var(--default-fast-transition); */
}
.empty_button:hover {
    fill: var(--primary-green-color);
    color: var(--primary-green-color);
    box-shadow: 0px 0px 8px -1px var(--primary-green-color);
}
.empty_button:before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    padding: 1px;
    border-radius: 41px;
    background: var(--gradient-border-background);
    mask: var(--gradient-border-mask);
}
.empty_button a {
    position: absolute;
    top: 0;
    left: 0;
    text-decoration: none;
    width: 100%;
    height: 100%;
    z-index: 2;
}
.abitur-head > .chat_bot_button {
    padding: 0px 28px 0px 32px;
}

.secondary_promo {
    margin: 120px var(--side-margin-desc) 120px var(--side-margin-desc);
    display: flex;
    position: relative;
    padding: 32px;
    border-radius: 20px;
}
.secondary_promo::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    padding: 1px;
    border-radius: 20px;
    background: var(--gradient-border-background);
    mask: var(--gradient-border-mask);
}
#bakalavr_promo {
    background-image: url(/local/templates/abit_tpu/img/directions_back.svg);
    background-size: none;
    background-position: center right -200px;
    background-repeat: no-repeat;
}
.secondary_promo .promo__title {
    font-size: 32px;
}
.secondary_promo__left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
    max-width: 53%;

    gap: 48px;
}

/* .secondary_button {
    display: flex;
    position: relative;
    padding: 8px 24px 8px 28px;
    justify-content: center;
    align-items: center;
    gap: 8px;

    background: linear-gradient(92.56deg, #4F8BFE 0%, #6F6BEE 34.5%, #D270F3 100%);
    border-radius: 41px;

    font-size: 14px;
    color: var(--defaul-font-color);

    cursor: pointer;
    fill: #fff;
}
.secondary_button:before {
    content: "";
    position: absolute;
    z-index: 5;
    inset: 0;
    padding: 1px;
    border-radius: 41px;

    background: var(--gradient-border-background);
    mask: var(--gradient-border-mask);

    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}
.secondary_button:hover:before {
    background: linear-gradient(273deg, #4F8BFE 0%, #6F6BEE 34.5%, #D270F3 100%);
    opacity: 1;
} */
.secondary_button {
    width: fit-content;
    display: flex;
    align-items: center;
    position: relative;
    padding: 8px 24px 8px 28px;
    gap: 8px;
    border-radius: 41px;
    border: 1px solid rgba(255, 255, 255, 0);
    background: 
        linear-gradient(92.56deg, #4F8BFE 0%, #6F6BEE 34.5%, #D270F3 100%) padding-box, 
        linear-gradient(90deg, rgba(0, 227, 123, 0) 0%, rgba(255, 255, 255, 0) 76.5%, rgba(0, 227, 123, 0) 100%) border-box;
    color: #FFF;
    text-align: center;
    font-variant-numeric: lining-nums proportional-nums;
    font-family: "ALS Sirius";
    font-size: 14px;
    font-weight: bold;
    fill: white;
    transition: background 0.5s ease-in-out;

    cursor: pointer;
}
.secondary_button:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.1);
    z-index: 1;
    border-radius: 41px;
    border: none;
    background: 
        linear-gradient(273deg, #4F8BFE 0%, #6F6BEE 34.5%, #D270F3 100%) padding-box, 
        linear-gradient(90deg, rgba(0, 227, 123, 0.2) 0%, rgba(255, 255, 255, 1) 76.5%, rgba(0, 227, 123, 0.1) 100%) border-box;
    transition: opacity 0.5s ease-in-out;
    opacity: 0;
}
.secondary_button * {
    z-index: 2;
}
.secondary_button:hover:before {
    border: 1px solid white;
}
.secondary_button:hover:before {
    opacity: 1;
}
.secondary_button a {
    position: absolute;
    top: 0;
    left: 0;
    text-decoration: none;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.about_block {
    margin: 0px var(--side-margin-desc) 0px var(--side-margin-desc);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.about_block .secondary_promo__left {
    width: calc((100% - 120px) / 2);
}
.about_block img {
    width: calc((100% - 120px) / 2);
}

.shkolam_buttons {
    display: flex;
    gap: 24px;
}


@media (max-width: 500px) {
    .shkolam_buttons {
        display: flex;
        gap: 16px;
        flex-direction: column;
        width: 100%;
    }

    .abitur-head {
        margin: 32px var(--side-margin-mobile) 80px var(--side-margin-mobile);
        /* padding: 24px 12px; */
        border-radius: 20px;
        /* gap: 24px; */
    }
    /* .abitur-head::before {
        border-radius: 20px;
        opacity: 1;
    } */
    .grad-stroke-text {
        font-size: 52px;
    }

    .abitur-head__title {
        width: 100%;
        gap: 0px;
        justify-content: flex-start;
    }
    .abitur-head__title > img:first-child {
        width: 100%;
    }
    .abitur-head__buttons {
        gap: 8px;
    }
    .empty_button {
        background-color: var(--white-opacity-05);
        justify-content: center;
        width: 100%;
    }
    .empty_button::before {
        opacity: 0;
    }

    #bakalavr_promo {
        background-image: url(/local/templates/abit_tpu/img/directions_back_m.svg);
        background-position: center;
        background-repeat: no-repeat;
    }
    .secondary_promo {
        margin: 80px var(--side-margin-mobile) 80px var(--side-margin-mobile);
        padding: 24px;
    }
    .secondary_promo__left {
        max-width: 100%;
        width: 100%;
        min-width: 100%;
        gap: 40px;
    }
    .secondary_promo .promo__title { 
        font-size: 24px;
    }
    .promo__text {
        font-size: 14px;
    }

    .about_block {
        margin: 0px var(--side-margin-mobile) 0px var(--side-margin-mobile);
        flex-direction: column;
        align-items: baseline;
        gap: 32px;

        font-size: var(--paragraph-size-mobile);
    }
    .about_block img {
        width: 100%;
    }
.abitur-head__title > img._full {
     width: 100%;
   
}
}