@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&display=swap');

:root {
    transition: background-color 0.3s ease, color 0.3s ease;
}

html {
    /* scroll-behavior: smooth;*/
    scrollbar-width: none;
}

* {
    -webkit-tap-highlight-color: transparent;
}

*:focus {
    outline: none !important;
}

::-webkit-scrollbar {
    display: none;
}

body {
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    -webkit-touch-callout: none;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #ffffff;
    text-align: center;
    padding: 30px;
    color: #141414;
    transition: background-color 0.3s ease, color 0.3s ease;
}


#not-found {
    max-width: 480px;
    width: 100%;
}

h2 {
    font-size: 60px;
    margin-bottom: 15px;
    color: #141414;
    font-family: 'Caveat', 'Poppins', sans-serif;
}

p {
    font-family: "Poppins", sans-serif;
    font-size: 20px;
    margin-bottom: 0px;
    color: #141414;
    font-weight: 400;

}

.cta-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;

}

a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    font-size: 17px;
    font-weight: 500;
    color: #141414;
    text-decoration: none;
    transition: 0.3s ease;
    margin-top: 30px;
    margin-bottom: 10px;
    animation: gradientMove 3s infinite linear;
}

a i {
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

a.button {
    border: 5px solid #2a2a2a;
    box-shadow: 3px 5px #2a2a2a;
    width: 80%;
}

a.button:active {
    box-shadow: 0px 0px #2a2a2a;
}


@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

a.small-text {
    font-size: 18px;
    font-weight: 400;
    background: none;
    color: #141414;
    display: table-row;
    margin-top: 10px;
    padding: 0 !important;
    transition: 0.1s ease;
}

a.small-text:hover {
    color: #575757;
    text-decoration: none;
}

@media (hover: none) and (pointer: coarse) {
    a.small-text:hover {
        color: #141414;
        text-decoration: none;
    }

    a.small-text:active {
        color: #575757;
        text-decoration: none;
    }
}


@media (max-width: 480px) {
    body {
        height: 90vh;
        padding: 30px;
    }

    h2 {
        font-size: 50px;
    }

    p {
        font-size: 17px;
    }

    a {
        padding: 10px;
        font-size: 16px;
    }

    a.button {
        width: 90%;
    }

    a.small-text {
        font-size: 16px;
    }

}

/* === DARK THEME === */

.dark body {
    background-color: #121212;
    color: #ffffff;
}

.dark h2,
.dark p,
.dark a.small-text,
.dark a {
    color: #ffffff;
}


.dark a.small-text:hover {
    color: #bebebe;

}

@media (hover: none) and (pointer: coarse) {
    .dark a.small-text:hover {
        color: #ffffff;

    }

    .dark a.small-text:active {
        color: #bebebe;

    }
}

.dark a.button {
    border: 5px solid #ffffff;
    box-shadow: 3px 5px #ffffff;
}


.dark a.button:active {
    box-shadow: 0px 0px #ffffff;
}