* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    margin: 0;
    padding: 26px 34px 34px;

    min-height: 100vh;
    overflow-x: hidden;

    font-family: "Be Vietnam Pro", Arial, sans-serif;
    color: #302D55;
}


/* =========================
   TITLE TOOLTIP
========================= */

.card__title.is-truncated {
    cursor: default;
}

.card__title.is-truncated::after {
    display: none !important;
}

.title-tooltip {
    position: fixed;
    z-index: 9999;

    max-width: 300px;
    padding: 10px 14px;

    border: 1px solid rgba(140, 150, 255, .22);
    border-radius: 10px;

    background: rgba(38, 34, 70, .94);
    backdrop-filter: blur(12px);

    color: #fff;

    font-size: 12px;
    line-height: 1.4;
    font-weight: 600;

    box-shadow:
        0 0 22px rgba(108, 124, 255, .40),
        0 10px 28px rgba(25, 22, 55, .28);

    opacity: 0;

    transform: translateY(5px);

    transition:
        opacity .16s ease,
        transform .16s ease;

    pointer-events: none;
}

.title-tooltip.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* =========================
   BACK TO TOP CHIBI
========================= */

.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 14px;
    z-index: 900;

    width: 105px;
    padding: 0;
    margin: 0;

    border: 0;
    background: transparent;

    opacity: 0;
    visibility: hidden;

    transform: translateY(20px);

    cursor: pointer;

    transition:
        opacity .25s ease,
        visibility .25s ease,
        transform .25s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (max-width: 520px) {

    .back-to-top {
        right: 8px;
        bottom: 8px;
        width: 78px;
    }

}

/* =========================
   TABLET
========================= */

@media (max-width: 800px) {

    body {
        padding: 22px;
    }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 520px) {

    body {
        padding: 14px;
    }

    .back-to-top {
        right: 8px;
        bottom: 8px;

        width: 78px;
    }

}

/* =========================
   KLAVYE ODAĞI
========================= */

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;

    z-index: 100000;

    padding: 10px 16px;

    border-radius: 10px;

    background: #211e3d;
    color: #ffffff;

    font-weight: 600;
    text-decoration: none;

    transform: translateY(-160%);
}

.skip-link:focus {
    transform: none;
}

.masonry-grid:focus {
    outline: none;
}

:where(a, button, [role="button"], summary):focus-visible {
    outline: 2px solid #6c7cff;
    outline-offset: 3px;
}
