@import "variables.css";
@import "header.css";
@import "button.css";
@import "footer.css";
@import "card.css";
@import "form.css";
@import "sidebar.css";

html,*{
    box-sizing: border-box;
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    height: 3px;
    width: 3px;
}

::-webkit-scrollbar-thumb {
    background-color: var(--color-3);
    border-radius: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

body{
    height: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: Roboto,  sans-serif;
    background: var(--color-2);
    color: var(--color-4);
    margin: 0;
    overflow-x: hidden;
}

.container {
    max-width: 1920px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    height: inherit;

    .text__more_wrapper {
        padding: 6px 0;
    }

    .container {
        padding: 0;
    }
}

a {
    text-decoration: none;
}

main {
    margin-top: 68px;
    flex: 1 0 auto;
}

footer {
    flex: 0 0 auto;
}


table {
    margin-block-start: 15px!important;
    margin-block-end: 15px!important;
    border-collapse: collapse;
}

table td {
    border: 1px solid white;
    padding: 10px;
}

.table_wrapper tbody tr:nth-child(odd) {
    background: rgba(255, 255, 255, 0.1);
}

.table_wrapper {
    overflow: auto;
}

.arrow_wrapper {
    display: flex;
    align-items: center;
    gap: 10px;


}

.big__banner_wrapper {
    .arrow {
        left: 24px;

        &.arrow--right {
            right: 24px;
            left: auto;
        }
    }
}

.arrow {
    width: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    background: linear-gradient( 180deg, rgb(233 238 255) 0%, rgb(208 215 255) 100% );
    cursor: pointer;
    border-radius: 12px;


    svg {
        width: 14px;
        height: 14px;

        fill: #454c8b;
    }

    &.arrow--disabled {
        opacity: 0.5;
    }
}

.navigation-wrapper {
    position: relative;
}

.navigation-wrapper .arrow.arrow--disabled {
    display: none;
}



.swiper-button-next:after, .swiper-button-prev:after {
    color: white;
    font-weight: bold;
}

.swiper-button-next {
    right: 0;
    left: auto;
}

.swiper-button-prev {
    left: 0;
    right: auto;
}

.block__head__title {
    font-size: 28px;
    color: var(--color-4);
    font-weight: bold;
}

@media (max-width: 425px) {
    .block__head__title {
        font-size: 20px;
    }
}

html :where(.wp-block) {
    max-width: 100vw;
}

section {
    padding-bottom: 40px;
}

.wp-block-group p a {
    color: var(--color-4);
}

.layout_wrapper {
    display: flex;
}

.page__content_wrapper {
    flex: 1;
    max-width: calc(100vw - 230px);

    .wp-block-group  a {
       color:  #E83369;
    }
}

@media (max-width: 1000px) {
    .page__content_wrapper {
        flex: 1;
        max-width: 100vw;
    }
}
@media (max-width: 500px) {
    .wp-block-image {
        max-width: calc(100vw - 20px);

        figure {
            width: 100%;
            display: block!important;
        }

        img {
            width: 100%;
            object-fit: contain;
        }
    }
}

.scroll-to-top {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(180deg, rgb(184, 195, 255) 0%, rgb(81, 68, 221) 100%);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    box-shadow: 0px 4px 10px 0px rgb(45 0 117 / .5);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0px 6px 15px 0px rgb(45 0 117 / .7);
}

.scroll-to-top.show {
    display: flex;
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
    color: white;
}

@media (max-width: 500px) {
    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 100px;
        right: 15px;
    }
    
    .scroll-to-top svg {
        width: 20px;
        height: 20px;
    }
}



