/* Senergi AB */

/* Typsnitt */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@200;300;400;500;600;700&display=swap');

/* Animationer */
@import url('https://unpkg.com/aos@2.3.1/dist/aos.css');

/* ==========================================================================
Generellt 
========================================================================== */
:root {
    /* 	Layout  */
    --col-padding: 3rem;
    --menu-height: 7rem;
    --menu-height-scrolled: 7rem;
    --section-width: 130rem;

    /* 	Colors */
    --primary-color: 0, 46, 54;
    --secondary-color: 106, 171, 109;
    --secondary-dark-color: 79, 129, 82;

    --black-color: 17, 17, 17;
    --gray-dark-color: 68, 68, 68;
    --gray-color: 130, 130, 130;
    --gray-light-color: 240, 240, 240;
    --white-color: 255, 255, 255;

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

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

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

.section-block-wrapper {
    max-width: var(--section-width);
}

/* Paddings */

.p-2 .section-block,
.p-2:not(.section-wrapper) {
    padding: 2rem;
}

.py-5 .section-block,
.py-5:not(.section-wrapper) {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.pb-0 .section-block,
.pb-0:not(.section-block) {
    padding-bottom: 0;
}

.pb-4 .section-block,
.pb-4:not(.section-block) {
    padding-bottom: 4rem;
}

.pb-10 .section-block,
.pb-10:not(.section-block) {
    padding-bottom: 10rem;
}

/* Margins */
.mt--5 {
    margin-top: -5rem;
}

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

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

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

/* Rubriker */
.text-label {
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
    padding-bottom: 1em;
    color: rgb(var(--black-color));
}

.section-title {
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1.4;
    padding-bottom: .5em;
    color: rgb(var(--black-color));
}

.small-title {
    font-size: 2.3rem;
    font-weight: 500;
    line-height: 1.4;
    padding-bottom: .7em;
    color: rgb(var(--black-color));
}

.ingress {
    font-size: calc(var(--base-size) * 1.2);
    font-weight: 700;
}

/* Brodtext och lankar */
p,
li {
    font-weight: 400;
    color: rgb(var(--gray-dark-color));
}

a {
    font-size: inherit;
    font-weight: 400;
    text-decoration: underline;
    color: inherit;
}

a:hover {
    text-decoration: none;
}

/* Ovriga klasser */
.text-block {
    max-width: 70rem;
}

.text-block-center {
    max-width: 100rem;
    margin-left: auto;
    margin-right: auto;
}

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

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

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

    .small-title {
        font-size: 2.2rem;
    }
}

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

    .small-title {
        font-size: 2rem;
    }
}

/* Knappar och speciella lankar
========================================================================== */
.btn-wrapper {
    display: flex;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn-wrapper.center {
    justify-content: center;
}

.btn-wrapper.multiple .btn {
    margin-right: 2rem;
}

/* Knappar */
.btn,
.ContactSubmit {
    min-width: 15rem;
    padding: 1.4rem 2rem;
    font-size: 1.4rem;
    font-weight: 600;
    border-radius: 4rem;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    transition: all .4s ease;
    border: none;
}

.btn:hover {
    border-color: transparent;
}

.btn-secondary-filled,
.ContactSubmit {
    color: rgb(var(--white-color));
    background-color: rgb(var(--secondary-color));
    border-color: rgb(var(--secondary-color));
}

.btn-secondary-filled:hover,
.ContactSubmit {
    background-color: rgb(var(--secondary-dark-color));
}

.btn-white-filled {
    color: rgb(var(--black-color));
    background-color: rgb(var(--white-color));
}

.btn-white-filled:hover {
    background-color: rgb(var(--gray-light-color));
}

/* Knapp med cirkel */
.btn-circle {
    position: relative;
    padding: 0 2.1rem;
    line-height: 4.2rem;
    min-width: 15rem;
    transition: all .3s ease;
}

.btn-circle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 4.2rem;
    height: 4.2rem;
    border-radius: 4rem;
    background: rgb(var(--secondary-color));
    transition: all .3s ease;
}

.btn-circle:hover::before {
    width: 100%;
}

.btn-circle span {
    position: relative;
    color: rgb(var(--white-color));
}

.btn-circle::after {
    content: '\f105';
    display: inline-block;
    font-family: 'Font Awesome 5 Pro';
    margin-left: .5rem;
    transition: transform .3s ease;
    color: rgb(var(--white-color));
}

.btn-circle:hover::after {
    transform: translateX(1rem);
    transition: transform .3s ease;
}

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

.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;
}

/* Cirkelikon */
.circle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    padding: 0;
    margin: .5rem;
    font-size: 0;
    color: rgb(var(--primary-color));
    text-decoration: none;
    border-radius: 50%;
    background-color: rgb(var(--white-color));
    transition: .3s ease;
}

.circle-icon:hover {
    color: rgb(var(--white-color));
    background-color: rgb(var(--primary-color));
}

.circle-icon i:before,
.circle-icon em:before {
    font-size: 1.4rem;
}

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

    .btn,
    .btn-wrapper.multiple .btn {
        display: block;
        width: 100%;
        margin: .5rem 0;
    }
}

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

.bg-secondary {
    background-color: rgb(var(--secondary-color));
}

.bg-primary-light {
    background-color: rgb(var(--primary-light-color), .5);
}

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

.gradient-lightgray-white {
    background-image: linear-gradient(to bottom, rgb(var(--gray-light-color)) 50%, rgb(var(--white-color)) 50%);
}

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

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

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

/* Grafiska element
========================================================================== */
/* Box shadow */
.box-shadow {
    box-shadow: 0 1rem 3rem rgba(var(--black-color), .1);
}

.box-shadow-primary {
    box-shadow: 0 1rem 2rem rgba(var(--primary-color), .4);
}

/* Bakgrundsbild
========================================================================== */
.bg-image {
    position: relative;
    overflow: hidden;
}

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

/* Parallax
========================================================================== */
.parallax {
    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;
    }
}

/* Cards
========================================================================== */
.cards-wrapper {
    display: flex;
    flex-wrap: wrap;
}

.card-item {
    text-decoration: none;
    transition: all .3s ease;
}

/* Specifika bredder */
.cards-wrapper.w-33 .card-item {
    width: calc((100% / 3) - 2rem);
    margin: 1rem;
}

.cards-wrapper.w-50 .card-item {
    width: calc((100% / 2) - 2rem);
    margin: 1rem;
}

.cards-wrapper.w-100 .card-item {
    width: calc((100% / 1) - 2rem);
    margin: 1rem;
}

@media only screen and (max-width: 1050px) {
    .cards-wrapper.w-33 .card-item {
        width: calc((100% / 2) - 2rem);
    }
}

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

    .cards-wrapper.w-33 .card-item,
    .cards-wrapper.w-50 .card-item {
        width: 100%;
        margin: 1rem 0;
    }

    .cards-wrapper.w-100 .card-item {
        width: 100%;
        margin: 1rem 0;
    }
}

/* Card 2-3 */
.card-2-3 .card-item {
    border-radius: 1rem;
}

.card-2-3 .card-header {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 7rem;
    height: 7rem;
    padding: 2rem;
    margin: -1rem 0 0 -1rem;
    border-radius: 55% 45% 47% 53% / 52% 36% 64% 48%;
}

/* Card 3-2 */
.cards-wrapper.card-3-2 .card-item {
    margin-top: 5rem;
    border-radius: 1rem;
}

.card-3-2 .image-wrapper {
    display: inline-block;
    max-width: 20rem;
    height: 20rem;
    border-radius: 50%;
}

/* Card 3-6 */
.card-3-6 .card-item {
    position: relative;
    height: 35rem;
    padding: 0;
    text-decoration: none;
    overflow: hidden;
    border-radius: 2rem;
}

.tag {
    position: absolute;
    z-index: 1;
    top: 3rem;
    left: 3rem;
    background-color: rgb(var(--white-color));
    color: rgb(var(--gray-dark-color));
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1;
    padding: 5px 9px;
    border-radius: 2rem;
}

.card-3-6 .image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.card-3-6 .image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(var(--black-color), .3);
    transition: .3s ease-in-out;
    box-shadow: inset 2px 2px 40px 20px rgb(var(--white-color));
}

.card-3-6 .card-body {
    padding: 2rem;
    z-index: 1;
    position: relative;
    width: 100%;
    height: 100%;
    margin-top: 28rem;
    transition: .3s ease;
}

.card-3-6 .card-body2 {
    margin-top: 25rem;
}

.card-3-6 .card-item:hover .card-body {
    background-color: rgb(var(--black-color), .6);
    backdrop-filter: blur(5px);
    margin-top: 0;
    transition: .3s ease;
}

.card-3-6 .card-item .scroll-body {
    max-height: calc(100% - 4.5rem);
    overflow: auto;
}

@media screen and (max-width: 1000px) {
    .card-3-6 .small-title {
        padding-bottom: 1rem;
    }

    .card-3-6 .card-body {
        width: 100%;
        height: 100%;
        margin-top: 0;
        padding: 1.5rem;
    }

    .card-3-6 .card-item {
        height: auto;
        padding-top: 10rem;
    }
}

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

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

.split-content {
    width: 50%;
    padding: 7rem;
    border-radius: 5px;
    overflow: hidden;
}

.split-image {
    width: 50%;
}

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

@media screen and (max-width: 1000px) {
    .split-content {
        width: 100%;
        padding: 4rem 2rem;
        border-radius: 5px 5px 0 0;
    }

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

    .split-image.py-5 {
        padding-top: 0;
    }
}

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

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

/* Header / Navigation
========================================================================== */
header .container {
    padding: 0 5rem;
}

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

.header-logo img {
    padding: 0.5rem 0;
}

/* Nav */
.TemplateMenu a {
    font-weight: 600;
    font-size: 1.4rem;
    color: rgb(var(--black-color));
}

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

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

.header-cta-wrapper li {
    margin: 0 .5rem;
}

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

/* Mobilmeny */
.mobile-menu .container {
    height: var(--mobile-menu-height);
}

.mobile-menu .hamburger {
    margin: 0 -1rem 0 1rem;
}

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

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

    .header-cta-wrapper .btn {
        min-width: unset;
        padding: 0.7rem 1.5rem;
    }

    .header-logo img {
        padding: 0.5rem;
    }
}

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

/* Top-section
========================================================================== */
.top-section {
    background-image: url(/assets/images/varmecentral-2000px.jpg);
}

.top-section .section-block {
    display: flex;
    align-items: flex-end;
    min-height: 80vh;
    background-image: linear-gradient(to right, rgb(var(--black-color), .6) 70rem, rgb(var(--black-color), .2) 70rem);
}

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

.top-section .text-block {
    max-width: 100rem;
}

.top-section .section-title {
    font-size: 5.7rem;
    font-weight: 400;
    color: rgb(var(--white-color));
}

.top-section p {
    max-width: 65rem;
    color: rgb(var(--white-color));
    font-size: 1.5rem;
}

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

    .top-section .text-block {
        max-width: 70rem;
    }

    .top-section .section-block {

        background-image: none;
        background-color: rgb(var(--black-color), .5);
    }
}

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

/* Sektion om oss
========================================================================== */
@media screen and (max-width: 580px) {
    .section-about .section-block {
        padding: 4rem 2rem;
    }
}

/* pallax sektion
========================================================================== */
.section-start {
    background-image: url('/assets/images/mek-2000px.jpeg');
}

.section-start .section-block {
    min-height: 40rem;
    background-color: rgb(var(--black-color), .6);
}

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

/* Hero - Grundkod
========================================================================== */
.hero .section-block {
    display: flex;
    align-items: center;
    min-height: 35rem;
    background: linear-gradient(90deg, rgba(var(--black-color), .2) 0%, rgba(var(--black-color), .5) 0%, rgba(var(--black-color), 0.0) 100%);
}

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

.hero .section-title {
    font-size: 6rem;
    padding-bottom: 0;
}

@media only screen and (max-width: 580px) {
    .hero .section-block {
        min-height: 40rem;
    }

    .hero .section-title {
        font-size: 3rem;
    }
}

/* ==========================================================================
Undersida: Processen
========================================================================== */
/* Timeline */
.timeline {
    max-width: 80rem;
    margin: 0 auto;
}

.timeline-item {
    position: relative;
    display: flex;
    align-items: center;
    margin: 0 8rem 3rem 0;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
    margin: 0 0 3rem 8rem;
}

.timeline-item::after {
    position: absolute;
    content: '';
    display: block;
    height: calc(100% + 3rem);
    width: 5rem;
    top: 50%;
    left: 3rem;
    border: 2px solid rgb(var(--secondary-color));
    border-right: none;
    border-radius: 0 0 0 3rem;
}

.timeline-item:nth-child(even)::after {
    left: auto;
    right: 3rem;
    border: 2px solid rgb(var(--secondary-color));
    border-left: none;
    border-radius: 0 0 3rem 0;
}

.timeline-item:last-child:after {
    border: none;
    border-top: 2px solid rgb(var(--secondary-color));
}

/* Steg */
.timeline-event {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    background-color: rgb(var(--secondary-color));
    margin: 2rem 2rem 2rem 0;
}

.timeline-item:nth-child(even) .timeline-event {
    margin: 2rem 0 2rem 2rem;
}

/* Kort i timeline */
.timeline-card {
    position: relative;
    z-index: 2;
    display: flex;
    flex: 1 1 0%;
    border-radius: 3rem;
    overflow: hidden;
}

.timeline-item:nth-child(even) .timeline-card {
    flex-direction: row-reverse;
}

.timeline-card .card-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    width: 12rem;
    background-color: rgb(var(--secondary-color));
}

.timeline-card .card-header i {
    font-size: 3rem;
}

.timeline-card .card-body {
    padding: 3rem;
    flex: 1 1 0;
    background-color: rgb(var(--primary-color));
}

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

    .timeline-item,
    .timeline-item:nth-child(even) {
        flex-direction: column;
        align-items: inherit;
        margin: 0 0 3rem;
    }

    .timeline-item::after,
    .timeline-item:nth-child(even)::after,
    .timeline-item:last-child:after {
        height: 11rem;
        top: 0;
        left: 50%;
        right: auto;
        border: none;
        border-left: 2px solid rgb(var(--secondary-color));
        border-radius: 0;
    }

    .timeline-item:not(:first-child):after {
        top: -3rem;
    }

    /* Steg */
    .timeline-event,
    .timeline-item:nth-child(even) .timeline-event {
        margin: 0 auto 2rem;
    }

    /* Kort */
    .timeline-card,
    .timeline-item:nth-child(even) .timeline-card {
        flex-wrap: wrap;
        flex-direction: column;
    }

    .timeline-card .card-header {
        width: 100%;
    }
}

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

/* ==========================================================================
Undersida: Referenser
========================================================================== */
.section-referenser p {
    max-width: 70rem;
}

.projects .card-item:nth-child(5n + 5) {
    width: calc((100% / 1) - 2rem);
}

@media only screen and (max-width: 750px) {
    .projects .card-item:nth-child(5n + 5) {
        width: 100%;
    }
}

/* ==========================================================================
Undersida: Kontakta oss
========================================================================== */

.section-contact .section-block-wrapper {
    box-shadow: rgba(var(--black-color), 0.15) 0px 2px 8px;
}

.section-contact .col-0 {
    width: calc(100% - 50rem);
    padding: 0;
}

.section-contact .col-0 .col-wrapper,
.section-contact .col-0 .block-container,
.section-contact .col-0 .block-object {
    height: 100%;
}

.ContactForm input[type="text"],
.ContactForm textarea {
    border-radius: 1rem;
}

.section-contact .col-1 {
    width: 50rem;
    padding: 3rem;
    background-color: rgb(var(--primary-color));
}

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

.section-contact ::placeholder {
    color: rgb(var(--gray-dark-color));
    font-weight: 400;
    font-size: 1.4rem;
}

@media only screen and (max-width: 1100px) {
    .section-contact .col-0 {
        width: 100%;
    }

    .section-contact .col-1 {
        padding: 3.5rem 2rem;
        width: 100%
    }

    .section-contact .col-0 {
        width: 100%;
        height: 40rem;
    }
}

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

    .section-contact .col-1 {
        padding: 3rem 2rem;
    }
}

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

.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 5rem;
    border-bottom: 1px solid rgb(var(--white-color), .5);
}

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

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

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

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

.footer-top li,
.footer-top p,
.footer-top a:not(.circle-icon) {
    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: 1024px) {
    .footer {
        padding: 0 3rem;
    }

    /* Footer top */
    .footer-menu {
        width: 48%;
    }

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

    .footer-menu-large p {
        max-width: 55rem;
    }
}

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

    /* Footer top */
    .footer-menu,
    .footer-menu-large {
        width: 100%;
    }
}

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