@import url('variables.css');

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--color-orange) var(--color-green);
    overflow-x: hidden;
    width: 100%;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-green);
}

::-webkit-scrollbar-thumb {
    background: var(--color-orange);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-orange-dark);
}

body {
    font-family: var(--font-family);
    font-size: var(--size-medium);
    color: var(--color-green);
    background-color: var(--color-green);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    width: 100%;
}

html {
    overflow-x: hidden;
    width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
}

main {
    flex: 1;
    margin-bottom: 2rem;
}

.page {
    min-height: 100vh;
}
