:root {
    --headingColorWhite: #fff;
    --headingColorBlack: #000;
    --normalTextColorOffWhite: rgba(255, 255, 255, 0.747);
    --normalTextColorBlack: #000;
    --titleBottomBorderColor: #875625;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    text-decoration: none;
    color: var(--normalTextColorBlack);
}

html {
    scroll-behavior: smooth;
}

body {
    /* background-color: white; */
    font-family: "Roboto", sans-serif;
}

.redirection-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    /* height: 100vw; */
    background-color: rgba(0, 0, 0, 0.596);
    z-index: 10000;

    display: none;
    align-items: end;
}

.redirection-popup .container {
    background-color: white;
    color: black;
    width: 100%;
    /* height: 200px; */
    padding: 5rem 0;
    transform: translateY(0%);
    transition: all .3s ease-in-out;
    /* transition-delay: 500ms; */
}

.redirection-popup .container.hide {
    transform: translateY(100%);
}

.redirection-popup .container p {
    font-size: .9rem;
    line-height: 20px;
}

.redirection-popup .container .button-cnt {
    margin-top: 1rem;
}

.redirection-popup .container .button-cnt button {

    outline: none;
    border: none;
    cursor: pointer;
    transition: all .3s ease-in-out;
    font-size: .9rem;
}

.redirection-popup .container .button-cnt button:first-child {
    padding: 1rem 1.5rem;
    border-radius: 50px;
    margin-right: 2rem;
    background-color: var(--titleBottomBorderColor);
    border: 1px solid #875626;
    color: white;
    box-shadow: 5px 3px 2px rgba(0, 0, 0, 0.267);
}

.redirection-popup .container .button-cnt button:first-child:hover {
    background-color: white;
    color: black;
}

.redirection-popup .container .button-cnt button:nth-child(2) {
    background-color: white;
    color: black;
    text-decoration: underline;
}

/* utility classes  starts here */

.main-container {
    margin: 0 auto;
    max-width: 1240px;
    padding: 0 1rem;
}

.section-spacer {
    height: 50px;
}

.section-title {
    color: var(--headingColorBlack);
    padding-bottom: 1rem;
    border-bottom: 1.5px solid var(--titleBottomBorderColor);
    margin-bottom: 2.5rem;
}

table {
    border-spacing: 0;
}

/* utility classes  ends here */

/* mobile menu button styles  starts here */

.menu {
    background-color: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    padding: 0;
}

.line {
    fill: none;
    stroke: black;
    stroke-width: 6;
    transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
        stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.line1 {
    stroke-dasharray: 60 207;
    stroke-width: 6;
}

.line2 {
    stroke-dasharray: 60 60;
    stroke-width: 6;
}

.line3 {
    stroke-dasharray: 60 207;
    stroke-width: 6;
}

.opened .line1 {
    stroke-dasharray: 90 207;
    stroke-dashoffset: -134;
    stroke-width: 6;
}

.opened .line2 {
    stroke-dasharray: 1 60;
    stroke-dashoffset: -30;
    stroke-width: 6;
}

.opened .line3 {
    stroke-dasharray: 90 207;
    stroke-dashoffset: -134;
    stroke-width: 6;
}


/* mobile menu button styles  ends here */

/* Hero Section Styles starts here */

.header-wrapper {
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 10000;
    box-shadow: 1px 2px 10px rgba(0, 0, 0, 0.267);
}

header.main-container {
    display: flex;
    justify-content: start;
    align-items: center;
    padding: 7px 0;
}

header img {
    width: 100px;
}

header nav.desktop {
    width: 100%;
    overflow: hidden;
}

header nav.desktop ul {
    width: 500px;
    margin-right: auto;
    margin-left: auto;
    display: flex;
    justify-content: space-between;
    list-style-type: none;
    font-size: 1rem;
}

header nav.desktop ul li:hover {
    text-decoration: underline;
}

#mobile-nav-bar {
    display: none;
    position: fixed;
    top: 4.8rem;
    left: 0;
    height: 100svh;
    width: 100vw;
    z-index: 1000;
    background-color: white;
    transition: all .3s ease-in-out;
}

header nav.mobile-open {
    transform: translateX(0);
}


header nav.mobile-close {
    transform: translateX(-100vw);
}

#mobile-nav-bar ul {
    padding-left: 2rem;
    padding-top: 3rem;
    list-style-type: none;
}

#mobile-nav-bar ul li {
    margin-bottom: 3rem;
    font-size: 2rem;
}

header .menu-button {
    display: none;
}

.hero-section {
    height: 90svh;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background-image: url(../assets/hero-bg.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-text-cnt {
    width: 100%;
}

.hero-section h1 {
    color: var(--headingColorWhite);
    margin-bottom: .6rem
}

.hero-section p {
    width: 443px;
    color: var(--normalTextColorOffWhite);
    font-size: 1.1rem;
    line-height: 25px;
}

/* Hero sectioin styles ends here  */

/* Prices container styles start here  */

.prices-cnt {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    gap: 1.5rem;
    font-size: 1.5rem;
    background-color: black;
    color: white;
    padding: 2rem 0;
}

.prices-cnt svg,
.prices-cnt img {
    width: 20px;
    height: 20px;
}

.prices {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: .5rem;
}

.prices div {
    color: white;
}

.prices-cnt-table-footer-cnt {
    display: flex;
    justify-content: end;
    padding-right: 1rem;
    padding-top: .5rem;
    font-size: .8rem;
}

/* Prices container styles ends here  */

/* About section styles starts here  */

.about-section .container {
    display: flex;
    justify-content: space-between;
    column-gap: 2rem;
    margin-bottom: 2rem;
}

.about-section .container .child {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.about-section .container .img-cnt {
    width: 50%;
}

.about-section .container .img-cnt img {
    width: 100%;
}


.about-section .container h1 {
    color: var(--headingColorBlack);
    padding-left: 3rem;
    padding-bottom: 1rem;
    border-bottom: 1.5px solid var(--titleBottomBorderColor);
    margin-bottom: 2.5rem;
}

.about-section .container p {
    color: var(--normalTextColorBlack);
    padding-left: 3rem;
    line-height: 30px;
}

/* About section styles ends here  */

/* Fund Facts talble styles starts here  */

.table-cnt {
    display: flex;
    justify-items: space-between;
    column-gap: 1.5rem;
}

.fundfacts-table {
    width: 100%;
    max-width: 600px;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.fundfacts-table th,
.fundfacts-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid #00000028;
    font-size: 0.9em;
}

.fundfacts-table th {
    font-weight: 600;
}

.fundfacts-table td {
    text-align: right;
}

.fundfacts-table tr:nth-child(odd) {
    background-color: rgba(128, 128, 128, 0.13);
}

.fundfacts-table tr:last-child th,
.fundfacts-table tr:last-child td {
    border-bottom: none;
}

.section {
    background-color: rgba(128, 128, 128, 0.13);
    color: black;
    border: 1px solid #875626;
    padding: 1rem 1.5rem;
}

.fund-facts-section .table-footer,
.stock-weights-section.main-container .table-footer,
.active-shares-and-exposure-section.main-container .table-footer,
.performance-section .table-footer {
    font-size: .8rem;
    margin-bottom: 1rem;
}

.active-shares-and-exposure-section .table-footer-cnt {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;

}

/* funds fatcs styles ends here  */

/* Current holdings styles starts here  */

#currentholding {
    width: 100%;
    /* max-width: 600px; */
    border-collapse: separate;
    margin-top: 10px;
    background-color: white;
}

#currentholding th,
#currentholding td {
    padding: 10px;
    text-align: left;
    font-size: 0.9em;
}

#currentholding th {
    text-align: left;
    background-color: #615534;
    font-weight: 600;
}

#currentholding td {
    border-bottom: 1px solid #ddd;
    padding: 1rem;
}

/* #currentholding tr:last-child td {
    border-bottom: none;
} */

#currentholding tr:nth-child(odd) {
    background-color: #f5f5f5;
}

#currentholding .header td {
    background-color: #615534;
    color: white;
    font-weight: 600;
}

.current-holdings-section .table-footer {
    font-size: .8rem;
    margin-bottom: 1rem;
    margin-top: 1rem;
}

/* Current holdings styles ends here  */

/* stock weights and active shares styles  */

.stock-weights-section img,
.active-shares-and-exposure-section img {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
}

.active-shares-and-exposure-section .chart-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
}

#stockWeightsChart {
    margin-right: auto;
    margin-left: auto;
}

/* stock weights and active end styles  */

.google-finance.main-container .container {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 2rem;
    position: relative;
}

/* .google-finance.main-container .container .text-cnt {
    position: absolute;
    top: 50%;
    font-size: 1.3rem;
    text-decoration: underline;
    transition: all .2s ease-in-out;
    cursor: pointer;
} */

#google-finance-img {
    filter: blur(3px);
    -webkit-filter: blur(3px);
    transition: all .5s ease-in-out;
    height: 400px;
}

#google-finance-img:hover {
    scale: 1.05;
    cursor: pointer;
}

.google-finance.main-container .container .text-cnt img {
    width: 50px;
    position: absolute;
    top: 38%;
    left: 47%;
    filter: blur(0px);
    -webkit-filter: blur(0px);
    rotate: 90deg;
    cursor: pointer;
}

/* Performance table styles starts here  */

.performance-section .table-wrapper {
    display: flex;
    column-gap: 1rem;
    margin-bottom: 1rem;
}

.performance.one {
    width: 70%;
}

.performance.two {
    width: 30%;
}

.performance {
    border-collapse: separate;
    margin-top: 10px;
    background-color: white;
}

.performance th,
.performance td {
    padding: 10px;
    text-align: left;
    font-size: 0.9em;
}

.performance th {
    text-align: left;
    background-color: #615534;
    font-weight: 600;
}

.performance td {
    border-bottom: 1px solid #ddd;
    padding: 1rem;
}

/* .performance tr:last-child td {
    border-bottom: none;
} */

.performance tr:nth-child(odd) {
    background-color: #f5f5f5;
}

.performance .header td {
    background-color: #615534;
    color: white;
    font-weight: 600;
}

/* Performance table styles ends here  */

/* info section styles starts here  */

.info-section {
    display: flex;
    justify-content: space-between;
    column-gap: 1rem;
}

.info-section .title-cnt {
    width: 40%;
}

.info-section .links-cnt {
    display: grid;
    grid-template-columns: auto auto auto;
    grid-template-rows: auto auto;
    column-gap: 1rem;
    row-gap: 1rem;
}

.info-section .links-cnt img {
    border: 1px solid rgba(0, 0, 0, 0.301);
    width: 100%;
}

/* info section styles ends here  */

/* disclaimer section styles starts here  */

.disclaimer-section {
    background-color: #13110a;
    padding-top: 100px;
    padding-bottom: 100px;
}

.disclaimer-section h1 {
    color: white;
    margin-bottom: 1rem;
    font-family: "Work Sans", serif;
}

.disclaimer-section p {
    color: var(--normalTextColorOffWhite);
    font-family: "Roboto", sans-serif;
    font-size: .9rem;
    line-height: 20px;
    margin-bottom: 80px;
}

.disclaimer-section ul {
    list-style-type: none;
    /* list-style-image: url(../assets/right-arrow.png); */
    margin-left: 20px;
    margin-top: 1.5rem;
}

.disclaimer-section li {
    position: relative;
    color: var(--normalTextColorOffWhite);
    margin-bottom: 1rem;
    letter-spacing: .4px;
    font-size: .9rem;
}

.disclaimer-section li::before {
    position: absolute;
    content: '';
    display: inline-block;
    background-image: url(../assets/right-arrow.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 10px;
    height: 10px;
    top: 5px;
    left: -18px;
}

.disclaimer-section li b {
    color: white;
}

/* disclaimer section styles ends here  */

/* footer styles starts here  */

footer {
    background-color: #13110a;
    text-align: center;
    font-size: .8rem;
    padding: 1.5rem;
    border-top: 1px solid white;
}

footer p {
    color: var(--normalTextColorOffWhite);
}

/* footer styles ends here  */

@media only screen and (max-width:1024px) {
    .main-container {
        padding: 0 3rem;
    }

    .prices-cnt {
        padding-bottom: 1rem;
        padding-top: 1rem;
    }

    .about-section .container img {
        width: 400px;
    }

    .about-section .container p {
        font-size: 1rem;
        line-height: 20px;
    }
}

@media only screen and (max-width:768px) {

    .main-container {
        padding: 0 1rem;
    }

    header.main-container {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    header nav.desktop {
        display: none;
    }

    #mobile-nav-bar {
        display: block;
    }

    header .menu-button {
        display: block;
    }

    .prices-cnt {
        font-size: 1rem;
        flex-wrap: wrap;
    }

    .about-section .container h1 {
        margin-bottom: 1.5rem;
    }

    .about-section .container p {
        font-size: .8rem;
        line-height: 20px;
    }

    .active-shares-and-exposure-section .chart-container {
        flex-direction: column;
        row-gap: 2rem;
    }

    #activeShare,
    #exposureByMarketCap {
        width: 100% !important;
    }

}

@media screen and (max-width: 600px) {

    .table-cnt {
        flex-direction: column;
    }

    .fundfacts-table th,
    .fundfacts-table td {
        font-size: 0.7em;
        padding: 7px;
    }

    .performance th,
    .performance td {
        font-size: 0.7em;
        padding: 7px;
    }
}

@media only screen and (max-width:426px) {

    header.main-container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .main-container {
        padding: 0 1rem;
    }

    .section-spacer {
        height: 25px;
    }

    .section-title {
        font-size: 1rem;
    }

    .hero-section p {
        width: 100%;
    }

    .about-section .container {
        flex-direction: column;
    }

    .about-section .container:nth-child(2) {
        flex-direction: column-reverse;
    }

    .about-section .container .img-cnt {
        width: 100%;
    }

    .about-section .container img {
        width: 100%;
    }

    .about-section .container .child {
        width: 100%;
    }

    .about-section .container h1 {
        padding-left: 0;
    }

    .about-section .container p {
        padding-left: 0;
        font-size: 1rem;
    }

    .info-section {
        flex-direction: column;
    }

    .info-section .title-cnt {
        width: 100%;
    }

    #google-finance-img {
        width: 80vw;
    }

    .performance-section .table-wrapper {
        flex-direction: column;
    }

    .performance.one,
    .performance.two {
        width: 100%;
    }

    .section {
        font-size: .8rem;
    }
}