@font-face {
    font-display: swap;
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/lato-regular.woff2') format('woff2');
}
@font-face {
    font-display: swap;
    font-family: 'Lato';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/lato-700.woff2') format('woff2');
}

:root {
    /* CONTENT */
    --width-content: calc(100vw - 5vh);
    --max-width-content: calc(100% - 6rem);
    --max-width: 100%;
    --header-height: 80px;
    --footer-height: 55px;
    --gap: 2rem;
    --logo-width: 200px;
    --padding-content: 1.5rem;
    --button-size: 4.5rem;
    --transition: all 350ms ease-in-out;
    --font-body: 'Lato', sans-serif;
    --wave-height: 40px;
    --slider-gap: 5px;

    /* COLORS */
    --color-white: #ffffff;
    --color-black: #000000;
    --color-gray-light: #E5E5E9;
    --color-darkgray: #2D3C4B;
    --color-orange: #f07f3c;
    --color-gold: #ffc107;
    --color-red: #C8102E;

    --primary-clr: var(--color-orange);
    --secondary-clr: var(--color-green);
    --tertiary-clr: var(--yellow);

    --text-clr: var(--color-darkgray);
    --link-clr: var(--color-black);
    --hl-clr: var(--color-black);
    --bg-clr: var(--color-white);
    --footer-clr: var(--color-green-light);

    --select-bg-clr: var(--color-black);
    --select-clr: var(--color-white);

    --scrollbar-foreground: var(--color-red);
    --scrollbar-background: var(--color-white);
}


/* STYLED SCROLLBARS */
html {
    overflow-x: hidden;
}
html,
body {
    height: 100%;
}
html,
body,
.styled-scrollbars {
    scrollbar-color: var(--scrollbar-foreground) var(--scrollbar-background);
}
body::-webkit-scrollbar,
.styled-scrollbars::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}
body::-webkit-scrollbar-thumb,
.styled-scrollbars::-webkit-scrollbar-thumb {
    background: var(--scrollbar-foreground);
    box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
}
body::-webkit-scrollbar-track,
.styled-scrollbars::-webkit-scrollbar-track {
    background: var(--scrollbar-background);
    box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
}

/* DEFAULT */
*,
*:after,
*:before {
    box-sizing: border-box;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

::selection {
    background-color: var(--color-white);
    color: var(--color-white);
}

::-moz-selection {
    background-color: var(--color-white);
    color: var(--color-white);
}

::selection {
    background-color: var(--color-white);
    color: var(--color-white);
}

/* TYPO */
html {
    --font-size: 62.5%;
    font-size: var(--font-size);
    font-family: var(--font-body);
    font-weight: 400;
    font-variant: lining-nums;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--text-clr);
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + var(--wave-height));
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}
body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-clr);
    font-size: 1.8rem;
    line-height: 1.5;
}

img {
    display: block;
    max-width: var(--max-width);
}

h1 {
    font-size: 1.3rem;
}
h2 {
    font-size: 2.2rem;
    text-align: center;
    margin: 4rem 0 4rem 0;
}
h3 {
    font-size: 2.2rem;
}
h4 {
    font-size: 2.2rem;
}

a {
    font-style: normal;
    text-decoration: none;
    color: var(--color-darkgray);
}

p {
    color: var(--color-white);
    font-size: 15px;
}

a:hover {
    color: var(--color-orange);
    transition: 0.3s;
}

/* WRAPPER */
#wrapper {
    min-height: 100%;
    position: relative;
}

/* HEADER */
#header {
    max-width: var(--max-width-content);
    margin: 0 auto;
    position: relative;
}
#logo {
    padding: 3rem 0;
    text-align: center;
}
#logo img {
    max-width: var(--logo-width);
    margin: 0 auto;
}

/* CONTAINER */
#container {
    width: var(--width-content);
    max-width: var(--max-width-content);
    margin: 0 auto;
    padding-bottom: var(--footer-height);
    position: relative;
}

/* MAIN */
#main {
    position: relative;
}
form .widget {
    margin: 0 0 2rem;
    position: relative;
}
form .widget label {
    display: block;
}
form .widget-text input {
    resize: none;
}
form .widget-textarea textarea {
    width: 100%;
    padding: 1rem;
    background-color: var(--color-white);
    border: 1px solid var(--color-black);
    resize: none;
    font-family: var(--font-body);
    font-size: 1.6rem;
}
form .widget-select select {
    width: 100%;
    margin: 0 0 0.5rem;
    padding: 0.5rem 0;
    border: 1px solid var(--color-black);
    border-radius: 0;
    font-family: var(--font-body);
    font-size: 1.6rem;
}
form .widget-submit button {
    width: var(--width-content);
    padding: 1rem 3rem;
    background-color: var(--color-red);
    border: 2px solid var(--color-red);
    border-radius: 0;
    color: var(--color-white);
    font-size: 1.6rem;
    cursor: pointer;
    -webkit-appearance: none;
}
form .widget-submit button:hover {
    background-color: var(--color-white);
    color: var(--color-red);
}

/* FOOTER */
#footer {
    width: 100%;
    height: var(--footer-height);
    position: absolute;
    bottom: 0;
    background-color: var(--color-red);
}
#footer .inside a,
#footer .inside {
    color: var(--color-white);
}
#copyright {
    display: flex;
    justify-content: center;
    font-size: 1.4rem;
}

@media (min-width: 400px) {
    form .widget-select {
        width: calc(50% - 3rem);
        display: inline-block;
    }
    form .widget-select:nth-child(2n) {
        float: right;
    }
    form .widget-submit button {
        width: auto;
    }
}

@media screen and (min-width: 480px) {}

@media (min-width: 568px) {}

@media (min-width: 768px) {}

@media (min-width: 1024px) {
    :root {
        --max-width-content: 960px;
    }
}

@media (min-width: 1200px) {
    :root {
        --max-width-content: 1024px;
    }
}