/* Import Components Error Page */

@import url(../components/header-general.css);
@import url(../components/error-categories.css);

/* Error Page Main Style */

.error-page {
    background: var(--bg-color-secondary);
    padding: 15px;
}

.error-page .inner-light-center::after {
    width: 60%;
    height: 50%;
    filter: blur(110px);
}

.error-page .inner-light-center::before {
    width: 50%;
    height: 58%;
}

.sec-error-content {
    width: 100%;
    height: auto;
    margin: 150px auto;
    position: relative;
    z-index: 5;
    margin-top: -377px;
}

.sec-error-content .wrap-error-content {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 10;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    text-align: center;
}

.wrap-error-content .error-image {
    object-fit: cover;
    object-position: center;
    margin-inline: auto;
    margin-bottom: 50px;
    animation: moveError 15s ease infinite alternate;
    transform: translateX(0);
}

@keyframes moveError {
    0% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-50px);
    }
    50% {
        transform: translateX(50px);
    }
    100% {
        transform: translateX(0);
    }
}

.wrap-error-content .error-title {
    font-weight: 600;
    font-size: 48px;
    text-align: center;
    text-transform: capitalize;
    text-wrap: nowrap;
    color: #fff;
}

.wrap-error-content .error-masage {
    font-weight: 500;
    font-size: 25px;
    text-align: center;
    text-transform: capitalize;
    color: #fff;
    text-wrap: nowrap;
}

.wrap-error-content .btn-back-page {
    width: 100%;
    max-width: 240px;
    height: auto;
    overflow: hidden;
    display: flex;
    align-items: end;
    justify-content: center;
    gap: 15px;
    text-wrap: nowrap;
    text-transform: capitalize;
    color: #fff;
    background: transparent;
    border: 0;
    outline: 0;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 0;
    transition: .5s ease;
    position: relative;
}

.btn-back-page .btn-arrow {
    transition: .6s ease;
    transform: translateX(0);
    margin-bottom: -10px;
}

.btn-back-page:hover .btn-arrow {
    transition-delay: .5s;
    transform: translateX(140px);
    filter: brightness(0) saturate(100%) invert(71%) sepia(99%) saturate(2157%) hue-rotate(360deg) brightness(104%) contrast(101%);
}

.btn-back-page.link-leda {
	overflow: hidden;
	line-height: 1.8;
}

.btn-back-page.link-leda::before {
	content: '';
	position: absolute;
	height: 2px;
	top: calc(100% - 5px);
	left: 0;
	width: 100%;
	background: currentColor;
	transform-origin: 100% 50%;
	transform: scale3d(0, 1, 1);
	transition: transform 0.7s cubic-bezier(0.5, 0.5, 0.3, 1);
}

.btn-back-page.link-leda:hover::before {
	transform-origin: 0% 50%;
	transform: scale3d(1, 1, 1);
    color: #FFB900;
}

.btn-back-page.link-leda::after {
	content: attr(data-text);
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	transform-origin: 100% 50%;
	transform: translate3d(150%, 0, 0);
	transition: transform 0.8s cubic-bezier(0.5, 0.5, 0.3, 1) , left .5s ease;
    transition-delay: 0s , .7s;
	pointer-events: none;
    color: #FFB900;
}

.btn-back-page.link-leda:hover::after {
	transform: translate3d(0, 0, 0);
    left: 45px;
}

.btn-back-page.link-leda span {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	transition: transform 0.8s cubic-bezier(0.5, 0.5, 0.3, 1);
}

.btn-back-page.link-leda:hover span {
	transform: translate3d(-150%, 0, 0);
}
  
/* All Media Queris Error Page */

@media screen and (max-width: 998px) {
    .sec-error-content {
        margin-bottom: 100px;
        margin-top: -243px;
    }
    @keyframes moveError {
        0% {
            transform: translateX(0);
        }
        25% {
            transform: translateX(-20px);
        }
        50% {
            transform: translateX(20px);
        }
        100% {
            transform: translateX(0);
        }
    }
    .wrap-error-content .error-image {
        width: 600px;
    }
}

@media screen and (max-width: 768px) {
    .sec-error-content {
        display: none;
    }
    .error-page .wrap-error-content {
        gap: 0;
        margin-bottom: 140px;
    }
    .hero-general .wrap-error-content .error-image {
        width: 80%;
        bottom: 0;
        position: absolute;
    }
    .wrap-error-content .error-image {
        animation: unset;
    }
    .error-page .hero-general .text-heading-site {
        margin-bottom: 0 !important;
    }
    .error-page .hero-general .container-fluid {
        margin-top: auto;
    }
    .hero-general .text-heading-site .error-image {
        margin-top: 30px;
    }
}

@media screen and (max-width: 590px) {
    .sec-error-content .wrap-error-content {
        width: 75%;
        bottom: -40px;
    }
    .error-page .wrap-error-content {
        gap: 0;
        margin-bottom: 60px;
    }
}

@media screen and (max-width: 560px) {
    .sec-error-content .wrap-error-content {
        width: 75%;
        bottom: -60px;
    }
    .error-page .hero-general .text-heading-site {
        gap: 20px;
    }
}