*, *::before, *::after {
    box-sizing: border-box;
}

body {
    padding: 0;
    margin: 0;
    background-image: url(../bg/bg3.jpg);
    background-size: 100% 110%;
    font-family: Arial;
}

#loader {
    position: fixed;
    width: 100%;
    height: 100vh;
    z-index: 100;
    /* overflow: visible; */
    position: fixed;
    background: #005E6A url(/subject-icon/loading2.gif) no-repeat center center;
}

.container {
    display: grid;
    height: 100vh;
    grid-template-columns: 1fr;
    grid-template-rows: 0.3fr 1.8fr 0.15fr;
    grid-template-areas: 
    "nav"
    "grid"
    "footer";
    font-family: "Arial", sans-serif;
}

nav {
    background: #005e6a;
    padding-top: 8px;
    grid-area: nav;
}

.site-logo {
    height: 70px;
    vertical-align: middle;
    padding-right: 15px;
}

.banner-container {
    /* font-size: 35px; */
    font-weight: bold;
    font-size: 35px;
    color: #fff;
    text-align: center;
}

/* SIDEBAR CSS STARTS HERE!!! */
.side-bar {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    width: 290px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: -100%;
    overflow-y: auto;
    transition: 0.6s ease;
    transition-property: left;
    z-index: 2;
}

.side-bar.active {
    left: 0;
}

.side-bar .menu {
    width: 100%;
    margin-top: 80px;
}

.side-bar .menu .item {
    position: relative;
    cursor: pointer;
}

.side-bar .menu .item a {
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    display: block;
    padding: 5px 30px;
    line-height: 60px;
}

.side-bar .menu .item a:hover {
    /* background: #8621f8; */
    /* background: rgb(0,128,128); */
    background: rgb(255,255,255,0.2);
    transition: 0.3s ease;
}

.side-bar .menu .item img {
    margin-right: 15px;
    width: 17px;
    height: auto;
    vertical-align: middle;
}

/* CSS for About & Privacy in Sidebar */
.privacy-icon1 {
    margin-right: 15px;
}
/* END */

.side-bar .menu .item a .dropdown {
    width: 16px;
    height: auto;
    position: absolute;
    right: 0;
    margin: 20px;
    transition: 0.3s ease;
}

.side-bar .menu .item .sub-menu {
    background: rgba(255,255,255,0.1);
    display: none;
}

.side-bar .menu .item .sub-menu a {
    padding-left: 80px;
}

.rotate {
    transform: rotate(90deg);
}

.side-bar .close-btn img {
    position: absolute;
    width: 16px;
    height: auto;
    right: 0;
    margin: 25px;
    cursor: pointer;
}

.menu-btn img {
    position: absolute;
    width: 20px;
    height: auto;
    margin: 23px;
    margin-left: 30px;
    cursor: pointer;
}

/* .menu-btn:hover {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    text-align: center;
    cursor: pointer;
    transition: 0.25s ease-in-out;
} */

/* SIDEBAR CSS ENDS HERE!!! */

#grid {
    /* background: #73ffba; */
    /* background: #a7ffeb; */
    /* background: #fff; */
    grid-area: grid;
    justify-content: center;
    display: grid;
    overflow-y: scroll;
    padding: 20px 0;
}

.btn-grid {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 30px;
    /* margin-top: 20px;   
    margin-bottom: 20px; */
}

.btn {
    width: 200px;
    height: 200px;
    border: none;
    background-color: #39c9bb;
    border-radius: 5px;
    color: white;
    outline: none;
    font-size: 1em;
    /*box-shadow: 0 2px 3px 0 rgba(0,0,0,.1);*/
    box-shadow: 10px 10px 30px rgb(0,0,0,0.1);
    cursor: pointer;
}

.btn:hover {
    /* FOR ZOOM EFFECT scale 1.05 */
    background-color:teal;
    z-index: 1;
    box-shadow: 15px 15px 35px rgb(0,0,0,0.5);
    transform: scale(1.05);
    /* background-color:teal; */
}

.btn:active {
    background-color: rgb(0, 102, 102);
}

/* SUBJECT ICONS CSS */
.icon-btn {
    width: 60px;
    height: auto;
}

/* FOOTER CSS */
footer {
    /* background: #005e6a; */
    /* grid-area: footer; */
    box-shadow: 10px 10px 30px rgb(0,0,0,0.1);
    padding-top: 7px;
}

/* footer img {
    width: 20px;
    vertical-align: middle;
    margin-right: 5px;
} */

.privacy-icon {
    color: #fff;
    padding-right: 5px;
}

.info {
    float: right;
    margin-right: 25px;
    background: rgb(255, 255, 255, 0);
    border-style: none;
    padding: 5px 7px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
}

.info:hover {
    background: rgba(255,255,255,0.1);
    /* background: rgb(0,28,52,0.9); */
    transition: 0.25s ease-in;
} 

/* START OF MODAL CSS */
    .bg-modal {
        width: 100vw;
        height: 100vh;
        background-color: rgba(0, 0, 0, .7);
        backdrop-filter: blur(15px);
        position: absolute;
        top: 0;
        justify-content: center;
        align-items: center;
        transition: 0.25s ease-in-out;
        display: none;
        z-index: 3;
    }

    .modal-content {
        width: 800px;
        height: 550px;
        background-color: #fff;
        border-radius: 5px;
        box-shadow: 10px 10px 30px rgb(0,0,0,0.7);
        padding: 1.5rem;
        overflow-y: scroll;
        position: relative;
    }

    .justify {
        text-align:justify
    }

    .modal-content h2 {
        color: #015c68;
    }

    .highlight {
        font-weight: bold;
    }

    .close {
        position: absolute;
        top: 0;
        right: 14px;
        font-size: 42px;
        transform: rotate(45deg);
        cursor: pointer;
        color: #005e6a;
    }

    .close:hover {
        color: #39c9bb;
    } 

    .close:active {
        color: rgb(0, 102, 102);
    }

    hr {
        padding-top: 0;
        top: 0;
        margin-top: 0;
        color: #015c68;
    }

    .modal {
        padding-right: 10px;
        color: #015c68;
    }

    /* SUPPORT ICONS - GCASH & PAYMAYA */
    .gcash-icon {
        width: 80px;
        height: auto;
        padding-right: 10px;
        left: 0;
        display: inline;
        float: left;
    }

    .paymaya-icon {
        width: 80px;
        height: auto;
        padding-right: 10px;
        left: 0;
        display: inline;
        float: left;
    }

    .paypal-icon {
        width: 80px;
        height: auto;
        padding-right: 10px;
        left: 0;
        display: inline;
        float: left;
    }

    .support {
        justify-content: center;
        justify-items: center;
        vertical-align: middle;
        padding-top: 3px;
    }

    /* .fa-paypal {
        color: darkblue;
        padding-right: 10px;
        padding-left: 4px;
        font-size: 1.2em;
    } */

    .paypal-link {
        text-decoration: none;
        color: #000;
    }

    .paypal-link:hover {
        color: blue;
        text-decoration: underline;
    }

    .qr {
        text-decoration: none;
        color: black;
    }

    .qr:hover {
        color: blue;
        text-decoration: underline;
    }
/* END OF MODAL CSS */

/* MEDIA QUERIES */

@media only screen and (min-width: 750px) {
    .btn-grid {
        grid-template-columns: repeat(3, auto);
    }
}
/* iPhone 6/7/8 Plus */
@media only screen and (max-width: 414px) {
    .container {
        grid-template-columns: 1fr;
        grid-template-rows: 0.3fr 1.8fr 0.15fr;
        grid-template-areas:
        "nav"
        "grid";
    }
    nav {
        padding-top: 28.5px;
    }
    .menu-btn img {
        margin-left: 24px;
        margin-top: 10px;
        width: 20px;
        height: auto;
    }
    .site-logo {
        height: 40px;
        vertical-align: middle;
        padding-right: 15px;
    }
    .banner-container {
        font-size: 25px;
    }

    .btn {
        width: 150px;
        height: 150px;
        border: none;
        background-color: #39c9bb;
        border-radius: 5px;
        color: white;
        outline: none;
        font-size: 1em;
        /*box-shadow: 0 2px 3px 0 rgba(0,0,0,.1);*/
        box-shadow: 10px 10px 30px rgb(0,0,0,0.1);
        cursor: pointer;
    }
    .icon-btn {
        width: 50px;
        height: auto;
    }
    .micro {
        font-size: 14px;
    }

    footer {
        padding-top: 12px;
    }
    .info {
        margin-right: 18px;
    }
    .info:active {
        background: rgba(255,255,255,0.1);
        /* background: rgb(0,28,52,0.9); */
        transition: 0.25s ease-in-out;
    } 
    .modal-content {
        width: 90%;
        height: 85%;
    }
    #loader {
        background-size: 30%;
    }
}

/* Samsung Galaxy A32 */
@media only screen and (max-width: 412px) {
    .container {
        grid-template-columns: 1fr;
        grid-template-rows: 0.2fr 1.8fr 0.15fr;
        grid-template-areas:
        "nav"
        "grid";
    }
    nav {
        padding-top: 22px;
    }
    .menu-btn img {
        margin-left: 24px;
        margin-top: 10px;
        width: 20px;
        height: auto;
    }
    .site-logo {
        height: 40px;
        vertical-align: middle;
        padding-right: 15px;
    }
    .banner-container {
        font-size: 25px;
    }

    .btn {
        width: 150px;
        height: 150px;
        border: none;
        background-color: #39c9bb;
        border-radius: 5px;
        color: white;
        outline: none;
        font-size: 1em;
        /*box-shadow: 0 2px 3px 0 rgba(0,0,0,.1);*/
        box-shadow: 10px 10px 30px rgb(0,0,0,0.1);
        cursor: pointer;
    }
    .icon-btn {
        width: 50px;
        height: auto;
    }
    .micro {
        font-size: 14px;
    }

    footer {
        padding-top: 18px;
    }
    .info {
        margin-right: 18px;
    }
}

/* For Redmi Note 10 Pro */ 
@media only screen and (max-width: 393px) and (max-height: 735px){
    .container {
        grid-template-columns: 1fr;
        grid-template-rows: 0.2fr 1.8fr 0.15fr;
        grid-template-areas:
        "nav"
        "grid";
    }
    nav {
        padding-top: 14px;
    }
    .banner-container {
        font-size: 25px;
    }
    .menu-btn img {
        margin-left: 24px;
        margin-top: 10px;
        width: 20px;
        height: auto;
    }
/* new addition */
    .btn {
        width: 150px;
        height: 150px;
        border: none;
        background-color: #39c9bb;
        border-radius: 5px;
        color: white;
        outline: none;
        font-size: 1em;
        /*box-shadow: 0 2px 3px 0 rgba(0,0,0,.1);*/
        box-shadow: 10px 10px 30px rgb(0,0,0,0.1);
        cursor: pointer;
    }
    .icon-btn {
        width: 50px;
        height: auto;
    }
    .micro {
        font-size: 14px;
    }
    .site-logo {
        height: 40px;
        vertical-align: middle;
        padding-right: 15px;
    }
    .modal-content {
        width: 90%;
        height: 85%;
    }

    footer {
        padding-top: 12px;
    }
    .info {
        margin-right: 12px;
    }
}

@media only screen and (max-width: 375px) {
    .container {
        grid-template-columns: 1fr;
        grid-template-rows: 0.3fr 1.8fr 0.15fr;
        grid-template-areas:
        "nav"
        "grid";
    }
    nav {
        padding-top: 24px;
    }
    .menu-btn img {
        margin-left: 24px;
        margin-top: 10px;
        width: 20px;
        height: auto;
    }
    .site-logo {
        height: 40px;
        vertical-align: middle;
        padding-right: 15px;
    }
    .banner-container {
        font-size: 25px;
    }
    .btn {
        width: 150px;
        height: 150px;
        border: none;
        background-color: #39c9bb;
        border-radius: 5px;
        color: white;
        outline: none;
        font-size: 1em;
        /*box-shadow: 0 2px 3px 0 rgba(0,0,0,.1);*/
        box-shadow: 10px 10px 30px rgb(0,0,0,0.1);
        cursor: pointer;
    }
    .icon-btn {
        width: 50px;
        height: auto;
    }
    .micro {
        font-size: 14px;
    }
    .info {
        margin-right: 18px;
    }
    footer {
        padding-top: 9px;
    }
    .side-bar {
        width: 250px;
        height: 100vh;
    }
    .side-bar .menu .item a {
        font-size: 14px;
    }
    .side-bar .close-btn img {
        width: 14px;
    }
    .side-bar .menu .item a .dropdown {
        width: 15px;
    }
    .modal-content {
        font-size: 14px;
    }
}

@media only screen and (max-width: 320px) {
    .container {
        grid-template-columns: 1fr;
        grid-template-rows: 0.3fr 1.8fr 0.15fr;
        grid-template-areas:
        "nav"
        "grid";
    }
    nav {
        padding-top: 14px;
    }
    .banner-container {
        font-size: 20px;
    }
    .micro {
        font-size: 11px;
    }
    .menu-btn img {
        margin-left: 24px;
        margin-top: 10px;
        width: 15px;
        height: 15px;
    }
    .site-logo {
        width: 50px;
        height: 35px;
    }
    .btn {
        width: 120px;
        height: 120px;
        font-size: 0.7rem;
    }
    .icon-btn {
        width: 45px;
        height: auto;
    }
    footer {
        padding-top: 4.5px;
    }
    .info {
        float: right;
        margin-right: 4px;
        font-size: 0.7rem;
    }
    .side-bar {
        width: 250px;
        height: 100vh;
    }
    .side-bar .menu .item a {
        font-size: 14px;
    }
    .side-bar .close-btn img {
        width: 14px;
    }
    .side-bar .menu .item a .dropdown {
        width: 15px;
    }
    .modal-content {
        font-size: 14px;
    }
}

:root {
    /* scrollbar color*/
    --scrollbar-color: #015c68; 
    --scrollbar-hover-color: #026674; 
    --scrollbar-track-color: #003c44;
}

/*ScrollBar*/::-webkit-scrollbar {
    width: 6px !important;
}

::-webkit-scrollbar-track {
    /* background-color: var(--scrollbar-track-color) !important; */
    background-color: none !important;
}

::-webkit-scrollbar-thumb {
    background-color: var(--scrollbar-color) !important;
    border-radius: 25px!important;
    /* border-style: solid!important; */
    border-style: none !important;
    /* border-color: var(--scrollbar-track-color) !important; */
    border-color: none !important;
    /* border-width: 4px!important; */
}
::-webkit-scrollbar-thumb:hover {
    background-color: var(--scrollbar-hover-color) !important;
    border-radius: 25px!important;
}

input,
textarea,
button,
select,
a {
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}
a:focus,a:visited,a:active{
  outline: none;
}
* {
    -webkit-tap-highlight-color: transparent;
}