main
{
    display: flex;
    align-items: center;
}

.error-container
{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    padding: 20px !important;
    border-radius: 12px;
    background-color: rgba(0, 0, 0, 0.3);
    width: 80% !important;
    align-items: center;
    gap: 5vw;
}

h1.error-code
{
    font-size: 16vw;
    margin: 0;
    margin-left: 40px;
    height: fit-content;
}

.color-hash
{
    color: rgb(0, 90, 0);
}

.error-content
{
    display: flex;
    flex-direction: column;
}

.error-header
{
    font-size: 1.3rem;
    font-weight: bold;
    text-wrap: pretty;
    margin-bottom: 0;
}

.graphic-redirect
{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5vw;
}

.error-icon
{
    width: 25vh;
    filter: invert(100%);
    align-self: center;
    margin-top: 20px;
    margin-bottom: 10px;
}

.home-button
{
    text-decoration: none;
    color: rgb(0, 90, 0);
    padding: 10px;
    border: 1px rgb(0, 90, 0) solid;
    border-radius: 12px;
    width: fit-content;
    height: fit-content;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
    gap: 10px;

    position: relative;
    overflow: hidden;
    z-index: 1;
}

.home-button::before
{
    content: "";
    position: absolute;
    top: 0;
    left: 0;

    width: 0%;
    height: 100%;
    background: rgb(0, 90, 0);

    transition: width 0.4s cubic-bezier(.65,.05,.36,1);
    z-index: -1;
}

.button-icon
{
    width: 2vw;
    height: 2vw;
    min-width: 25px;
    min-height: 25px;
    background-color: rgb(0, 90, 0);

    -webkit-mask: url("https://static.thenounproject.com/png/house-icon-859311-512.png") no-repeat center;
    mask: url("https://static.thenounproject.com/png/house-icon-859311-512.png") no-repeat center;

    -webkit-mask-size: contain;
    mask-size: contain;
}

.home-button,
.home-button .button-icon
{
    transition: color 0.35s ease, background-color 0.35s ease;
}

.home-button:hover
{
    color: white;
}

.home-button:hover .button-icon
{
    background-color: white;
}

.home-button:hover::before
{
    width: 100%;
}

.home-button:hover .button-icon
{
    background-color: white;
}

@media (max-width: 967px)
{
    .error-container
    {
        flex-direction: column;
    }

    .error-code, .error-content, .error-icon
    {
        align-self: center;
        margin: 0;
    }
}