.page-404{
    max-height: 560px;
    box-sizing: border-box;
    display: flex;
    background-image: url("/storage/images/404.png");
    position: relative;
    background-position-x: center;
    background-size: cover;
    gap: 30px;
}
.page-404-left{
    max-width: 810px;
    width: 100%;
}
.page-404-heading{
    color: var(--pink);
    font-size: calc(60px + 40*(100vw - 360px) / 1560);
    font-weight: 800;
}
.page-404-text{
    color: var(--text800);
}
.page-404-text span{
    color: var(--yellow);
    }
.page-404-text:first-child{
    margin-top: 20px;
}
.page-404-links{
    display: flex;
    gap: 30px;
    margin-top: 40px;
    align-items: center;
}
.page-404-links a:first-child{
    color: white;
    padding: 14px 20px;
    background-color: var(--pink);
    transition: .3s;
    border-radius: 25px;
    white-space: nowrap;
}
.page-404-links a:nth-child(2) {
color: var(--text900);
    display: flex;
    align-items: center;
    transition: .3s;
    white-space: nowrap;

}
.page-404-links a:nth-child(2):after{
    margin-left: 5px;
    content: url("data:image/svg+xml,%0A%3Csvg width='13' height='24' viewBox='0 0 13 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M3.23657 18.2517C3.55201 18.5828 4.06333 18.5828 4.37877 18.2517L9.76343 12.5995C10.0789 12.2684 10.0789 11.7316 9.76343 11.4005L4.37877 5.74832C4.06334 5.41723 3.55201 5.41723 3.23657 5.74832C2.92114 6.07941 2.92114 6.61624 3.23657 6.94733L8.05003 12L3.23657 17.0527C2.92114 17.3838 2.92114 17.9206 3.23657 18.2517Z' fill='%23E70F51'/%3E%3C/svg%3E%0A");
}
.page-404-container{
    position: relative;
    max-width: 486px;
    width: 100%;
}
.page-404-block{
width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
.page-404-block a{
    cursor: pointer;
    width: fit-content;
    text-transform: uppercase;
    font-size: 12px;
    padding: 9px 20px;
}
.page-404-block h1{
    margin-top: 20px;
    color: var(--text700);
    font-weight: 700;
    white-space: nowrap;
}
.page-404-block h1 span{
    color: var(--yellow);
}
.cookie{
    position: fixed;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    padding: 30px;
    display: flex;
    gap: 20px;
    align-items: center;
    border-radius: 20px;
    background-color: #fff;
    max-width: 1110px;
    z-index: 2;
    width: 100%;
    box-shadow: 0px 20px 10px 0px #1B2F3526;
}
.cookie-text{
    color: var(--text700);
}
.cookie-text a{
    text-decoration: underline;
    color: var(--text700);

}
.cookie-btn{
    border-radius: 25px;
    padding: 10px 20px;
    border: 1px solid var(--disable);
    transition: 0.5s;
    cursor: pointer;
    white-space: nowrap;
}

@media (hover: hover){
    .cookie-btn:hover{
        color: var(--text900);
        transition: 0.5s;
    }
    .page-404-block button:hover{

    }
    .page-404-links a:first-child:hover{
        background-color: var(--pinkdarken);
        transition: .3s;
    }
    .page-404-links a:nth-child(2):hover{
        color: var(--pinkdarken);
        transition: .3s;
    }
    .page-404-links a:nth-child(2):hover:after{
        content: url("data:image/svg+xml,%0A%3Csvg width='13' height='24' viewBox='0 0 13 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M3.23657 18.2517C3.55201 18.5828 4.06333 18.5828 4.37877 18.2517L9.76343 12.5995C10.0789 12.2684 10.0789 11.7316 9.76343 11.4005L4.37877 5.74832C4.06334 5.41723 3.55201 5.41723 3.23657 5.74832C2.92114 6.07941 2.92114 6.61624 3.23657 6.94733L8.05003 12L3.23657 17.0527C2.92114 17.3838 2.92114 17.9206 3.23657 18.2517Z' fill='%23A20A2B'/%3E%3C/svg%3E%0A");

    }
}

@media (max-width: 1200px) {
    .cookie{
        right: 15px;
        left: 15px;
        transform: unset;
        width: unset;
        bottom: 60px;
    }
    .page-404-block{
        max-width: unset;
        padding: unset;
        margin: 0px;
        width: auto;
        left: 30px;
        transform: translateY(-50%);
    }
    .page-404-links{
        gap: 10px;
    }
}
@media (max-width: 1023px) {
    .page-404-links{
        flex-wrap: wrap;
    }
    .page-404{
        max-height:unset;
        height: 300px;
        gap: 16px;
    }
}
@media (max-width: 768px) {
    .page-404-block{
        left: 15px;
        transform: translateY(-50%);
    }
}
@media (max-width: 768px) {
    .cookie{
        flex-direction: column;
        gap: 15px;
        padding: 20px;
        bottom: 82px;
    }
}
@media (max-width: 767px) {
    .page-404{
        flex-direction: column;
        height: unset;
        gap: 20px;
    }
    .page-404-block{
        position: relative;
        transform: unset;
    }
    .page-404-container{
        max-width: unset;
    }
    .page-404-block h1{
        margin-top: 16px;
    }
    .page-404-text:first-child{
        margin-top: 16px;
    }
}
@media (max-width: 576px) {
    .page-404-block{
        max-width: unset;
        left: unset;
    }
    .page-404-block a{
        padding: 9px 20px;
    }
    .page-404-links{
        flex-direction: column;
        gap: 10px;
    }
    .page-404-links a:first-child{
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }
    .page-404-links a:nth-child(2){
        width: 100%;
        box-sizing: border-box;
        justify-content: center;
    }
    .page-404-links a:nth-child(2):active{
        background-color: var(--pink100);
        transition: .3s;
        border-radius: 25px;
    }
    .page-404-links a:first-child:active{
        background-color: var(--pinkdarken);
        transition: .3s;
    }

}
@media (max-width: 480px) {
    .cookie-btn{
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
}