/* Vinterfors Holdings AB */

/* Animationer */
@import url('/resources/scripts/aos/2.3.1/aos.css');

/* ==========================================================================
Generellt
========================================================================== */
:root {
    /* 	Colors */
    --primary-color: 255, 112, 41;

    --black-color: 40, 48, 41;
    --gray-dark-color: 58, 58, 58;
    --gray-color: 130, 130, 130;
    --gray-light-color: 223, 229, 216;
    --white-color: 255, 255, 255;

    /* 	Layout  */
    --col-padding: 3rem;
    --menu-height: 8rem;
    --menu-height-scrolled: 8rem;
    --section-width: 150rem;

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

    /* 	Mobile nav */
    --activate-mobile-menu: 980;
    --mobile-menu-height: 6rem;
    --mobile-menu-bg: var(--white-color);
    --menu-color: var(--white-color);
}

@media only screen and (max-width: 580px) {
    :root {
        --base-size: 1.5rem;
    }
}

/* Layout
========================================================================== */
.section-block {
    padding: 15rem 5rem;
}

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

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

/* Text och typsnitt
========================================================================== */
body {
    font-family: 'Poppins', sans-serif;
}

/* Rubriker */
.text-label {
    padding-bottom: 1em;
    font-size: 1.4rem;
    font-weight: 400;
    color: rgb(var(--black-color));
}

.section-title {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 6rem;
    padding-bottom: 3.5rem;
    color: rgb(var(--black-color));
}

.small-title {
    font-family: "Inter", sans-serif;
    padding-bottom: .3em;
    font-size: 3rem;
    font-weight: 400;
    line-height: 1.4;
}

/* Brodtext och lankar */
p,
li {
    color: rgb(var(--gray-dark-color));
	font-weight: 300;
    letter-spacing: 0.5px;
}

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

a:hover {
	text-decoration: underline;
}

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

@media only screen and (max-width: 1024px) {
    /* Rubriker */
    .section-title {
        font-size: 4rem;
    }
}

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

/* Knappar */
.btn,
.ContactSubmit {
    min-width: 15rem;
    padding: 1.2rem 2rem;
    margin: 5px;
    font-size: 1.4rem;
    font-weight: 300;
    text-align: center;
    text-decoration: none;
    transition: all .4s ease;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.btn-primary-filled,
.ContactSubmit  {
    color: rgb(var(--white-color));
	border: 1px solid rgb(var(--primary-color));
	background-color: rgb(var(--primary-color));
}

.btn-primary-filled:hover,
.ContactSubmit:hover {
	background-color: rgb(var(--primary-color), .8);
    text-decoration: none;
}

/* Arrow link */
.arrow-link {
    padding-right: 1rem;
    font-size: var(--base-size);
}

.arrow-link::after {
    content: ' \f105';
    display: inline-block;
    margin-left: 1rem;
    font-weight: 400;
    font-family: 'Font Awesome 5 Pro';
    transition: transform .4s ease;
}

.arrow-link:hover::after {
    transform: translateX(1rem);
    transition: transform .4s ease;
}

/* Farger
========================================================================== */
/* Bakgrunder */
.bg-gray-light {
    background-color: rgb(var(--gray-light-color));
}

/* Bakgrundsbilder och videos
========================================================================== */
.bg-image,
.bg-video {
    position: relative;
    overflow: hidden;
}

.bg-image-wrapper,
.bg-video-wrapper {
    z-index: -1;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Video */
.bg-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 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%;
}

@media screen and (max-width: 1300px) {
    .split-content {
        padding: 3rem;
    }
}

@media screen and (max-width: 1000px) {
    .split-wrapper,
    .split-wrapper.reverse {
        flex-direction: column;
        background: transparent;
    }

    .split-content {
        width: 100%;
        max-width: 70rem;
        padding: 0 0 3rem;
        background: transparent;
    }

    .split-image {
        width: 100%;
        min-height: 20rem;
    }
}

/* Header / Navigation
========================================================================== */
header:not(.scrolled) {
    border-color: transparent;
    background-color: transparent;
}

header.scrolled {
	background-color: rgb(var(--black-color));
	box-shadow: 0 1rem 2rem rgba(0, 0, 0, .1);
}

/* Logo */
.header-logo {
	width: 15rem;
    margin: 0 auto 0 0;
}

/* Nav */
.TemplateMenu a {
    font-weight: 500;
    font-size: 1.4rem;
    color: rgb(var(--white-color));
	text-transform: uppercase;
	letter-spacing: 1.5px;
}

.TemplateMenu a:hover,
.TemplateMenu li.active>a {
    color: rgb(var(--primary-color));
    text-decoration: none;
}

/* CTA  */
.header-cta-wrapper {
    z-index: 9;
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0;
    margin: 0 0 0 2rem;
    list-style: none;
}

.header-cta-wrapper .btn {
    min-width: unset;
    padding: 1rem 2rem;
    line-height: 1;
}

.header-cta-wrapper a {
	font-size: 1.3rem;
}

/* Mobilmeny */
.mobile-menu .mainmenu {
    background-color: rgb(var(--black-color));
}

.mobile-menu:not(.scrolled, .active-menu) {
    --menu-color: var(--white-color);
}

.mobile-menu .TemplateMenu li {
    padding: 0 2rem;
    text-align: center;
}

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

    /* CTA  */
    .header-cta-wrapper .btn {
        padding: 0.7rem 1.5rem;
    }
}

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

/* Top-section
========================================================================== */
.top-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(110vh - var(--menu-height));
    padding-top: var(--menu-height);
    margin-top: calc(var(--menu-height) * -1);
    background-color: rgba(0, 0, 0, 0.5);
}

.top-section .section-block {
    width: 100%;
}

/* ==========================================================================
Undersidor
========================================================================== */

/* Hero - Grundkod
========================================================================== */
.hero {
    display: flex;
    align-items: center;
    min-height: 47rem;
    padding-top: var(--menu-height);
    margin-top: calc(var(--menu-height) * -1);
}

.hero .section-block {
    width: 100%;
}

.hero .bg-image-wrapper img {
    object-position: top;
}

/* ==========================================================================
Undersida: Contact
========================================================================== */
.ContactForm input[type="text"]:not(.illegal), 
.ContactForm input[type="email"]:not(.illegal), 
.ContactForm input[type="tel"]:not(.illegal), 
.ContactForm textarea:not(.illegal){
    border: solid 1px rgb(var(--gray-light-color));
}

.ContactForm p {
    font-weight: 400;
    color: rgb(var(--black-color));
}

/* ==========================================================================
Footer
========================================================================== */
.footer {
    padding: 0 5rem;
	background-color: rgb(var(--black-color));
}

.footer-container {
    max-width: var(--section-width);
    margin: 0 auto;
}

/* Footer top */
.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 8rem 0 0;
	border-bottom: 1px solid rgb(var(--white-color));
}

.footer-menu {
    width: 20%;
    margin: 0 0 3rem;
}

.footer-menu-large {
    width: 30%;
}

.footer .text-label {
    padding: 0 0 1rem;
    line-height: 1;
}

.footer-submenu {
    padding: 0;
    margin: 0 0 3rem;
    list-style: none;
}

.footer p {
    text-decoration: none;
    color: rgb(var(--white-color));
}

/* Footer bottom */
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
}

.footer-bottom p,
.footer-bottom a {
    font-size: 1.4rem;
    line-height: 1.6;
    color: rgb(var(--white-color));
}

/* WebbEss Stamp  */
.footer .webbess-stamp {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.webbess-stamp img {
    width: 2.5rem;
    margin-left: 1rem;
    filter: invert();
}

@media only screen and (max-width: 1200px) {
    .footer {
        padding: 0 3rem;
    }
}

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

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

    .footer-menu,
    .footer-menu-large {
        width: 100%;
    }

    /* Footer bottom */
    .footer-bottom {
        flex-direction: column-reverse;
    }

    .webbess-stamp {
        margin: 0 auto 2rem;
    }
}
