/********** Template CSS **********/
:root {
    --primary: #2387FC;
    --secondary: #FFD541;
    --light: #fff;
    --dark: #222;
}


/*** Jost ***/
@font-face {
    font-family: "Jost";
    font-weight: 600;
    src: url("../fonts/Jost-Black.ttf") format("tttruetypef");
}
@font-face {
    font-family: "Jost";
    font-weight: 500;
    src: url("../fonts/Jost-Bold.ttf") format("truetype");
}
@font-face {
    font-family: "Jost";
    font-weight: 400;
    src: url("../fonts/Jost-Medium.ttf") format("truetype");
}
@font-face {
    font-family: "Jost";
    font-weight: 300;
    src: url("../fonts/Jost-Regular.ttf") format("truetype");
}
@font-face {
    font-family: "Jost";
    font-weight: 200;
    src: url("../fonts/Jost-Light.ttf") format("truetype");
}


/*** Heading ***/

h1,
.fw-bold {
    font-weight: 700 !important;
}
h3,
h4,
.fw-semi-bold {
    font-weight: 600 !important;
}

h5,
h6,
.fw-medium {
    font-weight: 500 !important;
}


/*** BG ***/
body{
    font-family: 'Jost', serif;
    background-color: var(--dark);
}
.body-img{
    width: 100%;
    height: 100%;
    min-height: 100vh;
    background-image: url(../img/bg-main01.png);
    background-position: center 40px;
    background-repeat: no-repeat;
    background-size: 100% auto;
}
.wrap{
    min-height: 100vh;
}
.footer{
    position: fixed;
    bottom: 0px;
    width: 100%;
    height: 40px;
    background-color: var(--dark);
}
.portal-btns{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

/*** Button ***/
.btn {
    border: none;
    transition: .2s;
}
.card-btn{
    position: relative;
    width: 185px;
    height: 185px;
    border-radius: 15px;
    /* margin: 0 0 40px; */
    font-weight: 600;
    font-size: 24px;
    background-repeat: no-repeat;
    background-size: auto;
    box-shadow: 5px 9px 10px rgba(0, 0, 0, 0.15);
}

.card-btn.card-primary{
    color: #fff;
    background-color: #2387FCd9;
    background-image: url(../img/bg-card.png);
    background-position: 30% 50px;
    border: 1px solid #2387FCd9;
}
.card-btn.card-primary:hover{
    background-color: #2387FC;
}
.card-btn.card-whith{
    color: var(--primary);
    background-color: #ffffffcc;
    background-image: url(../img/bg-card2.png);
    background-position: 70% 50px;
    border: 1px solid #ffffffcc;
}
.card-btn.card-whith:hover{
    background-color: #fff;
}
.card-btn:hover{
    box-shadow: 2px 5px 5px rgba(0, 0, 0, 0.3);
}

.card-btn span.icons{
    position: absolute;
    top: 45px;
    left: 0;
    width: 100%;
    font-size: 50px;
    line-height: 1em;
}
.card-btn span.sub-text{
    font-size: 1em;
    font-weight: 200;
    margin-bottom: -10px;
    display: block;
}
.card-btn p{
    position: absolute;
    bottom: 8px;
    width:87%;
}



/*** font-color ***/

.text-primary{
    color: var(--primary)!important;
}
.text-secondary{
    color: var(--secondary)!important;
}

/*** content ***/
.main-copy{
    font-size: 5em;
    font-weight: 600;
    line-height: 1em;
}

.sub-copy{
    font-size: 2em;
    font-weight: 200;
}


@media (max-width: 1024px) {
    .main-copy{
        font-size: 4em;
    }    
    .sub-copy{
        font-size: 1.5em;
    }
    .portal-btns{
        gap: 20px 30px;
    }
    .card-btn{
        width: 150px;
        height: 150px;
        font-size: 18px;
    }
    .card-btn span.icons{
        top: 35px;
    }
    .card-btn p {
        bottom: 0px;
    }
}
@media (max-width: 992px) {
    .body-img>div{
        background-color: #00000050;
    }
    .body-img{
        background-size:auto 100% ;
    }
    .headcopy{
        text-align: center;
        justify-content: center;
        margin-bottom: 50px;
    }
    .portal-btns{
        margin-bottom: 50px;
    }
}
@media (max-width: 768px) {
    .headcopy{
        margin-top: 80px;
    }
    .main-copy{
        font-size: 4em;
    }    
    .sub-copy{
        font-size: 1.5em;
    }
}
@media (max-width: 640px) {
    .headcopy{
        margin-top: 80px;
    }
    .main-copy{
        font-size: 3.5em;
        line-height: 1em;
    }
    .sub-copy{
        font-size: 1.1em;
    }
    .portal-btns{
        gap: 25px;
    }
}
@media (max-width: 420px){
    .portal-btns{
        gap: 15px 10px;
        padding: 0;
    }
}

/*** Footer ***/
.footer {
    background: var(--dark);
}
