@font-face {
    font-family: semiBold;
    src: url('../../assets/fonts/FontsFree-Net-SFProDisplay-Semibold.ttf');
}
@font-face {
    font-family: mediumFont;
    src: url('../../assets/fonts/SFPRODISPLAYMEDIUM.OTF');
}
@font-face {
    font-family: lightFont;
    src: url('../../assets/fonts/FontsFree-Net-SFProDisplay-Light.ttf');
}

.container {
    font-style: normal;
}
.content {
    margin-bottom: 183px;
    margin-top: 10px;
}

/* heading */
.pageTitle {    
    font-family: lightFont;
    font-size: 13px;
    font-weight: 510;
    line-height: 20px;
    letter-spacing: 3px;
    text-align: left;
    color:#818188;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.heading .h4 {
    font-family: mediumFont;
    font-weight: 590;
    font-size: 44px;
    line-height: 53px;
    font-feature-settings: 'liga' off;
    color: #383839;
    margin-bottom: 40px;
}
.heading .h6 {
    font-family: mediumFont;
    font-weight: 590;
    font-size: 18px;
    color: #383839;
}
.heading .text {
    font-family:lightFont;
    font-weight: 274;
    font-size: 18px;
    line-height: 27px;
    font-feature-settings: 'liga' off;
    color: #373737;
}

.downloadLinks {
    margin-top: 20px;
}
.downloadLink {
    color:#2C3C90;
    font-family:lightFont;
    font-size: 20;
    font-weight:600;
    display: block;
    margin-bottom: 5px;
    padding:5px 0;
}



/* grids fonts*/
.gridContainer{ 
    display: none;
}
.savings .gridTitle {
    color: #04ACEC;
}
.investment .gridTitle {
    color: #2C3C90;
}
.loans .gridTitle {
    color:#94248c;
}
.exchange .gridTitle{
    color:#818188;
}
.gridTitle {
    font-family:semiBold;
    font-size: 40px;
    font-weight: 600;
    line-height: 48px;
    letter-spacing: 0px;
    text-align: left;
    margin-bottom: 19px;
}
.gridSubtitle {
    font-family: semiBold;
    font-size: 40px;
    font-weight: 600;
    line-height: 48px;
    letter-spacing: 0px;
    text-align: left;
    color:#383839;
    margin-bottom: 28px;
}
.gridText {
    color:#373737;
    font-family: lightFont;
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
    letter-spacing: 0px;
    text-align: left;
    margin-bottom: 44px;
}
.savings .gridLinkContainer {
    background-color:#04ACEC;
    width: 155px;
}
.investment .gridLinkContainer, .exchange .gridLinkContainer {
    background-color:#2C3C90;
    width: 180px;
}
.loans .gridLinkContainer {
    background-color: #94248c;
    width: 148px;
}
.gridLinkContainer {
    border-radius: 5px 30px 30px 5px;
    padding: 13px 30px;
}
.gridLink {
    font-family: mediumFont;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 27px;
    color: #FFFFFF;
}


/* grid */
.heading {
    margin-bottom: 63px;
}
.grid, .heading {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    
}
.savings {
    margin-bottom: 96px;
}
.loans {
    margin-bottom: 76px;
}
.investment {
    margin-bottom: 141px;
}

.mockup {
    background-color: crimson;
    width: 90% !important;
}






/* overlay */
.overlay {
    background: linear-gradient(239.29deg, #001762 0%, #63005E 100%);
    text-align: center;
    padding-top: 102px;
    padding-bottom: 210px;
    margin-bottom: -95px;
}
.overlayTitle {
    font-family: mediumFont;
    font-weight: 500;
    font-size: 13px;
    line-height: 20px;
    text-align: center;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #FFFFFF;
    margin-bottom: 16px;
}
.overlaySubtitle {
    font-family: semiBold;
    font-weight: 600;
    font-size: 44px;
    line-height: 53px;
    text-align: center;
    font-feature-settings: 'liga' off;
    color: #FFFFFF;
    margin-bottom: 16px;
}
.overlayText {
    width: 585px;
    height: 88px;
    font-family: lightFont;
    font-style: normal;
    font-weight: 300;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    font-feature-settings: 'liga' off;
    color: #CBD1EF;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 29px;
}
.link {
    font-family: mediumFont;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 27px;
    text-decoration-line: underline;
    color: #66DEFF;
}







@media screen and (min-width:787px){
    .heading {
        align-self: start;
        justify-content: space-between;
        grid-column-gap: 20px;
    }
    .heading .left {
        padding-left: 20px;
    }
    .heading .right {
        display: flex;
        justify-content: flex-end;
    }
    .grid {
        grid-column-gap: 20px;
    }
    .savings .rightCol, .investment .rightCol {
        padding-right: 20px;
    }
    .loans .leftCol, .exchange .leftCol {
        padding-left: 20px;
    }
    
}
@media screen and (min-width:992px) {
    .heading .left {
        padding-left: 40px;
    }
    .grid {
        grid-column-gap: 40px;
        align-items: center;
    }
    .box {
        width: 450px;
    }

}
@media screen and (min-width:1200px) {
    /* heading */
    .heading {
        align-self: start;
        justify-content: space-between;
        grid-column-gap: 0;
    }
    .heading .left {
        padding-left: 95px;
        padding-right: 111px;
        padding-top: 75px;
    }
    .grid {
        grid-column-gap:0;
        align-items: center;
    }
    .savings .rightCol, .investment .rightCol {
        padding-left: 80px;
    }
    .loans .leftCol, .exchange .leftCol {
        padding-left: 95px;
        min-width: 503px;
    }
    .loans .leftCol .box, .savings .rightCol .box, .exchange .leftCol .box, .investment .rightCol .box {
        width: 503px !important;
    }

    

}
@media screen and (min-width:1440px) {
    .grid {
        justify-content: space-between;
        display: flex;
    }
    .rightCol, .leftCol{
        width: 50%;
    }
    .loans .rightCol, .exchange .rightCol, .investment .rightCol, .savings .rightCol {
        display: flex;
        justify-content: flex-end;
    }
    .box {
        width: 503px !important;
    }

}

@media screen and (max-width:991px) {
    .heading .h4, .gridTitle{
        font-size: 36px;
    }
}

@media screen and (max-width:786px){
    .content {
        margin-top: 30px;
    }
    .heading {
        display: flex;
        flex-direction: column;
    }
    .heading .left {
        padding-left: 20px;
        padding-right: 20px;
    }
    .gridTitle {
        font-size: 36px;
    }
    .heading .h4 {
        font-size: 36px;
        line-height: 47.73px;
    }
    .grid {
        display: flex;
    }
    .savings, .investment {
        flex-direction: column-reverse;
    }
    .savings .rightCol, .investment .rightCol{
        padding-left: 20px;
        padding-right: 20px;
        margin-bottom: 40px;
    }
    .loans, .exchange{
        flex-direction: column;
    }
    .loans .leftCol, .exchange .leftCol {
        padding-left: 20px;
        padding-right: 20px;
        margin-bottom: 40px;
    }
}

@media screen and (max-width:600px) {
    .overlayText {
        width: 90%;
        margin: auto;
        margin-bottom: 29px;
    }
}