@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

html,
body {
    overflow-x: clip;
    scroll-behavior: smooth;
    font-size: 100%;
    box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    white-space: normal;
    word-break: break-word;
}

* {
    margin: 0;
    padding: 0;
    /* color: black; */
    font-family: 'Montserrat', sans-serif;
}

:root {
    --black--: rgb(60, 60, 60);
    --Half-black--: rgba(80, 80, 80, 0.7);
    --white--: rgb(255, 255, 255);
    --half-white--: rgba(255, 255, 255, 0.7);
    --border-radius--: 10px;
}

::selection {
    background-color: var(--black--);
    color: var(--white--);
}

::-webkit-scrollbar-thumb {
    width: 10px;
    background: var(--Half-black--);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--black--);
}

::-webkit-scrollbar {
    background: none;
    width: 5px;
}

@media screen and (min-width:1200px) {
    #menu-btn {
        display: none !important;
    }

    .main {
        display: grid;
        grid-template-columns: 3fr 1fr !important;
        padding: 0 0 0 300px !important; 
        z-index: 97;
    }

    .side-nav {
        float: left;
        position: fixed;
        top: 0;
       max-width: 300px !important;
        /* border: solid 1px; */
        z-index: 98;
        height: 100%;
        padding-top: 120px;
        display: block !important;
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        /* border: solid 1px; */
    }

    .sec-nav-object.disabled {
        display: none !important;
    }


}

@media screen and (min-width:769px) and (max-width:1199px) {
    #menu-btn {
        display: none !important;
    }

    .main {
        display: grid;
        grid-template-columns: 3fr 1fr !important;
        padding: 0 0 0 0 !important;
        z-index: 97;
    }

    footer {
        margin-left: 0 !important;
    }

    .side-nav {
        float: left;
        position: fixed;
        top: 0;
        width: 100% !important;
        /* border: solid 1px; */
        z-index: 98;
        height: 100%;
        padding-top: 120px;
        display: none;
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        /* border: solid 1px; */
    }

    .sec-nav-object.disabled {
        display: flex !important;
    }

    .submenu-Area {
        display: grid;
        grid-template-columns: auto auto !important;
        grid-template-rows: auto auto auto !important;
    }

}

@media screen and (min-width:0px) and (max-width:768px) {
    .content-Area {
        margin: 10px !important;
    }

    #header span:first-child::after {

        font-size: 20px !important;

    }

    #menu-btn {
        display: inline-flex !important;
    }

    .main {
        display: grid;
        grid-template-columns: 1fr !important;
        padding: 0 0 0 0 !important;
        z-index: 97;
    }

    footer {
        margin-left: 0 !important;
    }

    .side-nav {
        float: left;
        position: fixed;
        top: 0;
        width: 100% !important;
        /* border: solid 1px; */
        z-index: 98;
        height: 100%;
        padding-top: 120px;
        display: none;
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        /* border: solid 1px; */
    }

    .sec-nav-object.disabled {
        display: flex !important;
    }

    .sec-nav-object.enabled {
        display: flex !important;
        border-right: none !important;
    }

    .sec-nav-object {
        display: none !important;
    }

    .submenu-Area {
        display: grid;
        grid-template-columns: auto auto !important;
        grid-template-rows: auto auto auto !important;
    }

    #Class-12-btn,
    #Class-11-btn,
    #Class-10-btn,
    #Class-9-btn {
        display: none !important;
    }

    #Class-12-Submenu,
    #Class-11-Submenu,
    #Class-10-Submenu,
    #Class-9-Submenu {
        display: none !important;
    }

}

@media screen and (max-width:900px) {
    #Old-Year-Papers-btn {
        display: none;
    }
}

@media screen and (max-width:800px) {

    #Sample-Papers-btn,
    #Class-9-btn {
        display: none;
    }
}

#header {

    height: 80px;
    width: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    background: var(--white--);
    z-index: 100;
   font-size: 20px;
   font-weight: 400;
    /* border: solid 1px; */
    position: relative;
}

#header span:first-child::before {
    content: "\F6FD";
    font-family: "bootstrap-icons";
    font-size: 36px;
    font-weight: 400;
    padding: 20px;

}

#header span:first-child::after {
    content: 'Ten Solutions';
    font-size: 24px !important;
    font-weight: 600;
    
}

#header span:first-child {
    animation: logo-anime .5s;
    padding: 0 10px 0 0 !important;
}

@keyframes logo-anime {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0%);
    }
}

#header span {
   
    height: 100%;
    /* border-right: solid 1px; */
    width: fit-content; 
    padding: 0 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    /* color: var(--black--); */
    border: solid 2px var(--white--);
}

#header span:hover {
    background: var(--black--);
    color: var(--white--);
    cursor: pointer;
    border-radius: 10px;
    outline: 10px red;
}

header>span .bi {
    /* border: solid 1px; */
    padding: 0 0 0 20px;
}

header>span.active {
    color: var(--white--);
    background: var(--black--);
    cursor: pointer;
    border-radius: 10px;
}

#menu-btn {
    display: none;
}

.submenu {

    height: fit-content;
    width: 100%;
    background: var(--half-white--);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: solid 1px rgba(80, 80, 80, 0.2);
    border-radius: 0 0 10px 10px;
    padding: 30px;
    position: absolute;
    z-index: 99;
    display: none;
    animation: sub-menu-anime .5s;
}

@keyframes sub-menu-anime {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0%);
    }
}

.submenu.active {
    display: block;
}

.submenu-close .bi {
    font-size: 48px;
    color: rgba(255, 0, 0, 0.5);
    z-index: 10;
    float: right;
}

.submenu-close .bi:hover {
    color: red;
}

.submenu-Area {
    display: grid;
    grid-template-columns: auto auto auto;
    grid-template-rows: auto auto;
}

.submenu-Area>ul a h4 {
    font: 600 20px 'Montserrat', sans-serif; 
    color: var(--black--);
}

#menu-Submenu>.submenu-Area {
    border: solid 1px;
    height: fit-content;
    width: 100%;
    padding: 0;
}

#menu-Submenu ul {
    /* border: solid 1px; */
    height: fit-content;
    width: 100%;
}

#menu-Submenu li {
    /* border: solid 1px; */
    height: fit-content;
    font: 600 25px 'Montserrat', sans-serif; 
    list-style: none;
    width: 100%;
}

#menu-Submenu li ul li {
    text-indent: 20px;
}

#sec-nav {
    height: 40px;
    width: 100%;
    top: 0;
    left: 0;
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    background: var(--black--);
    z-index: 100;

}

#sec-nav a:hover {
    background: var(--white--);
    color: var(--black--);
    text-decoration: none;
}

.sec-nav-object.active {
    color: var(--black--) !important;
    background: var(--white--);
}

.sec-nav-object.disabled {
    display: none;
}

.sec-nav>a {
    height: 100%;
    border-right: solid 1px;
    width: fit-content;
    padding: 0 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    color: var(--white--);
}

.sec-nav>a:nth-child(2) .bi {
    font-size: 20px;
    padding-right: 10px;
}

.side-nav {
    float: left;
    position: fixed;
    top: 0;
    width: 300px;
    /* border: solid 1px; */
    z-index: 98;
    height: 100%;
    padding-top: 120px;
    display: none;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    animation: side-nav-anime .2s;

}

@keyframes side-nav-anime {
    from {
        backdrop-filter: blur(0px);
        -webkit-backdrop-filter: blur(0px);
    }

    to {
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
    }
}

.inner-Side-Nav {
    border-right: solid 1px rgba(80, 80, 80, 0.2);
    max-width: 300px;   
    /* border: solid 1px rgba(80, 80, 80, 0.2); */
    border-radius: 0 0 10px 10px;
    background: var(--white--);
    overflow-y: scroll;
    position: sticky;
    left: 0;
    top: 0;
    height: 100%;
    line-height: 5px;
    padding: 10px 20px;
    animation: inner-side-nav-anime .5s;
}

@keyframes inner-side-nav-anime {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(0%);
    }
}

.inner-Side-Nav::-webkit-scrollbar {
    display: none;
}

.inner-Side-Nav:hover::-webkit-scrollbar {
    display: block;
}

.inner-Side-Nav>a {
    display: flex;
    color: black;
    /* border-top: solid 1px var(--Half-black--); */
    text-indent: px;
    align-items: baseline;

}
.inner-Side-Nav>h4{
    font-size: 16px; 
}
.inner-Side-Nav>a>h5{
    font-size: 12px; 
}
.inner-Side-Nav>a:hover {
    color: var(--white--);
    background: var(--black--);
    text-decoration: none;
    transition: ease 0s;
}

.main {
    display: grid;
    grid-template-columns: 5fr 1fr;
    padding: 0 0 0 300px;
    z-index: 97;
    
  }

.content-Area ul,
.content-Area ol {
    list-style-type: disc;
    list-style-position: inside;

}

.content-Area table {
    border: solid 1px var(--black--);
    height: fit-content;
    width: 100%; 
}

.content-Area table th {
    background: var(--black--);
    color: var(--white--);
    text-align: center;
    padding: 10px 10px; 
    font-size: 14px;
    border-right: solid 1px var(--white--);

}

.content-Area table tr td {
    border: solid 1px;
    font-size: 14px;
    padding: 10px;
}

.content-Area {
    margin: 40px;
    /* border: solid 2px green;    */
}

.side-Area {
    /* border: solid 1px; */
    border-left: solid 1px rgba(80, 80, 80, 0.2);
    min-height: 50px;

}

footer {
    height: fit-content;
    margin: 0 0 0 300px;
    border-top: solid 1px rgba(80, 80, 80, 0.2);
}

footer .socialMedia {
    display: flex;
    /* border: solid 1px; */
    flex-direction: row;
    width: 100%;
    height: 100%;

}

footer .socialMedia>a {
    height: 52px;
    width: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 5px;
}

footer .socialMedia>a .bi {
    font-size: 32px;
    color: var(--black--);
    transition: 0.2s;
}

footer .socialMedia>a:nth-child(1):hover .bi {
    color: red;
}

footer .socialMedia>a:nth-child(2):hover .bi {
    color: rgb(66, 103, 178);
}

footer .socialMedia>a:nth-child(3):hover .bi {
    color: rgb(29, 161, 242);
}

footer .socialMedia>a:nth-child(4):hover .bi {
    background: #f09433;
    background: -moz-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    background: -webkit-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

footer .socialMedia>a:nth-child(5):hover .bi {
    color: rgb(0, 114, 177);
}

footer .socialMedia>a:nth-child(6):hover .bi {
    color: red;
}

.main-name>h2 {
    font-weight: 900;
    width: fit-content;
}

.innerFooter {
    height: 100%;
    width: 100%;
    margin: 10px;
}

#goToTop {
    height: 50px;
    width: 50px;
    position: fixed;
    float: left;
    right: 20px;
    bottom: 20px;
    border-radius: 50%;
    background: var(--black--);
    box-shadow: 0 0 10px 1px var(--Half-black--);
    z-index: 100;
    color: var(--white--);
    font-size: 32px;
    display: none;
    align-items: center;
    justify-content: center;
    animation: goToTop .5s;
    opacity: 1;
}

#goToTop:hover {
    background: var(--white--);
    color: var(--black--);
    transition: ease-out .5s;
}

@keyframes goToTop {
    25% {
        padding-top: 10px;
    }

    75% {
        padding-bottom: 20px;
    }

    100% {
        padding-top: 0;
    }

    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
