body {
    margin: 0;
    background-color: #D1EAFF;
    overflow: hidden;
    font-family: "Inter", sans-serif;
}

.line-container {
    position: absolute;
    width: 100%;
    height: 100px;
    overflow: hidden;
    display: flex;
    align-items: center;
    z-index: 1;
}

.top-line {
    top: 50px;
}

.bottom-line {
    bottom: 50px;
}

.line {
    position: absolute;
    display: flex;
    gap: 20px;
}

.line img {
    width: 100px;
    opacity: 0.3;
}

.error-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background: #ffffff;
    padding: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.11);
    border-radius: 30px;
    border: 2px solid #3679b9;
    z-index: 2;
}

.error-code {
    font-size: 96px;
    font-weight: bold;
    color: #222;
}

.error-message {
    font-size: 24px;
    color: #333;
    margin-bottom: 30px;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.buttons a {
    padding: 12px 24px;
    background-color: #007ACC;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.2s;
}

.buttons a:hover {
    background-color: #005fa3;
}

.ostap {
    display: flex;
    justify-content: center;
    width: 100%;
    position: absolute;
    bottom: 0;
}

.ostap img {
    height: auto;
    z-index: 1;
    width: 15%;
}

img {
    user-select: none;
    -webkit-user-drag: none;
}

::selection {
    background: #EAE49A;
    text-shadow: 0 0 5px #fff, 0 0 10px #EAE49A;
}
@media (max-width: 576px) {
    .error-code {
        font-size: 36px;
        margin: 30px 10px;
    }

    h1::selection {
        background: #ff69b4;
        color: #fff;
    }

    .error-container {
        width: 80%;
    }
    .ostap img {
        width: auto;
        height: 13rem;
    }
}

@media (min-width: 577px) and (max-width: 1024px) {
    .error-code {
        font-size: 48px;
        font-weight: bold;
        margin-bottom: 20px;
    }

    h1::selection {
        background: #ff4d97;
        color: white;
    }

    .ostap img {
        height: 13rem;
        width: auto;
    }

}

@media (min-width: 1025px) and (max-width: 1440px) {
    .error-code {
        font-size: 80px;
        font-weight: bold;
    }

    .ostap img {
        width: 18%;
    }
}