/* Minab / Maskindemontering i Norr AB */

/* Typsnitt */
@import url("https://use.typekit.net/jlw1ssh.css");

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

/* ==========================================================================
Generellt 
========================================================================== */
:root {
    /* 	Layout  */
    --col-padding: 3rem;
    --menu-height: 7rem;
    --menu-height-scrolled: 7rem;

    /* 	Colors */
    --primary-color: 228, 1, 56;
    --primary-dark-color: 148, 7, 51;
    --primary-light-color: 255, 99, 123;

    --black-color: 17, 17, 17;
    --gray-light-color: 242, 242, 242;
    --gray-dark-color: 53, 53, 53;
    --white-color: 255, 255, 255;

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

    /* 	Mobile nav */
    --activate-mobile-menu: 1000;
    --mobile-menu-height: 6rem;
    --mobile-menu-bg: 255, 255, 255;
}

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

.section-block-wrapper {
    max-width: 150rem;
}

.block {
    display: block;
}

/* Specifika paddings */

.pt-0 .section-block {
    padding-top: 0;
}

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

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

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

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

.pb-5 .section-block {
    padding-bottom: 5rem;
}

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

.pl-0 .section-block {
    padding-left: 0;
}

.py-0 .section-block {
    padding-top: 0;
    padding-bottom: 0;
}

/* Specifika bredder */
.mw-none .section-block-wrapper {
    max-width: none;
}

.mw-1300 .section-block-wrapper {
    max-width: 130rem;
}

.mw-50 {
    max-width: 50rem;
}

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

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

/* Text och typsnitt
========================================================================== */
body {
    color: rgb(var(--gray-dark-color));
    font-family: mundial, sans-serif;
}

/* Rubriker */
.text-label {
    padding-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.section-title {
    padding-bottom: 0.3em;
    font-size: 5.5rem;
    font-weight: 600;
    line-height: 1.2;
    font-family: mundial, sans-serif;
}

.small-title {
    padding-bottom: 0.1em;
    font-size: 2.6rem;
    line-height: 1.4;
    font-family: mundial, sans-serif;
    font-weight: 400;
}

/* Brödtext och länkar */
p {
    font-weight: 300;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.4s ease;
}

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

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

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

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

    .small-title {
        font-size: 2.3rem;
    }
}

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

    .small-title {
        font-size: 1.8rem;
    }
}

/* Styled list
========================================================================== */

.styled-list {
    display: flex;
    flex-direction: column;
    list-style: none;
}

.styled-list.row-list {
    flex-direction: row;
}

.styled-list li {
    position: relative;
    line-height: 1.5;
    font-size: 1.6rem;
    margin-bottom: 1em;
}

.styled-list li::before {
    position: absolute;
    content: "\f00c";
    display: flex;
    justify-content: center;
    align-items: center;
    top: 2px;
    left: -4rem;
    width: 2rem;
    height: 2rem;
    border-radius: 3rem;
    font-family: "Font Awesome 5 Pro";
    font-weight: 300;
    font-size: 1rem;
    color: rgb(var(--primary-color));
    background-color: rgb(var(--primary-color), 0.1);
}

/* Knappar och speciella länkar
========================================================================== */
.btn-wrapper {
    display: flex;
    margin-top: 2rem;
}

.btn-wrapper.center {
    justify-content: center;
}

/* Knappar */
.btn,
.ContactSubmit {
    display: inline-block;
    min-width: 20rem;
    padding: 1.4rem 2rem;
    font-size: 1.4rem;
    font-weight: 600;
    border-radius: 1rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    -webkit-transition: all 0.4s ease;
    transition: all 0.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 {
    background: rgb(var(--primary-dark-color));
    border-color: rgb(var(--primary-dark-color));
}

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

/* Arrow link */
.arrow-link {
    padding-right: 1rem;
}

.arrow-link::after {
    content: " \f178";
    display: inline-block;
    margin-left: 0.5rem;
    font-family: "Font Awesome 5 Pro";
    font-size: 0.7em;
    transition: transform 0.4s ease;
}

.arrow-link:hover::after {
    transform: translateX(1rem);
    transition: transform 0.4s ease;
}

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

/* Farger
========================================================================== */
/* Bakgrundsfärger */
.bg-primary {
    background-color: rgb(var(--primary-color));
}

.bg-primary-light {
    background-color: rgb(var(--primary-color), 0.1);
}

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

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

/* Textfärger */
.text-primary {
    color: rgb(var(--primary-color));
}

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

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

/* Bakgrundsbild
========================================================================== */
.bg-image {
    position: relative;
}

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

.rotate {
    transform: rotate(180deg);
}

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

.cards-wrapper.justify-center {
    justify-content: center;
}

.cards-wrapper.space-between {
    justify-content: space-between;
}

.cards-wrapper.align-center {
    align-items: center;
}

/* Specifika bredder */
.cards-wrapper.w-25 .card-item {
    width: calc((100% / 4));
}

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

/* Styling for arrow-link pa card */
.card-item .arrow-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    color: rgba(var(--black-color), 0.7);
    padding: 0;
    transition: all 0.3s ease;
}

.card-item .arrow-link::after {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border: 1px solid rgba(var(--black-color), 0.4);
    transition: all 0.3s ease;
    border-radius: 50%;
}

.card-item:hover .arrow-link,
.card-item:hover .arrow-link::after {
    transform: none;
    color: rgb(var(--black-color));
    border-color: rgb(var(--black-color));
    transition: all 0.3s ease;
}


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

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

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

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

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

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

/* Cards 2 */
.cards-2 .card-item {
    position: relative;
    padding: 0 2rem 0 0;
}

.cards-2 .icon-wrapper {
    display: flex;
    align-items: center;
    width: 7rem;
    height: 7rem;
    padding: 2rem;
    margin: 0 auto 2rem;
    text-align: left;
    border-radius: 50%;
}

.cards-2 .icon-wrapper i {
    font-size: 3.5rem;
}

.cards-2 .small-title i {
    color: rgb(var(--primary-color));
    margin-right: 1rem;
}

.cards-2 .styled-list {
    flex-direction: row;
    flex-wrap: wrap;
    padding-inline-start: 3rem;
}

.cards-2 .styled-list li {
    margin: 0 4rem 1rem 0;
}

.cards-2 .styled-list li::before {
    left: -3rem;
}

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

/* Cards 7 */
.cards-7 .card-item {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    padding: 3rem;
    border-radius: 3px;
    background-color: rgb(var(--white-color));
    overflow: hidden;
}

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

.cards-7 .image-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(var(--black-color), 0.4);
    -moz-transition: 0.3s ease-in-out;
    -webkit-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
}

.cards-7 .card-item:hover .image-wrapper::after {
    background: rgba(var(--primary-dark-color), 0.7);
}

.cards-7 .text-wrapper {
    padding: 40% 0 0;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgb(var(--white-color), 0.4);
}

.cards-7 .btn-wrapper {
    margin: auto 0 0;
}

.cards-7 .arrow-link,
.cards-7 .arrow-link::after {
    color: rgba(var(--white-color), 0.7);
    border-color: rgba(var(--white-color), 0.4);
}

.cards-7 .card-item:hover .arrow-link,
.cards-7 .card-item:hover .arrow-link::after {
    color: rgba(var(--white-color));
    border-color: rgba(var(--white-color));
}

@media only screen and (max-width: 580px) {
    .cards-7 .card-item {
        padding: 2rem;
    }
}

/* Cards 12 */
.cards-12 .card-item {
    display: flex;
    position: relative;
    background-color: rgb(var(--gray-light-color));
}

.cards-wrapper.cards-12 .card-item {
    margin-top: 4rem;
}

.cards-12 .card-item::after {
    position: absolute;
    content: "";
    display: block;
    width: 3px;
    height: 100%;
    left: 0;
    top: 0;
    background-image: linear-gradient(
        0deg,
        rgba(228, 1, 56, 1) 0%,
        rgba(228, 1, 56, 1) 25%,
        rgba(255, 200, 207, 1) 25%,
        rgba(255, 200, 207, 1) 40%,
        rgba(148, 7, 51, 1) 40%,
        rgba(148, 7, 51, 1) 65%,
        rgba(228, 1, 56, 1) 65%
    );
}

.cards-12 .image-wrapper {
    width: 10rem;
}

.cards-12 .text-wrapper {
    flex: 1 1 0px;
    padding: 3rem;
}

.cards-12 .small-title {
    padding-bottom: 0;
    font-size: 1.6rem;
}

.cards-12 .title {
    padding-bottom: 2rem;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.cards-12 a {
    display: block;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.cards-12 a:hover {
    color: rgb(var(--primary-color));
}

.cards-12 em {
    margin-right: 1rem;
    color: rgb(var(--primary-color));
}

@media only screen and (max-width: 580px) {
    .cards-12 .text-wrapper {
        padding: 1rem 2rem;
    }

    .cards-12 a {
        font-size: 1.4rem;
    }
}

/* Modal som öppnas automatiskt
========================================================================== */
body:not(.EditMode) .section-auto-modal {
    display: none;
    z-index: 9;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(var(--black-color),.7);
  }

  body:not(.EditMode) .section-auto-modal .section-block {
    position: fixed;
    top: 50%;
    left: 50%;
    width: calc(100% - 4rem);
    max-width: 75rem;
    max-height: 75vh;
    padding: 4rem;
    border-radius:0;
    overflow: auto;
    background: rgb(var(--white-color));
    transform: translate(-50%,-50%);
  }

  .section-auto-modal .close-modal {
    position: absolute;
    top: 1rem;
    right: 2rem;
    font-size: 3rem;
    cursor: pointer;
  }

  @media only screen and (max-width: 450px) {
    body:not(.EditMode) .section-auto-modal .section-block {
      padding: 3rem 2rem;
    }
  }

/* Split wrapper
========================================================================== */
.split-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

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

.split-content {
    width: 50%;
    padding: 5rem;
    overflow: hidden;
}

.split-image,
.split-video {
    width: 50%;
    overflow: hidden;
    border-radius: 3px;
}

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

/* Video */
.split-video iframe {
    width: 100%;
    height: 100%;
}

/* Speciella bredder */
.split-wrapper .w-60 {
    width: calc(60% - 2rem);
}

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

.split-wrapper .pr-0 {
    padding-right: 0;
}

.split-wrapper .pl-0 {
    padding-left: 0;
}

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

    .split-content,
    .split-wrapper .w-60,
    .split-wrapper .w-40 {
        width: 100%;
    }

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

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

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

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

/* Grafiska element
========================================================================== */
/* Object fit */
.of-wrapper img.op-right {
    object-position: right;
}

/* Pil */
.arrow-right {
    position: relative;
}

.arrow-right::after {
    content: "\2192";
    position: absolute;
    top: 5rem;
    right: 0;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
    transform: translateX(50%);
    color: rgb(var(--gray-light-color));
}

/* border */
.border {
    border: rgb(var(--primary-color)) 2px solid;
}

/* Bakgrundsvideo
========================================================================== */
.bg-video {
    position: relative;
}

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

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

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

header .container {
    padding: 0 5rem;
}

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

.header-logo a {
    width: 13rem;
    height: var(--menu-height);
    background-image: url(/assets/images/logo.svg);
    background-repeat: no-repeat;
    background-position: center;
}

.mobile-menu .header-logo a {
    height: var(--mobile-menu-height);
}

/* nav */
nav.mainmenu a {
    font-size: 1.5rem;
    font-weight: 600;
    color: rgb(var(--gray-dark-color));
}

nav.mainmenu a:hover {
    color: rgb(var(--primary-color));
}

/* Mobilmeny */
@media only screen and (max-width: 1024px) {
    header .container {
        padding: 0 3rem;
    }
}
@media only screen and (max-width: 580px) {
    header .container {
        padding: 0 2rem;
    }
}

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

/* Top-section
========================================================================== */
.top-section {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    min-height: 80vh;
    background-image: linear-gradient(
        194deg,
        rgba(var(--primary-color), 0.7) 0%,
        rgba(var(--primary-dark-color), 0.6) 100%
    );
    background-size: 50% 100%;
    background-repeat: no-repeat;
    background-position: center left;
}

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

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

.top-section p {
    max-width: 45rem;
    color: rgb(var(--white-color));
}

/* Bouncing arrow */
.bouncing-arrow-wrapper {
    position: absolute;
    left: 50%;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    width: 20rem;
    height: 6.8rem;
    background-image: url(/assets/images/arrow-bg.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center bottom;
    transform: translateX(-50%);
}

.bouncing-arrow {
    position: relative;
    bottom: -2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background-color: rgb(var(--black-color));
}

.bouncing-arrow i {
    color: rgb(var(--white-color));
    font-size: 2rem;
    font-weight: 300;
    transform: translatex(-50%);
    animation: bounce 2s infinite;
}

.arrow-animate {
    position: absolute;
    left: 50%;
    bottom: -4rem;
    width: 9rem;
    transform: translateX(-50%);
}

@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-3px);
    }
}

@media only screen and (min-width: 1500px) {
    .top-section {
        min-height: 70vh;
    }
}

@media only screen and (max-width: 1100px) {
    .top-section {
        background-image: none;
        background-color: rgba(var(--primary-dark-color), 0.6);
    }

    .top-section h1 {
        font-size: 6rem;
    }

    /* Bouncing arrow */
    .bouncing-arrow-wrapper {
        width: 12rem;
        height: 6.8rem;
    }

    .arrow-animate {
        display: none;
    }
}

@media only screen and (max-width: 580px) {
    .top-section {
        min-height: 60vh;
    }

    .top-section h1 {
        font-size: 3.5rem;
    }
}

/* Sektion Instagram (.section-insta-intro och .section-insta)
========================================================================== */

.section-insta {
    overflow: hidden;
}
.section-insta .section-block {
    background-image: linear-gradient(
        rgb(var(--white-color)),
        rgb(var(--white-color))
    );
    background-size: 100% 10rem;
    background-repeat: no-repeat;
    background-position: center top;
}

.insta-widget {
    position: relative;
}

/* Styling för själva carden */
.insta-widget .eapps-instagram-feed-posts-item {
    border-radius: 3px;
    overflow: hidden;
    border-bottom: 3px solid rgb(var(--primary-color));
}

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

/* Hero - Grundkod
========================================================================== */

.hero {
    background: rgba(var(--primary-color), 0.6);
}

.hero .section-block {
    padding-top: 15rem;
    padding-bottom: 10rem;
}

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

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

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

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

/* ==========================================================================
Undersida: Utbud > Båtvarv/Polaris/Yamaha
========================================================================== */

.section-product .arrow-link {
    color: rgb(var(--primary-color));
}

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

.section-product-gallery .cards-7 .card-item {
    padding: 0;
}

.section-product-gallery .image-wrapper {
    position: relative;
    padding-top: 75%;
}

.section-product-gallery .image-wrapper img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@media only screen and (max-width: 1024px) {
    .section-product-gallery .cards-wrapper.w-25 .card-item {
        width: calc((100% / 3) - 2rem);
    }
}

@media only screen and (max-width: 580px) {
    .section-product-gallery .cards-wrapper.w-25 .card-item {
        width: calc((100% / 2) - 1rem);
        margin: .5rem;
    }
}

/* Product CTA
========================================================================== */
.product-cta {
    position: sticky;
    z-index: 3;
    bottom: 0;
}

.EditMode .product-cta {
    position: relative;
}

.product-cta .section-block {
    padding: 1.5rem 5rem;
}

.cta-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    text-align: left;
}

.cta-content {
    max-width: 70rem;
    padding: 0 5rem 0 0;
}

.cta-wrapper .btn-wrapper {
    align-self: center;
    justify-content: flex-end;
    margin: 0;
    flex: 1 1 0%;
}

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

.cta-title {
    font-size: 2rem;
    padding: 0;
    margin: 0;
}

@media only screen and (max-width: 1000px) {
    .product-cta {
        position: relative;
    }

    .cta-wrapper {
        flex-wrap: wrap;
    }

    .cta-content {
        padding: 0 0 2rem;
        max-width: none;
        width: 100%;
    }

    .cta-wrapper .btn-wrapper {
        justify-content: flex-start;
    }

    .section-cta .section-block {
        padding: 0;
    }

    .section-cta img {
        margin: auto;
        display: flex;
    }
}

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

@media only screen and (max-width: 700px) {
    .border {
        border: unset;
        border-bottom: rgb(var(--primary-color)) 2px solid;
    }
}

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

/* section-polaris */
.section-polaris img {
    object-position: center 60%;
}

/* ==========================================================================
Undersida: Kontakt
========================================================================== */

/* Sektion Kontaktuppgifter (.section-contact)
========================================================================== */
.section-contact .col-0 {
    padding-top: 10rem;
    padding-bottom: 5rem;
}

.section-contact .col-1 {
    position: relative;
    margin-top: -5rem;
    align-self: flex-start;
    background-color: rgb(var(--white-color));
    border-radius: 3px;
    padding: 3rem;
}

/* Kontaktuppgifter */
.section-contact .cards-wrapper {
    gap: 1rem;
}

.section-contact .card-item {
    background-color: rgb(var(--white-color));
    flex: 1 1 13rem;
    margin: 0;
    padding: 0;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.section-contact .card-item .text-wrapper {
    padding: 2rem;
}

.section-contact .card-item .small-title {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 1.4rem;
    padding: 0 0 0.5rem;
    margin: 0 0 1rem;
    border-bottom: 1px dotted rgb(var(--primary-color));
}

.section-contact .card-item .small-title i {
    margin: 0 0.5rem 0 0;
}

.section-contact .card-item p {
    font-size: 1.4rem;
    line-height: 1.5;
}

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

.section-contact a.card-item:hover * {
    color: rgb(var(--white-color));
    border-color: rgb(var(--white-color), 0.6);
}

/* Oppettider */
.section-contact .card-item.business-hours {
    flex: 1 1 100%;
}

.business-hours ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

.business-hours ul li {
    flex: 1 1 15rem;
    font-size: 1.4rem;
    font-weight: 300;
}

/* Kontaktformular */
.section-contact .Contact {
    padding-top: 2rem;
    margin-top: 1rem;
    border-top: 1px dotted rgb(var(--primary-color));
}

.section-contact .Contact input,
.section-contact .Contact textarea {
    border-radius: 5px;
}

.section-contact .Contact p {
    position: relative;
    display: inline-block;
    font-size: 1.4rem;
    padding: 0 1rem 5px;
    line-height: 1;
}

@media only screen and (max-width: 980px) {
    .section-contact .col-1 {
        margin-top: 0;
    }

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

/* Sektion Karta
========================================================================== */
.section-map {
    font-size: 0;
}

.section-map iframe {
    height: 40rem;
}

@media only screen and (max-width: 800px) {
    .section-map iframe {
        height: 20rem;
    }
}

/* ==========================================================================
Footer
========================================================================== */
footer {
    background: rgb(var(--black-color));
}

.footer::before {
    position: relative;
    display: block;
    content: "";
    height: 5px;
    background-image: linear-gradient(
        90deg,
        rgba(228, 1, 56, 1) 0%,
        rgba(228, 1, 56, 1) 25%,
        rgba(255, 200, 207, 1) 25%,
        rgba(255, 200, 207, 1) 40%,
        rgba(148, 7, 51, 1) 40%,
        rgba(148, 7, 51, 1) 65%,
        rgba(228, 1, 56, 1) 65%
    );
}

.footer-container {
    max-width: 160rem;
    padding: 0 5rem;
    margin: 0 auto;
}

/* Footer top */
.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 5rem 0 10rem;
    border-bottom: 1px solid rgb(var(--white-color));
}

.footer-menu {
    width: 20%;
    margin: 1.5rem 0;
}

.footer-menu-large {
    width: 30%;
}

.footer .small-title {
    font-size: 1.8rem;
    font-weight: 900;
    color: rgb(var(--primary-color));
}

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

.footer p:not(.small-title),
.footer a {
    color: rgb(var(--gray-light-color));
    font-size: 1.6rem;
}

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

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

.footer .footer-bottom p {
    font-size: 1.4rem;
}

/* WebbEss Stamp  */
.footer .webbess-stamp {
    display: flex;
    align-items: center;
    padding: 0;
    font-size: 1.3rem;
    font-weight: normal;
}

.webbess-stamp img {
    width: 3rem;
    margin-left: 1rem;
    filter: invert();
}

@media only screen and (max-width: 1024px) {
    .footer-container {
        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%;
    }

    /* Footer bottom */
    .footer-bottom {
        flex-direction: column-reverse;
        align-items: flex-start;
        padding: 2rem 0;
    }
}

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