@charset "utf-8";

/* ==========================================================================
   Σελιδα 404
   Hero με το gradient του site - ετσι το λευκο logo και το menu του fixed
   (διαφανους) header μενουν ευαναγνωστα, οπως ακριβως και στην αρχικη.
   ========================================================================== */

/* Sticky footer: το #wrapper_inner γινεται flex στηλη, το main "φουσκωνει"
   και σπρωχνει το footer στο κατω μερος - ετσι δεν μενει κενο απο κατω.
   Scoped στο .page_404 ωστε να μην επηρεαστει καμια αλλη σελιδα. */
.page_404 #wrapper_inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.page_404 .main-content-wrapper,
.page_404 .main_content_out {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
    flex: 1 0 auto;
}

.page_404 footer {
    flex-shrink: 0;
}

.err404 {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    justify-content: center;
    /* γεμιζει ο,τι μενει μεχρι το footer, αντι για σταθερο 100vh */
    flex: 1 0 auto;
    min-height: 560px;
    padding: 190px 20px 110px;
    overflow: hidden;
    text-align: center;
    background: linear-gradient(135deg, #8C3CFA 0%, #7B34E0 52%, #00E09D 100%);
}

/* απαλα φωτεινα blobs για βαθος */
.err404:before,
.err404:after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.err404:before {
    width: 520px;
    height: 520px;
    top: -170px;
    left: -140px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 68%);
}

.err404:after {
    width: 620px;
    height: 620px;
    right: -200px;
    bottom: -240px;
    background: radial-gradient(circle, rgba(0, 224, 157, 0.35) 0%, rgba(0, 224, 157, 0) 68%);
}

.err404In {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 780px;
}

/* καθε "παιδι" μπαινει με μικρη καθυστερηση απο το προηγουμενο */
.err404In > * {
    -webkit-animation: err404In 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation: err404In 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.err404In > *:nth-child(1) { -webkit-animation-delay: 0.05s; animation-delay: 0.05s; }
.err404In > *:nth-child(2) { -webkit-animation-delay: 0.12s; animation-delay: 0.12s; }
.err404In > *:nth-child(3) { -webkit-animation-delay: 0.20s; animation-delay: 0.20s; }
.err404In > *:nth-child(4) { -webkit-animation-delay: 0.28s; animation-delay: 0.28s; }
.err404In > *:nth-child(5) { -webkit-animation-delay: 0.36s; animation-delay: 0.36s; }
.err404In > *:nth-child(6) { -webkit-animation-delay: 0.44s; animation-delay: 0.44s; }
.err404In > *:nth-child(7) { -webkit-animation-delay: 0.52s; animation-delay: 0.52s; }

@-webkit-keyframes err404In {
    from { opacity: 0; -webkit-transform: translateY(18px); }
    to   { opacity: 1; -webkit-transform: none; }
}

@keyframes err404In {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: none; }
}

/* ----- badge ----- */

.err404Badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.28);
    font-family: 'Syne-SemiBold', sans-serif;
    font-size: 12px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 26px;
}

/* ----- το μεγαλο 404 + το φθινον γραφημα ----- */

.err404Visual {
    position: relative;
    margin-bottom: 26px;
}

.err404Number {
    font-family: 'Syne-ExtraBold', 'Syne-Bold', sans-serif;
    font-size: 190px;
    line-height: 0.95;
    letter-spacing: -4px;
    color: #fff;
    text-shadow: 0 20px 45px rgba(0, 0, 0, 0.22);
    -webkit-animation: err404Float 5s ease-in-out infinite;
    animation: err404Float 5s ease-in-out infinite;
}

@-webkit-keyframes err404Float {
    0%, 100% { -webkit-transform: translateY(0); }
    50%      { -webkit-transform: translateY(-12px); }
}

@keyframes err404Float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-12px); }
}

/* το μοναδικο γραφημα του site που κατεβαινει */
.err404Chart {
    display: block;
    width: 300px;
    max-width: 82%;
    height: auto;
    margin: -18px auto 0;
}

.err404ChartLine {
    stroke-dasharray: 420;
    stroke-dashoffset: 420;
    -webkit-animation: err404Draw 1.4s ease-out 0.5s forwards;
    animation: err404Draw 1.4s ease-out 0.5s forwards;
}

@-webkit-keyframes err404Draw { to { stroke-dashoffset: 0; } }
@keyframes err404Draw { to { stroke-dashoffset: 0; } }

.err404ChartDot {
    opacity: 0;
    -webkit-animation: err404DotIn 0.4s ease-out 1.8s forwards;
    animation: err404DotIn 0.4s ease-out 1.8s forwards;
}

@-webkit-keyframes err404DotIn { to { opacity: 1; } }
@keyframes err404DotIn { to { opacity: 1; } }

.err404ChartLabel {
    font-family: 'CeraGreek-Regular', sans-serif;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    fill: rgba(255, 255, 255, 0.65);
}

/* ----- κειμενα ----- */

.err404 h1 {
    font-family: 'Syne-Bold', sans-serif;
    font-size: 38px;
    line-height: 1.25;
    letter-spacing: 0.2px;
    color: #fff;
    margin: 0 0 30px;
    padding: 0;
    text-align: center;
}

/* ----- "τι δοκιμασαμε" ----- */

.err404Tried {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 36px;
}

.err404TriedTitle {
    font-family: 'CeraGreek-Regular', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-right: 4px;
}

.err404Tag {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    padding: 7px 16px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-family: 'CeraGreek-Regular', sans-serif;
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.85);
}

/* το line-through μπαινει μονο στο κειμενο - αν το εβαζα στο .err404Tag
   θα περναγε και πανω απο το εικονιδιο (δεν αναιρειται απο το παιδι) */
.err404Tag span {
    text-decoration: line-through;
    text-decoration-color: rgba(255, 255, 255, 0.5);
}

.err404Tag i {
    margin-right: 8px;
    font-size: 12px;
    color: #FFB3C1;
}

/* ----- κουμπια ----- */

.err404Btns {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 34px;
}

.err404BtnMain,
.err404BtnGhost {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 62px;
    padding: 0 38px;
    border: none;
    outline: none;
    border-radius: 30px;
    font-family: 'Syne-SemiBold', sans-serif;
    font-size: 17px;
    letter-spacing: 0.2px;
    cursor: pointer;
    -webkit-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

/* ιδια λογικη με το .reqDemo button πανω σε διαφανη header */
.err404BtnMain {
    background: #fff;
    color: #8C3CFA;
    box-shadow: 5px 5px 20px 5px rgba(0, 0, 0, 0.08);
}

.err404BtnMain:hover {
    color: #8C3CFA;
    text-decoration: none;
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.err404BtnGhost {
    background: none;
    border: 2px solid rgba(255, 255, 255, 0.55);
    color: #fff;
}

.err404BtnGhost:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: #fff;
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
}

.err404BtnMain i,
.err404BtnGhost i {
    margin-left: 10px;
    margin-top: 2px;
    font-size: 14px;
}

/* ----- fun fact ----- */

.err404Fun {
    display: inline-block;
    max-width: 620px;
    padding: 14px 24px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.1);
    font-family: 'CeraGreek-Regular', sans-serif;
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.78);
}

.err404Fun i {
    margin-right: 8px;
    color: #FFE08A;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 991px) {
    .err404 {
        padding: 150px 20px 90px;
    }

    .err404Number {
        font-size: 140px;
    }

    .err404 h1 {
        font-size: 30px;
    }
}

@media (max-width: 767px) {
    .err404 {
        min-height: 480px;
        padding: 120px 18px 70px;
    }

    .err404Badge {
        font-size: 11px;
        margin-bottom: 18px;
    }

    .err404Number {
        font-size: 96px;
        letter-spacing: -2px;
    }

    .err404Chart {
        width: 220px;
        margin-top: -8px;
    }

    .err404 h1 {
        font-size: 24px;
        margin-bottom: 24px;
    }

    .err404Tried {
        gap: 8px;
        margin-bottom: 28px;
    }

    .err404Tag {
        font-size: 12.5px;
        padding: 6px 13px;
    }

    .err404Btns {
        gap: 10px;
    }

    .err404BtnMain,
    .err404BtnGhost {
        width: 100%;
        height: 56px;
        font-size: 16px;
    }

    .err404Fun {
        font-size: 13px;
        padding: 12px 18px;
    }
}

/* Σεβασμος στη ρυθμιση "λιγοτερη κινηση" του λειτουργικου */
@media (prefers-reduced-motion: reduce) {
    .err404In > *,
    .err404Number,
    .err404ChartLine,
    .err404ChartDot {
        -webkit-animation: none !important;
        animation: none !important;
        opacity: 1 !important;
        stroke-dashoffset: 0 !important;
    }
}
