body {
    font-family: 'Kulim Park', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box; 
}

:root {
    /* = ((100 / 12) * { block quantity }) - 1 */
    /* GRID CALCS*/
    --sf1: 7.33333%;
    --sf2: 15.66667%;
    --sf3: 24%;
    --sf4: 32.33333%;
    --sf5: 40.66667%;
    --sf6: 49%;
    --sf7: 57.33333%;
    --sf8: 65.66667%;
    --sf9: 74%;
    --sf10: 82.33333%;
    --sf11: 90.66667%;
    --sf12: 99%;

    --sf1_i: 7.33333%;
    --sf2_i: 15.66667%;
    --sf3_i: 24%;
    --sf4_i: 32.33333%;
    --sf5_i: 40.66667%;
    --sf6_i: 49%;
    --sf7_i: 57.33333%;
    --sf8_i: 65.66667%;
    --sf9_i: 74%;
    --sf10_i: 82.33333%;
    --sf11_i: 90.66667%;
    --sf12_i: 99%;

    /* DEFAULT COLORS */
    --white: #ffffff;
    --light-gray:#d0d0d0;
    --dark-gray: #363636;
    --blue: #55b0ac;
    --black: #000000;
    --success: #00af5e;
    --danger: #af0008;
    --warning: #d29e0b;
}


/* TEXT ELEMENTS */
h1 { font-size: 1.8rem; font-weight: 700; color: var(--dark-gray);}
h2 { font-size: 1.6rem; font-weight: 700; color: var(--dark-gray);}
h3 { font-size: 1.4rem; font-weight: 700; color: var(--dark-gray);}
h4 { font-size: 1.2rem; font-weight: 700; color: var(--dark-gray);}
h5 { font-size: 1.1rem; font-weight: 700; color: var(--dark-gray);}
h6 { font-size: 1rem; font-weight: 700; color: var(--dark-gray);}

p { font-size: 0.8rem; color: var(--dark-gray);}

a { text-decoration: none; }


/* UTILITIES */
.text-center { text-align: center; }
.item-center { align-items: center; }


/* SOFT PADDINGS */
.ps2 { padding: 2px;}
.ps5 { padding: 5px;}
.ps10 { padding: 10px;}
.ps15 { padding: 15px;}
.ps20 { padding: 20px;}
.ps25 { padding: 25px;}
.ps30 { padding: 30px;}
.ps40 { padding: 40px;}

@media screen and (max-width: 640px) {
    .ps5,
    .ps10,
    .ps15,
    .ps20,
    .ps25,
    .ps30,
    .ps40 {
        position: relative !important;
    }
}

/* COMPONENTS */
/* COLORS FOR BUTTONS*/
.white {
    color: var(--dark-gray);
    font-weight: bold;
    background-color: #ffffff;
}
.light-gray {
    color: var(--black);
    font-weight: bold;
    background-color: #d0d0d0;
}
.dark-gray {
    color: var(--light-gray);
    font-weight: bold;
    background-color: #363636;
}
.black {
    color: var(--white);
    font-weight: bold;
    background-color: #000000;
}
.blue {
    color: var(--white);
    font-weight: bold;
    background-color: #55b0ac;
}
.success {
    color: var(--white);
    font-weight: bold;
    background-color: var(--success);
}
.danger {
    color: var(--white);
    font-weight: bold;
    background-color: var(--danger);
}
.warning {
    color: var(--light-gray);
    font-weight: bold;
    background-color: var(--warning);
}

/* BADGES */
.sf_badge {
    padding: 5px 10px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease 0s;
    display: inline-block;
}

/* BUTTOMS */
.sf_buttom {
    padding: 10px 15px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease 0s;
}

.sf_buttom:hover {
    transition: all 0.5s ease 0s;
    background-color: #000000a6;
    color: #ffffff;
}
@media screen and (max-width: 640px) {
    .sf_buttom {
        position: relative;
    }

    .sf_buttom:hover {
        transition: all 0.5s ease 0s;
        background-color: #000000a6;
        color: #ffffff;
    }
}

/* CARD */
.sf_card {
    color: var(--dark-gray);
    background-color: var(--light-gray);
    box-shadow: 0px 0px 4px 0px var(--light-gray);
}
@media screen and (max-width: 640px) {
    .sf_card > h3 {
        font-size: 0.6rem !important;
    }
}

/* GRID */
.softframe {
    width: 100%;
    display: inline-block;
    margin: auto;
}

@media screen and (max-width: 640px) {
    .softframe {
        width: 100% !important;
        display: inline-block !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}

.sf { 
    padding: 0 120px; /* remove this in you project */
    position: relative;
    display: flex;
}
@media screen and (max-width: 640px) {
    .sf {
        margin: 0 !important;
        padding: 0 10px !important;
        position: relative !important;
    }
}

.st {
    position: relative;
}
.sf1 { 
    width: var(--sf1);
    margin: 0.5%;
    position: relative;
    display: inline-block;
}
.sf2 { 
    width: var(--sf2);
    margin: 0.5%;
    position: relative;
    display: inline-block;
}
.sf3 { 
    width: var(--sf3);
    margin: 0.5%;
    position: relative;
    display: inline-block;
}
.sf4 { 
    width: var(--sf4);
    margin: 0.5%;
    position: relative;
    display: inline-block;
}
.sf5 { 
    width: var(--sf5);
    margin: 0.5%;
    position: relative;
    display: inline-block;
}
.sf6 { 
    width: var(--sf6);
    margin: 0.5%;
    position: relative;
    display: inline-block;
}
.sf7 { 
    width: var(--sf7);
    margin: 0.5%;
    position: relative;
    display: inline-block;
}
.sf8 { 
    width: var(--sf8);
    margin: 0.5%;
    position: relative;
    display: inline-block;
}
.sf9 { 
    width: var(--sf9);
    margin: 0.5%;
    position: relative;
    display: inline-block;
}
.sf10 { 
    width: var(--sf10);
    margin: 0.5%;
    position: relative;
    display: inline-block;
}
.sf11 { 
    width: var(--s11);
    margin: 0.5%;
    position: relative;
    display: inline-block;
}
.sf12 { 
    width: var(--sf12);
    margin: 0.5%;
    position: relative;
    display: inline-block;
}
/*
@media screen and (max-width: 640px) {
    .sf1,
    .sf2,
    .sf3,
    .sf4,
    .sf5,
    .sf6,
    .sf7,
    .sf8,
    .sf9,
    .sf10,
    .sf11,
    .sf12 { 
    }
}*/


/* NAVBAR */
.sf_nav {  
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin: 0.5%;
}
.sf_nav ul { 
    list-style: none; 
    padding: 0;
}
.sf_nav ul li{
    display: inline-block;
    padding: 0 20px;
}

.sf_nav ul li:nth-child(1) {
    padding: 0 20px 0 0;
}

/* BREADCRUMB */
.sf_breadcrumb {
    width: 100%;
    display: flex;
    background-color: var(--light-gray);
    justify-content: flex-start;
}
.sf_breadcrumb ul {
    list-style: none;
    padding: 0;
}
.sf_breadcrumb ul li {
    display: inline-block;
    font-size: 0.6rem;
    padding: 0 10px;
}
.sf_breadcrumb ul li:nth-child(1) {
    font-weight: 600;
}
.sf_breadcrumb ul li:nth-child(n)::after {
    content: '>';
    padding: 0 0 0 15px;
}
.sf_breadcrumb ul li:last-child::after {
    content: '';
}
@media screen and (max-width: 640px) {
    .sf_breadcrumb > ul > li {
        padding: 0 5px;
    }
}


/* FORMS */
.sf_fi_20 {width: 20%;}
.sf_fi_30 {width: 30%;}
.sf_fi_40 {width: 40%;}
.sf_fi_50 {width: 50%;}
.sf_fi_70 {width: 70%;}
.sf_fi_100 {width: 100%;}


.sf1_i {width: var(--sf1_i);}
.sf2_i {width: var(--sf2_i);}
.sf3_i {width: var(--sf3_i);}
.sf4_i {width: var(--sf4_i);}
.sf5_i {width: var(--sf5_i);}
.sf6_i {width: var(--sf6_i);}
.sf7_i {width: var(--sf7_i);}
.sf8_i {width: var(--sf8_i);}
.sf9_i {width: var(--sf9_i);}
.sf10_i {width: var(--sf10_i);}
.sf11_i {width: var(--sf11_i);}
.sf12_i {width: 100%; display: flex;}
@media screen and (max-width: 640px) {
    .sf12_i {
        position: relative;
        display: inline-block;
        margin-bottom: 10px;
    }
    .sf12_i:last-child {
        margin-bottom: 0px;
    }
}
.sf_form {
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    display: inline-block;
}
@media screen and (max-width: 640px) {
    .sf_form {
        width: 100%;
        position: relative;
        display: inline-block;
    }
}
.sf_form fieldset {
    border: 2px solid var(--light-gray);
    border-radius: 5px;
    margin: 0;
    padding: 10px;
}
@media screen and (max-width: 640px) {
    .sf_form fieldset{
        position: relative;
        display: inline-block;
    }
}
.sf_form legend {
    padding: 0 10px;
    font-size: 1rem;
}

.sf_input {
    padding: 5px;
    position: relative;
    display: inline-block;
}
@media screen and (max-width: 640px) {
    .sf_input{
        padding: 0;
        position: relative;
        display: inline-block;
        margin: -1px;
    }
}
.sf_input input[type=text] {
    width: -webkit-fill-available;
    display: flex;
    border: 2px solid var(--light-gray);
    border-radius: 5px;
    padding: 10px;
    font-size: 1rem;
    font-weight: 600;
    background-color: var(--white);
    color: var(--dark-gray);
}
@media screen and (max-width: 640px) {
    .sf_input input[type=text] {
        position: relative;
        width: -webkit-fill-available;
        display: flex;
        border: 2px solid var(--light-gray);
        border-radius: 5px;
        padding: 10px;
        font-size: 1rem;
        font-weight: 600;
        background-color: var(--white);
        color: var(--dark-gray);
    }
}
.sf_input label {
    padding: 5px 0;
    display: flex;
}


/* FOOTER */
.sf_footer {
    position: relative;
    display: flex;
}
.sf_footer a:visited { 
    color: var(--dark-gray)
}


/* MODAL */
.sf_motal_state {
    display: none;
}
.sf_modal_state:checked + .sf_modal {
    opacity: 1;
    visibility: visible;
}
.sf_modal-state:checked + .sf_modal .sf_modal_inner {
    top: 0;
}
.sf_modal_inner {
    transition: top .25s ease;
    position: absolute;
    top: -20%;
    right: 0;
    bottom: 0;
    left: 0;
    width: 50%;
    margin: auto;
    overflow: auto;
    background: #fff;
    border-radius: 5px;
    padding: 1em 2em;
    height: 50%;
}

.sf_modal_close {
    position: absolute;
    right: 1em;
    top: 1em;
    width: 1.1em;
    height: 1.1em;
    cursor: pointer;
}
.sf_modal_close:after,
.sf_modal_close:before {
    content: '';
    position: absolute;
    width: 2px;
    height: 1.5em;
    background: #ccc;
    display: block;
    transform: rotate(45deg);
    left: 50%;
    margin: -3px 0 0 -1px;
    top: 0;
}
.sf_modal_close:hover:after,
.sf_modal_close:hover:before {
    background: var(--light-gray);
}
.sf_modal_close:before {
    transform: rotate(-45deg);
}
.sf_modal {
    opacity: 0;
    visibility: hidden;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    text-align: left;
    background: var(--dark-gray);
    transition: opacity .25s ease;
}
.sf_modal_bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    cursor: pointer;
}

/* IGNORE */
.link-download {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0 145px;
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 20px;
}

@media screen and (max-width: 640px) {
    .link-download {
        position: absolute !important;
        display: inline-block;
        margin: 10px;
    }
}
.link-download:hover {
    background-color: #d0d0d07a;
}
