body {
    margin: 0;
}

.header-container, .site-container, .footer-container {
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.site-container, .footer-container {    
    max-width: min(var(--site-width), 100vw);
}

#site-header {
    background-color: var(--header-background-color);
    color: var(--menu-text-color);            
    font-family: var(--menu-font-family);
    font-weight: var(--menu-font-weight);
    font-style: var(--menu-font-style); 
    letter-spacing: var(--menu-letter-spacing-desktop);
    word-spacing: var(--menu-word-spacing-desktop);
    font-size: var(--menu-font-size-desktop);
    line-height: var(--menu-line-height-desktop);
    text-decoration: var(--menu-text-decoration);
    white-space: nowrap;
}

#site-footer {
    background-color: var(--footer-background-color);
    font-family: var(--menu-font-family);
    letter-spacing: var(--menu-letter-spacing-desktop);
    word-spacing: var(--menu-word-spacing-desktop);
    font-weight: var(--menu-font-weight);
    font-size: var(--menu-font-size-desktop);
    color: var(--footer-text-color);
}

#site-header .menu {
    text-transform: var(--menu-text-transform);
}

.site-header .social-icons {
    color: var(--header-icon-color);
}

.site-header a:hover, .site-header .social-icon:hover{
    color: var(--menu-text-hover-color);
}
.menu, .desktop-menu, .mobile-menu, .sub-menu {list-style:none}

a {
    color: var(--link-color);
    text-decoration: underline 0.5px;
}

a:hover {
    color: var(--link-hover-color);
}

button, .wp-block-button__link, .button, input#submit {
    color: var( --button-text-color);
    background-color: var(--button-background-color);
    font-family: var(--button-font-family);
    font-style: var(--button-font-style);
    font-weight: var(--button-font-weight);
    text-transform: var(--button-text-transform);
    font-size: var(--button-font-size-desktop);
    text-decoration: var(--button-text-decoration);
    letter-spacing: var(--button-letter-spacing-desktop);
    word-spacing: var( --button-word-spacing-desktop);
    line-height: var(--button-line-height-desktop);
}

button:hover, .wp-block-button__link:hover, .button:hover, input#submit:hover {
    color: var(--button-text-hover-color);
    background-color: var(--button-background-hover-color);
}

.wp-block-heading:first-of-type {
    margin: 0;
}

h1, h2, h3, h4, h5, h6 {    
    color: var(--heading-color);
}

h1 {
    font-family: var(--h1-font-family), Roboto, sans-serif;
    font-style: var(--h1-font-style);
    font-weight: var(--h1-font-weight);
    text-transform: var(--h1-text-transform);
    font-size: var(--h1-font-size-desktop);
    letter-spacing: var(--h1-letter-spacing-desktop);
    word-spacing: var( --h1-word-spacing-desktop);
    line-height: var(--h1-line-height-desktop);
    text-decoration: var(--h1-text-decoration);
}

h2 {
    font-family: var(--h2-font-family), Roboto, sans-serif;
    font-style: var(--h2-font-style);
    font-weight: var(--h2-font-weight);
    text-transform: var(--h2-text-transform);
    text-decoration: var(--h2-text-decoration);
    font-size: var(--h2-font-size-desktop);
    letter-spacing: var(--h2-letter-spacing-desktop);
    word-spacing: var( --h2-word-spacing-desktop);
    line-height: var(--h2-line-height-desktop);
}

h3 {
    font-family: var(--h3-font-family), Roboto, sans-serif;
    font-style: var(--h3-font-style);
    font-weight: var(--h3-font-weight);
    text-transform: var(--h3-text-transform);
    text-decoration: var(--h3-text-decoration);
    font-size: var(--h3-font-size-desktop);
    letter-spacing: var(--h3-letter-spacing-desktop);
    word-spacing: var( --h3-word-spacing-desktop);
    line-height: var(--h3-line-height-desktop);
}

h4 {
    font-family: var(--h4-font-family), Roboto, sans-serif;
    font-style: var(--h4-font-style);
    font-weight: var(--h4-font-weight);
    text-transform: var(--h4-text-transform);
    text-decoration: var(--h4-text-decoration);
    font-size: var(--h4-font-size-desktop);
    letter-spacing: var(--h4-letter-spacing-desktop);
    word-spacing: var( --h4-word-spacing-desktop);
    line-height: var(--h4-line-height-desktop);
}

h5 {
    font-family: var(--h5-font-family), Roboto, sans-serif;
    font-style: var(--h5-font-style);
    font-weight: var(--h5-font-weight);
    text-transform: var(--h5-text-transform);
    text-decoration: var(--h5-text-decoration);
    font-size: var(--h5-font-size-desktop);
    letter-spacing: var(--h5-letter-spacing-desktop);
    word-spacing: var( --h5-word-spacing-desktop);
    line-height: var(--h5-line-height-desktop);
}

h6 {
    font-family: var(--h6-font-family), Roboto, sans-serif;
    font-style: var(--h6-font-style);
    font-weight: var(--h6-font-weight);
    text-transform: var(--h6-text-transform);
    text-decoration: var(--h6-text-decoration);
    font-size: var(--h6-font-size-desktop);
    letter-spacing: var(--h6-letter-spacing-desktop);
    word-spacing: var( --h6-word-spacing-desktop);
    line-height: var(--h6-line-height-desktop);
}


html, body {
    color: var(--body-text-color);
    font-family: var(--body-font-family), Roboto, sans-serif;
    font-style: var(--body-font-style);
    font-weight: var(--body-font-weight);
    text-transform: var(--body-text-transform);
    text-decoration: var(--body-text-decoration);
    font-size: var(--body-font-size-desktop);
    letter-spacing: var(--body-letter-spacing-desktop);
    word-spacing: var(--body-word-spacing-desktop);
    line-height: var(--body-line-height-desktop);    
}

.post-content li {
    margin-bottom: 5px;
}

.post-content > a {
    color: var(--link-color);
    text-decoration: underline 0.5px;
}

.post-content > a:hover {
    color: var(--link-hover-color);
}

.single-post .post-header img, .single-post .post-content img {
    max-width: 100%
}

#scrollToTop {
    font-size: 16px;
    letter-spacing: 0;
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    z-index: 9999;
}

#scrollToTop.show {
    opacity: 1;
    visibility: visible;
}

.footer-container {
    padding: 20px
}

.footer-col {
    display: flex;
    flex-direction: column;
    column-gap: 15px
}

footer a {
    text-decoration: none;
    color: inherit;
    display: inline-block;
}

footer#site-footer a:hover {
    color: var(--footer-link-color);  
}

.footer-columns h4 {
    font-size: calc(var(--h4-font-size-desktop) / 1.1)
}

#site-footer h3, #site-footer h4, #site-footer h5 {
    color: inherit;
    margin: 0;
    font-family: inherit;
}

#site-footer h5 {
    color: inherit;
    margin: 0;
    font-size: calc(var(--h5-font-size-desktop) / 1.2)
}

.woocommerce .site-main {
    padding: 20px;
    max-width: min(var(--site-width), 100vw);
    box-sizing: border-box;
    margin: auto
}


.arr-custom-form * {
    max-width: 100%;
}

.wp-element-caption {
    color: var(--body-text-color);
    opacity: 0.9
}

@media (max-width: 768px) {

    #main-header {
        letter-spacing: var(--menu-letter-spacing-tablet);
        word-spacing: var(--menu-word-spacing-tablet);
        font-size: var(--menu-font-size-tablet);
        line-height: var(--menu-line-height-tablet);
    }

    html, body {
        font-size: var(--body-font-size-tablet);
        letter-spacing: var(--body-letter-spacing-tablet);
        word-spacing: var( --body-word-spacing-tablet);
        line-height: var(--body-line-height-tablet);
    }

    h1 {
        font-size: var(--h1-font-size-tablet);
        letter-spacing: var(--h1-letter-spacing-tablet);
        word-spacing: var( --h1-word-spacing-tablet);
        line-height: var(--h1-line-height-tablet);
    }

    h2 {
        font-size: var(--h2-font-size-tablet);
        letter-spacing: var(--h2-letter-spacing-tablet);
        word-spacing: var( --h2-word-spacing-tablet);
        line-height: var(--h2-line-height-tablet);
    }
    
    h3 {
        font-size: var(--h3-font-size-tablet);
        letter-spacing: var(--h3-letter-spacing-tablet);
        word-spacing: var( --h3-word-spacing-tablet);
        line-height: var(--h3-line-height-tablet);
    }
    
    h4 {
        font-size: var(--h4-font-size-tablet);
        letter-spacing: var(--h4-letter-spacing-tablet);
        word-spacing: var( --h4-word-spacing-tablet);
        line-height: var(--h4-line-height-tablet);
    }
    
    h5 {
        font-size: var(--h5-font-size-tablet);
        letter-spacing: var(--h5-letter-spacing-tablet);
        word-spacing: var( --h5-word-spacing-tablet);
        line-height: var(--h5-line-height-tablet);
    }
    
    h6 {
        font-size: var(--h6-font-size-tablet);
        letter-spacing: var(--h6-letter-spacing-tablet);
        word-spacing: var( --h6-word-spacing-tablet);
        line-height: var(--h6-line-height-tablet);
    }

    button, .wp-block-button__link, .button, input#submit {
        font-size: var(--button-font-size-tablet);
        letter-spacing: var(--button-letter-spacing-tablet);
        word-spacing: var( --button-word-spacing-tablet);
        line-height: var(--button-line-height-tablet);
    }

    #site-header {
        letter-spacing: var(--menu-letter-spacing-tablet);
        word-spacing: var(--menu-word-spacing-tablet);
        font-size: var(--menu-font-size-tablet);
        line-height: var(--menu-line-height-tablet);
    }

    
    #site-footer {
        letter-spacing: var(--menu-letter-spacing-tablet);
        word-spacing: var(--menu-word-spacing-tablet);
        font-size: var(--menu-font-size-tablet)
    }

    .footer-columns h4 {
        font-size: calc(var(--h4-font-size-tablet) / 1.1)
    }

}

@media (max-width: 480px) {

    #main-header {
        letter-spacing: var(--menu-letter-spacing-mobile);
        word-spacing: var(--menu-word-spacing-mobile);
        font-size: var(--menu-font-size-mobile);
        line-height: var(--menu-line-height-mobile);
    }

    html, body {
        font-size: var(--body-font-size-mobile);
        letter-spacing: var(--body-letter-spacing-mobile);
        word-spacing: var( --body-word-spacing-mobile);
        line-height: var(--body-line-height-mobile);
    }

    h1 {
        font-size: var(--h1-font-size-mobile);
        letter-spacing: var(--h1-letter-spacing-mobile);
        word-spacing: var( --h1-word-spacing-mobile);
        line-height: var(--h1-line-height-mobile);
    }

    h2 {
        font-size: var(--h2-font-size-mobile);
        letter-spacing: var(--h2-letter-spacing-mobile);
        word-spacing: var( --h2-word-spacing-mobile);
        line-height: var(--h2-line-height-mobile);
    }
    
    h3 {
        font-size: var(--h3-font-size-mobile);
        letter-spacing: var(--h3-letter-spacing-mobile);
        word-spacing: var( --h3-word-spacing-mobile);
        line-height: var(--h3-line-height-mobile);
    }
    
    h4 {
        font-size: var(--h4-font-size-mobile);
        letter-spacing: var(--h4-letter-spacing-mobile);
        word-spacing: var( --h4-word-spacing-mobile);
        line-height: var(--h4-line-height-mobile);
    }
    
    h5 {
        font-size: var(--h5-font-size-mobile);
        letter-spacing: var(--h5-letter-spacing-mobile);
        word-spacing: var( --h5-word-spacing-mobile);
        line-height: var(--h5-line-height-mobile);
    }
    
    h6 {
        font-size: var(--h6-font-size-mobile);
        letter-spacing: var(--h6-letter-spacing-mobile);
        word-spacing: var( --h6-word-spacing-mobile);
        line-height: var(--h6-line-height-mobile);
    }

    button, .wp-block-button__link, .button, input#submit {
        font-size: var(--button-font-size-mobile);
        letter-spacing: var(--button-letter-spacing-mobile);
        word-spacing: var( --button-word-spacing-mobile);
        line-height: var(--button-line-height-mobile);
    }

    #site-header {
        letter-spacing: var(--menu-letter-spacing-mobile);
        word-spacing: var(--menu-word-spacing-mobile);
        font-size: var(--menu-font-size-mobile);
        line-height: var(--menu-line-height-mobile);
    }
    
    #site-footer {
        letter-spacing: var(--menu-letter-spacing-mobile);
        word-spacing: var(--menu-word-spacing-mobile);
        font-size: var(--menu-font-size-mobile)
    }

    .footer-columns h4 {
        font-size: calc(var(--h4-font-size-mobile) / 1.1)
    }

    #scrollToTop {
        bottom: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        border: none;
    }
}