h1.main-heading {
    font-size: 4rem;
    color: var(--theme-orange);
    text-align: left;
    margin: auto;
    font-family: var(--spartan-font);
    font-weight: 700;
}

.cn-elmt {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

div.loader-wrapper {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: var(--theme-dark-purple);
    z-index: 10;
    opacity: 0;
    transition: opacity 500ms ease;
}

div.loader-wrapper.opaque {
    opacity: 1;
}

div.loader-wrapper div {
    display: flex;
    width: 15%;
    margin: 0 42.5%;
    justify-content: center;
}

div.loader-wrapper img {
    width: 33%;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    /* margin: 20% 42.5%; */
}

div.loader-wrapper img.one {
    animation-name: load-first;
    animation-delay: 0;
}

div.loader-wrapper img.two {
    animation-name: load-second;
    /* animation-delay: 0.6s; */
}

div.loader-wrapper img.three {
    animation-name: load-third;
    /* animation-delay: 1.2s; */
}

@keyframes load-first {
    0% {transform: rotate(0deg); scale: 0.25;}
    50% {transform: rotate(180deg); scale: 1.25;}
    100% {transform: rotate(360deg); scale: 0.25;}
}

@keyframes load-second {
    0% { transform: rotate(0deg); scale: 1.25;}
    50% { transform: rotate(180deg); scale: 0.25;}
    100% { transform: rotate(360deg); scale: 1.25;}
}

@keyframes load-third {
    0% { transform: rotate(0deg); scale: 0.75;}
    50% { transform: rotate(180deg); scale: 1.25;}
    100% { transform: rotate(360deg); scale: 0.75;}
}

.container {
    background: transparent;
    z-index: 0;
}

canvas#canvas {
    background: var(--theme-dark-purple);
    height: 100%;
    width: 100%;
    position: relative;
    z-index: 10;
}

.sub-heading {
    font-size: 2.5rem;
    color: var(--theme-orange);
    text-align: center;
    margin: 8% auto auto auto;
    font-family: var(--spartan-font);
    font-weight: 400;
}

.heading {
    font-family: var(--libre-font);
    color: var(--theme-light-blue);
    font-style: italic;
    font-weight: 400;
    font-size: 2.0rem;
    margin-bottom: 0;
    margin-top: 5%;
}

p.para {
    font-family: var(--libre-font);
    color: var(--theme-white);
    font-size: 1.25rem;
    line-height: 1.75rem;    
    text-align: justify; 
}

p.para.center {
    text-align-last: left;
}

div.img-part {
    height: 5rem;
}

.section {
    margin: 5%;
    width: 90%;
    padding-top: 3%;
}

.box {
    margin: 5% 0;
    padding: 5%;
}

.para-container {
    margin: 10% 0;
    margin-top: 0%;
    padding: 5%;
    padding-top: 0%;
}


.fancy-link {
    text-decoration: none;
    color: var(--theme-orange);
    position: relative;
    font-weight: 700;
}

.fancy-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: currentColor;
    z-index: -1;

    transform: scaleX(0);
    transform-origin: right;
    transition: transform 250ms ease-in;
}

.fancy-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.banner-section {
    width: 100%;
    margin: 5% 0;
    z-index: 1;
}

.banner-section img {
    width: 100%;
}


/* Toggling content CSS */
.experiments-tab {
    display: flex;
    flex-direction: row;
    width: 50%;
    margin: 5% auto;
    align-items: center;
    justify-content: center;
}

.experiments-tab button {
    background: var(--theme-dark-purple);
    color: var(--theme-orange);
    outline: none;
    border: none;
    font-family: var(--spartan-font);
    font-size: 1.5em;
    padding: 2% 5%;
    border-bottom: 2px solid transparent;
    transition: color, border-bottom-color 200ms ease;
    cursor: pointer;
}

.experiments-tab button:hover {
    color: var(--theme-neon-blue);
}

.experiments-tab button.active {
    color: var(--theme-neon-blue);
    border-bottom: 2px var(--theme-neon-blue) solid; 
}

.togglenav {
    margin: 5% 0;
}

ul.contentlist {
    font-family: var(--libre-font);
    font-size: 1.0em;
    font-weight: 400;
    color: var(--theme-white);
}

ol.contentlist {
    font-family: var(--libre-font);
    font-size: 1.0em;
    font-weight: 400;
    color: var(--theme-white);
    line-height: 1.5em;
}
/* Toggling Content CSS Ends here */

/* Accordion CSS */
p.accordion-question {
    font-family: var(--libre-font);
    color: var(--theme-light-blue);
    font-weight: 500;
    font-size: 1.25em;
    margin-bottom: 0;
}

.accordion-answer ul li, .accordion-answer ol li, .accordion-answer p {
    font-family: var(--libre-font);
    color: var(--theme-white);
    font-weight: 400;
    font-size: 1.0em;
    margin-bottom: 0;
    line-height: 1.5em;
}

.question svg {
    height: 1.25em;
    /* padding-right: 5%; */
    margin-top: auto;
    transition: transform 0.5s ease-in-out;
}

.faq {
    padding: 1rem 0;
    cursor: pointer;
}

.question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--theme-white);
    padding: 0 0 1% 0;
}

.answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.7s ease-in-out;
    padding: 0 1%;
}

.faq.active .answer {
    max-height: 400px;
    animation: fade 0.7s ease-in-out;
}

.faq.active svg {
    transform: rotate(180deg);
}

@keyframes fade {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0px);
    }
}

/* Accordion CSS Ends here */


ol li {
    font-family: var(--libre-font);
    color: var(--theme-white);
    font-size: 1.0rem;
    line-height: 1.5rem;    
    text-align: justify; 
}

/* Temporary classes */
ol.ref-list li {
    font-family: var(--libre-font);
    color: var(--theme-white);
    font-weight: 400;
    font-size: 1.0em;
    line-height: 1.5em;
    margin: 5% 0;
    font-style: italic;
}

@media (max-width: 540px) {
    .experiments-tab {
        margin: 7% auto;
    }

    .experiments-tab button {
        height: 2.5em;
    }

    div.loader-wrapper div {
        display: flex;
        width: 55%;
        margin: 0 22.5%;
        justify-content: center;
    }
}

@media (max-width: 940px) {
    .banner-section {
        margin-top: 6rem !important;
    }

    div.loader-wrapper div {
        display: flex;
        width: 35%;
        margin: 0 32.5%;
        justify-content: center;
    }
}


.experiments-tab {
    display: flex;
    flex-direction: row;
    width: 50%;
    margin: 5% auto;
    align-items: center;
    justify-content: center;
}

.experiments-tab button {
    background: var(--theme-dark-purple);
    color: var(--theme-white);
    outline: none;
    border: none;
    font-family: var(--spartan-font);
    font-size: 1.5em;
    padding: 2% 5%;
    border-bottom: 2px solid transparent;
    transition: color, border-bottom-color 200ms ease;
    cursor: pointer;
}

.experiments-tab button:hover {
    color: var(--theme-orange);
}

.experiments-tab button.active {
    color: var(--theme-orange);
    border-bottom: 2px var(--theme-orange) solid; 
}

p.accordion-question {
    font-family: var(--libre-font);
    color: var(--theme-light-blue);
    font-weight: 500;
    font-size: 1.25em;
    margin-bottom: 0;
}

p.accordion-answer {
    font-family: var(--libre-font);
    color: var(--theme-white);
    font-weight: 400;
    font-size: 1.0em;
    margin-bottom: 0;
    line-height: 1.5em;
}

.togglenav {
    margin: 5% 0;
}

.question svg {
    height: 1.25em;
    /* padding-right: 5%; */
    margin-top: auto;
    transition: transform 0.5s ease-in-out;
}

.faq {
    padding: 1rem 0;
    cursor: pointer;
}

.question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--theme-white);
    padding: 0 0 1% 0;
}

.answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.7s ease-in-out;
    padding: 0 1%;
}

.faq.active .answer {
    max-height: 400px;
    animation: fade 0.7s ease-in-out;
}

.faq.active svg {
    transform: rotate(180deg);
}

.hidden {
    display: none;
}

.content-section {
    display: grid;
    grid-template-columns: minmax(1px,1fr) minmax(1px,3fr);
    gap: 1em;
}

@keyframes fade {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0px);
    }
}

@media (max-width: 540px) {
    .experiments-tab {
        margin: 7% auto;
    }

    .experiments-tab button {
        height: 2.5em;
    }
}

table {
    border-collapse: collapse;
    width: 90%;
    margin: 5%;
}

th, td {
    border: 1.5px solid var(--theme-white);
    padding: 12px 20px;
    text-align: left;
}

th {
    font-family: var(--spartan-font);
    font-size: 1.25em;
    color: var(--theme-light-blue);
}

td {
    font-family: var(--libre-font);
    font-size: 0.9em;
    color: var(--theme-white);
}

ul {
    list-style-type: square;
}

ul li {
    font-family: var(--libre-font);
    color: var(--theme-white);
    font-size: 1.0rem;
    line-height: 1.5rem;    
    text-align: justify; 
}

h2.hp-heading {
    font-size: 2.25em;
    color: var(--theme-white);
    text-decoration: underline;
    font-family: var(--spartan-font);
    margin: 4% 0;
    text-align: left;
    font-weight: 600;
}

h2.hp-sub-heading {
    font-family: var(--spartan-font);
    font-size: 1.75em;
    color: var(--theme-light-blue);
    margin: 3% 0;
    text-align: left;
    font-weight: 500;
}

.img-grid {
    display: grid;
    gap: 1em;
}

img.equations {
    width: 50%;
    margin: 5% 25%;
}

@media (max-width: 768px) {
    p.para {
        font-size: 1em !important;
    }
}