/* Global */
* {
    text-decoration-skip-ink: none;
}

html,
body {
    font-family: "Inter";
    scroll-behavior: smooth;
    overscroll-behavior-y: none;
    /* needed for fixed headers because they hide elements when scrolling to them */
    scroll-padding-top: 96px;
    margin: 0px;
    width: 100%;
    height: 100%;
    overflow-x: clip;

    a {
        text-decoration: none;
        cursor: pointer;
    }
}

header {
    /* TODO: Check if this is needed */
    transition: top 0.2s ease-in-out;

    li {
        display: inline;
        margin: 8px;
    }
}

footer {
    a {
        font-size: 1.25rem;
        line-height: 1.5rem;

        &:hover {
            color: #FFFFFF;
        }
    }
}

.grecaptcha-badge {
    visibility: hidden !important;
}

#menu {
    display: inherit;
}

@media screen and (max-width:641px) {
    #burger {
        display: inherit;
    }

    #menu {
        display: none;
    }
}

/* Dimensions */

.max-content-w {
    margin: auto;
    max-width: 1440px;
    min-width: auto;
}

.max-content-w-2 {
    margin: auto;
    max-width: 650px;
}

.max-footer-desc-w {
    max-width: 264px;
}

.max-disclaimer-title-w {
    max-width: 800px;
}

/* Colors */

/* colors: { */
/*     cyan: #31AA9C */
/*     blue: #004BC3 */
/*     blue-dark: #0541A1 */
/*     blue-light: #CCE5FF */
/*     blue-sky: #1580EA */
/*     yellow: #ffc82c */
/*     gray-dark: #273444 */
/*     gray: #404D63 */
/*     gray-medium: #7B8696 */
/*     gray-light: #d3dce6 */
/*     gray-light-one: #F5F8FC */
/*     gray-light-two: #E9EFF8 */
/*     white: #FFFFFF */
/*     black: #0F2447 */
/* } */

.hg-text-cyan {
    color: #31AA9C;
}

.hg-text-blue {
    color: #004BC3;
}

.hg-text-content-action {
    color: #3D85EA;
}

.hg-hover-text-blue {
    &:hover {
        color: #004BC3;
    }
}

.hg-hover-bg-blue {
    &:hover {
        background: #004BC3;
    }
}

.hg-bg-blue {
    background: #004BC3;
}

.hg-border-blue {
    border-color: #004BC3;
}

.hg-bg-blue-sky {
    background: #1580EA;
}

.hg-hover-bg-blue-sky {
    &:hover {
        background: #1580EA;
    }
}

.hg-hover-text-blue-sky {
    &:hover {
        color: #1580EA;
    }
}

.hg-active-text-blue-sky:active {
    color: #1580EA;
}

.hg-bg-blue-light {
    background: #CCE5FF;
}

.hg-hover-bg-blue-light {
    &:hover {
        background: #CCE5FF;
    }
}

.hg-text-blue-light {
    color: #CCE5FF;
}

.hg-hover-text-blue-light {
    &:hover {
        color: #CCE5FF;
    }
}

.hg-bg-blue-gray-light {
    background: #CBD6E7;
}

.hg-border-blue-gray-light {
    border-color: #C6D3E7;
}


.hg-text-blue-gray-light {
    color: #CBD6E7;
}

.hg-bg-blue-dark {
    background: #0B3B87;
}

.hg-bg-blue-prussian {
    background: #151B26;
}

.hg-text-gray-dark {
    color: #273444;
}

.hg-bg-gray-dark {
    background: #273444;
}

.hg-text-gray {
    color: #404D63;
}

.hg-hover-text-gray {
    &:hover {
        color: #404D63;
    }
}

.hg-bg-gray {
    background: #404D63;
}

.hg-border-gray {
    border-color: #404D63;
}

.hg-text-gray-medium {
    color: #7B8696;
}

.hg-bg-gray-medium {
    background: #7B8696;
}

.hg-text-gray-light {
    color: #d3dce6;
}

.hg-bg-gray-light {
    background: #d3dce6;
}

.hg-text-gray-light-one {
    color: #F5F8FC;
}

.hg-bg-gray-light-one {
    background: #F5F8FC;
}

.hg-hover-bg-gray-light-one {
    &:hover {
        background: #F5F8FC;
    }
}

.hg-text-gray-light-two {
    color: #E9EFF8;
}

.hg-bg-gray-light-two {
    background: #E9EFF8;
}

.hg-focus-bg-gray-light-two {
    &:focus {
        background: #E9EFF8;
    }
}

.hg-border-gray-light-two {
    border-color: #E9EFF8;
}

.hg-bg-black {
    background: #0F2447;
}

.hg-hover-bg-black {
    &:hover {
        background: #0F2447;
    }
}

.hg-border-black {
    border-color: #0F2447;
}

.hg-text-black {
    color: #0F2447;
}

.text-link-white {
    color: #FFFFFF;

    &:hover {
        color: #FFFFFF;
        color: rgba(255, 255, 255, 0.5);
    }
}

/* Custom */

.hg-form-field {
    cursor: pointer;
    background: #FFFFFF;
    color: #0F2447;
    border: 1px #E9EFF8 solid;
    border-radius: 0.5rem;
    font-size: 1.00rem;
    line-height: 1.25rem;
    padding: 8px 12px 8px 12px;
    width: 100%;

    ::placeholder {
        color: #B2B2B2;
        font-size: 0.875rem;
        line-height: 1.25rem;
    }

    &:focus {
        background: #E9EFF8;
        outline: 1px #004BC3 solid;
    }
}

.hg-dropdown {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAUCAMAAACtdX32AAAAdVBMVEUAAAD///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAhMdQaAAAAJ3RSTlMAAAECAwQGBwsOFBwkJTg5RUZ4eYCHkJefpaytrsXGy8zW3+Do8vNn0bsyAAAAYElEQVR42tXROwJDQAAA0Ymw1p9kiT+L5P5HVEi3qJn2lcPjtIuzUIJ/rhIGy762N3XaThqMN1ZPALsZPEzG1x8LrFL77DHBnEMxBewz0fJ6LyFHTPL7xhwzWYrJ9z22AqmQBV757MHfAAAAAElFTkSuQmCC);
    background-position: 100%;
    background-repeat: no-repeat;
}

.hg-article-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hg-article-title-mobile {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    height: 3lh;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hg-article-subtitle {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hg-transition-300 {
    transition: all 300ms ease-in;
}

#burgerMenu {
    transition: all 300ms ease-in;

    li {
        transition: all 300ms ease-in;
    }
}

#burger {
    &:hover {
        -webkit-animation: zoom 300ms ease-in;
        animation: zoom 300ms ease-in;
    }
}

.hg-close-burger .hg-lines {
    cursor: pointer;
}

.hg-close-burger .hg-line-top {
    transform: translateY(200%) rotate(45deg);
}

.hg-close-burger .hg-line-mid {
    opacity: 0;
}

.hg-close-burger .hg-line-bottom {
    transform: translateY(-200%) rotate(135deg);
}

.hg-loader {
    margin: auto;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.fund-loader {
    position: relative;
    margin: 5rem 0;
}

#animationVeil {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    pointer-events: none;
    transition: opacity 1s ease-in-out;
}

.hg-box {
    float: left;
    height: 20px;
    width: 20px;
    border-radius: 2px;
    margin: auto;
}

.hg-bg-btc {
    background: #F7971A;
}

.hg-bg-eth {
    background: #5F6AAD;
}

.hg-bg-sol {
    background: #9E4DFF;
}

.hg-bg-matic {
    background: #7D46DE;
}

.hg-bg-aave {
    background: #B6509E;
}

.hg-bg-ada {
    background: #0033ad;
}

.hg-bg-dot {
    background: #BF264F;
}

.hg-bg-uni {
    background: #FF007A;
}

.hg-bg-xrp {
    background: #3F4A54;
}

.hg-bg-avax {
    background: #E84142;
}

.hg-bg-link {
    background: #375BD2;
}

.hg-bg-myr {
    background: #51D0CC;
}

.hg-bg-ltc {
    background: #345d9d;
}

.hg-bg-titans-fund {
    background: #377DEC;
}
.hg-bg-bitcoin-fund {
    background: rgb(247, 151, 26);
}

.hg-bg-ringgit-income-fund {
    background: #49B1CD;
}

.carousel-item {
    opacity: 0;
    position: absolute;
    top: 0;
    width: 100%;
    margin: auto;
    z-index: 7;
    transition: transform .5s, opacity .5s, z-index .5s;
}

.carousel-item.initial,
.carousel-item.active {
    opacity: 1;
    position: relative;
    z-index: 9;
}

/* Set 'z-index' to sit behind our '.active' item. */
.carousel-item.prev,
.carousel-item.next {
    opacity: 1;
    z-index: 8;
}

/* Translate previous item to the left */
.carousel-item.prev {
    transform: translateX(-105%);
}

/* Translate next item to the right */
.carousel-item.next {
    transform: translateX(105%);
}

.hg-fund-desc-height {
    height: 3lh;

}

.hg-fund-title-height {
    height: 3lh;
}

.embla__slide {
    flex: 0 0 100%;
    min-width: 0;
}

.hg-contains-links {
    a {
        text-decoration: underline;

        &:hover {
            color: #004BC3
        }
    }
}


.hg-banner-gradient {
    background: linear-gradient(139deg, #004BC3 34.56%, #3076E5 52.23%, #004BC3 69.16%), #004BC3
}

.portfolio-card-selected {
    border: 4px solid #004BC3;
    transform: scale(1.05);
}

.portfolio-card {
    transition: 0.5s ease-in-out;
}

.hg-section-grey {
    background: #F2F3F7;
}

.hg-section-dark {
    background: #0E111A;
}

.hg-border-secondary {
    border-color: #E2E8F0;
}