.notfound {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background: #f5f5f5;
    text-align: center;
    padding: 0 1rem;
}

.notfound__container {
    max-width: 400px;
}

.notfound__logo {
    max-width: 180px;
    margin: 0 auto 1.5rem;
    display: block;
    animation: pop 1s ease-in-out both;
}

.notfound__code {
    font-size: 6rem;
    margin: 0;
    color: #f2472e;
    animation: pop 1s ease-in-out both;
}

.notfound__title {
    font-size: 1.75rem;
    margin: .5rem 0;
    color: #333;
    animation: pop 1s ease-in-out both;
}

.notfound__message {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: #666;
    animation: pop 1s ease-in-out both;
}

.notfound__button {
    display: inline-block;
    padding: .75rem 1.5rem;
    background: #f2472e;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: transform .2s, box-shadow .2s;
    animation: pop 1s ease-in-out both;
}

.notfound__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    color: #fff
}

@keyframes pop {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    60% {
        transform: scale(1.1);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 480px) {
    .notfound__code {
        font-size: 4.5rem;
    }

    .notfound__title {
        font-size: 1.5rem;
    }
}