/* 360 Projekt AB */

/* Animationer */
@import url('/resources/scripts/aos/2.3.1/aos.css');

/* ==========================================================================
Generellt
========================================================================== */
:root {
    /* 	Colors */
    --primary-color: 45, 8, 246;

    --accent-blue-color: 26, 28, 76;
    --accent-turquoise-color: 155, 210, 225;
    --accent-purple-color: 184, 176, 232;
    --accent-green-color: 184, 245, 195;
    --accent-pink-color: 233, 170, 196;
    --accent-salmon-color: 255, 197, 185;
    --accent-yellow-color: 251, 234, 205;

    --black-color: 17, 17, 17;
    --gray-dark-color: 58, 58, 58;
    --gray-color: 130, 130, 130;
    --gray-light-color: 243, 241, 237;
    --white-color: 255, 255, 255;

    /* 	Layout  */
    --col-padding: 7rem;
    --menu-height: 8rem;
    --menu-height-scrolled: 8rem;
    --section-width: 150rem;

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

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

@media only screen and (max-width: 580px) {
    :root {
        --base-size: 1.5rem;
    }
}

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

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

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

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

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

/* Margins */
.mb-5 {
    margin-bottom: 5rem;
}

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

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

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

/* Rubriker */
.section-title {
    padding-bottom: .5em;
    font-size: 3.7rem;
    font-weight: 700;
    line-height: 1.2;
    color: rgb(var(--accent-blue-color));
}

.small-title {
    padding-bottom: .3em;
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 1.4;
}

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

.text-smaller {
    font-size: 1.5rem;
}

/* Listor */
.list-pills {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    list-style: none;
}

.list-pills li {
    display: flex;
    align-items: center;
    padding: .5rem 1.2rem .3rem;
    margin: .5rem;
    font-size: 1.4rem;
    font-weight: 600;
    border-radius: 4rem;
}

@media only screen and (max-width: 580px) {
    .list-pills li {
        padding: .2rem 1rem .1rem;
        margin: 3px;
        font-size: 1.3rem;
    }
}

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

.text-block-center {
    max-width: 70rem;
    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;
    }

    .text-label {
        font-size: 1.2rem;
    }
}

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

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

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

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

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

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

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

/* Arrow link */
.arrow-link {
    padding-right: 1rem;
    font-size: var(--base-size);
    color: rgb(var(--primary-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: 4rem;
    height: 4rem;
    padding: 0;
    margin: .5rem;
    font-size: 0;
    color: rgb(var(--black-color));
    text-decoration: none;
    border-radius: 50%;
    background-color: rgb(var(--accent-purple-color));
    transition: .3s ease;
}

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

.circle-icon em:before,
.circle-icon i:before {
    font-size: var(--base-size);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* Video */
.bg-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Parallax */
.parallax {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

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

.parallax.purple .section-block {
    background-color: rgb(var(--accent-purple-color), .75);
}

.parallax.border {
    border: 3rem solid rgb(var(--white-color));
}

@media only screen and (hover:none) {
    .parallax {
        background-attachment: scroll;
        background-position: center center;
    }
}

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

    /* Parallax */
    .parallax.border {
        border: 1.5rem solid rgb(var(--white-color));
    }
}

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

.cards-wrapper:not(.w-100) {
    margin-left: -1rem;
    margin-right: -1rem;
}

a.card-item {
    text-decoration: none;
}

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

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

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

.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: 100%;
    margin: 1rem 0;
}

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

    /* Bredder */
    .cards-wrapper.w-25 .card-item,
    .cards-wrapper.w-33 .card-item {
        width: calc((100% / 2) - 2rem);
    }
}

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

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

/* Card 1-1 */
.card-1-1 .card-item {
    transition: .3s ease;
}

.card-1-1 .card-item:hover {
    transform: scale(1.03);
}

/* Card 2-1 */
.card-2-1 a.card-item {
    transition: .3s ease;
}

.card-2-1 a.card-item:hover {
    background: rgb(var(--accent-blue-color));
}

.card-2-1 .card-header {
    margin-bottom: 2rem;
    font-size: 5rem;
}

.card-2-1 a.card-item:hover i,
.card-2-1 a.card-item:hover p {
    color: rgb(var(--white-color));
}

/* Card 3-3 */
.card-3-3 .card-body {
    position: relative;
    width: 93%;
    margin: -5rem auto 0;
    border-radius: 3px;
}

.card-3-3 .card-body {
    transition: .3s ease;
}

.card-3-3 .card-item:hover .card-body.bg-yellow {
    background-color: rgb(var(--accent-purple-color));
}

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

/* Split med border mellan */
.split-border .split-image,
.split-border.reverse .split-content {
    border-left: 1.5rem solid rgb(var(--white-color));
}

.split-border .split-content,
.split-border.reverse .split-image {
    border-right: 1.5rem solid rgb(var(--white-color));
}

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

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

    .split-wrapper,
    .split-wrapper.reverse {
        flex-direction: column;
        background: transparent;
    }

    .split-content {
        width: 100%;
        max-width: 70rem;
        padding: 0 0 3rem;
        background: transparent;
    }

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

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

    /* Split med border mellan */
    .split-border .split-image,
    .split-border.reverse .split-content,
    .split-border .split-content,
    .split-border.reverse .split-image {
        border: none;
    }
}

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

header.scrolled {
    border-bottom: 1px solid rgb(var(--white-color), .5);
}

/* Logo */
.header-logo {
    flex: 1 1 0px;
    filter: brightness(0) invert(1);
}

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

.TemplateMenu li.active>a,
.TemplateMenu a:hover {
    color: rgb(var(--accent-purple-color));
}

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

.header-cta-wrapper .btn {
    min-width: unset;
    padding: 1rem 2rem;
    margin: 0;
    line-height: 1;
    white-space: nowrap;
}

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

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

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

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

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

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

.top-section .section-title {
    font-size: 6rem;
    font-weight: 600;
}

.top-section .btn:hover {
    color: rgb(var(--white-color));
}

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

/* Samarbetspartners 
========================================================================== */
.logos-wrapper .card-item:not(:last-of-type) {
    border-right: 1px solid rgb(var(--white-color));
}

.logos-wrapper .image-wrapper {
    max-width: 30rem;
    height: 10rem;
    filter: brightness(0) invert(1);
}

.logos-wrapper .image-wrapper img {
    object-position: 0 50%;
}

@media only screen and (max-width: 1050px) {
    .cards-wrapper.logos-wrapper .card-item:not(:last-of-type) {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgb(var(--white-color));
    }

    .logos-wrapper .image-wrapper {
        max-width: 100%;
        height: 6rem;
    }
}

@media only screen and (max-width: 1050px) {
    .logos-wrapper .card-item {
        padding: 2rem 0;
    }
}

/* Nyheter
========================================================================== */
.section-scroll {
    overflow: hidden;
}

/* Slider */
.scroll-wrapper.cards-wrapper {
    margin: 0 0 5rem;
}

.scroll-wrapper.cards-wrapper .slick-list {
    width: 100%;
    overflow: visible;
}

.scroll-wrapper.cards-wrapper .slick-track {
    display: flex;
}

.scroll-wrapper.cards-wrapper .card-item {
    display: flex;
    height: auto;
}

/* Card item */
.scroll-wrapper .card-item {
    display: flex;
    flex-direction: column;
    margin: 0 2rem 0 0;
    transition: all .3s ease;
}

.scroll-wrapper.cards-wrapper .card-item[aria-hidden="true"] {
    opacity: .5;
    transform: scale(.9);
}

/* Slick Arrow */
.scroll-wrapper .slick-arrow {
    position: absolute;
    top: auto;
    bottom: -4rem;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: rgb(var(--accent-purple-color));
}

.scroll-wrapper .slick-arrow::after {
    font-weight: 300;
    color: rgb(var(--white-color));
}

.scroll-wrapper .slick-next {
    right: 2rem;
}

.scroll-wrapper .slick-prev {
    left: auto;
    right: 6rem;
}

/* CTA
========================================================================== */
.section-cta {
    background-image: url('/assets/images/stockholm-2000px.jpg');
}

.section-cta .text-block-center {
    max-width: 60rem;
}

.section-cta .section-title {
    font-size: 4.5rem;
}

.section-cta p {
    font-size: 1.8rem;
}

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

    .section-cta p {
        font-size: 1.6rem;
    }
}

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

/* Hero - Grundkod
========================================================================== */
.hero {
    display: flex;
    align-items: center;
    min-height: 40rem;
    text-align: center;
    background-color: rgb(var(--black-color), .5);
}

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

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

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

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

/* ==========================================================================
Footer
========================================================================== */
.footer {
    padding: 0 5rem;
    background-color: rgb(var(--accent-blue-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 {
    padding: 0 0 1rem;
    color: rgb(var(--white-color));
    line-height: 1;
}

.footer-submenu {
    padding: 0;
    margin: 0 0 3rem;
    list-style: none;
}

.footer-top p,
.footer-top a {
    font-size: 1.4rem;
    text-decoration: none;
    color: rgb(var(--white-color));
}

.footer-top a:hover {
    color: rgb(var(--accent-purple-color));
    text-decoration: none;
}

/* Sociala medier */
.footer-socials {
    display: flex;
    align-items: center;
}

.footer-socials::before,
.footer-socials::after {
    position: relative;
    display: inline-block;
    content: '';
    flex: 1 1 0%;
    border-top: 1px solid rgb(var(--white-color));
}

.footer-socials::before {
    margin-right: 2rem;
}

.footer-socials::after {
    margin-left: 2rem;
}

/* 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.3rem;
    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;
    opacity: .6;
    filter: invert();
}

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

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

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

    /* Footer top */
    .footer-top {
        padding: 5rem 0;
    }

    /* Footer bottom */
    .footer-bottom {
        flex-direction: column-reverse;
        text-align: center;
    }

    .webbess-stamp {
        margin: 0 auto 2rem;
    }
}