/* Jämt Taxi Östersund */

/* ==========================================================================
Generellt 
========================================================================== */
:root {
    /* 	Colors */
    --primary-color: 249, 216, 42;
    --secondary-color: 43, 78, 195;

    --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: 3rem;
    --menu-height: 8rem;
    --menu-height-scrolled: 8rem;
    --section-width: 150rem;

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

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

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

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

/* Ovriga klasser */
.align-center {
    align-items: center;
}

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

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

/* Text och typsnitt
========================================================================== */
body {
    font-family: "National Park", sans-serif;
}

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

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

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

/* Listor */
.list-properties {
    padding: 1rem;
    margin-top: 0;
    list-style: none;
}

.list-properties li {
    display: flex;
    justify-content: space-between;
    font-size: 1.5rem;
}

.list-properties li:not(:last-of-type) {
    padding-bottom: .3rem;
    margin-bottom: .3rem;
    border-bottom: 1px dotted rgb(var(--gray-dark-color));
}

.list-properties li span {
    padding: 0 .5rem;
}

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

/* 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.5rem;
    font-weight: 600;
    border-radius: 4rem;
    text-align: center;
    text-decoration: none;
    transition: all .4s ease;
}

.btn i {
    margin-right: 5px;
}

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

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

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

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

.text-white {
    color: rgb(var(--white-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 {
    min-height: 40rem;
    background-color: rgb(var(--black-color), .4)
}

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

/* Grafiska element
========================================================================== */
/* Borders */
.border {
    border: 1px solid;
}

.br-2 {
    border-radius: 1rem;
}

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

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

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

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

/* 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-100 .card-item {
    width: 100%;
    margin: 1rem 0;
}

@media only screen and (max-width: 1350px) {
    .cards-wrapper.w-33 .card-item,
    .cards-wrapper.w-25 .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-33 .card-item,
    .cards-wrapper.w-25 .card-item {
        width: 100%;
        margin: 1rem 0;
    }
}

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

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

@media only screen and (max-width: 680px) {
    .card-2-1 .card-item.p-2 {
        padding: 0;
    }

    .card-2-1 .card-header {
        width: 5rem;
        height: 5rem;
        margin-bottom: 1rem;
    }

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

/* Card 2-2 */
.card-2-2 .card-header {
    display: flex;
    align-items: center;
}

.card-2-2 .icon-wrapper {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    width: 5rem;
    height: 5rem;
    margin: 0 2rem 0 0;
}

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

.card-2-2 .text-small {
    font-size: 1.4rem;
}

.card-2-2 a.card-item p {
    transition: .2s ease;
}

.card-2-2 a.card-item:hover p {
    color: rgb(var(--secondary-color));
}

/* Logos 1 */
.logos-1 img {
    width: 100%;
    height: 100%;
    max-width: 30rem;
    transform: scale(.94);
    transition: 0.2s ease-in-out;
}

.logos-1 img:hover {
    opacity: 1;
    filter: none;
    transform: scale(1);
}

@media only screen and (max-width: 868px) {
    .logos-1 .card-item {
    text-align: center;
}

    .logos-1 img {
        max-width: 25rem;
    }
}

/* 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%;
    border-radius: 2rem;
    box-shadow: 0 0 20px rgb(var(--black-color), .15);
}

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

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

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

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

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

}

/* Header / Navigation
========================================================================== */
header {
    border-bottom: 1px solid rgb(var(--gray-light-color));
}

header:not(.scrolled) {
    border-color: transparent;
    background: transparent;
}

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

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

header:not(.scrolled, .mobile-menu) .TemplateMenu>li:not(.active)>a:not(:hover) {
    color: rgb(var(--white-color));
}

header.scrolled .TemplateMenu li.active>a,
header.scrolled .TemplateMenu a:hover,
header.mobile-menu .TemplateMenu li.active>a,
header.mobile-menu .TemplateMenu a:hover {
    color: rgb(var(--secondary-color));
}

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

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

.header-cta-wrapper .btn {
    min-width: unset;
    padding: 1rem 2rem;
    line-height: 1;
}

header:not(.scrolled) .header-cta-wrapper .btn:hover {
    color: rgb(var(--white-color)); 
}

/* Mobilmeny */
header.mobile-menu:not(.scrolled, .active-menu) {
    --menu-color: var(--white-color);
}

@media only screen and (max-width: 580px) {
    /* CTA  */
    .header-cta-wrapper .btn {
        padding: 0.7rem 1.5rem;
    }
}

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

/* Top-section
========================================================================== */
.top-section {
    display: flex;
    align-items: center;
    min-height: 100vh;
    margin-top: calc(var(--menu-height) * -1);
    background-color: rgb(var(--black-color), .5);
    background-image: url(/assets/images/graphics/wave-2.svg);
    background-size: 100% 10rem;
    background-repeat: no-repeat;
    background-position: center bottom;
}

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

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

.top-section .section-title {
    font-size: 5rem;
}

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

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

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

@media only screen and (max-width: 650px) {
    .top-section {
        min-height: 85vh;
        background-size: 100% 5rem;
    }

    .top-section .text-label {
        font-size: 1.5rem;
    }

    .top-section .section-title {
        font-size: 2.5rem;
    }
}

/* Kontakt
========================================================================== */
.section-contact {
    background-image: url('/assets/images/taxi-2000px.jpg');
}

.section-contact .section-block-wrapper {
    justify-content: center;
    align-items: center;
}

.section-contact .col-0 {
    position: relative;
    max-width: 45rem;
    padding: 2rem 4rem 4rem;
    border-radius: 2rem;
    background: rgb(var(--white-color));
    box-shadow: 11px 10px 20px rgb(var(--black-color), .1);
}

.section-contact .col-1 {
    max-width: 60rem;
    padding: 6rem 3rem 6rem 6rem;
    background: rgb(var(--gray-light-color));
}

/* Formular */
.section-contact .ContactForm {
    margin-top: 2rem;
}

.ContactForm p {
    font-weight: 600;
    font-size: 1.4rem;
}

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

@media screen and (max-width: 1250px) {
    .section-contact .col-1 {
        padding: 5rem 3rem 5rem 4rem;
    }
}

@media screen and (max-width: 980px) {
    .section-contact .section-block-wrapper {
        flex-direction: column-reverse;
    }

    .section-contact .col-0 {
        width: 60rem;
        max-width: 100%;
        padding: 2rem 4rem 4rem;
        border-radius: 0 0 5px 5px;
    }

    .section-contact .col-1 {
        width: 60rem;
        max-width: 100%;
        padding: 3rem 4rem;
        border-radius: 5px 5px 0 0;
    }
}

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

    .section-contact .col-0,
    .section-contact .col-1 {
        padding: 2rem;
    }
}

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

/* Footer bottom */
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    justify-content: center;
}

.footer-bottom p,
.footer-bottom a {
    font-size: 1.4rem;
    line-height: 1.6;
}

/* WebbEss Stamp  */
.footer .webbess-stamp {
   display: none;
}

.webbess-stamp img {
    display: none;
}

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

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

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