@charset "UTF-8";
/*
Theme Name: Solva Energie theme
Theme URI: n/a
Author: Young Birds Studio
Author URI: https://youngbirds.studio/
Description: Solva Energie custom theme!
Version: 1.0.0
Text Domain: solva-energie-theme
*/

/*
	Table of content
    1. GENERAL
        1.1 Headings
        1.2 Text
        1.3 Lists
            1.3.1 Checklist
            1.3.2 USPs
        1.4 Initials
        1.5 Buttons
        1.6 Colors
        1.7 Socials
        1.8 Label
    2. HEADER
    3. MAIN
    4. FOOTER
    RESIZE
*/

/* 1. GENERAL */
:root { 
    --grid-size-xl: ;
    --grid-size-lg: 118rem;
    --grid-size-md: ;
    --grid-size-sm: 68rem;
    --grid-size-xs: ;
    --grid-padding: 2rem;
    --border-radius: 1rem;
    --border-radius-sm: .5rem;
    --color-offwhite: #F7F8FB;
    --color-lightgrey: #DDD;
    --color-darkgrey: #414857;
    --color-verylightblue: #E5E8EE;
    --color-darkblue: #0B1B3B;
    --color-verydarkblue: #0E1116;
    --color-red: #E4322B;
    --color-darkred: #C4241E;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	font-size: 62.5%;
}

body {
    font-family: 'Geist', sans-serif;    
    font-weight: 400;
    font-size: 1.7rem;
    font-optical-sizing: auto;
    font-smoothing: antialiased;
    -webkit-font-smoothing: antialiased; 
    line-height: 1.6;
    color: var(--color-darkgrey);
    text-rendering: optimizeLegibility;
}

/* 1.1 Headings */
h1,
h2,
h3,
h4,
h5 {
    margin: 0;
    font-weight: 600;
    color: var(--color-verydarkblue);
}

h1,
h2.large {
    margin-bottom: clamp(1rem, 0.7rem + 0.8vw, 2rem);
    font-size: clamp(4.4rem, 3.5rem + 2.4vw, 6.4rem);
    line-height: 1.1;
}

h2 {
    margin-bottom: clamp(1rem, 0.7rem + 0.8vw, 2rem);
    font-size: clamp(3.2rem, 2.8rem + 1.1vw, 4.4rem);
    line-height: 1.2;
}

h2.small {
    font-size: 3.2rem;
}

h3 {
    margin-bottom: clamp(0.5rem, 0.35rem + 0.4vw, 1rem);
    font-size: 2.2rem;
    line-height: 1.4;
}

h4 {
    margin-bottom: clamp(0.5rem, 0.35rem + 0.4vw, 1rem);
    font-size: 1.8rem;
    line-height: 1.5;
}

h5 {
    font-size: 1.5rem;
}

p + h2 {
    margin-top: 4rem;
}

/* 1.2 Text */
p {
	margin: 0 0 2.5rem;
}

p:empty {
    display: none;
}

p:last-child {
    margin: 0;
}

a {
    color: var(--color-darkgrey);
    text-decoration: underline;
    transition: .3s;
}

/* 1.3 Lists */
ul,
ol {
    margin: 0 0 2.5rem;
    padding-left: 2rem;
}

/* 1.3.1 Checklist */
ul.checklist {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

ul.checklist li {
    position: relative;
    padding-left: 3rem;
}

ul.checklist li::before {
    content: '\f00c';
    position: absolute;
    top: -.3rem;
    left: 0;
    font-family: 'Font Awesome 6 Pro';
    font-size: 2rem;
    color: var(--color-red);
}

ul.checklist li:not(:first-child) {
    margin-top: .5rem;
}

/* 1.3.2 USPs */
ul.usps {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 1.5rem;
    line-height: 1.3;
}

ul.usps li {
    padding: 1rem 2rem;
    border-radius: 5rem;
    background-color: var(--color-verylightblue);
}

ul.usps li::before {
    content: '\f00c';
    margin-right: .5rem;
    font-family: 'Font Awesome 6 Pro';
    color: var(--color-red);
}

/* 1.4 Initials */
section {
    padding: 0 var(--grid-padding);
}

.row-xl,
.row-lg,
.row-md,
.row-sm,
.row-xs {
    width: 100%;
    margin: 0 auto;
}

.row-xl {
    max-width: var(--grid-size-xl);
}

.row-lg {
    max-width: var(--grid-size-lg);
}

.row-md {
    max-width: var(--grid-size-md);
}

.row-sm {
    max-width: var(--grid-size-sm);
}

.row-xs {
    max-width: var(--grid-size-xs);
}

.pt-lg {
    padding-top: clamp(6rem, 4.6rem + 3.8vw, 8rem);
}

.pt-md {
    padding-top: clamp(3rem, 2.3rem + 1.9vw, 5rem);
}

.pt-sm {
    padding-top: clamp(1.5rem, 1rem + 1.4vw, 3rem);
}

.pt-none {
    padding-top: 0;
}

.pb-lg {
    padding-bottom: clamp(6rem, 4.6rem + 3.8vw, 8rem);
}

.pb-md {
    padding-bottom: clamp(3rem, 2.3rem + 1.9vw, 5rem);
}

.pb-sm {
    padding-bottom: clamp(1.5rem, 1rem + 1.4vw, 3rem);
}

.pb-none {
    padding-bottom: 0;
}

/* 1.5 Buttons */
.btn {
    position: relative;
    min-height: 4rem;
    margin: 0 3rem 1rem 0;
    padding-left: 5.5rem;
    display: inline-flex;
    align-items: center;
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-verydarkblue);
    text-decoration: none;
	transition: .3s;
}

header.light .btn {
    color: var(--color-lightgrey);
}

.btn::before {
    content: '\f061';
    position: absolute;
    left: 0;
    top: 0;
    width: 4rem;
    height: 4rem;
    border: .1rem solid var(--color-red);
    border-radius: var(--border-radius-sm);
    background-color: var(--color-red);
    font-family: 'Font Awesome 6 Pro';
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 4rem;
    color: white;
    text-align: center;
    transition: .3s;
}

.btn.transparent::before, 
header.light .btn::before {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(1rem);
    -webkit-backdrop-filter: blur(1rem);
}

.btn:hover {
    cursor: pointer;
}

header.light .btn:hover {
    color: white;
}

.btn:hover::before,
header.light .btn:hover::before {
    border-color: var(--color-darkred);
    background-color: var(--color-darkred);
    transform: translateX(.5rem);
}

/* 1.6 Colors */
.red {
    color: var(--color-red);
}

.bgcolor-lightgrey {
    background-color: var(--color-offwhite);
}

/* 1.7 Socials */

/* 1.8 Label */
.label {
    margin-bottom: .5rem;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: .2rem;
    color: var(--color-red);
    text-transform: uppercase;
}

/* 2. HEADER */
header { 
    position: relative;
    padding: 0 var(--grid-padding);
    color: var(--color-verydarkblue);
}

header.light {
    position: absolute;
    z-index: 20;
    width: 100%;
    background: #0B1B3B;
    background: linear-gradient(0deg,rgba(11, 27, 59, 0) 0%, rgba(11, 27, 59, .25) 100%);
}

header a {
    color: var(--color-verydarkblue);
    text-decoration: none;
}

header .container {
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo-wrapper {
    height: 4rem;
    display: flex;
}

header .logo-wrapper img {
    width: auto;
    height: 4rem;
}

header ul.menu {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 3rem;
}

header ul.menu a {
    display: inline-block;
    padding: .1rem 0;
    border-top: .1rem solid transparent;
    border-bottom:  .1rem solid transparent;
    font-weight: 500;
}

header.light ul.menu a {
    color: var(--color-lightgrey);
}

header ul.menu a:hover,
header ul.menu li.current-menu-item a {
    border-bottom-color: var(--color-verydarkblue);
}

header.light ul.menu a:hover,
header.light ul.menu li.current-menu-item a {
    border-bottom-color: white;
    color: white;
}

header .btn {
    margin: 0;
}

header .hamburger {
    position: fixed;
    top: 2rem;
    right: var(--grid-padding);
    z-index: 20;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background-color: white;
    display: none;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

/* 3. MAIN */

/* 4. FOOTER */
footer {
    padding: 0 var(--grid-padding);
    font-size: 1.4rem;
    line-height: 1.7;
    color: var(--color-darkgrey);
}

footer a {
    color: var(--color-darkgrey);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

footer img {
    margin-bottom: 1rem;
}

footer .top .container {
    padding: clamp(5rem, 4rem + 2.5vw, 8rem) 0;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    grid-gap: 4rem;
}

footer .top .col:first-child {
    padding-right: 5rem;
}

footer .top .col:not(:first-child) {
    line-height: 2;
}

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

footer .bottom .container {
    padding: 3rem 0;
    border-top: .1rem solid var(--color-verylightblue);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

/* RESIZE */
@media (max-width: 1220px) {
    /* 2. HEADER */
    header .menu-header-menu-container {
        display: none;
    }

    header .content-wrapper {
        display: none;
    }

    header .hamburger {
        display: flex;
    }
}

@media (max-width: 1024px) {
    /* 4. FOOTER */
    footer .top .container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px) {
    /* 1. GENERAL */
    body {
        font-size: 1.6rem;
        line-height: 1.5;
    }

    /* 1.5 Buttons */
    .btn {
        min-height: 3rem;
        padding-left: 4.5rem;
    }

    .btn::before {
        width: 3rem;
        height: 3rem;
        line-height: 3rem;
    }
}

@media (max-width: 599px) {
    /* 4. FOOTER */
    footer .top .container {
        grid-template-columns: 1fr;
        grid-gap: 2.5rem;
    }

    footer .bottom .container {
        flex-direction: column;
    }
}

@media (max-width: 499px) {
    /* 1. GENERAL */
    :root {
        --grid-padding: 1.5rem;
    }
}
