:root {
    --rnx-theme: #7E2ACB;
    --rnx-theme-alt: #B271EE;
}

html {
    font-size: 16px;
    font-weight: 400;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: Montserrat, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -moz-font-feature-settings: "liga", "kern";
    text-rendering: optimizelegibility;
    padding: 0 !important;
    background-color: var(--rnx-dark);
    max-width: 100%;
    overflow-x: hidden;
}

main {
    position: relative;
    width: 100%;
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: 4rem -10rem;
}

.z-1 {
    z-index: 1;
}

.fw-300 {
    font-weight: 300;
}

.fw-700 {
    font-weight: 700;
}

.bg-theme {
    background-color: var(--rnx-theme) !important;
}

.bg-theme-grad {
    background: radial-gradient(ellipse at top, var(--rnx-theme-alt), var(--rnx-theme));
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 1), inset 0 -1px 2px rgba(0, 0, 0, .4);
}

.text-theme {
    color: var(--rnx-theme) !important;
}

.bg-img {
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
}

.bg-img.bg-auto {
    background-size: auto auto;
}

.bg-img.bg-1k {
    background-size: 900px auto;
}

.bg-img.bg-left {
    background-position: 10% 100%;
}

.btn-theme {
    border-radius: 2rem;
    background: radial-gradient(ellipse at top, var(--rnx-theme-alt), var(--rnx-theme));
    color: #fff;
    padding: .5rem 2rem;
    transition: all .3s;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 1), inset 0 -1px 2px rgba(0, 0, 0, .4);
}

.btn-theme:hover {
    color: #fff;
    background: radial-gradient(ellipse at bottom, var(--rnx-theme-alt), var(--rnx-theme));
}

.btn-theme.btn-alt {
    background: radial-gradient(ellipse at top, #e1e2e4, #d1d2d4);
    color: var(--bs-body);
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 1), inset 0 -1px 2px rgba(0, 0, 0, .4);
}

.btn-theme.btn-alt:hover {
    color: var(--bs-body);
    background: radial-gradient(ellipse at bottom, #e1e2e4, #d1d2d4);
}

.table>:not(:first-child) {
    border-top: 0;
}

.table>thead>tr {
    border-radius: 1rem;
    background: radial-gradient(ellipse at top, var(--rnx-theme-alt), var(--rnx-theme));
    color: #fff;
    transition: all .3s;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 1), inset 0 -1px 2px rgba(0, 0, 0, .4);
    border-bottom: 0;
}

.table tr>th:first-child,
.table tr>td:first-child {
    padding-left: 1.5rem;
}

.table>thead>tr>th:first-child {
    border-top-left-radius: 1rem;
    border-bottom-left-radius: 1rem;
}

.table>thead>tr>th:last-child {
    border-top-right-radius: 1rem;
    border-bottom-right-radius: 1rem;
}

a {
    color: var(--rnx-theme);
}

a:hover {
    color: var(--rnx-theme);
}

.p-6 {
    padding: 5rem;
}

.mt-m21 {
    margin-top: -21px;
}

.social-icon {
    height: 3rem;
    width: 3rem;
    border-radius: 1rem;
    background: radial-gradient(ellipse at top, var(--rnx-theme-alt), var(--rnx-theme));
    color: #fff;
    transition: all .3s;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 1), inset 0 -1px 2px rgba(0, 0, 0, .4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.social-icon i {
    opacity: .75;
}

.social-icon:hover i {
    opacity: 1;
}

.nav-pills .nav-link {
    border-radius: 1rem;
    padding: .75rem 2rem;
    color: var(--bs-body);
    opacity: .5;
    line-height: 1.2;
}

.nav-pills .nav-link:hover {
    opacity: 1;
}

.nav-pills .nav-link.active {
    opacity: 1;
    background: radial-gradient(ellipse at top, var(--rnx-theme-alt), var(--rnx-theme));
    color: #fff;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 1), inset 0 -1px 2px rgba(0, 0, 0, .4);
}

.nav-tabs {
    display: flex;
    flex-wrap: wrap;
    border: 0;
}

.nav-tabs .nav-item {
    flex-grow: 1;
}

.nav-tabs .nav-link {
    margin: 0 auto;
    border: 0;
    position: relative;
    color: var(--bs-body);
    font-weight: 700;
}

.nav-tabs .nav-link:after {
    content: '';
    width: 70%;
    height: .25rem;
    background-color: var(--rnx-theme);
    position: absolute;
    bottom: 0;
    left: 15%;
    opacity: 0;
}

.nav-tabs .nav-link.active:after,
.nav-tabs .nav-link:hover:after {
    opacity: 1;
}

.flip {
    transform: scale(-1);
}

.bi-vk:before {
    content: '';
    width: 1em;
    height: 1em;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20.012' height='20.012' viewBox='0 0 20.012 20.012'%3E%3Cpath id='vk' d='M1.407,33.407C0,34.813,0,37.078,0,41.606v.8c0,4.528,0,6.793,1.407,8.2s3.671,1.407,8.2,1.407h.8c4.528,0,6.793,0,8.2-1.407s1.407-3.671,1.407-8.2v-.8c0-4.528,0-6.793-1.407-8.2S14.935,32,10.406,32h-.8C5.078,32,2.813,32,1.407,33.407Zm1.97,4.68H5.662c.075,3.819,1.759,5.437,3.094,5.77v-5.77h2.151v3.294c1.317-.142,2.7-1.643,3.169-3.294h2.151A6.355,6.355,0,0,1,13.3,42.24a6.582,6.582,0,0,1,3.427,4.178H14.359a4.117,4.117,0,0,0-3.452-2.977v2.977h-.259C6.087,46.417,3.486,43.29,3.377,38.087Z' transform='translate(0 -32)' fill='%23fff'/%3E%3C/svg%3E%0A");
    background-size: contain;
    background-position: 50% 50%;
}

.rounded-lg {
    border-radius: 1rem;
}

.w-58p {
    width: 3.5rem;
}

[class^="rnx-badge"] {
    white-space:nowrap;
    font-size: .875em;
    color: #fff;
    line-height: 1;
    padding: .125rem .375rem;
    border-radius: 0 0 .25rem .25rem;
    box-shadow: 0 1px 2px rgb(0 0 0 / 20%);
    font-weight: 700;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.rnx-badge-new {
    background-color: var(--bs-danger);
}

/* HEADER FOOTER */
header {
    z-index: 1;
}

header a {
    text-decoration: none;
}

header .bg-theme a {
    color: #fff;
}

header a:hover i,
footer a:hover i {
    opacity: 1 !important;
}

.logo-wrapper {
    position: absolute;
    top: -1rem;
    left: 3rem;
}

.logo-wrapper:before {
    content: '';
    position: absolute;
    top: 26%;
    left: 50%;
    width: 120%;
    padding-top: 120%;
    transform: translate(-50%, -50%) rotate(45deg);
    background-color: #fff;
    border-radius: 2rem;
    box-shadow: .125rem .125rem .25rem rgba(71, 26, 87, .15);
}

.polygon-overlay {
    margin: 0 -.25rem -.25rem;
    width: calc(100% + .75rem);
}

.navbar-light .navbar-nav .nav-link {
    color: var(--bs-body);
    padding: .5rem 1.25rem;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: var(--rnx-theme);
}

.navbar-light .navbar-nav .nav-link.active {
    color: var(--rnx-theme);
    font-weight: 700;
}

.navbar-light .navbar-toggler {
    box-shadow: none !important;
    outline: none !important;
}

.burger {
    width: 1.75rem;
    height: 1.75rem;
    position: relative;
}

.burger i,
.burger:before,
.burger:after {
    content: '';
    width: 1.75rem;
    height: .125rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--bs-dark);
    transition: all .3s;
}

.navbar-light .navbar-toggler[aria-expanded=false] .burger:before {
    transform: translate(-50%, -.5rem);
}

.navbar-light .navbar-toggler[aria-expanded=false] .burger:after {
    transform: translate(-50%, calc(.5rem - 2px));
}

.navbar-light .navbar-toggler[aria-expanded=false] .burger i {
    opacity: 1;
}

.navbar-light .navbar-toggler .burger i {
    opacity: 0;
}

.burger:before {
    transform: translate(-50%, -50%) rotate(135deg);
}

.burger:after {
    transform: translate(-50%, -50%) rotate(-135deg);
}

@media(max-width: 767px) {
    .logo-wrapper img {
        width: 7rem;
    }

    .slide-caption {
        background-color: rgba(255, 255, 255, .6);
        border-radius: 1rem;
    }
}

@media(max-width: 1199px) {
    .navbar-light .navbar-nav .nav-link {
        color: var(--bs-body);
        padding: .5rem .75rem;
    }
}


/* OTHER */
#hero {
    height: 580px;
}

@media (max-width: 767px) {
    #hero {
        height: 350px;
    }
}

.carousel-indicators [data-bs-target] {
    height: 6px;
    background-color: var(--rnx-theme) !important;
}

.dir-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--rnx-theme-alt);
    transition: all .5s;
    border-radius: 1rem;
}

.dir-card:hover::before {
    transform: translate(1rem, -1rem);
}

.team-card .img-wrapper {
    transform: rotate(45deg) scale(0.72);
    border-radius: 2.5rem;
    overflow: hidden;
}

.team-card .img-wrapper img {
    transform: rotate(-45deg) scale(1.35);
}

@media (max-width: 767px) {
    .team-card .fs-5 {
        font-size: 1rem !important;
    }
}

.title-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(0 0 0 / 40%);
}

.accordion-button:not(.collapsed) {
    color: var(--rnx-theme);
    background-color: #fff;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}