:root {

    --theme-background: #fff;
    --theme-background-light: #e8f0e8;

    --theme-foreground-light: #666;
    --theme-foreground: #333;
    --theme-foreground-hard: #000;

    --theme-highlight-soft: #afa;
    --theme-highlight: #3d3;
    --theme-highlight-hard: #171;

    --theme-glow:#770;
    
    --taplet-width: 1200px;
    --mobile-width: 768px;
    --small-width: 450px;
}

.dark_theme {
    /* Dark Theme */
    --theme-background: #222;
    --theme-background-light: #333;
    --theme-foreground-light: #fff;
    --theme-foreground: #ddd;
    --theme-foreground-hard: #aaa;
    --theme-highlight-soft: #afa;
    --theme-highlight: #3a3;
    --theme-highlight-hard: #181;
}


@media (max-width: 450px) {
    .hide_in_small {
        display: none;
    }
}

@media (max-width: 768px) {
    .hide_in_mobile {
        display: none;
    }
}

@media (min-width: 768px) {
    .show_in_mobile {
        display: none;
    }
}


@media (max-width: 1200px) {
    .hide_in_tablet {
        display: none;
    }
}

html {
    height: 100%;
    margin: 0;
    padding: 0;
}


body {
    background-color: var(--theme-background-light);
    min-height: 100%;
    margin: 0;
    padding: 0;
}

.nav_icon {
    fill: var(--theme-foreground);
}




.logo1,
.logo2,
.logo3 {
    fill: var(--theme-highlight-hard);
}

.scrolled .nav_icon,
.scrolled .logo1,
.scrolled .logo2,
.scrolled .logo3 {
    fill: var(--theme-highlight);
}

.pay_now_button,
.contact_now_button {
    background: linear-gradient(135deg, #28a745, #218838);
    color: white;
    font-size: 1em;
    font-weight: bold;
    padding: .2em .3em;
    border: none;
    border-radius: .2em;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.contact_now_button {
    padding: .4em .6em;
}

.pay_now_button:hover,
.contact_now_button:hover {
    background: linear-gradient(135deg, #218838, #1e7e34);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

.pay_now_button:active,
.contact_now_button:active {
    transform: scale(0.98);
}

.default_button {
    width: 100%;
    background: var(--theme-highlight-hard);
    color: var(--theme-background);
    padding: 10px;
    border: none;
    border-radius: 5px;
    margin-top: 12px;
    cursor: pointer;
}

.background {
    position: absolute;
    transform: translate(-50%, -50%);
    left: 50%;
    top: 50%;
}

@media only screen and (max-width: 768px) {

    /* For mobile phones: */
    .background {
        width: 90%;
    }
}


/* register */

.background .shape {
    height: 20ch;
    width: 20ch;
    position: absolute;
    border-radius: 50%;
}

/* .shape:first-child {
    background: linear-gradient(rgb(255, 217, 0),rgb(190, 108, 0));
    left: -80px;
    top: -80px;
}

.shape:last-child {
    background: linear-gradient(to right,#ff522f74,#f0961981);
    right: 80px;
    bottom: -100px;
} */

#div-sign-form,
#div-reg-form {
    width: min(var(--small-width), 95%);
    background-color: var(--theme-background);
    position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 2px solid var(--theme-highlight-hard);
    box-shadow: 0 0 10px var(--theme-highlight-soft);
    padding: 0px 35px;
    padding-bottom: 1em;
}

@media only screen and (max-width: var(--small-width)) {

    /* For mobile phones: */
    #div-sign-form,
    #div-reg-form {
        width: 100%;
    }
}

#div-reg-form {
    display: none;
}

.appear {
    display: inline;
    opacity: 1;
    animation-name: appear;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}

.disappear {
    display: inline;
    opacity: 0;
    animation-name: disappear;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}

@keyframes disappear {
    0% {
        opacity: 1;
    }

    99% {
        opacity: 0;
    }

    100% {
        opacity: 0;
        display: none;
    }
}

@keyframes appear {
    0% {
        opacity: 0;
    }

    99% {
        opacity: 1;
    }

    100% {
        opacity: 1;
        display: block;
    }
}

.login_form {
    font-family: 'Poppins', sans-serif;
    color: black;
    letter-spacing: 0.5px;
    outline: none;
    border: none;
}

.login_form h3 {
    font-size: 32px;
    font-weight: 500;
    line-height: 42px;
    text-align: center;
}

.login_form input[type="text"],
.login_form input[type="password"] {
    display: block;
    height: 50px;
    width: 100%;
    border-radius: 10px;
    padding: 0 10px;
    margin: 0.25em 0;
    font-size: 14px;
    font-weight: 300;
    border: 1px solid var(--theme-highlight-hard);

}


.ext {
    width: 100%;
    margin-top: 1ch;
    padding: 1ch 5ch;
    display: flex;
    justify-content: space-between;
    text-align: center;
}

.btnlgin {
    width: 100%;
    margin: .25em 0;
    padding: 1em 5em;
    border-radius: 1em;
    border: 1px solid var(--theme-highlight-hard);
    color: var(--theme-foreground-hard);
    font-weight: bold;
    transition: 0.3s;
    transition-timing-function: ease-out;
    background-color: var(--theme-background);
    cursor: pointer;
}

.btnlgin:hover {
    background-color: var(--theme-foreground-light);
    color: var(--theme-background);
    border-radius: .5ch;
    border-color: var(--theme-highlight);
}


/* Style the animation */

#regformshow-button,
#signinshowform-button {
    color: var(--theme-foreground-hard);
    font-weight: bold;
    transition: 0.3s;
    width: 10em;
    margin-top: .7em;
    padding: .5em;
    background-color: var(--theme-background-light);
    border: 1px solid var(--theme-foreground-hard);
    border-radius: .3em;
}

#regformshow-button:hover,
#signinshowform-button:hover {
    border-color: #422700;
    background-color: #848484ce;
    border-radius: .5ch;
    cursor: pointer;
}

.switch {
    margin-top: 1ch;
    color: var(--theme-foreground-hard);
    text-align: center;
}

.logo {
    cursor: pointer;
}

#exams-table {
    background-color: var(--theme-background);
}

footer {
    background: var(--theme-foreground);
    color: var(--theme-background);
    padding-bottom: 1em;
    padding-top: 1em;
    text-align: center;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
}

.footer-section {
    margin: 10px;
    text-align: left;
}

.footer-section a {
    color: var(--theme-background);
    text-decoration: none;
    margin: 0 10px;
    transition: 0.3s;
}

.footer-section a:hover {
    color: var(--theme-highlight);
}