﻿:root {
    --widthRatio: 34vw;
    --heightRatio: calc(var(--widthRatio) * .75);
    --site-intro-space: 80px;
}

.img-overlay {
    position: relative;
    height:fit-content;
}

.game-change-img-bg {
    padding: 1em;
}

.hero-img {
    border-radius: 15px;
    z-index: 20;
    position: relative;
    margin: 1em;
    width: var(--widthRatio);
    height: var(--heightRatio);
}

.blue-sq {
    background-color: #272d4e;
    width: calc(var(--widthRatio) * .67);
    height: calc(var(--heightRatio) * .4);
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 15px;
    z-index: 10;
}

.red-sq {
    background-color: #d52a2a;
    width: calc(var(--widthRatio) * .4);
    height: calc(var(--heightRatio) * .33);
    position: absolute;
    bottom: 0;
    right: 0;
    border-radius: 15px;
    z-index: 10;
}

#section-landing {
    color: #272D4E;
    font-family: 'Roboto', sans-serif;
}

.title-txt {
    font-size: 50px;
}

.blue-txt {
    color: #272D4E;
}

.red-txt {
    color: #D52A2A;
}

.section.game {
    background-color: #ffffff;
    top:154px;
}

.game-change {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 70px;
    justify-content: center;
    padding-top: calc(var(--header-height) + var(--site-intro-space) );
    /*margin-top: 280px;*/
}

.diabetes-mgmt {
    display:inline-flex;
}

.diabetes-mgmt .mgmt {
    padding-left: .25em;
}

.diabetes-line {
    background-image: url('../img/main/Diabetes mark.png');
    background-size: contain;
    background-repeat: no-repeat;
    height: 3em;
}

.glucurve .game-change-lbl-bg {
    background-size: contain;
    background-repeat: no-repeat;
    width: 70%;
    height: 200px;
    margin-bottom: 15px;
}

.game-change-lbl-bg .title-txt {
    font-family: 'Roboto flex normal', sans-serif;
    font-weight: 600;
    font-size: 4.25em;
    line-height: 1;
}

.glucurve .site-intro {
    background-color: #FFFFFF;
    background-image: none;
}

.glucurve .wf-section.game,
.glucurve .wf-section.advantage {
    min-height: 100vh;
}

.glucurve .wf-section.care {
    min-height: 60vh;
}

.glucurve .wf-section.prod-resources, 
.glucurve .wf-section.about-diabetes{
    min-height: 50vh;
}

.glucurve .wf-section.about-diabetes {
    padding-top: 0px;
    padding-bottom: 200px;
}

.game-change-lbl-img {
    
}

.game-change-img-container {
    justify-content:center;
    display:grid;
}

.glucurve .game-change-img-bg {
    background-size: cover;
    background-repeat: no-repeat;
    width: 33vw;
    height: 500px;
    border-radius: 15px;
    background-position-x: -50px;
}

.game-change-text {
    align-content: center;
    display: grid;
}

.game-change-slogan {
    padding-right: 200px;
    padding-left: 5px;
}

.game-change-slogan span {
    font-size: 35px;
    font-weight: 500;
    color: #272D4E;
}

.game-change-slogan p {
    font-size: 20px;
    font-weight: 400;
}

.game-change-img-container .media-only {
    display: none; 
}

.game-span {
    margin-bottom: 25px;
}

.game-p {
    color: #272D4E;
}

.game.pill {
    padding: 16px 70px;
    margin-top: 20px;
}

.care-title {
    font-family:'Roboto Flex', sans-serif;
    font-size: 35px;
    font-weight: 800;
    text-align: center;
    padding-bottom: 60px;
}

.care-cats {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-content: center;
    padding: 0px 50px;
    grid-column-gap: 10px
}

.cat-frame {
    justify-content: center;
    display: grid;
    padding: 0px 15px;
}

.cat-img {
    width: 450px;
    height: 360px;
    border-radius: 20px;
    position: relative;
    background-size: cover;
    margin-bottom: 24px;
    justify-self: center;
}

.cat-img.a1 {
    background-image: url('../img/main/dpc01.png');
}

.cat-img.a2 {
    background-image: url('../img/main/dpc02.png');
}

.cat-img.a3 {
    background-image: url('../img/main/dpc03.png');
}

.cat-text {
    padding: 0px 20px;
    text-align: center;
}
.cat-text span {
    font-size: 23px;
    font-weight: 500;
    color: #272D4E;
    line-height: 2.75;
}

.cat-text p {
    font-size: 15px;
    font-weight: 400;
    color: #272D4E;
    line-height: 1.5;
    padding: 0 60px
}

.section.advantage {
    background-color: #F8F8F8;
}

.advantage-title, 
.prod-title, 
.about-title,
.media-title{
    font-weight: bolder; 
}

.advantage-title {
    font-family: 'Roboto Flex', sans-serif;
    line-height: 4;
    font-weight: bolder;
}

.adv-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.adv-txt {
    align-content: center;
    display: grid;
}

.adv-item {
    display: grid;
    grid-template-columns: .1fr 1fr;
}

.adv-item-img {
    margin: 0px 15px;
    justify-content: center;
    display: grid;
}

.adv-item-img img{
    height:20px;
    width:20px;
}

.adv-item-txt {
    display:grid;
    align-items:center;
}

.adv-item-txt span {
    font-size:26px;
    font-weight:900;
}

.adv-img-bg {
    align-content: center;
    display: grid;
    height: 800px;
    justify-content: end;
}

.adv-bullet {
    padding: 25px 30px 55px 50px;
    font-size:20px;
    font-weight:400;
    line-height:1.25;
}

.adv-bullet li {
    list-style-type: disc;
}

.prod-title {
    font-family: 'Roboto Flex', sans-serif;
    line-height: 2.5;
}
.prod-links {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 16px;
    padding-top: 32px;
}

.prod-link {
    background-color: #272D4E;
    border-radius:15px;
    padding:16px;
}

.prod-item {
    display: grid;
    grid-template-columns: 1fr .25fr;
    align-items: center;
    padding: 10px 15px;
}

.prod-arw {
    display:grid;
    justify-items:end;
}

.prod-link .heading-2 {
    color: #FFFFFF;
    font-size: 20px;
    font-weight: 700;
}

.about-title {
    font-family: 'Roboto Flex', sans-serif;
    text-align: center;
    margin-bottom: 10px;
}

.about-title span {
    line-height:1.5;
}

.about-description {
    text-align: center;
    font-size: 25px;
    font-family: 'Roboto', sans-serif;
}

.about-links {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    padding-top: 70px;
}

.about-link .heading-2 {
    color: #FFFFFF;
    font-size: 28px;
    font-weight: 700;
    padding-top:40px;
    padding-left:34px;
    padding-right:100px;
    position:absolute;
    line-height:1.25;
}

.about-div {
    display:grid;
}

.about-div .heading-2 {
    color: #4c4858;
    font-size: 1.25em;
    font-weight: 700;
    padding-top: 20px;
    line-height: 1.25;
    justify-self:center;
}


.about-link {
    width: 15vw;
    height: 17vw;
    position: relative;
    background-size: cover;
    isolation: isolate;
    border-radius: 20px;
    display: grid;
    justify-self:center;
}

.about-link::after {
    content:'';
    position:absolute;
    inset:0;
    z-index:-1;
    background:#0B0706;
    opacity:0;
    border-radius:20px;
}

    .about-link.a1 {
        background-image: url('../img/main/04-01-400.png');
    }

    .about-link.a2 {
        background-image: url('../img/main/04-03-400.png');
    }

    .about-link.a3 {
        background-image: url('../img/main/04-02-400.png');
        background-position-x: -136vw;
    }

    .about-link.a4 {
        background-image: url('../img/main/04-05-400.png');
    }

    .about-link.a5 {
        background-image: url('../img/main/04-04-400.png');
    }

.about-link .cta-group {
    bottom: 34px;
    position: absolute;
    justify-self: center;
}

.about-link .pill {
    padding: 12px 30px;
}

.section.media {
    background-color: #F8F8F8;
}

#studies, #articles {
    padding: 25px 30px 10px 50px;
}

#studies h3, #articles h3 {
    margin-bottom: 1px;
    font-size: 1.15em;
}

#studies p, #articles p {
    padding-left: 10px;
    font-size:.85em;
}

#studies .pr-title, #articles .pr-title {
    font-weight: 700;
    font-size: 1.75em;
    
    color: #898b8e;
}

/* 
    SCREEN RESOLUTION 
*/
@media screen and (max-width: 1700px) {
    .game-change-lbl-bg .title-txt {
        font-size: 4em;
    }

    .glucurve .wf-section.game {
        min-height:90vh;
    }
}

@media screen and (max-width: 1366px) {

    .glucurve .game-change-lbl-bg {
        width: 550px;
        height: 120px;
        margin-bottom: 15px;
    }

    .glucurve .game-change-img-bg {
        width: 600px;
        height: 450px;
        border-radius: 15px;
    }

    .game-change-slogan {
        padding-right: 75px;
    }

    .game-change-slogan span {
        font-size: 30px;
    }

    .game-change-slogan p {
        font-size: 18px;
    }

    .care-title {
        font-size: 30px;
        font-weight: 600;
        line-height: 1.25;
    }

    .cat-text span {
        font-size: 16px;
        font-weight: 600;
    }

    .cat-text p {
        font-size: 14px;
    }

    .cat-img {
        width: 320px;
        height: 320px;
    }

    .title-txt {
        font-size: 40px;
    }

    .adv-item-txt span {
        font-size: 20px; 
    }

    .adv-bullet {
        font-size: 16px;
    }

    .adv-img-bg {
        width: 600px;
        height: 100vh;
    }

    .prod-link .heading-2 {
        font-size: 18px;
    }

    .prod-item {
        grid-template-columns: 1fr .12fr;
        padding: 10px 10px;
    }

    .prod-link .heading-2 {
        font-size: 15px;
    }

    .about-description {
        font-size: 20px;
    }

    .about-links {
        padding-top: 60px;
    }

    .about-link {
        width: 220px;
        height: 220px;
        padding: 20px;
    }

    .about-link.a3 {
        background-position-x: -83px;
    }

    .about-link .heading-2 {
        font-size: 24px;
        padding-top: unset;
        padding-left: unset;
        padding-right: unset;
    }

    .about-link .cta-group {
        padding-left: unset; 
        bottom: 20px;
    }

    .glucurve .wf-section.about-diabetes {
        padding-bottom: 150px;
    }
}

@media screen and (max-width: 1280px) {

    .glucurve .game-change-lbl-bg {
        width: 475px;
    }

    .glucurve .game-change-img-bg {
        width: 550px;
        height: 400px;
    }

    .game-change-slogan span {
        font-size: 26px;
    }

    .game-change-slogan p {
        font-size: 16px;
    }

    .adv-img-bg {
        width: 500px;
    }

    .about-link {
        width: 200px;
        height: 200px;
        padding: 30px 15px 15px 15px;
    }

    .about-link .heading-2 {
        font-size: 18px;
    }
}

@media screen and (max-width: 960px) {
    :root {
        --widthRatio: 43vw;
        --site-intro-space: 40px;
    }
    .section {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .navlogo2 {
        width: 12rem;
    }

    .glucurve .new-box {
        align-content: space-around;
        align-items: center;
        justify-content: center;
        justify-items: center;
    }

    .glucurve .game-change-lbl-bg {
        width: 400px;
        height: 90px; 
    }

    .game-change-lbl-bg .title-txt {
        font-size: 3em;
    }

    .glucurve .game-change-img-bg {
        width: 460px;
        height: 340px;
    }

    .game-change-slogan span {
        font-size: 24px;
    }

    .game-change-slogan p {
        font-size: 12px;
    }

    .care-cats {
        display: flex;
        justify-content: flex-start;
        padding: 20px;
        flex-direction: column;
        flex-wrap: nowrap;
        align-content: center;
        align-items: center;
    }

    .cat-frame {
        margin-bottom: 25px;
    }

    .cat-img {
        width: 55vw;
        height: 40vw;
    }

        .cat-img.a1 {
            background-image: url('../img/main/dpc01.png');
        }

        .cat-img.a2 {
            background-image: url('../img/main/dpc02.png');
        }

        .cat-img.a3 {
            background-image: url('../img/main/dpc03.png');
        }

    .cat-text span {
        font-size: 1rem;
        font-weight: 800;
        padding: 20px;
        line-height:1.25;
    }

    .advantage-title {
        line-height: 1.25;
        margin-bottom: 3rem;
    }

    .cat-text p {
        font-size: 14px;
        padding: 0px 20px 10px;
    }

    .adv-list {
        display: flex;
        flex-direction: column-reverse;
        flex-wrap: nowrap;
        align-content: center;
        justify-content: center;
        align-items: center;
    }

    .adv-img-bg {
        width: 400px;
        height: 60vh;
    }

    .adv-txt {
        align-content: center;
        display: grid;
        max-width: 70vw;
    }

    .prod-links {
        grid-template-columns: 1fr;
    }

    .glucurve .wf-section.about-diabetes {
        margin-top: 60px; 
    }

    .about-links {
        display: flex;
        padding-top: 70px;
        flex-direction: row;
        flex-wrap: wrap;
        align-content: center;
        justify-content: center;
        align-items: flex-start;
    }

    .about-link {
        width: 250px;
        height: 250px;
        margin: 20px 10px;
    }

    .about-div .heading-2 {
        padding-top: 0px;
    }
}


@media screen and (max-width: 820px) {
    :root {
        --widthRatio: 60vw;
    }

    .game-change-lbl-bg .title-txt {
        font-size: 4em;
    }
    
    .glucurve .wf-section.game, .glucurve .wf-section.advantage {
        min-height: 1080px;
    }

    .glucurve .wf-section.about-diabetes {
        padding-bottom: 100px;
    }


    .intro-main-container.w-container:before, .intro-main-container.w-container:after {
        display: none;
    }

    .game-change {
        display: flex;
        margin-bottom: 70px;
        justify-content: center;
        flex-direction: column-reverse;
        flex-wrap: wrap;
        align-content: space-around;
        align-items: center;
    }

    .game-change-img-container {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-content: space-around;
        justify-content: flex-start;
        align-items: center;
    }

    .game-change .media-only {
        display: block;
    }

    .game-change .non-media {
        display: none;
    }

    .glucurve .game-change-img-bg,
    .game-change-img-container .game-change-slogan {
        width: 80%;
        min-height: 150px;
    }

    .game-change-img-container .game-span {
        margin-bottom: 10px;
    }

    .glucurve .game-change-lbl-bg {
        width: 90%;
        height: 10.5em;
        margin-bottom: 1.5em;
    }
}

@media screen and (max-width: 550px) {
    :root {
        --widthRatio: 80vw;
    }

    .game-change {
        padding-top: calc(var(--header-height)*.75) ;
    }
    
    .game-change-lbl-bg .title-txt {
        font-size: 3em;
    }

    .glucurve .game-change-lbl-bg {
        height: 7em;
    }
}

@media screen and (max-width: 400px) {
    .game-change-lbl-bg .title-txt {
        font-size: 2.5em;
    }

    :root {
        --site-intro-space: 0px;
    }
}

@media screen and (max-width: 820px) and (min-height: 1000px) {

    .glucurve .intro-main-container.w-container {
        padding-bottom: unset;
    }

    .glucurve .game-change-lbl-bg {
        width: 100%;
        height: 10.5em;
    }

    .glucurve .game-change-img-bg, .game-change-img-container .game-change-slogan {
        width: 100%; 
    }

    .game-change-img-container .game-change-slogan {
        height: 100px;
        min-height: 100px;
    }

    .glucurve .game-change-img-bg {
        height: 450px;
    }

    .game-change {
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 1024px) and (min-height: 1280px)
{
    .glucurve .wf-section.game {
        min-height: 100vh;
    }

    .game-change {
        display: flex;
        margin-bottom: 0px;
        justify-content: center;
        flex-direction: column-reverse;
        flex-wrap: wrap;
        align-content: space-around;
        align-items: center;
    }

    .game-change-img-container {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-content: space-around;
        justify-content: flex-start;
        align-items: center;
    }

    .glucurve .game-change-img-bg {
        width: 700px;
        height: 500px;
    }

    .game-change .media-only {
        display: block;
    }

    .game-change .non-media {
        display: none;
    }
     
    .game-change-img-container .game-span {
        margin-bottom: 10px;
    }

    .glucurve .game-change-lbl-bg {
        width: 90%;
        height: 14em;
        margin-bottom: 1.5em;
    }

    .game-change-img-container .game-change-slogan {
        width: 620px; 
        height: 100px;
        min-height: 100px;
    }

    .care-cats {
        display: flex;
        justify-content: center;
        padding: 0px 50px;
        grid-column-gap: 10px;
        flex-direction: row;
        flex-wrap: wrap;
        align-content: space-around;
        align-items: flex-start;
    }

    .cat-frame {
        padding: 15px 15px 50px 15px;
    }

    .cat-img {
        width: 60vw;
        height: 50vw;
    }

    .cat-text span {
        font-size: 24px;
    }

    .cat-text p {
        font-size: 16px;
    }


    .adv-list {
        display: flex;
        flex-direction: column-reverse;
        flex-wrap: nowrap;
        align-content: center;
        justify-content: center;
        align-items: center;
    }

    .glucurve .wf-section.advantage {
        padding-top: 120px;
    }

    .adv-img-bg {
        height: unset; 
    }

    .glucurve .wf-section.product-resources,
    .glucurve .wf-section.about-diabetes {
        margin-left: 100px;
        margin-right: 100px;
    }

    .about-links {
        display: flex;
        padding-top: 70px;
        flex-direction: row;
        flex-wrap: wrap;
        align-content: center;
        justify-content: center;
        align-items: flex-start;
    }

    .about-link {
        width: 220px;
        height: 220px;
        margin: 20px 10px;
    }
     
}
