:root {
    --primary-color: #ffa500;
    --main-heading-color: linear-gradient(to right, #626361, #888987);
    --subtext-color: #9a562a;
}

/* Global Rules */
* {
    box-sizing: border-box;
    font-family: var(--font-family-primary);
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

.container {
    padding: 0 15px;
    margin: 0 auto;
}

/* Container Screen Sizes */

/* Small */
@media (min-width: 768px) {
    .container {
        width: 750px;
    }
}

/* Medium */
@media (min-width: 992px) {
    .container {
        width: 970px;
    }
}

/* Large */
@media (min-width: 1200px) {
    .container {
        width: 1170px;
    }
}

/******************** Add this inline style for the loading screen *********************/

.custom-loading-screen {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 1);
    flex-direction: column;
}

.custom-loading-logo {
    width: 120px;
    height: auto;
    margin-bottom: 20px;
}

.custom-loading-dots {
    display: flex;
    justify-content: center;
    align-items: center;
}

.custom-loading-dot {
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background-color: #d3d3d3;
    border-radius: 50%;
    animation: custom-blink 1.4s infinite both ease-in-out;
}

.custom-loading-dot:nth-child(1) {
    animation-delay: 0s;
}

.custom-loading-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.custom-loading-dot:nth-child(3) {
    animation-delay: 0.4s;
}

.custom-loading-dot:nth-child(4) {
    animation-delay: 0.6s;
}

@keyframes custom-blink {
    0%,
    80%,
    100% {
        opacity: 0.3;
        background-color: #d3d3d3;
    }

    40% {
        opacity: 1;
        background-color: #ffa500;
    }
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .custom-loading-logo {
        width: 140px;
    }

    .custom-loading-dot {
        width: 12px;
        height: 12px;
    }
}

@media (min-width: 1024px) {
    .custom-loading-logo {
        width: 160px;
    }

    .custom-loading-dot {
        width: 14px;
        height: 14px;
    }
}

/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-thumb {
    background-color: #ffa500;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #e69500;
}
