/* Explain: Base reset and global typography styles. - */
* {
    box-sizing: border-box;
}

html {
    background: var(--background-color);
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    background:
        radial-gradient(circle at top left, rgba(5, 150, 105, 0.05), transparent 28rem),
        radial-gradient(circle at bottom right, rgba(15, 23, 42, 0.03), transparent 28rem),
        linear-gradient(180deg, var(--background-color) 0%, #ffffff 50%, var(--background-color) 100%);
    color: var(--text-color);
    font-family: var(--font-body);
    min-height: 100vh;
}

h1,
h2,
h3,
h4,
.font-heading {
    font-family: var(--font-heading);
}

p {
    line-height: 1.75;
}

a,
button {
    transition: all 0.3s ease;
}

button,
[role="button"] {
    cursor: pointer;
}

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

::selection {
    background: var(--primary-color);
    color: var(--cream-color);
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 100;
    border-radius: 999px;
    background: var(--primary-color);
    color: var(--cream-color);
    padding: 0.75rem 1rem;
}

.skip-link:focus {
    top: 1rem;
}
