/* Ximple AB */

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

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

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

    /* 	Colors */
    --primary-color: 84, 135, 167;
    --primary-dark-color: 33, 53, 65;
    --primary-light-color: 223, 234, 241;

    --black-color: 0, 0, 0;
    --gray-dark-color: 58, 58, 58;
    --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: 7rem;
    --mobile-menu-bg: var(--white-color);
    --menu-color: var(--black-color);
}

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

/* Paddings */
.p-4:not(.section-wrapper),
.p-4 .section-block {
    padding: 4rem;
}

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

.pb-0 .section-block {
    padding-bottom: 0;
}

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

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

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

.mr-05 {
    margin-right: 0.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: 'Roboto', sans-serif;
}

/* Rubriker */
.text-label {
    font-size: 1.6rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .2em;
    padding-bottom: 1em;
}

.section-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.2;
    padding-bottom: .5em;
}

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

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

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

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

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

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

/* List-check */
.list-check {
    margin-top: 0;
    list-style: none;
}

.list-check {
    padding: 0;
}

.list-check li::before {
    content: '\f00c';
    padding: 0 1rem 0 0;
    color: rgb(var(--primary-color));
    font-weight: 700;
    font-size: .8rem;
    font-family: 'Font Awesome 5 Pro';
}

@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,
.ContactSubmit {
    min-width: 15rem;
    padding: 1.4rem 2rem;
    font-size: 1.2rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .1em;
    border-radius: 1rem;
    text-align: center;
    text-decoration: none;
    transition: all .4s ease;
}

.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 {
    border: 1px solid rgb(var(--primary-color));
    background-color: transparent;
    color: rgb(var(--primary-color));
}

/* 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-light-color));
    text-decoration: none;
    border-radius: 50%;
    background-color: rgb(var(--primary-color));
    transition: .3s ease;
}

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

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

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

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

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

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

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

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

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

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



/* Cards
========================================================================== */
.cards-wrapper {
    display: flex;
    flex-wrap: wrap;
    margin-left: -1rem;
    margin-right: -1rem;
}

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

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

@media only screen and (max-width: 1000px) {
    .cards-wrapper {
        margin-left: 0;
        margin-right: 0;
    }

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

    .card-item.p-4 {
        padding: 2rem;
    }
}

/* Card 1-1 */
.card-1-1 .card-item {
    background-color: rgb(var(--gray-light-color));
    border-radius: 3px;
}

.card-1-1 a.card-item:hover {
    background-color: rgb(var(--primary-color));
    transition: all .3s ease;
}

.card-1-1 a.card-item:hover * {
    color: rgb(var(--white-color));
    transition: all .3s ease;
}

/* Card 3-6-1 */
.card-3-6-1 .card-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

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

.card-3-6-1 .card-item .image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: all .3s ease;
}

.card-3-6-1 .card-item:hover .image-wrapper::after {
    background: rgb(var(--black-color), .6);
}

.card-3-6-1 .card-body {
    z-index: 1;
    position: relative;
    opacity: 0;
    transition: all .3s ease;
}

.card-3-6-1 .card-item:hover .card-body {
    opacity: 1;
}

.card-3-6-1 .card-body .small-title {
    padding: 0;
    color: rgb(var(--white-color));
}

/* 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 paddings */
.split-wrapper .pl-0 {
    padding-left: 0;
}

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

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

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

    .split-content,
    .split-wrapper .w-60,
    .split-wrapper .w-40 {
        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 {
    border-bottom: 1px solid rgb(var(--gray-light-color));
}

header .container {
    flex-direction: column;
    justify-content: center;
}

header.scrolled {
    transform: translateY(-8rem);
    transition: all .3s ease;
}

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

.header-logo img {
    width: 100%;
}

.header-logo img,
header.scrolled .header-logo img {
    max-height: 8rem;
}

.logo-content {
    position: relative;
    z-index: 1;
    max-width: 20rem;
}

.mobile-menu .logo-content {
    max-width: 103px;
}

.logo-symbol {
    position: absolute;
    z-index: -1;
    right: 0;
    top: 0;
}

.logo-symbol[data-aos=fade-left] {
    transform: translate3d(500px, 0, 0);
}

/* Nav */
.TemplateMenu a {
    font-size: 1.2rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: rgb(var(--black-color));
}

.TemplateMenu ul {
    width: 30rem;
}

.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.scrolled {
    transform: none;
}

.mobile-menu .container {
    flex-direction: row;
    justify-content: space-between;
}

.mobile-menu .header-logo {
    margin: 0 auto 0 0;
}

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

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

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

/* Top-section
========================================================================== */
.top-section {
    display: flex;
    align-items: flex-end;
    min-height: 80vh;
    background-color: rgb(var(--black-color), .2);
}

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

.top-section .section-title span {
    display: block;
}

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

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

/* ==========================================================================
Projekt
========================================================================== */
.grid-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 30rem;
    gap: .5rem;
}

.grid-wrapper .card-item:nth-of-type(1) {
    grid-area: 1 / 1 / 3 / 3;
}

.grid-wrapper .card-item:nth-of-type(2) {
    grid-area: 1 / 3 / 2 / 4;
}

.grid-wrapper .card-item:nth-of-type(3) {
    grid-area: 2 / 3 / 4 / 4;
}

.grid-wrapper .card-item:nth-of-type(4) {
    grid-area: 3 / 1 / 4 / 2;
}

.grid-wrapper .card-item:nth-of-type(5) {
    grid-area: 3 / 2 / 4 / 3;
}

.grid-wrapper .card-item:nth-of-type(6) {
    grid-area: 4 / 4 / 4 / 1;
}

.grid-wrapper .card-item a {
    width: 100%;
    height: 100%;
}

@media only screen and (max-width: 900px) {
    .grid-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-wrapper .card-item:nth-of-type(1) {
        grid-area: 1 / 1 / 2 / 2;
    }

    .grid-wrapper .card-item:nth-of-type(2) {
        grid-area: 2 / 1 / 3 / 2;
    }

    .grid-wrapper .card-item:nth-of-type(3) {
        grid-area: 1 / 2 / 2 / 3;
    }

    .grid-wrapper .card-item:nth-of-type(4) {
        grid-area: 2 / 2 / 3 / 3;
    }

    .grid-wrapper .card-item:nth-of-type(5) {
        grid-area: 3 / 1 / 4 / 3;
    }
}

@media only screen and (max-width: 750px) {
    .grid-wrapper {
        display: block;
    }

    .card-3-6-1 .card-item {
        height: 30rem;
        margin-bottom: 2rem;
    }
}

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

/* Hero
========================================================================== */
.hero {
    margin: 2rem 2rem 0;
}

.hero .section-block {
    display: flex;
    align-items: center;
    text-align: center;
    min-height: 50rem;
    background-color: rgb(var(--black-color), .4);
}

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

.hero .section-title {
    font-size: 7rem;
    font-weight: 300;
    color: rgb(var(--white-color));
    text-align: center;
}

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

@media only screen and (max-width: 580px) {
    .hero {
        margin: 0;
    }

    .hero .section-block {
        min-height: 25rem;
    }

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

/* Galleri (.section-slider)
========================================================================== */
.section-slider {
    overflow: hidden;
}

.section-slider .image-wrapper {
    height: 50rem;
}

.gallery-slider .slick-slide {
    margin: 0 1rem;
    border-radius: 3px;
}

.gallery-slider .slick-list {
    overflow: visible;
}

/* Slick Settings */
.gallery-slider .slick-list,
.gallery-slider .slick-track {
    height: 100%;
}

/* Slick Arrow */
.gallery-slider .slick-arrow {
    position: absolute;
    z-index: 1;
    top: 50%;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background-color: rgb(var(--primary-light-color));
    transform: translateY(-50%);
}

.gallery-slider .slick-arrow::after {
    font-weight: 300;
}

.gallery-slider .slick-prev {
    left: 0rem;
}

.gallery-slider .slick-next {
    right: 0rem;
}

/* Slick Dots */
.gallery-slider .slick-list {
    width: 100%;
}

.gallery-slider .slick-dots {
    position: relative;
    bottom: -1rem;
    width: auto;
    padding: 0;
    margin: 0;
}

.gallery-slider .slick-dots li.slick-active::before {
    opacity: 1;
    color: rgb(var(--primary-color));
    transition: all .2s ease;
}

@media only screen and (max-width: 980px) {
    .gallery-slider .slick-dots {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media only screen and (max-width: 580px) {
    .gallery-slider .image-wrapper {
        height: 25rem;
    }
}

/* ==========================================================================
Undersida: Tjanster
========================================================================== */
@media only screen and (max-width: 1000px) {
    .section-services .split-wrapper {
        flex-direction: column-reverse;
        padding: 5rem 0;
    }

    .section-services .split-content {
        padding-top: 3rem;
        text-align: center;
    }

    .section-services .btn {
        display: inline-block;
        width: auto;
    }
}

/* ==========================================================================
Undersida kontakt
========================================================================== */
.section-contact .section-block-wrapper {
    max-width: 70rem;
}

.section-contact .text-block-center {
    max-width: 55rem;
}

.ContactForm input[type="text"],
.ContactForm textarea {
    border-radius: 5px;
    border-width: 2px;
}

.ContactForm textarea {
    min-height: 15rem;
}

.ContactForm p {
    position: relative;
    display: inline-block;
    padding: 0 5px;
    margin: 0 0 0 1rem;
    font-size: 1.4rem;
    line-height: 1;
    background-color: rgb(var(--white-color));
    color: rgb(var(--gray-dark-color));
    transform: translateY(50%);
}

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

.ContactSentMessage p {
    padding: 0;
}

/* ==========================================================================
Footer
========================================================================== */
.footer {
    padding: 0 5rem;
    border-top: 1px solid rgb(var(--black-color), .5);
}

/* 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), .5);
}

.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(--gray-dark-color));
}

.footer-top em:not(.fa-linked-in) {
    width: 2rem;
    text-align: center;
}

/* 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(--gray-dark-color));
}

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

.webbess-stamp img {
    width: 2.5rem;
    margin-left: 1rem;
}

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

@media only screen and (max-width: 380px) {
    .footer-top li {
        display: flex;
    }
}