* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;}
html, body {
    height: 100%;
    font-family: Arial, sans-serif;
    overflow-x: hidden;
    overflow-y: visible;
    scroll-behavior: smooth;
}
h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;}
ul, ol {list-style: none;}
a {
    text-decoration: none;
    color: inherit;}
img {
    max-width: 100%;
    height: auto;}
table {
    border-collapse: collapse;
    width: 100%;}
button {
    border: none;
    background: none;
    cursor: pointer;}

@font-face {
    font-family: "Natasha";
    src: url("../assets/fonts/Natasha/Natasha.woff") format("woff2"),
    url("../assets/fonts/Natasha/Natasha.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}

:root {
    --white: #ffffff;
    --black: #000000;

    --gray: #cccccc;
    --orange: #E55137;
    --red_usssr: #b02d23;
    --red_light: #c93227;
}

body {
    justify-content: center; 
    align-items: center; 
    height: 100dvh; 
    margin: 0; 
    overflow: hidden; 
}

.error-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    padding: 20px;
    background-color: #ffffff;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    margin: 0 auto;
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        -webkit-transform: translateY(-20px);
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

.error-title {
    font-family: 'Natasha', Arial, sans-serif;
    font-size: 6em;
    color: rgb(205,19,45);
    margin: 0;
    will-change: transform;
    animation: bounce 1.5s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
    40% {
        -webkit-transform: translateY(-20px);
        transform: translateY(-20px);
    }
    60% {
        -webkit-transform: translateY(-10px);
        transform: translateY(-10px);
    }
}

.error-message {
    font-family: 'Natasha', Arial, sans-serif;
    font-size: 2em;
    color: var(--black);
    margin: 10px 0;
}

.error-description {
    font-size: 1.2em;
    color: var(--black);
    margin: 10px 0;
}

.error-link {
    padding: 10px 20px;
    background-color: var(--black);
    color: var(--white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Natasha', Arial, sans-serif;
    font-size: 1.3em;
    text-decoration: none;
    transition: background-color 0.3s ease;
    margin-top: 20px;
}

.error-link:hover {
    background-color: rgb(205,19,45);
}