/* Explain: Base reset and typography defaults for the profile */
* {
    box-sizing: border-box;
}

html {
    background: var(--background-color);
    color: var(--text-color);
    scroll-padding-top: 2rem;
}

body {
    margin: 0;
    overflow-x: hidden;
    background:
        radial-gradient(circle at top left, rgba(255, 140, 0, 0.18), transparent 32rem),
        linear-gradient(135deg, rgba(211, 211, 211, 0.95), rgba(242, 243, 243, 1) 42%, rgba(255, 255, 255, 0.94));
}

img {
    display: block;
    max-width: 100%;
}

::selection {
    background: var(--accent-color);
    color: var(--slate-color);
}

button,
a,
input {
    -webkit-tap-highlight-color: transparent;
}

@media (max-width: 480px) {
    body.has-mobile-panel,
    body.has-menu-modal {
        overflow: hidden;
    }
}
