
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}


/* ============ desktop view ============ */
@media all and (min-width: 992px) {
    .dropdown-menu li {
        position: relative;
    }

    .nav-item .submenu {
        display: none;
        position: absolute;
        left: 100%;
        top: -7px;
    }

    .nav-item .submenu-left {
        right: 100%;
        left: auto;
    }

    .dropdown-menu > li:hover {
        background-color: #f1f1f1
    }

        .dropdown-menu > li:hover > .submenu {
            display: block;
        }
}
/* ============ desktop view .end// ============ */

/* ============ small devices ============ */
@media (max-width: 991px) {
    .dropdown-menu .dropdown-menu {
        margin-left: 0.7rem;
        margin-right: 0.7rem;
        margin-bottom: .5rem;
    }
}
/* ============ small devices .end// ============ */


.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
    /*font-size: 14px;*/
}

/* Add these styles to your existing style section */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Use viewport height as minimum */
}

main {
    flex: 1 0 auto; /* This makes the main content grow */
}

nav {
    --bs-bg-opacity: 1 !important;
    background: linear-gradient(to right, #0575E6, #00F260) !important;
}

footer {
    flex-shrink: 0; /* Prevents footer from shrinking */
    --bs-bg-opacity: 1 !important;
    background: linear-gradient(to right, #0575E6, #00F260) !important;
}

.content {
    flex: 1 0 auto; /* This makes the content expand */
}

.loader {
    margin: 0 auto;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: none;
    position: relative;
    border: 5px solid;
    border-color: #287bb5 #287bb5 transparent;
    box-sizing: border-box;
    animation: rotation 2s linear infinite;
}

    .loader::after {
        content: '';
        box-sizing: border-box;
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        margin: auto;
        border: 5px solid;
        border-color: transparent #74D2AD #74D2AD;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        animation: rotationBack 1s linear infinite;
        transform-origin: center center;
    }

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes rotationBack {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(-360deg);
    }
}
