/* Hestra Woodtreatment */

/* ==========================================================================
Generellt 
========================================================================== */
:root {
    /* Layout  */
    --col-padding: 3rem;
    --menu-height: 10rem;
    --menu-height-scrolled: 8rem;
    --section-width: 140rem;

    /* Colors */
    --primary-color: 121, 141, 135;
    --black-color: 0, 0, 0;
    --gray-dark-color: 63 62 62;
    --white-color: 255, 255, 255;

    /* Typography */
    --base-size: 1.7rem;

    /* Mobile nav */
    --activate-mobile-menu: 1000;
    --mobile-menu-height: 7rem;
    --mobile-menu-bg: var(--white-color);
    --menu-color: var(--black-color)
}

/* Layout
========================================================================== */

.section-block {
    padding: 12rem 5rem;
}

/* Specifika hojder */
.mh-100vh {
    min-height: 100vh;
}

/* Specifika layouts */

@media only screen and (max-width: 1024px) {
    .section-block {
        padding: 10rem 3rem;
    }
}

@media only screen and (max-width: 580px) {
    .section-block {
        padding: 5rem 2rem;
    }
}

/* Text och typsnitt
========================================================================== */
body {
    font-family: 'Quicksand', sans-serif;
    color: rgb(var(--gray-dark-color));
}

/* Rubriker */
.section-title {
    font-size: 5rem;
    color: rgb(var(--primary-color));
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    padding-bottom: 1.5rem;
    font-weight: 500;
}

/* Brodtext och lankar */
p {
    letter-spacing: .4px;
    line-height: 2.8rem;
}

a {
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 4px;
}

a:hover {
    text-decoration: none;
}

/* Ovriga klasser */
.text-block-center {
    max-width: 70rem;
    margin-left: auto;
    margin-right: auto;
}

.text-block.center *,
.text-center {
    text-align: center;
}

.text-center {
    text-align: center;
}

.text-bold {
    font-weight: 700;
}

.ingress {
    font-weight: 600;
}

@media only screen and (max-width: 1600px) {
    .section-title {
        font-size: 3.3rem;
    }
}

/* Knappar och speciella lankar
========================================================================== */

/* Farger
========================================================================== */
/* Bakgrundsfarger */
.bg-primary {
    background-color: rgb(var(--primary-color));
}

/* Textfarger */
.text-primary {
    color: rgb(var(--primary-color));
}

.text-white {
    color: rgb(var(--white-color));
}

/* Parallax
========================================================================== */
.parallax {
    min-height: 40rem;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

@media only screen and (hover:none) {
    .parallax {
        background-attachment: scroll;
        background-position: center center;
    }
}

/* Split wrapper
========================================================================== */
.split-wrapper {
    display: flex;
    flex-wrap: wrap;
}

.split-wrapper.reverse {
    flex-direction: row-reverse;
}

.split-content {
    width: 50%;
    padding: 5rem;
}

.split-image {
    width: 50%;
}

/* Centrera content */
.split-wrapper .align-center {
    align-self: center;
}

@media screen and (max-width: 1100px) {
    .split-content {
        padding: 4rem;
        width: 100%;
    }

    .split-image {
        width: 100%;
    }
}

@media screen and (max-width: 580px) {
    .split-wrapper {
        background: transparent;
        text-align: left;
    }

    .split-content {
        padding: 2rem;
    }
}

/* Header / Navigation
========================================================================== */
/* Logo */
.header-logo {
    margin: 0 auto 0 0;
    width: 20rem;
}

/* Nav */
.TemplateMenu a {
    font-weight: 500;
    font-size: 1.3rem;
    color: rgb(var(--gray-dark-color));
    text-transform: uppercase;
    padding: 0 1rem;
    letter-spacing: 0.2rem;
}

.TemplateMenu>li>a:hover {
    color: rgb(var(--primary-color));
}

/* Mobilmeny */
.mobile-menu .mainmenu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    padding-top: calc(var(--mobile-menu-height) + 3rem);
    background-color: rgb(var(--mobile-menu-bg));
    overflow: auto;
    text-align: center;
}

.mobile-menu .TemplateMenu>li>a,
.mobile-menu.scrolled .TemplateMenu>li>a {
    line-height: 5rem;
    font-size: 1.7rem;
    margin: 2rem 0rem;
    color: rgb(var(--gray-dark-color));
    padding-left: 2rem;
    text-align: center;
}


/* ==========================================================================
Startsida
========================================================================== */

/* Sektion Miljo
========================================================================== */
.section-miljo {
    background-image: url('/assets/images/woodtreatment-gran.jpg');
}

.section-miljo .section-block {
    background-color: rgba(var(--black-color), .5);
}

/* ==========================================================================
Footer
========================================================================== */
.footer-container {
    padding: 3.8rem 0rem;
    text-align: center;
}

/* Logga */
.footer-logo {
    padding-bottom: 1.5em;
    width: 28rem;
}

/* Footer top */
.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-menu {
    margin: 0;
}

.footer ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer a {
    display: inline-block;
}

.footer p,
.footer a {
    font-weight: 500;
    font-size: 1.3rem;
    color: rgb(var(--gray-dark-color));
    text-transform: uppercase;
    padding: 0 1rem;
    letter-spacing: 0.2rem;
}

.footer a:hover {
    margin: 0;
    list-style: none;
    color: rgb(var(--primary-color));
}

/* Footer bottom */
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

/* WebbEss Stamp  */
.webbess-stamp {
    display: flex;
    align-items: center;
    padding: 0;
    font-size: 1.3rem;
    font-weight: normal;
}

.webbess-stamp img {
    width: 3rem;
    margin-left: 1rem;
    margin-top: 1.5rem;
    padding-bottom: 1.5em;
}

@media only screen and (max-width: 450px) {

    /* Logga */
    .footer-logo {
        max-width: 28rem;
        padding-bottom: 1.5em;
    }

    /* Footer top */
    .footer-top {
        padding: 2rem 0;
    }
}