/**
 * Mobile scrolling styles.
 */

.diabetes,
.heart {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

#to-heart,
#to-diabetes,
#to-heart-mobile,
#to-diabetes-mobile {
    cursor: pointer;
    transition: opacity 0.3s ease-in-out;
}

html {
    scroll-behavior: smooth;
}

@media only screen and (max-width: 1440px) {
    .desktop {
        display: none !important;
    }

    .mobile {
        display: block !important;
    }
}

@media only screen and (min-width: 1440px) {
    .mobile {
        display: none !important;
    }

    .desktop {
        display: block !important;
    }
}

@media only screen and (max-width: 768px) {
    html {
        scroll-behavior: smooth;
    }

    .heart-start,
    .diabetes-start {
        scroll-margin-top: 80px;
    }
}
