.not-found-container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.not-found-main {
    padding: clamp(2.5rem, -7.5rem + 15.625vw, 5rem);
}

.not-found-main-content {
    margin: auto;
    display: flex;
    justify-content: center;
    gap: 80px;
}

.not-found-main-content-title {
    color: #1E1E1E;
    font-size: clamp(2.5rem, 1.4641rem + 4.4199vw, 5rem);
    font-weight: 400;
    line-height: clamp(2.625rem, 1.4337rem + 5.0829vw, 5.5rem);

    white-space: nowrap;

    max-width: 680px;
    padding: 40px 0;
}

.not-found-main-content-info {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 600px;
    padding: clamp(3rem, -5rem + 10vw, 4rem);
    background-color: #E6E7E8;
    border-radius: 22px;

    font-size: clamp(1.25rem, -0.75rem + 2.5vw, 1.5rem);
    font-weight: 400;
    line-height: 28px; 
}

.not-found-main-content-info .cropped-corner {
    width: clamp(2.5rem, 0.625rem + 5vw, 4.625rem);
    height: clamp(2.5rem, 0.625rem + 5vw, 4.625rem);
}

.not-found-main-content-info-link {
    display: flex;
    align-items: center;
    gap: 8px;
}

.not-found-main-content-info-link a {
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;

    white-space: nowrap;
    cursor: pointer;
    transition: all 300ms ease-out;
    text-decoration: underline var(--color-grey-3);
    text-underline-offset: 4px;
}

.not-found-main-content-info-link a:hover {
    color: var(--color-orange);
    text-decoration: underline var(--color-orange);
}

.not-found-footer {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 144px;
    width: 100%;
    padding: 0 clamp(5rem, -32.5rem + 41.6667vw, 17.5rem) 0 clamp(5rem, -32.5rem + 41.6667vw, 17.5rem);
}

@media (max-width: 1440px) {
    .not-found-footer {
        gap: clamp(7.78125rem, -1.97rem + 12.19vw, 9rem);
        padding: 0 clamp(5rem, 54.50rem + -55.00vw, 10.5rem) 0 clamp(5rem, 54.50rem + -55.00vw, 10.5rem);
    }
}

@media (max-width: 1280px) {
    .not-found-footer {
        padding: 0 clamp(2.5rem, -29.50rem + 50.00vw, 10.5rem) 0 clamp(2.5rem, -29.50rem + 50.00vw, 10.5rem);
    }
}

@media (max-width: 1024px) {
    .not-found-main {
        padding: 40px clamp(8.5rem, -21.5rem + 50vw, 10.5rem);
    }

    .not-found-main-content {
        flex-direction: column;
        align-items: start;
        gap: clamp(1.5rem, -1rem + 10.6667vw, 3rem);
    }

    .not-found-main-content-title {
        padding: 0;
    }

    .not-found-main-content-info {
        max-width: 100%;
        padding: clamp(3rem, -12rem + 25vw, 4rem);
    }

    .not-found-footer {
        gap: clamp(4rem, -52.72rem + 94.53vw, 7.78125rem);
        padding: 0 clamp(2.5rem, 98.50rem + -150.00vw, 8.5rem) 0 clamp(2.5rem, 98.50rem + -150.00vw, 8.5rem);
    }
}

@media (max-width: 960px) {
    .not-found-main {
        padding: 40px clamp(2.5rem, -21.5rem + 50vw, 8.5rem);
    }

    .not-found-footer {
        padding: 0 clamp(2.5rem, -21.50rem + 50.00vw, 8.5rem) 0 clamp(2.5rem, -21.50rem + 50.00vw, 8.5rem);
    }
}

@media (max-width: 768px) {
    .not-found-main-content-info {
        padding: clamp(2.5rem, 0.7143rem + 4.7619vw, 3rem);
    }
}

@media (max-width: 600px) {
    .not-found-main {
        padding: clamp(1.5rem, -0.1667rem + 7.1111vw, 2.5rem);
    }
    .not-found-main-content-info {
        padding: clamp(2rem, 1.1667rem + 3.5556vw, 2.5rem);
        gap: clamp(2rem, 1.1667rem + 3.5556vw, 2.5rem);
    }
}