/*=========================================
404 PAGE
=========================================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{

    font-family:'Poppins',sans-serif;

    background:#faf6ef;

    overflow-x:hidden;

}

.error404Section{

    position:relative;

    min-height:100vh;

    padding:70px 15px 0;

    background:
    radial-gradient(circle at top,#fff,#faf6ef);

    overflow:hidden;

}

/*==============================
Decorative Shapes
==============================*/

.shapeOne{

    position:absolute;

    width:260px;
    height:260px;

    border:2px solid rgba(139,26,26,.08);

    border-radius:50%;

    left:-120px;
    top:-80px;

}

.shapeTwo{

    position:absolute;

    width:220px;
    height:220px;

    border:2px solid rgba(212,175,55,.12);

    border-radius:50%;

    right:-90px;
    top:120px;

}

.shapeThree{

    position:absolute;

    width:120px;
    height:120px;

    background:rgba(139,26,26,.05);

    border-radius:50%;

    left:120px;
    bottom:260px;

}

.shapeFour{

    position:absolute;

    width:70px;
    height:70px;

    border-radius:50%;

    background:rgba(212,175,55,.12);

    right:180px;
    bottom:250px;

}

.circleOne,
.circleTwo,
.circleThree{

    position:absolute;

    border-radius:50%;

}

.circleOne{

    width:15px;
    height:15px;

    background:#8B1A1A;

    left:10%;
    top:40%;

}

.circleTwo{

    width:12px;
    height:12px;

    background:#D4AF37;

    right:12%;
    top:25%;

}

.circleThree{

    width:18px;
    height:18px;

    background:#D4AF37;

    right:8%;
    bottom:30%;

}

/*==============================
CARD
==============================*/

.error404Card{

    position:relative;

    background:#fff;

    border-radius:35px;

    padding:60px;

    text-align:center;

    box-shadow:

    0 30px 70px rgba(0,0,0,.08);

    z-index:2;

}

/*==============================
Logo
==============================*/

.logoBox{

    margin-bottom:25px;

}

.logoBox img{

    width:95px;

}

/*==============================
404
==============================*/

.errorCode{

    font-size:170px;

    line-height:1;

    font-weight:800;

    color:#8B1A1A;

    margin-bottom:15px;

    text-shadow:

    0 10px 20px rgba(139,26,26,.15);

}

/*==============================
Divider
==============================*/

.titleDivider{

    display:flex;

    align-items:center;

    justify-content:center;

    gap:15px;

    margin-bottom:25px;

}

.titleDivider span{

    width:90px;

    height:2px;

    background:#d7b46a;

}

.titleDivider i{

    color:#d7b46a;

    font-size:14px;

}

/*==============================
Title
==============================*/

.error404Card h2{

    font-size:48px;

    margin-bottom:20px;

    color:#222;

    font-weight:700;

}

.error404Card p{

    max-width:600px;

    margin:auto;

    color:#666;

    font-size:19px;

    line-height:1.9;

}

/*==============================
Buttons
==============================*/

.buttonGroup{

    margin-top:45px;

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;

}

.homeBtn,
.backBtn{

    text-decoration:none;

    padding:17px 36px;

    border-radius:60px;

    font-weight:600;

    transition:.35s;

    display:inline-flex;

    align-items:center;

    gap:12px;

}

.homeBtn{

    background:#8B1A1A;

    color:#fff;

}

.homeBtn:hover{

    background:#6d1111;

    color:#fff;

    transform:translateY(-4px);

}

.backBtn{

    border:2px solid #8B1A1A;

    color:#8B1A1A;

}

.backBtn:hover{

    background:#8B1A1A;

    color:#fff;

    transform:translateY(-4px);

}
/*=========================================
BOTTOM WAVE
=========================================*/

.bottomWave{

    position:relative;

    margin-top:80px;

    background:linear-gradient(135deg,#7d1128,#4d0917);

    height:240px;

    border-top-left-radius:55% 100px;
    border-top-right-radius:55% 100px;

    overflow:hidden;

}

.bottomWave::before{

    content:"";

    position:absolute;

    width:600px;
    height:600px;

    border-radius:50%;

    background:rgba(255,255,255,.04);

    left:-220px;
    bottom:-450px;

}

.bottomWave::after{

    content:"";

    position:absolute;

    width:500px;
    height:500px;

    border-radius:50%;

    background:rgba(255,255,255,.03);

    right:-180px;
    top:-350px;

}

.waveContent{

    height:100%;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    position:relative;

    z-index:2;

}

.waveContent i{

    color:#d7b46a;

    font-size:42px;

    margin-bottom:18px;

}

.waveContent h4{

    color:#fff;

    font-size:30px;

    font-weight:600;

    letter-spacing:1px;

    margin:0;

}

/*=========================================
FLOATING ANIMATION
=========================================*/

.shapeOne,
.shapeTwo,
.shapeThree,
.shapeFour{

    animation:floatShape 8s ease-in-out infinite;

}

.circleOne{

    animation:blinkDot 4s infinite;

}

.circleTwo{

    animation:blinkDot 6s infinite;

}

.circleThree{

    animation:blinkDot 5s infinite;

}

.error404Card{

    animation:cardUp .8s ease;

}

@keyframes floatShape{

    0%{

        transform:translateY(0px);

    }

    50%{

        transform:translateY(-18px);

    }

    100%{

        transform:translateY(0);

    }

}

@keyframes blinkDot{

    0%{

        transform:scale(1);

        opacity:1;

    }

    50%{

        transform:scale(1.5);

        opacity:.4;

    }

    100%{

        transform:scale(1);

        opacity:1;

    }

}

@keyframes cardUp{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/*=========================================
RESPONSIVE
=========================================*/

@media(max-width:991px){

.error404Card{

    padding:45px;

}

.errorCode{

    font-size:120px;

}

.error404Card h2{

    font-size:36px;

}

.error404Card p{

    font-size:17px;

}

.waveContent h4{

    font-size:24px;

}

.bottomWave{

    height:200px;

}

}

@media(max-width:767px){

.error404Section{

    padding-top:40px;

}

.error404Card{

    padding:30px 22px;

    border-radius:25px;

}

.logoBox img{

    width:75px;

}

.errorCode{

    font-size:82px;

}

.titleDivider span{

    width:45px;

}

.error404Card h2{

    font-size:28px;

}

.error404Card p{

    font-size:15px;

    line-height:1.8;

}

.buttonGroup{

    flex-direction:column;

}

.homeBtn,
.backBtn{

    width:100%;

    justify-content:center;

}

.bottomWave{

    height:170px;

    border-top-left-radius:40% 60px;
    border-top-right-radius:40% 60px;

}

.waveContent i{

    font-size:30px;

}

.waveContent h4{

    font-size:18px;

    text-align:center;

}

.shapeOne,
.shapeTwo{

    display:none;

}

}

@media(max-width:480px){

.errorCode{

    font-size:68px;

}

.error404Card h2{

    font-size:24px;

}

.error404Card p{

    font-size:14px;

}

.logoBox img{

    width:65px;

}

.waveContent h4{

    font-size:16px;

}

}