/* 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(208, 164, 74, 0.2), transparent 32rem),
        linear-gradient(135deg, rgba(219, 232, 241, 0.95), rgba(244, 247, 249, 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;
    }
}
