.sub-text {
    display: block;
    /* font-style: italic; */
    font-size: 17px;
}

a:focus,
a:hover,
a:visited {
    text-decoration: none !important;
    outline: 0;
}

li.notice,
ul.notice {
    list-style: inside !important;
    padding: 0;
    margin: 0;
}

.instruct {
    padding: 0px 20px 20px;
    background: #b3b3db;
    border: 1px solid #819bb3;
    border-radius: 2rem;
    font-size: 17px;
    margin: 25px 0;
}

.section-subs {
    padding: 3rem 0
}

.bg-r-2 {
    background: #ffffff;
    /* border: 1px solid #4e66f8; */
    border: 1px solid #a3e1ff;
    box-shadow: 5px 5px #c2c5d7;
}

.bg-r2 {}

.s-bg1 {
    background: #A9B746;
}

.s-bg2 {
    background: #e6b334;
}

.s-bg3 {
    background: #ef5350
}

.s-bg4 {
    background: #ba68c8
}

.s-bg5 {
    background: #42a5f5
}

.mt-5,
.my-5 {
    margin-top: 3rem !important;
    border-bottom-right-radius: 5rem;
}

.bg-gray-100 {
    /* background: #f8f9fa !important; */
}

.height-10 {
    /* padding: 6rem 0 4rem !important; */
    /* padding: 4rem 0 2rem !important; */
    height: 10rem;
    border-bottom-right-radius: 5rem;
}


/* .pd6 {
        padding: 0 10px;
    } */

.shadow {
    box-shadow: 0 0 1rem rgba(0, 0, 0, 0.15) !important;
}

.position-relative {
    position: relative !important;
}

.ribbon-primary {
    background-color: #4E66F8 !important;
}

.ribbon {
    position: absolute;
    top: 10px;
    left: -11px;
    z-index: 999;
    display: inline-block;
    font-family: "Poppins", sans-serif;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .3em;
    padding: 3px 15px 5px;
    color: #fff;
    text-align: center;
}

.subject-card {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.ribbon-primary::before {
    border-top-color: #0926d7;
}

.ribbon::before {
    content: '';
    border-left: 12px solid transparent;
    border-right: 0 solid transparent;
    border-top: 14px solid #0926d7;
    position: absolute;
    bottom: -14px;
    left: 0;
}

.ribbon {
    position: absolute;
    top: 10px;
    left: -11px;
    z-index: 999;
    display: inline-block;
    font-family: "Poppins", sans-serif;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .3em;
    padding: 3px 15px 5px;
    color: #fff;
    text-align: center;
}

h2.subj-title {
    padding: 0 2rem;
    font-size: 19px;
    margin: 10px auto;
    color: #000;
}

.attempted {
    font-size: 16px;
    margin: 10px auto;
    color: #000;
    padding: 0 2rem;
}

.grey-back {
    background: #b7c3cd;
}

.slot-details {
    border: 1px solid #80808080;
    padding: 10px;
    /* margin-top: 1rem; */
    background: #82c2d091;
    border-radius: 20px;
    text-align: center;
    width: 50%;
    margin: 0 auto;
}

.theme-btn.btn-style-two {
    padding: 10px;
    margin: 10px;
}


/* //confetti */

@media only screen and (max-width: 414px) {
    .animation-fallback {
        width: 100% !important;
        height: auto !important;
    }
    #confetti {
        width: 100% !important;
    }
}

@media screen {
    .animation-fallback {
        background: transparent !important;
    }
    /*Keyframes*/
    @keyframes confetti {
        0% {
            background-position: 0px 0px, 0px 0px, 0px 0px;
        }
        100% {
            background-position: 500px 1000px, 400px 400px, 300px 300px;
        }
    }
    @-moz-keyframes confetti {
        0% {
            background-position: 0px 0px, 0px 0px, 0px 0px;
        }
        100% {
            background-position: 500px 1000px, 400px 400px, 300px 300px;
        }
    }
    @-webkit-keyframes confetti {
        0% {
            background-position: 0px 0px, 0px 0px, 0px 0px;
        }
        100% {
            background-position: 500px 1000px, 400px 400px, 300px 300px;
        }
    }
    #confetti {
        background-image: url('https://assets.bumped.com/email/triggered/first-full-share/confetti_blue.png'), url('https://assets.bumped.com/email/triggered/first-full-share/confetti_blue2.png');
        -webkit-animation: confetti 20s linear infinite;
        -moz-animation: confetti 20s linear infinite;
        animation: confetti 20s linear infinite;
        /* width: 600px; */
        display: block;
        margin: 0 auto;
    }
}


/* -------------------------- */

* {
    transition: all 0.3s;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active .icon-img,
.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active .tab-title {
    filter: grayscale(0);
}

.nav-link .icon-img,
.nav-link .tab-title {
    filter: grayscale(1);
}

.nav-tabs .nav-item {
    width: 50%;
    text-align: center;
}


/* body {
        background: #f2f4f8;
        display: flex;
        justify-content: space-around;
        align-items: center;
        flex-wrap: wrap;
        height: 100vh;
        font-family: "Open Sans";
    } */

.mathematics {
    --bg-color: #ffd861;
    --bg-color-light: #ffeeba;
    --text-color-hover: #f3e3b4;
    --box-shadow-color: rgb(253 243 212);
}

.science {
    --bg-color: var(--bs-red);
    --bg-color-light: #eda9a9;
    --text-color-hover: #ffd5d9;
    --box-shadow-color: rgb(255 217 217);
}

.english {
    --bg-color: #B8F9D3;
    --bg-color-light: #cfffe3;
    --text-color-hover: #caedd8;
    --box-shadow-color: rgb(194 229 209);
}

.biology {
    --bg-color: #CEB2FC;
    --bg-color-light: #F0E7FF;
    --text-color-hover: #fff;
    --box-shadow-color: rgba(206, 178, 252, 0.48);
}

.chemistry {
    --bg-color: var(--bs-orange);
    --bg-color-light: #ffffff8f;
    --text-color-hover: #ffe7d3;
    --box-shadow-color: #ffe3cb;
}

.essay {
    --bg-color: var(--bs-green);
    --bg-color-light: #ffffff8f;
    --text-color-hover: #689581;
    --box-shadow-color: #739d8b;
}

.physics {
    --bg-color: var(--bs-info);
    --bg-color-light: #ffffff8f;
    --text-color-hover: #82b8c5;
    --box-shadow-color: #92c0c7;
}

.social {
    --bg-color: var(--bs-secondary);
    --bg-color-light: #ffffff8f;
    --text-color-hover: #6c757d;
    --box-shadow-color: #6c757d;
}

.card-test {
    /* width: 220px; */
    width: 234px;
    /* min-width: 221px;
        max-width: 274px; */
    height: 287px;
    background: #fff;
    border-top-right-radius: 10px;
    /* overflow: hidden; */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    position: relative;
    box-shadow: 7px 9px 11px 2px rgb(131 122 122 / 18%);
    transition: all 0.3s ease-out;
    border: 2px solid #c1beb766;
    text-decoration: none;
    /* margin: 10px 15px; */
    /* padding: 10px; */
    margin: 0 15px 10px;
    padding: 0 0 10px;
    /* padding: 0 10px 10px; */
}

.card-test:hover {
    transform: translateY(-5px) scale(1.005) translateZ(0);
    box-shadow: 0 24px 36px rgba(0, 0, 0, 0.11), 0 24px 46px var(--box-shadow-color);
}

.card-test:hover .overlay {
    transform: scale(4) translateZ(0);
}

.card-test:hover .circle {
    border-color: var(--bg-color-light);
    background: var(--bg-color);
}

.card-test:hover .circle:after {
    background: var(--bg-color-light);
}

.card-test:hover p {
    color: var(--text-color-hover);
}

.card-test:active {
    transform: scale(1) translateZ(0);
    box-shadow: 0 15px 24px rgba(0, 0, 0, 0.11), 0 15px 24px var(--box-shadow-color);
}

.card-test p {
    font-size: 17px;
    color: #4C5656;
    margin-top: 30px;
    z-index: 1000;
    transition: color 0.3s ease-out;
}

.circle {
    width: 131px;
    height: 131px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease-out;
}

.circle img {
    z-index: 1;
    width: 65px
}

.circle:after {
    content: "";
    width: 112px;
    height: 112px;
    display: block;
    position: absolute;
    background: var(--bg-color);
    border-radius: 50%;
    top: 7px;
    left: 7px;
    transition: opacity 0.3s ease-out;
}

.circle svg {
    z-index: 10000;
    transform: translateZ(0);
}

.overlay {
    /* width: 87px; */
    position: absolute;
    /* height: 118px; */
    /* height: 61px; */
    /* border-radius: 50%; */
    border-bottom-left-radius: 50%;
    border-bottom-right-radius: 50%;
    background: var(--bg-color);
    top: 50px;
    /* left: 67px; */
    z-index: 1;
    transition: transform 0.3s ease-out;
}

.card-test:hover {
    /* justify-content: space-evenly; */
    /* justify-content: start; */
    transition: all 0.3s ease-in;
}


/* .card-test:hover .test-name {
        margin-top: 5rem;
        padding: 26px 0 0;
    } */

.card-test:hover .test_name h5 {
    /* margin: 4rem 0 0; */
    margin: 2rem 0 0;
    /* font-size: 21px; */
    font-size: 17px;
    padding: 0 10px;
    text-align: center;
}

.test_name h5 {
    font-size: 18px;
    padding: 0 10px;
    text-align: center;
}