/**
 * Bootstrap Overrides
 */
:root {
    --bs-primary-rgb: 0, 167, 142;
    --bs-primary: #00a78e;
}

/**
 * BootstrapExtra  Utilities
 */
.mt-50 {
    margin-top: 50px !important;
}
.xsmall {
    font-size: 0.75rem !important;
}

/**
 * Header
 */
.header_navbar {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    z-index: 99;
    box-shadow: 0px 20px 50px 0px rgba(0,0,0,0.05);
    background-color: var(--bs-body-bg);
}
#index .header_navbar {
    box-shadow: none;
    background-color: transparent;
}
.header_navbar .navbar {
    padding: 25px 0;
    border-radius: 5px;
    position: relative;
    transition: all 0.3s ease;
}
.header_navbar .navbar-brand {
    font-size: 24px;
    font-weight: 700;
    font-family: 'Open Sans', sans-serif;
    padding: 0;
}
.header_navbar .navbar-nav .nav-item {
    margin-left: 45px; /* @media: lg:30px, md:0, xs:0 */
    position: relative;
}
.header_navbar .navbar-nav .nav-item a {
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 10px 0;
    position: relative;
    font-family: 'Open Sans', sans-serif;
}
#index .header_navbar .navbar-nav .nav-item a {
    color: #f9f9f9;
}
.header_navbar .navbar-nav .nav-item a span {
    width: 0;
    height: 2px;
    background-color: #1b1f22;
    position: absolute;
    left: 0; bottom: 0;
    border-radius: 50px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.header_navbar .navbar-nav .nav-item a span::before {
    position: absolute;
    content: '';
    width: 0;
    height: 2px;
    background-color: #1b1f22;
    left: 110%;
}
.header_navbar .navbar-nav .nav-item a span::after {
    position: absolute;
    content: '';
    width: 0;
    height: 2px;
    background-color: #1b1f22;
    left: 140%;
}
.header_navbar .navbar-nav .nav-item a.active span,
.header_navbar .navbar-nav .nav-item a:hover span {
    width: 60%;
    opacity: 1;
    visibility: visible;
}
.header_navbar .navbar-nav .nav-item a.active span,
.header_navbar .navbar-nav .nav-item a:hover span::before {
    width: 20%;
}
.header_navbar .navbar-nav .nav-item a.active span,
.header_navbar .navbar-nav .nav-item a:hover span::after {
    width: 15%;
}
#index .header_navbar .navbar-nav .nav-item a span,
#index .header_navbar .navbar-nav .nav-item a span::before,
#index .header_navbar .navbar-nav .nav-item a span::after {
    background-color: #f9f9f9;
}

.header_hero {
    position: relative;
    z-index: 5;
    background-position: bottom center;
    background-color: #f9f9f9;
    background-image: linear-gradient(rgba(255, 255, 255, 0.01), rgb(255, 255, 255) 85%), radial-gradient(at 0% 0%, rgba(13, 110, 253, 0.5), rgba(0, 0, 0, 0) 50%), radial-gradient(at 100% 0%, rgba(255, 228, 132, 0.5), rgba(0, 0, 0, 0) 50%), radial-gradient(at 100% 50%, rgba(113, 44, 249, 0.5), rgba(0, 0, 0, 0) 50%), radial-gradient(at 0% 50%, rgba(214, 51, 132, 0.5), rgba(0, 0, 0, 0) 50%);
    overflow: hidden;
    padding-top: 70px;
}
[data-bs-theme="dark"] .header_hero {
    background-color: #1b1f22;
    background-image: linear-gradient(rgba(33, 37, 41, 0.01), rgb(33, 37, 41) 85%), radial-gradient(at 0% 0%, rgba(13, 110, 253, 0.5), rgba(0, 0, 0, 0) 50%), radial-gradient(at 100% 0%, rgba(255, 228, 132, 0.5), rgba(0, 0, 0, 0) 50%), radial-gradient(at 100% 50%, rgba(113, 44, 249, 0.5), rgba(0, 0, 0, 0) 50%), radial-gradient(at 0% 50%, rgba(214, 51, 132, 0.5), rgba(0, 0, 0, 0) 50%);
}
.header_hero_image {
    width: 80%;
    margin: 0 auto;
    display: block;
}
.header_hero_shape {
    position: absolute;
    top: 0; right: 0;
    width: 45%;
    height: 100%;
    z-index: -1;
}
.header_hero_shape::before {
    position: absolute;
    content: '';
    width: 1000%;
    height: 100%;
    background-color: var(--bs-primary);
    transform: skewX(20deg);
    top: 0; left: 0;
}

.page-header {
    background-image: url(../../images/shape.png);
    background-repeat: no-repeat;
    background-position: top right;
}
.page-header img {
    max-width: 80%;
    max-height: 20rem;
}
.section-title h1 {
    font-size: 2rem;
    font-weight: 600;
}
.section-title .lead {
    font-size: 1rem;
    font-weight: 600;
    color: var(--bs-primary);
}
.section-title .extra {
    font-size: 0.875rem;
    font-weight: 400;
    color: #6c757d;
    margin-bottom: 0;
}

article section {
    padding-top: 3rem;
}

footer {
    margin-top: 3rem;
}

/* Sidebars */
.articles-sidebar .nav-item:last-child .xsmall {
    margin-bottom: 0;
}

ul.cloud {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    line-height: 2.5rem;
}

ul.cloud a[data-weight="1"] { --size: 1; }
ul.cloud a[data-weight="2"] { --size: 2; }
ul.cloud a[data-weight="3"] { --size: 3; }
ul.cloud a[data-weight="4"] { --size: 4; }
ul.cloud a[data-weight="5"] { --size: 5; }

ul.cloud a {
    --size: 4;
    color: #a33;
    display: block;
    font-size: calc(var(--size) * 0.25rem + 0.5rem);
    opacity: calc((15 - (9 - var(--size))) / 15);
    padding: 0.125rem 0.25rem;
    text-decoration: none;
    position: relative;
}
