/* Desire Gym Custom 404 Page CSS */

.custom-404-wrapper {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 50px;
    font-family: inherit;
}

.custom-404-left {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.custom-404-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
}

.custom-404-number {
    font-size: 140px;
    font-weight: 900;
    line-height: 1;
    margin: 0;
    color: #111;
    letter-spacing: -3px;
}

.custom-404-icon {
    font-size: 110px;
    color: #111;
}

.custom-404-message {
    text-align: center;
    font-size: 18px;
    color: #777;
    margin: 0;
    line-height: 1.6;
}

.custom-404-right {
    flex: 1;
    min-width: 300px;
}

.custom-404-links-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #111;
}

.custom-404-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-404-list li {
    border-bottom: 1px solid #eaeaea;
}

.custom-404-list li:first-child {
    border-top: 1px solid #eaeaea;
}

.custom-404-list a {
    display: flex;
    align-items: center;
    padding: 10px 0;
    text-decoration: none;
    color: #777;
    font-size: 14px;
    transition: color 0.3s ease;
}

.custom-404-arrow {
    font-size: 14px;
    margin-right: 15px;
    color: #aaa;
}

@keyframes pointArrow {
    0% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(8px);
    }

    100% {
        transform: translateX(0);
    }
}

.custom-404-list a:hover {
    color: #000;
}

.custom-404-list a:hover .custom-404-arrow {
    animation: pointArrow 0.6s infinite ease-in-out;
    color: #000;
}

@media (max-width: 768px) {
    .custom-404-wrapper {
        flex-direction: column;
        gap: 50px;
    }

    .custom-404-left {
        width: 100%;
    }

    .custom-404-header {
        justify-content: center;
    }

    .custom-404-number {
        font-size: 100px;
    }

    .custom-404-icon {
        font-size: 80px;
    }

    .custom-404-right {
        width: 100%;
        min-width: auto;
    }
}