/**
 * Reset Styles
 * Base resets and normalizations
 */

/* Box Sizing */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Reset margins and paddings */
html, body, div, span, h1, h2, h3, h4, h5, h6, p, a, img, ul, ol, li,
form, label, table, tbody, tfoot, thead, tr, th, td, article, aside,
footer, header, nav, section {
    margin: 0;
    padding: 0;
}

/* HTML & Body */
html {
    overflow-y: scroll;
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-black);
    background: var(--color-bg);
    min-height: 100vh;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.menu-open {
    overflow: hidden;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Links */
a {
    color: inherit;
    text-decoration: none;
}

/* Lists */
ul, ol {
    list-style: none;
}

/* Buttons */
button {
    font-family: inherit;
    font-size: inherit;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
}

/* Inputs */
input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* Focus styles */
:focus-visible {
    outline: 2px solid var(--color-green);
    outline-offset: 2px;
}
