@import "_variables.scss";


.error-div {
    color: $error-color;
    @include flexbox(column, center, center);
    width: 100%;
    height: 100vh;
    .error-bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
        object-fit: contain;
        opacity: 0.2;
    }

    .container {
        text-align: center;
        border-radius: 4px;
        padding: 2rem 3rem;
        
        h1 {
            font-size: 5rem;
            font-weight: 700;
            margin:1rem;
            color: $error-color;
        }

        p {
            font-size: 1.5rem;
            font-weight: 500;
            margin: 1rem;
        }

        .error-code {
            font-size: 1.5rem;
            font-weight: 600;
        }

        .error-message {
            font-size: 1rem;
            font-weight: 500;
            margin: 1rem;
        }
        .error-button {
            margin: 1rem;
            padding: 0.5rem 1rem;
            border-radius: 4px;
            background-color: $primary-color;
            color: $button-color;
            font-size: 0.8rem;
            font-weight: 500;
            border: none;
            cursor: pointer;
            transition: all 0.3s ease-in-out;

            &:hover {
                background-color: darken($primary-color, 10%);
            }
            &:active {
                background-color: darken($primary-color, 20%);
            }
            &:focus {
                outline: none;
            }
        }
    }
}
