/* Velox Sweden */

/* Typsnitt */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,700;1,400;1,700&display=swap');

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

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

    /* 	Colors */
    --primary-color: 218, 41, 28;
    --primary-dark-color: 112, 22, 22;

    --black-color: 0, 0, 0;
    --gray-dark-color: 45, 45, 45;
    --gray-color: 65, 65, 65;
    --gray-light-color: 240, 240, 240;
    --white-color: 255, 255, 255;

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

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

/* Layout
========================================================================== */
.section-wrapper {
    background-color: rgb(var(--gray-color));
}

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

/* Paddings */
.pt-0 .section-block,
.pt-0:not(.section-wrapper) {
    padding-top: 0;
}

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

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

.pl-0 .section-block,
.pl-0:not(.section-wrapper) {
    padding-left: 0;
}

.pr-0 .section-block,
.pr-0:not(.section-wrapper) {
    padding-right: 0;
}

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

@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: 'Open Sans', sans-serif;
    color: rgb(var(--white-color));
}

/* Rubriker */
.text-label {
    padding-bottom: 1em;
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    font-family: 'Open Sans', sans-serif;
}

.section-title {
    padding-bottom: .5em;
    font-size: 4rem;
    font-weight: 600;
    line-height: 1.2;
    font-family: 'Open Sans', sans-serif;
}

.small-title {
    padding-bottom: .7em;
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.4;
    font-family: 'Open Sans', sans-serif;
}

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

/* Brodtext och lankar */
p,
li {
    font-weight: 400;
}

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

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

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

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

.text-regular {
    font-weight: 400;
}

.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 {
    margin-top: 2rem;
}

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

/* Knappar */
.btn {
    min-width: 15rem;
    padding: 1.6rem 2rem;
    margin: 4px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1.45rem;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    border-radius: 0.5rem;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    transition: all .4s ease;
}

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

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

/* Lank med ikon */
.icon-links {
    padding: 5px 10px;
    font-size: 1.3rem;
    color: rgb(var(--black-color));
    line-height: 1;
    border-radius: 2rem;
    text-decoration: none;
    transition: all .3s ease;
}

.icon-links:hover {
    color: rgb(var(--white-color));
    background-color: rgb(var(--black-color));
}

@media only screen and (max-width: 480px) {
    .btn {
        display: block;
        width: 100%;
        margin: 1rem 0;
    }
}

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

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

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

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

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

/* Grafiska element
========================================================================== */
/* Section-title med velox symbol */
.small-title.velox img {
    max-height: 3rem;
}

/* Object position */  
.of-wrapper img.op-center-33 {
    object-position: center 33%;
}

/* Bakgrundsbild och video
========================================================================== */
.bg-video,
.bg-image {
    overflow: hidden;
    position: relative;
    background: linear-gradient(90deg, rgba(var(--black-color), .2) 0%, rgba(var(--black-color), .5) 0%, rgba(var(--black-color), 0.0) 100%);
}  

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

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

.parallax .section-block {
    min-height: 40rem;
}

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

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

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

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

/* Card 2-2 */
.card-2-2 .card-header {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 6rem;
    height: 6rem;
    margin-bottom: 2rem;
    border-radius: 2rem;
}

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

.card-2-2 .card-header img {
    max-width: 3.9rem;
}

/* Card 3-4 - medarbetare */
.cards-wrapper.card-3-4 .card-item {
    display: flex;
    flex-direction: row-reverse;
    margin-top: 3rem;
    background-color: rgb(var(--gray-dark-color));
}

.card-3-4 .image-wrapper {
    width: 10rem;
    height: 10rem;
    margin: -2rem 1rem;
    border-radius: 2rem;
}

.card-3-4 .card-body {
    flex: 1 1 0px;
    padding-right: 0;
}

.card-3-4 .contact-item a {
    font-size: 1.5rem;
    word-break: break-all;
}

.card-3-4 .contact-item a:hover {
    color: rgb(var(--primary-color));
}

.card-3-4 .contact-item i {
    margin-right: .5rem;
} 

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

    .card-3-4 .card-body {
        padding: 2rem 0 2rem 1.5rem;
    }
}  
  
@media only screen and (max-width: 980px) {
    .card-3-4.w-33 .card-item {
        width: 100%;
        margin: 2rem 0 1rem 0; 
    }
}  

@media only screen and (max-width: 580px) {
    .cards-wrapper.card-3-4 .card-item {
        flex-direction: column;
    }

    .card-3-4 .image-wrapper {
        width: 7rem;
        height: 7rem;
        margin: -2rem 0 0 1rem;
    } 

    .card-3-4 .contact-item a {
        font-size: 1.3rem;
    }
} 

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

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

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

.split-image {
    width: 50%;
}

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

/* Bredder */
.split-wrapper .w-70 {
    width: 70%;
}

.split-wrapper .w-30 {
    width: 30%;
}

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

}

@media screen and (max-width: 1000px) {
    .split-content {
        width: 100%;
    }

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

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

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

/* Header / Navigation
========================================================================== */
header {
    background-color: rgb(var(--gray-dark-color));
}

/* Logo */
.header-logo {
    margin: 0 auto 0 0;
    transition: .2s ease;
}

.IndexPage .header-logo {
    opacity: 0;
}

header.scrolled .header-logo {
    opacity: 1;
}

/* Nav */
.TemplateMenu a {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.45rem;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
    font-weight: 500;
    color: rgb(var(--white-color));
}

.TemplateMenu ul {
    background-color: rgb(var(--gray-dark-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;
}

@media only screen and (max-width: 580px) {
    /* Header logo */
    .header-logo img {
        padding: 2rem 0;
    }

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

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

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

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

.top-section .logo {
    max-width: 23rem;
    margin-bottom: 2rem;
} 

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

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

    .top-section .logo {
        max-width: 17rem;
    }
}

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

    .top-section .logo {
        max-width: 12rem;
    }
}

/* Sektion CTA
========================================================================== */
.section-cta {
    background-image: url(/assets/images/stenkrossare-natt-2000px.jpg);
    background-size: cover;
    background-position: center;
}

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

/* ==========================================================================
Undersida
========================================================================== */

/* Hero - Grundkod
========================================================================== */
.hero .section-block {
    display: flex;
    align-items: flex-end;
    min-height: 50vh;
    padding-bottom: 5rem;
} 
 
.hero .section-block-wrapper {
    width: 100%;
}

.hero .section-title {
    padding: 0 0 1rem;
    margin: 0 0 1rem;
    color: rgb(var(--white-color));
    font-size: 4.5rem;
    border-bottom: 2px solid rgb(var(--primary-color));
}

.hero p {
    color: rgb(var(--white-color));
    font-size: 2rem;
}

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

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

/* ==========================================================================
Undersida: Om oss
========================================================================== */
.split-velox .split-image {
    opacity: .3;
}

@media only screen and (max-width: 1250px) {
    .split-velox .split-content {
        width: 100%;
    }
    
    .split-velox .split-image {
        display: none;
    }
}

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

/* Footer top */
.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 8rem 0 5rem;
}

.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-top a {
    text-decoration: none;
    transition: .2s ease;
}

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

.footer-top li em {
    width: 2rem;
    margin-right: 0.3rem;
    text-align: center;
    color: rgb(var(--primary-color));
}

.footer-top .flag-item {
    display: flex;
    align-items: center; 
}

.footer-top .flag-item .of-wrapper {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    margin-right: .4rem;
    border-radius: 50%;
    overflow: hidden;
}

.footer-top .flag-item .of-wrapper img {
    vertical-align: top;
    object-position: 18% 50%;
}

/* Social Menu */
.social-menu {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid rgb(var(--primary-color), .5);
}

.social-menu li {
    margin: 1rem 1rem 1rem 0;
}

.social-menu a {
    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;
    }
}