body {
    background-color: #f8f8f8;
}
/* common */
a {
    text-decoration: none;
}
.color-main {
    color: #1c1127;
}
.color-light {
    color: #968aaf;
}
.color-secondary {
    color: #7338eb;
}
.text-1 {
    font-size: 12px;
    line-height: 16px;
}
.text-2 {
    font-size: 14px;
    line-height: 18px;
}
.text-3 {
    font-size: 16px;
    line-height: 20px;
}
.text-4 {
    font-size: 22px;
    line-height: 26px;
}
.text-5 {
    font-size: 24px;
    line-height: 28px;
}
.text-high {
    font-size: 40px;
    line-height: 44px;
    letter-spacing: 0.8px;
}
.fw-1 {
    font-weight: 400;
}
.fw-2 {
    font-weight: 500;
}
.fw-3 {
    font-weight: 600;
}
.fw-4 {
    font-weight: 700;
}
.box-shadow {
    box-shadow: 0px 4px 20px 0px rgba(37, 41, 84, 0.1);
    border-radius: 20px;
    background-color: #fff;
    padding: 12px 16px;
}

/* header */
.first-page {
    max-width: 1920px;
}
.first-page .header {
    border-radius: 20px 20px 0 0;
    background-color: #fff;
    box-shadow: 0px 4px 20px 0px rgba(37, 41, 84, 0.1);
    padding: 24px 16px;
}
.first-page .header-bottom {
    border-top: 1px solid #968aaf;
    border-radius: 0 0 20px 20px;
}
.first-page .header-bottom .box {
    padding: 6px;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 18px;
    letter-spacing: 0.24px;
    color: #968aaf;
}
.first-page .header-bottom .box-active {
    padding: 6px 15px;
    border-radius: 36px;
    box-shadow: 0px -2px 6px 0px rgba(0, 0, 0, 0.04) inset,
        0px 1px 2px 0px rgba(0, 0, 0, 0.1), 2px 2px 5px 0px rgba(0, 0, 0, 0.06);
    background-color: #fff;
    color: #1c1127;
}

/* holdings */
.holdings {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 2 columns on mobile */
    row-gap: 10px;
    column-gap: 15px;
}

/* lows-highs */
.lows-highs-score-container {
    margin-bottom: -10px !important;
}
.lows-highs-score {
    padding: 6px 14px;
    border-radius: 36px;
    background: var(--primary-white-100, #fff);
    box-shadow: 0px 4px 20px 0px rgba(37, 41, 84, 0.1);
}

/* slider range */
.slidecontainer {
    width: 100%;
}

.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 20px;
    opacity: 0.5;
    background: linear-gradient(270deg, #15ad41 48.78%, #ad1515 51.38%);
    outline: none;

    -webkit-transition: 0.2s;
    transition: opacity 0.2s;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    opacity: 1 !important;
    border-radius: 50%;
    background: #15ad41;
    border: 2px solid #fff;
    cursor: pointer;
}

.slider::-moz-range-thumb {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #04aa6d;
    cursor: pointer;
}

/* esg score */

/* circle progress start */
.chart {
    position: relative;
}
.chart-container .text-content {
    position: absolute;
    top: 65%;
    left: 45%;
    transform: translate(-50%, -50%);
}
.circular-progress {
    position: relative;
    height: 170px;
    width: 170px;
    border-radius: 50%;
    background: conic-gradient(#fff 3.6deg, #ededed 0deg);
    display: flex;
    align-items: center;
    justify-content: center;
}
.circular-progress::before {
    content: "";
    position: absolute;
    height: 80%;
    width: 80%;
    border-radius: 50%;
    background-color: #fff;
}
.progress-value {
    position: relative;
    color: #24d658;
    font-size: 30px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 3px;
}
/* circle progress end */

.info-round {
    padding: 5px;
    width: 24px;
    height: 24px;
    border-radius: 34px;
    background: var(--active-purple-light, #f1ebfd);
}

.highlight-1 {
    height: 6px;
    width: 100%;
    border-radius: 20px;
    background: linear-gradient(144deg, #fe6681 18.04%, #e32321 77.76%);
}
.highlight-2 {
    height: 6px;
    width: 100%;
    border-radius: 20px;
    background: linear-gradient(144deg, #ffb470 18.04%, #ed6214 77.76%), #eee7fd;
}
.highlight-3 {
    height: 6px;
    width: 100%;
    border-radius: 20px;
    background: linear-gradient(144deg, #ffdf70 18.04%, #edbc14 77.76%);
}
.highlight-4 {
    height: 6px;
    width: 100%;
    border-radius: 20px;
    background: linear-gradient(144deg, #fcff70 18.04%, #a8ce0f 77.76%), #ddcffa;
}
.highlight-5 {
    height: 6px;
    width: 100%;
    border-radius: 20px;
    background: linear-gradient(147deg, #80ec2b 19.52%, #57bc09 73.67%);
}
.highlight-6 {
    height: 6px;
    width: 100%;
    border-radius: 20px;
    background: linear-gradient(147deg, #24d658 19.52%, #12b140 73.67%), #7338eb;
}

/* compliance */
.compliance-start-btn {
    padding: 10px 20px;
    border-radius: 58px;
    background: var(
        --secondary-green-gradient,
        linear-gradient(180deg, #34c85e 0%, #15ad41 100%)
    );
    width: 90%;
}

/* incest btn */
.invest-btn {
    padding: 14px 20px;
    border-radius: 100px;
    background: linear-gradient(73deg, #7c3ffe 20.41%, #8195ff 100%);
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.12),
        2px 2px 5px 0px rgba(0, 0, 0, 0.1),
        0px -2px 12px 0px rgba(0, 0, 0, 0.18) inset,
        2px 2px 12px 0px rgba(255, 255, 255, 0.12) inset,
        0px 4px 20px 0px rgba(123, 31, 226, 0.16);
}

/* dial chart */
.dial-chart-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}
/* circle */
.circle-violet {
    background-color: #7338eb;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.circle-blue {
    background-color: #759ff1;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

/* page end */
.page-end {
    background-color: #1c1127;
    width: 33%;
    height: 5px;
    border-radius: 10px;
}

/* round circle */
.round-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}
.circle-1 {
    background: linear-gradient(156deg, #ab82ff 13.8%, #7036e4 50%);
}
.circle-2 {
    background: linear-gradient(334deg, #f9a527 14.13%, #ffc773 46.64%);
}
.circle-3 {
    background: linear-gradient(182deg, #5b4dff 1.63%, #796dff 45.77%);
}
.circle-4 {
    background: linear-gradient(180deg, #f2c627 0%, #ffde69 48.65%);
}
.circle-5 {
    background: linear-gradient(179deg, #95ecf1 49.04%, #6bccd2 99.44%);
}
.pill-tabs {
    border-radius: 60px;
    background: var(--secondary-grey-extralight, #f7f7f8);
    box-shadow: 0px 4px 7px 0px rgba(232, 232, 236, 0.8) inset;
}
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    background-color: #7338eb;
}
.nav-pills .nav-link {
    color: #1c1127;
}
canvas {
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}
.text-decrease {
    color: #ed413f;
    font-family: Onest;
    font-size: 32px;
    font-style: normal;
    font-weight: 500;
    line-height: 36px; /* 112.5% */
}
@media only screen and (max-width: 1200px) {
    .holdings img {
        width: 40px !important;
    }
}
@media only screen and (min-width: 841px) and (max-width: 1000px) {
    .holdings img {
        width: 30px !important;
    }
}
@media only screen and (max-width: 962px) {
    .compliance-start-btn {
        width: 100% !important;
        padding: 10px !important;
    }
}

@media only screen and (max-width: 840px) {
    .holdings {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px;
    }
}
@media only screen and (min-width: 769px) and (max-width: 821px) {
    .compliance-start-btn {
        font-size: 14px !important;
    }
}
@media only screen and (min-width: 769px) {
    .text-high {
        font-size: 60px;
    }

    .desktop-container {
        display: grid;
        grid-template-rows: repeat(2, auto);
        grid-template-columns: 70% 30%;
        row-gap: 10px;
        column-gap: 15px;
    }

    .score-container {
        grid-row: 1;
        grid-column: 1 / span 2;
    }

    /* .compliance-container {
    grid-row: 1;
    grid-column: 2 / 3;
  } */

    .stack-container {
        grid-row: 2;
        grid-column: 1 / 2;
    }

    .allocations-container {
        grid-row: 2;
        grid-column: 2 / 3;
    }
    .score-line-chart {
        margin-top: 10%;
    }

    .header-title {
        font-size: 40px;
        font-weight: 500;
        line-height: 52px;
    }
    .text-4 {
        font-size: 28px;
        line-height: 32px;
    }
}

@media only screen and (max-width: 768px) {
    .footer .text {
        font-size: 12px !important;
    }
}
@media only screen and (max-width: 480px) {
    .holdings img {
        width: 30px !important;
    }
}
@media only screen and (max-width: 380px) {
    .footer .text {
        font-size: 10px !important;
    }
    .holdings img {
        width: 25px !important;
    }
}
