﻿.one-five-as-background,
.two-four-as-background {
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    height: 30vh;
}

.one-five-as-background {
    background-image: url(../Images/500Five.png);
    background-size: 42%;
}

.two-four-as-background {
    background-image: url(../Images/404Four.png);
    background-size: 40%;
}

.zero-center-404,
.zero-center-500,
.zero-right-500 {
    position: absolute;
    display: block;
    margin: auto auto;
    animation: spin 60s linear infinite;
    transition: ease all 0.3s;
}

.zero-center-404 {
    inset: 0 0 0 0;
    width: 35%;
}

.zero-center-500 {
    inset: 20px 0 0 0;
    width: 15%;
}

.zero-right-500 {
    inset: 42px auto 0 57%;
    width: 13%;
}

.message-for-error {
    font-size: 1.1rem;
    padding-top: 10px;
    color: #424242;
    width: fit-content;
    margin: auto;
}

.message-for-error h3 {
    text-align: center;
    font-size: 2rem;
    position: relative;
    padding: 15px 0;
    font-weight: bold;
    text-transform: capitalize;
}

.message-for-error h3:after {
    content: "";
    position: absolute;
    width: 70%;
    border-top: 1px solid;
    border-bottom: 1px solid;
    height: 5px;
    inset: 0 -10% -90%;
    margin: auto auto;
    display: block;
    border: 1px solid;
    border-style: solid;
    border-image-source: linear-gradient(to left, white, #fc6d00 50%, #fc6d00 50%, white 100%);
    border-image-slice: 1;
    border-right: 0;
    border-left: 0;
}

@keyframes spin {
    from {
        transform: rotate(0deg)
    }

    to {
        transform: rotate(360deg)
    }
}
