/* =======================
    🧠 CORE 🧠
======================= */
@import '_root.css';
@import '_theme.css';

/* =======================
    📄 PAGES 📄
======================= */
@import 'page_main.css';
@import 'page_about.css';
@import 'page_services.css';
@import 'page_works.css';
@import 'page_contact.css';

/* =======================
    🧩 COMPONENTS 🧩
======================= */
@import 'component_header.css';
@import 'component_footer.css';
@import 'feature_popup.css';

/* =======================
    📱 MOBILE 📱
======================= */
@import 'media_mobile.css';

/* =======================
    HTML
======================= */
.btn {
    border: 1px solid #2171BE;
    background-color: transparent;
    border-radius: 6px;
    color: #FFF;
    padding: 13px 50px;
    text-decoration: none;
    transition: background-color .5s;
    width: fit-content;
    cursor: pointer;

    &:hover {
        background-color: #2171BE;
    }
}

.btn2 {
    display: inline-block;
    background-color: #2171BE;
    margin-top: 30px;
    border: 1px solid #2171BE;
    padding: 13px 50px;
    border-radius: 6px;
    text-decoration: none;
    color: #FFF;
    transition: background-color .5s;

    &:hover {
        background-color: transparent;
    }
}

.container {
    width: 90dvw;
    margin: 0 auto;
}

/* =======================
    ✨ GITHUB CORNERS ✨
======================= */

.github-corner:hover .octo-arm {
    animation: octocat-wave 560ms infinite;
}

@keyframes octocat-wave {

    0%,
    100% {
        transform: rotate(0);
    }

    20%,
    60% {
        transform: rotate(-25deg);
    }

    40%,
    80% {
        transform: rotate(10deg);
    }
}

@media (max-width:666px) {
    .github-corner:hover .octo-arm {
        animation: none;
    }

    .github-corner .octo-arm {
        animation: octocat-wave 560ms ease-in-out;
    }
}

/* =======================
    🟦 BADGES 🔵
======================= */

.levelBadge {
    color: var(--text) !important;
    background-color: #799CBD;
    padding: 5px 8px;
    border-radius: 16px;
    width: 40px;
    text-align: center;
    font-size: xx-small !important;
}

/* =======================
    🕹️ NES 🕹️
======================= */
#nes {
    color: transparent;
}

.actionPane .actionBtn {
    border: none;
}

/* =======================
    🚫 SHHHHHHH 🤫
======================= */
.textMuted {
    color: gray !important;
    font-size: xx-small;
    font-variant: small-caps;
    text-transform: lowercase;
}