/* Define the colors */
:root {
    --blue-1: #1b8bff; /* Vivid Blue */
    --blue-2: #5cadff; /* Light Sky Blue */
    --blue-3: #9cd0ff; /* Soft Baby Blue */
    --blue-4: #d7ecff; /* Very Pale Blue */
    --green-1: #2e9750; /* Deep Green */
    --green-2: #e1f2e6; /* Soft Green */
    --red-1: #e03b2d; /* Warm Red */
    --red-2: #fcddd9; /* Pastel Red */
    --yellow-1: #f38a20; /* Deep Orange */
    --yellow-2: #f5b800; /* Deep Amber */
    --yellow-3: #fff5d4; /* Soft Warm Yellow */
    --gray-1: #e9e9ed; /* Lavender Gray */
    --gray-2: #f6f7f7; /* Very Light Gray */
    --gray-3: #f7fafc; /* Soft White */
}

/* Define the fonts */
@font-face {
    font-family: "DM Sans";
    src: url("../webfonts/DMSans-VariableFont_opsz,wght.ttf") format("truetype");
    font-weight: 100 900;
    font-style: normal;
}

@font-face {
    font-family: "DM Sans";
    src: url("../webfonts/DMSans-Italic-VariableFont_opsz,wght.ttf") format("truetype");
    font-weight: 100 900;
    font-style: italic;
}

body,
html {
    height: 100%;
    margin: 0;
}

body {
    margin: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "DM Sans", sans-serif;
}

/* Scrollbar styles  */
::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px #f8f4f1;
    border-radius: 0px;
}

::-webkit-scrollbar-thumb {
    background: var(--blue-1);
    border-radius: 50px;
}

::-webkit-scrollbar:horizontal {
    height: 5px;
    background-color: transparent;
}

::-webkit-scrollbar-thumb:horizontal {
    background: var(--blue-1);
    border-radius: 50px;
}

::-webkit-scrollbar-track:horizontal {
    box-shadow: inset 0 0 5px #fff;
    border-radius: 50px;
}

/* Error styles */
.error_container {
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 15px;
}

.error_image {
    width: 240px;
    animation: float 3s ease-in-out infinite;
}

.error_container_p1 {
    font-size: 60px;
    font-weight: 600;
    color: var(--blue-1);
    margin-bottom: 10px;
}

.error_container_p2 {
    font-size: 18px;
    text-align: center;
    line-height: 1.8em;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0);
    }
}