@font-face {
    font-family: "Montserrat";
    src: url("../assets/fonts/Montserrat-VariableFont_wght.ttf");
    font-display: swap;
}

:root {
    --primary-text-color: #000;
    --white-color: #fff;
    --active-text-color: #10f4db;
    --background-color: #f6f2e7;
    /*--spacing-unit: 0.5;
    margin-top: calc(var(--spacing-unit) * 4rem);*/
}

html {
    background-color: var(--background-color);
}
body {
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
}

button, input, optgroup, option, select, textarea, body, table, td, tr {
    font-family: Montserrat,Arial,Helvetica,sans-serif;
    font-size: 16px;
    font-weight: 400;
}
button, input, select, textarea {
    color: currentColor;
    border: none;
    border-radius: 0;
    outline: none;
}

h1 {
    letter-spacing: 0;
    font-size: 48px;
    font-style: normal;
    font-weight: 800;
    line-height: 56px;
    text-decoration: none;
}

h2 {
    letter-spacing: 0;
    font-size: 36px;
    font-style: normal;
    font-weight: 800;
    line-height: 40px;
    text-decoration: none;
}

h5 {
    letter-spacing: 0;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 30px;
    text-decoration: none;
}

.backgroundBody {
    background: url('../assets/backgrounds.svg') 0 0/100% repeat-y;
    scroll-padding-top: 100px;
    scroll-padding-bottom: 20px;
    transition: all .2s ease-out;
    display: grid;
    height: inherit;
}

.header {
    z-index: 80;
    width: 95%;
    transform-style: preserve-3d;
    background-color: var(--background-color);
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    padding: 40px;
    display: flex;
}

.textCenter {
    text-align: center;
}

#logo {
    display: flex;
}

.logo {
    display: block;
    width: 130px;
}

.logoText{
    display: inline-block;
    padding-top: 6px;
    text-decoration: none;
    border: none;
    color: var(--primary-text-color);
    font-size: 20px;
}
.logoText:hover{
    color: var(--active-text-color);
}

.footerPadding {
    padding: 40px;
}


a{
    color: var(--primary-text-color);
    text-decoration: none;
}
a:hover{
    color: var(--active-text-color);
    text-decoration: none;
}

#search {
    flex-grow: 1;
    flex-shrink: 1;
    justify-content: center;
    align-items: center;
    display: flex;
    margin-left: 20px;
    margin-right: 20px;
}

.searchContainer {
    width: calc(100% - 80px);
    left: 40px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 30px #0000001a;
    max-width: 800px;
    width: 100%;
    display: flex;
    height: 70px;
}

.searchInput {
    width: 100%;
    text-overflow: ellipsis;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: #0000;
    background-color: var(--white-color);
    padding-left: 20px;
    overflow: hidden;
    box-shadow: none;
    font-size: 20px;
}

.searchButton {
    background-color: var(--active-text-color);
    padding: 12px 16px 12px 16px;
    cursor: pointer;
    outline: none;
}

.headerPlaceholder {
    width: 100px;
    padding-top: 14px;
}

.container {
    width: 100%;
    max-width: 1230px;
    box-sizing: border-box;
    margin: 0 auto;
    padding: 0 20px;
}

.spacer {
    height: 40px;
}

.logoIcon {
    width: 55px;
    height: 55px;
    align-items: center;
    display: inline-flex;
    position: relative;
}

.logoIconBig {
    width: 116px;
    height: 116px;
    display: inline-flex;
    position: relative;
}

.logoText {
    height: 14px;
}

.navContainer {
    color: var(--white-color);
    z-index: 96;
    background-color: var(--primary-text-color);
    flex-direction: column;
    gap: 50px;
    padding: 50px 30px;
    transition: all .3s ease-out;
    display: flex;
    position: fixed;
    inset: 0 0 0 calc(100% - 400px);
    transform: translateX(400px);
}
.navButtonContainer{
    position: absolute;
    top: 16px;
    right: 16px;
}
.navCloseButton{
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    color: var(--active-text-color);
    width: 24px;
    height: 24px;
    background-color: unset;
    border: 1px solid #0000;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
    transition: all .2s ease-out;
    display: flex;
}
.navIcon {
    width: 24px;
    height: 24px;
    flex-grow: 0;
    flex-shrink: 0;
    display: inline-flex;
    overflow: visible;
}
.navMenuContainer {
    flex-direction: column;
    flex-grow: 1;
    flex-shrink: 1;
    display: flex;
}
.navMenu {
    flex: 1 1;
    overflow: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    display: flex;
    list-style: none;
}
.navMenuItem {
    letter-spacing: 0;
    font-family: Montserrat;
    font-size: 16px;
    font-style: normal;
    font-weight: 800;
    line-height: 24px;
    text-decoration: none;
    cursor: pointer;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    transition: color .3s ease-out;
    display: flex;
}
.navMenuItemLink {
    color: var(--white-color);
    text-decoration: none;
}
.navMenuItemLink:hover {
    color: var(--active-text-color);
}
.burgerMenu {
    cursor: pointer;
    position: absolute;
    top: 45%;
    right: 40px;
}

.footerLogo{
    padding: 0 80px; display: grid
}

.footerLink {
    color: var(--white-color);
}

small {
    font-size: 12px;
}

#backToTop {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    outline: none;
    background-color: var(--background-color);
    color: var(--white-color);
    cursor: pointer;
    padding: 2px;
    border-radius: 20px;
    fill: rgba(0, 0, 0, 0.53);
    border: solid 2px transparent;
}
#backToTop:hover{
    fill: var(--active-text-color);
    border: solid 2px var(--active-text-color);
}
.backToTopIcon {
    display: block;
    height: 32px;
    width: 32px;
}
.backToTopPath{
    display: block;
}

.footer {
    background-color: var(--primary-text-color); gap: 30px; padding: 80px 20px 20px; display: flex; color: var(--white-color);
}

.footerLogoContainer {
    padding: 0 80px; display: grid;
}

@media screen and (max-width: 1200px) {
    .backgroundBody {
        display: block;
    }
}
