/* ==========================================================================
   Anna Henson Portfolio - Shared Styles
   Contemporary Japanese-inspired aesthetic
   ========================================================================== */

/* --------------------------------------------------------------------------
   Base Typography
   -------------------------------------------------------------------------- */
html {
    scroll-behavior: smooth;
    font-feature-settings: 'kern' 1, 'liga' 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --------------------------------------------------------------------------
   Square Aesthetic - Remove all border radius
   -------------------------------------------------------------------------- */
* {
    border-radius: 0 !important;
}

/* --------------------------------------------------------------------------
   Canvas Styling (for Three.js viewers)
   -------------------------------------------------------------------------- */
canvas {
    display: block;
}

/* --------------------------------------------------------------------------
   Form Input Focus States
   -------------------------------------------------------------------------- */
input:focus,
textarea:focus {
    outline: none;
    border-color: #1a1a1a;
}

/* --------------------------------------------------------------------------
   Selection Color
   -------------------------------------------------------------------------- */
::selection {
    background-color: rgba(194, 58, 58, 0.15);
    color: #1a1a1a;
}

/* --------------------------------------------------------------------------
   Scrollbar Styling (Webkit browsers)
   -------------------------------------------------------------------------- */
::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

::-webkit-scrollbar-track {
    background: #fafafa;
}

::-webkit-scrollbar-thumb {
    background: #d4d4d4;
}

::-webkit-scrollbar-thumb:hover {
    background: #a3a3a3;
}

/* --------------------------------------------------------------------------
   Link Hover Effects
   -------------------------------------------------------------------------- */
a {
    transition: color 0.15s ease;
}
