﻿/* Solares Energi AB */

/* Typsnitt – DM Sans */
@import url("../css2");

/* Animationer */
@import url("../aos@2.3.1/dist/aos.css");

/* ==========================================================================
Generellt 
========================================================================== */
:root {
    /* 	Layout  */
    --col-padding: 5rem;
    --menu-height: 9rem;
    --menu-height-scrolled: 9rem;
    --section-width: 150rem;

    /* 	Colors */
    --primary-color: 221, 134, 28;

    --black-color: 22, 26, 30;
    --gray-dark-color: 40, 44, 48;
    --gray-color: 83, 86, 89;
    --gray-light-color: 240, 240, 240;
    --white-color: 255, 255, 255;

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

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

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

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


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

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

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

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

.pt-4 .section-block,
.pt-4:not(.section-wrapper) {
    padding-top: 4rem;
}

/* Bredder */
.mw-1200 .section-block-wrapper {
    max-width: 120rem;
}

/*ovriga klasser*/
.db {
    display: block;
}

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

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

/* Text och typsnitt
========================================================================== */
body {
    font-family: 'DM Sans', sans-serif;
    color: rgb(var(--black-color));
}

/* rubriker */
.section-title {
    font-size: 5.5rem;
    line-height: 1.3;
    font-weight: 700;
    padding-bottom: 2rem;
}

.small-title {
    font-size: 3rem;
    line-height: 1.4;
    font-weight: 600;
    padding-bottom: 1rem;
}

.text-label {
    font-size: 1.4rem;
    letter-spacing: 0.3rem;
    text-transform: uppercase;
    line-height: 1.3;
    padding-bottom: 2rem;
    font-weight: 300;
}

.text-title {
    font-size: var(--base-size);
    line-height: 1.4;
    font-weight: 600;
}

/* Text */
p {
    font-weight: 300;
}

a {
    color: inherit;
    font-weight: inherit;
    text-decoration: none;
} 

/* Ovriga klasser */

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

.text-italic {
    font-style: italic;
}

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

.text-block-center {
    max-width: 90rem;
    margin: 0 auto;
}

.text-block {
    max-width: 65rem;
}

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

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

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

    .text-label {
        font-size: 1.6rem;
    }
    
    :root {
        --base-size: 1.6rem;
    }
}

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

.btn-wrapper.multiple .btn:not(:last-child) {
    margin-right: 2rem;
}

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

/* Knappar */
.btn,
.ContactSubmit{
    display: inline-block;
    min-width: 20rem;
    padding: 1.5rem 3rem;
    font-size: 1.2rem !important;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3rem;
    text-transform: uppercase;
    text-align: center;
    border-radius: 8px;
    line-height: 1;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

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

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

/* vit knapp */
.btn-white-filled {
    color: rgb(var(--black-color));
    border: 1px solid rgb(var(--white-color));
    background-color: rgb(var(--white-color));
}

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

.btn-white-border {
    color: rgb(var(--white-color));
    border: 1px solid rgb(var(--white-color));
    background-color: transparent;
}

.btn-white-border:hover {
    color: rgb(var(--black-color));
    border: 1px solid rgb(var(--white-color));
    background-color: rgb(var(--white-color));
}

/* Arrow link */
.arrow-link {
    padding-right: 1rem;
    font-weight: 500;
    font-size: 1.6rem;
    color: rgb(var(--white-color));
}

.arrow-link::after {
    content: " \f178";
    display: inline-block;
    margin-left: 0.5rem;
    font-family: "Font Awesome 5 Pro";
    font-size: 0.7em;
    transition: transform 0.4s ease;
}

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

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

    .btn-wrapper.multiple .btn:not(:last-child) {
        margin-right: 0rem;
        margin-bottom:2rem;
    }
}

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

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

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

.gradient-primary-white {
    background: linear-gradient(120deg, rgb(var(--primary-color)) 40%, rgb(var(--primary-color), .1) 40%);
}

.gradient-primary-white-hero {
    background: linear-gradient(120deg, rgb(var(--primary-color)) 30%, rgb(var(--primary-color), .1) 30%);
}

@media only screen and (max-width: 1000px) {
    .gradient-primary-white{
        background-image: linear-gradient(to bottom, rgb(var(--primary-color), .1) 70%, rgb(var(--primary-color)) 70%);
    }

    .gradient-primary-white-hero {
        background: linear-gradient(120deg, rgb(var(--primary-color), .1) 30%, rgb(var(--primary-color), .1) 30%);
    }
}

@media only screen and (max-width: 580px) {
    .gradient-primary-white {
        background-image: linear-gradient(to bottom, rgb(var(--primary-color), .1) 80%, rgb(var(--primary-color)) 80%);
    }
}

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

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

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

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

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

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

/* Generellt */
a.card-item {
    transition: .3s ease;
}

/* Card grow */
.cards-grow .card-item {
    display: flex;
    flex-direction: column;
}

.cards-grow .card-body {
    flex-grow: 1;
}

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

@media only screen and (max-width: 750px) {
    /* Bredder */
    .cards-wrapper.w-33 .card-item {
        width: 100%;
        margin: 1rem 0;
    }
}

@media only screen and (max-width: 480px) {
    /* Generellt */
    .cards-wrapper .p-3 {
        padding: 2rem;
    }
}

/* Card 2-2 */
.card-2-2 .card-item {
    border-radius: 5px;
   
}

.card-2-2 a.card-item:hover {
    background: rgb(var(--gray-light-color));
}

.card-2-2 .card-header {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 7rem;
    height: 7rem;
    margin: 0 2rem;
    border-radius: 0 0 1rem 1rem;
}

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

@media only screen and (max-width: 480px) {
    .card-2-2 .card-header {
        width: 5rem;
        height: 5rem;
    }

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

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

.card-2-3 .icon {
  font-size:2rem;
}

/* Card 2-5 */
.card-2-5 .card-item {
    display: flex;
    align-items: center;
    padding: 2rem;
}

.card-2-5 .card-header {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    background: rgb(var(--primary-color));
}

.card-2-5 .card-header i {
    font-size: 2.7rem;
}

.card-2-5 .card-body {
    padding: 0 2rem;
}

.card-2-5 a.card-item:hover {
    background: rgb(var(--gray-light-color));
    border-radius: 1rem;
    color: rgb(var(--primary-color));
    transition: .4s ease;
}

@media only screen and (max-width: 750px) {
    /* Bredder */
    .card-2-5 .card-item {
        flex-direction: column;
    }

    .card-2-5 .card-body {
        padding-top: 2rem;
    }
}

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

/* Speciella bredder */
.split-wrapper .w-70 {
    width: 70%;
  }
  
  .split-wrapper .w-30 {
    width: 30%;
  }

  /* Speciella margins */
.split-wrapper .mr--18rem {
    z-index: 1;
    position: relative;
    margin-right: -18rem;
    padding-left: 0;
}

@media screen and (max-width: 1100px) {
    .split-content,
    .split-wrapper .w-30,
    .split-wrapper .w-70  {
        width: 100%;
    }

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

    .split-wrapper .mr--18rem {
        margin-right: 0;
        padding: 4rem;
    }
}

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

    .split-content {
        padding: 0 0 3rem 0;
    }
}

/* Bakgrundsvideo
========================================================================== */
.bg-video {
    position: relative;
}

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

.bg-video-wrapper video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
}

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

/* Header / Navigation
========================================================================== */

header {
    background-color: rgb(var(--black-color));
}

/* Logo */
.header-logo {
    flex: 1 1 0px;
}

/* Nav */
.TemplateMenu a {
    font-weight: 400;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.3rem;
    color: rgb(var(--white-color));
} 

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

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

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

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

/* Mobilmeny */
.mobile-menu .container {
    height: var(--mobile-menu-height);
    padding: 0 0.5rem 0 2rem;
}

.mobile-menu .header-cta-wrapper .btn {
    min-width: unset;
    padding: 1.2rem 1.5rem; 
    font-size: 1.1rem;
}

.mobile-menu .header-logo {
    flex: inherit;
}

.mobile-menu .header-logo img{
 padding: 1.5rem 0;  
}

.mobile-menu .header-cta-wrapper .btn {
    min-width: unset;
    padding: 1.2rem 1rem; 
    font-size: 1.1rem;
}

@media only screen and (max-width: 360px) {
    .mobile-menu .header-logo img{
        padding: 1.7rem 0;
       }
}


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

/* Top-section
========================================================================== */
.top-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    position: relative;
    margin-top: calc(-1 * var(--mobile-menu-height));
    background: rgb(var(--black-color), 0.4);
}

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

.top-section .section-title {
    padding-bottom: 0;
    color: rgb(var(--white-color));
}

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

/* Section Vision
========================================================================== */
.section-vision {
    background-image: url('images/solceller-park-2000px.jpg');
    min-height: 60rem;
    min-height: unset;
}

.section-vision .section-block {
    background-color: rgb(var(--black-color), 0.4);
}

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

/* Hero - Grundkod
========================================================================== */
.hero .section-block {
    display: flex;
    align-items: center;
    min-height: 30rem;
}

.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: 25rem;
    }
    
    .hero .section-title {
        font-size: 3rem;
    }
}

/* ==========================================================================
Undersida: Installera
========================================================================== */
.step-split .split-content {
    width: 40%;
    position: relative;
    z-index: 1;
    padding: 3rem 0;
}

.step-split .split-image {
    width: 70%;
    margin-left: -10%;
    border-radius: 1rem;
}

.icon {
    position: relative;
    width: 4rem;
    height: 4rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    color: rgb(var(--white-color));
    font-size: 1.4rem;
    margin: 0 1rem 0 0;
    border-radius: 50%;
    vertical-align: text-bottom;
}

@media only screen and (max-width: 1000px) {
    .step-split .split-content {
        width: calc(100% - 2rem);
        padding: 0;
        margin: 0 1rem -4rem;
    }
    
    .step-split .split-image {
        width: 100%;
        margin-left: 0%;
    }
}

/* ==========================================================================
Undersida: Kontakta oss
========================================================================== */
.section-contact .col-1 {
    position: relative;
    padding: 3rem;
    border-radius: 1rem;
    background: rgb(var(--white-color));
    box-shadow: 0 1rem 3rem rgba(var(--black-color), .1);
}

.ContactForm input[type="text"],
.ContactForm textarea {
    border-radius: 1rem;
    background: rgb(var(--gray-light-color));
    border-color: rgb(var(--gray-light-color));
}

/* Bekraftelseruta */
.ContactSentMessage {
    padding: 1rem 1rem 1rem 7rem;
    margin-bottom: 2rem;
    border-radius: .5rem;
    background-color: rgba(var(--primary-color), .2);
    background-image: url(images/icons/message-sent.svg);
    background-size: 4rem;
    background-position: 1.5rem center;
    background-repeat: no-repeat;
}

.ContactSentMessage p {
    padding: 0;
}

@media only screen and (max-width: 980px) {
    .section-contact .col-1 {
        margin-top: 5rem;
    }

    .section-contact .text-block{
        text-align: center;
    }

    .section-contact .col-1 {
        padding: 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(--primary-color));
}

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

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

.footer .text-label {
    color: rgb(var(--primary-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-top em {
    font-size: 2rem;
}

.footer a:hover {
    color: rgb(var(--primary-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;
    }
}