.chartdiv {
    width: 100%;
    height: 100%;
}

.return-figure {
    font-size: 2.5rem;
    /* margin-left: 40px;
    margin-right: 60px; */
}

#gold-return, #gold-return-index, .gold-return, .gold-return-index {
    color: #cda45e;
}

#etf-return, #index-return, .etf-return, .index-return {
    color: #e59165;
}

.counter {
    animation-duration: 1s;
    animation-delay: 0s;
}

.comparison-results {
    /* font-size: 2.5rem; */
}

/*iPad mini portrait  */

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 1) {
    #hero-compare {
        /* height: 300vh; */
    }
    #hero-compare img {
        /* margin-left: 30px; */
    }
}

/*iPad mini landscape  */

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 1) {}

/* iPad portrait */

@media only screen and (min-device-width: 767px) and (max-device-width: 1025px) and (-webkit-min-device-pixel-ratio: 2) and (orientation:portrait) {
    #hero-compare {
        height: 180vh;
    }
    #hero-compare img {
        margin-left: 50px;
        max-width: 50% !important;
    }
    #hero-compare .col-sm-3, #about-index-etf .col-sm-4, #about-index-index .col-sm-3 {
        max-width: 100% !important;
    }
    
}

/* iPad landscape */

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: landscape) {

}

/* iPad Pro Portrait */

@media only screen and (min-device-width: 1024px) and (max-device-width: 1366px) and (-webkit-min-device-pixel-ratio: 1.5) and (orientation: portrait) {
    #hero-compare {
        height: 100vh;
    }
    #hero-compare img {
        margin-top: 0px;
        max-width: 90% !important;
    }
    #hero-compare h3 {
        font-size: large;
    }
    #hero-compare .box div, #hero-compare .box .counter {
        font-size: large;
    }
}

/* iPad Pro Landscape */

@media only screen and (min-device-width: 1024px) and (max-device-width: 1366px) and (-webkit-min-device-pixel-ratio: 1.5) and (orientation: landscape) {}



/* iPhone 6/7/8 */

@media only screen and (min-device-width: 375px) and (max-device-width: 667px) {
    #hero-compare {
        height: 250vh;
    }
    #hero-compare img {
        margin-left: 30px;
    }
}

/* iPhone 6/7/8 plus */

@media only screen and (min-device-width: 414px) and (max-device-width: 736px) {
    #hero-compare {
        height: 250vh;
    }
    #hero-compare img {
        margin-left: 30px;
    }
}

/* iPhone X portrait*/

@media only screen and (min-device-width: 375px) and (max-device-width: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait) {
    #hero-compare {
        height: 220vh;
    }
    #hero-compare img {
        margin-left: 30px;
    }
    
}

/* iPhone X landscape */

@media only screen and (min-device-width: 375px) and (max-device-width: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape) {
    #hero-compare {
        height: 420vh;
    }
    #hero-compare img {
        margin-left: 30px;
        max-width: 40% !important;
    }
    #hero-compare .col-sm-3, #about-index-etf .col-sm-4, #about-index-index .col-sm-3 {
        max-width: 100% !important;
    }
}

/*iPhone 5/5se */

@media (device-height: 568px) and (device-width: 320px) and (-webkit-min-device-pixel-ratio: 2) {
    #hero-compare {
        height: 300vh;
    }
    #hero-compare img {
        margin-left: 30px;
    }
}

/*Galaxy S5*/

@media screen and (device-width: 360px) and (device-height: 640px) and (-webkit-device-pixel-ratio: 3) {
    #hero-compare {
        height: 300vh;
    }
    #hero-compare img {
        margin-left: 30px;
    }
}