.error-container {
    max-width: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 50px auto;
    min-height: 70vh;
}

.error-code {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto 70px;
}

.error {
    font-size: 10.75rem;
    font-weight: bold;
    background: linear-gradient(91.2deg, #23fff2 8.77%, #00d1ff 54.81%, #ba8fff 92.52%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    height: auto;
}

.error-description {
    font-size: 2.5rem;
    font-weight: bold;
    background: linear-gradient(91.2deg, #23fff2 8.77%, #00d1ff 54.81%, #ba8fff 92.52%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    text-align: center;
}

.error-link {
    text-decoration: none;
    font-size: 1.125rem;
    color: whitesmoke;
    border: 2px solid var(--button-color);
    margin-bottom: 15px;
    padding-top: 10px;
    padding-bottom: 10px;
    box-sizing: border-box;
    width: 40%;
    min-width: 210px;
    text-align: center;
    transition: 0.3s ease-in-out;
    border-radius: 12px;
}

.error-link:hover {
    background-color: var(--button-color);
    color: black;
}

.error-link:active {
    background-color: #8a61ff;
    border-color: #8a61ff;
    color: white;
}

.reason {
    font-size: 1.25rem;
    color: white;
    font-weight: bold;
}

.error-container ul {
    color: var(--text-color);
    max-width: 700px;
    font-size: 1.25rem;
    margin-bottom: 30px;
}

.error-container ul li {
    margin-bottom: 10px;
}

.error-container ul a {
    color: var(--button-color);
    text-decoration: none;
}


@media screen and (max-width: 1023px) {
    .error-container {
        max-width: 95%;
    }
    .error-code {
        max-width: 100%;
    }
    .error {
        font-size: calc(7.5rem + 1vw);
    }
    .error-description {
        font-size: calc(1.625rem + 1vw);
    }
}

@media screen and (max-width: 500px) {
    .reason, .error-container ul {
        font-size: 1.125rem;
    }
    .error-container ul {
        padding-left: 20px;
    }
}