/* ========================================
   404 PAGE
======================================== */
/* FONT */
@font-face {
    font-family: "CalibriRegular";
    src:
        url("fonts/Calibri/Calibri.eot?#iefix") format("embedded-opentype"),
        url("fonts/Calibri/Calibri.woff") format("woff"),
        url("fonts/Calibri/Calibri.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}
/* BASE */
:root {
    --ease-smooth: cubic-bezier(0.22, 0.61, 0.36, 1);
}
* {box-sizing: border-box;}
html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
    font-family: "CalibriRegular", sans-serif;
}
/* PAGE */
.page-404 {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    background: url("404-kosmet.jpg") center center / cover no-repeat;
}
.page-404__content {
    position: absolute;
    top: 50%;
    left: 25%;
    width: 420px;
    transform: translateY(-50%);
}
.page-404__intro {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
    animation: page404-intro .8s var(--ease-smooth) .15s forwards;
    will-change: opacity, transform;
}
.page-404__number {
    margin: 0;
    font-family: "Forum", serif;
    font-size: 110px;
    font-weight: 400;
    line-height: .9;
    color: #222;
    text-shadow: 0 1px 0 #fff;
}
.page-404__line {
    width: 60px;
    height: 2px;
    margin: 8px 0 32px;
    background: linear-gradient(90deg, #ff416c, #ff4b2b);
    border-radius: 2px;
}
.page-404__title {
    margin: 0 0 18px;
    font-family: "Forum", serif;
    font-size: 26px;
    font-weight: 400;
    line-height: 1.1;
    color: #222;
}
.page-404__text {
    margin: 0 0 28px;
    font-size: 14px;
    line-height: 1.5;
    color: #444;
}
.page-404__button {
    display: block;
    width: 190px;
    height: 48px;
    padding: 0 20px;
    background: #222;
    color: #fff;
    font-size: 12px;
    line-height: 48px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.page-404__arrow {
    float: right;
    font-size: 20px;
    line-height: 46px;
    color: #fff;
    transition: transform .3s ease;
}

/* ========================================
   EFFECT
======================================== */
@keyframes page404-intro {
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* ========================================
   ADAPTIVE
======================================== */
/* 1440 */
@media (max-width: 1440px) {
    .page-404__content {left: 20%;}
}
/* 1366 */
@media (max-width: 1366px) {
    .page-404__content {left: 18%;}
}
/* 1024 */
@media (max-width: 1024px) {
    .page-404 {background-position: 70% center;}
    .page-404__content {left: 18%; width: 400px;}
}
/* 768 */
@media (max-width: 768px) {
    .page-404 {background-position: 65% center;}
    .page-404__content {left: 12%; width: 380px;}
    .page-404__number {font-size: 100px;}
    .page-404__title {font-size: 24px;}
}
/* 430 */
@media (max-width: 430px) {
    .page-404 {background-position: 51% center;}
    .page-404__content {left: 8%; width: 84%;}
    .page-404__number {font-size: 86px;}
    .page-404__line {margin-bottom: 26px;}
    .page-404__title {font-size: 22px;}
    .page-404__text {font-size: 13px;}
    .page-404__button {width: 180px;}
}
/* 390 */
@media (max-width: 390px) {
    .page-404 {background-position: 49% center;}
    .page-404__content {left: 7%; width: 86%;}
    .page-404__number {font-size: 82px;}
}
/* 360 */
@media (max-width: 360px) {
    .page-404 {background-position: 50% center;}
    .page-404__content {left: 6%; width: 88%;}
    .page-404__number {font-size: 78px;}
    .page-404__title {font-size: 21px;}
    .page-404__text {font-size: 12px;}
}
/* ========================================
   end 404 PAGE
======================================== */