.error-404 {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    gap: 5rem;
    padding: 80px 160px;
}

.error-404 img{
    width: 100%;
    height: 777px;
}


.wrapper-404 {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    height: 777px;
}

.error-404-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #1F3B73;
}

.error-404-header h1 {
    font-size: 200px;
    margin: 0;
}

.error-404-header p {
    font-size: 55px;
    margin: 0;
}

.error-404-content {
    color: #1F3B73;
    font-size: 40px;
}

.wrapper-404 a {
    width: 356px;
    font-size: 16px;
    padding: 18px 0;
    text-align: center;
    background: #1F3B73;
    color: #ffffff;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.3s ease-in-out;
}

.wrapper-404 a:hover {
    background: #294c91;
}

/* Tablet */
@media (max-width: 1268px) {
    .error-404 {
        gap: 3rem;
    }

    .error-404 img{
        width: 100%;
        height: 100%;
    }

    .wrapper-404 {
        height: auto;
    }

    .error-404-header h1 {
        font-size: 120px;
    }

    .error-404-header p {
        font-size: 36px;
    }

    .error-404-content {
        font-size: 28px;
        text-align: center;
        padding: 0 1rem;
    }

    .wrapper-404 a {
        width: 250px;
        font-size: 14px;
        padding: 14px 0;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .error-404 {
        flex-direction: column;
        gap: 2rem;
        height: auto;
        padding: 5rem 1.5rem;
    }

    .wrapper-404 {
        height: auto;
    }

    .error-404 img{
        width: 100%;
        height: 100%;
    }

    .error-404-header h1 {
        font-size: 80px;
    }

    .error-404-header p {
        font-size: 24px;
    }

    .error-404-content {
        font-size: 20px;
        padding: 0 1rem;
    }

    .wrapper-404 a {
        width: 100%;
        max-width: 200px;
        font-size: 14px;
        padding: 12px 0;
    }
}
