* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 300;
    src: url('/fonts/Poppins-Light.woff2') format('woff2');
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    src: url('/fonts/Poppins-Regular.woff2') format('woff2');
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    src: url('/fonts/Poppins-SemiBold.woff2') format('woff2');
}

body.error {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #121212;
    color: #e0e0e0;
    height: 100vh;
}

.error-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    max-width: 90%;
    width: 400px;
    padding: 20px;
    background-color: #1e1e1e;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
}

.error-image {
    width: 100%;
    max-width: 100px;
}

h1 {
    font-size: 56px;
    margin: 0 0 15px;
    color: #ff2b2b;
}

p {
    font-size: 16px;
    margin-bottom: 25px;
    line-height: 1.5;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #37ff38;
    color: #000;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background-color 0.2s ease-in-out;
}

.btn:hover {
    background-color: #3ad53b;
}

@media (max-width: 400px) {
    h1 {
        font-size: 42px;
    }

    p {
        font-size: 14px;
    }

    .btn {
        padding: 10px 18px;
        font-size: 14px;
    }
}
