﻿.error--page {
    margin: 2rem 7rem 2rem 0;
    display: flex;
    gap: 7rem;
    align-items: center;
    flex-direction: row-reverse;
}

.error--illustration {
    flex-basis: 40%;
}

.error--img {
    width: 100%;
}

.error--text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-basis: 50%;
}

.error--title {
    font-size: 3.5rem;
    color: var(--tdc-danger);
    margin-bottom: 1.5rem;
}

.error--subtitle {
    font-size: 1.2rem;
    color: var(--tdc-content-font-color);
    margin-bottom: 1rem;
}
 
.error--section {
    margin-bottom: 2rem;
}

.error--button {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}


@media screen and (max-width: 1400px) {
    .error--page {
         gap: 3rem;
    }

    .error--illustration {
        flex-basis: 70%;
    }
}

@media screen and (max-width: 1200px) {
    .error--page {
         margin: 2rem 3rem 2rem 0;
         gap: 3rem;
    }

    .error--illustration {
        flex-basis: 70%;
    }
}

@media screen and (max-width: 1200px) {
    .error--page {
         margin: 2rem 3rem 2rem 0;
         gap: 3rem;
    }

    .error--illustration {
        flex-basis: 80%;
    }
}

@media screen and (max-width: 1000px) {
    .error--page {
         gap: 0;
    }
}

@media screen and (max-width: 768px) {
    .error--page {
         flex-direction: column-reverse;
         text-align: center;
         margin: 2rem 3rem;
         gap: 3rem;
    }

    .error--illustration {
        margin: 0 5rem;
    }
}

@media screen and (max-width: 600px) {
    .error--illustration {
        margin: 0 2rem;
    }
}

@media screen and (max-width: 500px) {
    .error--illustration {
        margin: 0;
    }
}