/* Tommy Gustafsson Teknik AB */

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


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

    /* 	Colors */
    --primary-color: 18, 112, 158;
    --secondary-color: 213, 123, 11;
    --secondary-light-color: 239, 217, 189;

    --black-color: 3, 3, 3;
    --gray-dark-color: 75, 75, 75;
    --gray-light-color: 248, 248, 248;
    --white-color: 255, 255, 255;
    --accent-orange-color: 255, 159, 85;
    --accent-light-blue-color: 17, 112, 158, 0.95;

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

    /* 	Mobile nav */
    --activate-mobile-menu: 1000;
    --mobile-menu-height: 6rem;
    --mobile-menu-bg: var(--white-color);
    --menu-color: var(--black-color);

}

/* Layout
========================================================================== */
.section-block {
    padding: 10rem 4rem;
}

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

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

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

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


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

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

.pl-3 {
    padding-left: 3rem;
}

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

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

.mt-3 {
    margin-top: 3rem;
}

.mt--20 {
    margin-top: -20rem;
}

/* Bredder */
.mw-1500 .section-block-wrapper {
    max-width: 150rem;
}

.mw-1400 .section-block-wrapper {
    max-width: 140rem;
}

.mw-1200 .section-block-wrapper {
    max-width: 120rem;
}

.mw-1000 .section-block-wrapper {
    max-width: 100rem;
}

.mw-700 .section-block-wrapper {
    max-width: 70rem;
}

.mw-55 .section-block-wrapper,
.mw-55:not(.section-wrapper) {
    max-width: 55rem;
}

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

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

.justify-center {
    justify-content: center;
    margin: auto;
}

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

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

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

/* Rubriker */
.text-label {
    padding-bottom: 1em;
    font-size: 2rem;
    font-weight: 600;
    text-transform: uppercase;
    font-family: 'Roboto Condensed', sans-serif;
    line-height: 1;
}

.section-title {
    padding-bottom: .5em;
    font-size: 3.8rem;
    font-weight: 700;
    line-height: 1.2;
    font-family: 'Muli', sans-serif;
}

.small-title {
    padding-bottom: .7em;
    font-size: 2.3rem;
    line-height: 1.4;
    font-family: 'Muli', sans-serif;
}

.ingress {
    font-size: 1.9rem;
    font-family: 'Muli', sans-serif;
}

.ingress-small {
    font-size: 1.4rem;
    font-weight: 600;
    font-style: italic;
}

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

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

a:hover {
    text-decoration: none;
}

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

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

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

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

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

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

    :root {
        --base-size: 1.6rem;
    }
}

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

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

/* Knappar */
.btn,
.ContactSubmit {
    padding: 1.3rem 4rem;
    margin: 3px;
    font-size: var(--base-size);
    border-radius: 3px;
    border: 2px solid;
    text-decoration: none;
    transition: .2s ease-in-out;
}

.btn-primary-filled,
.ContactSubmit,
.btn-white-border:hover {
    color: rgb(var(--white-color));
    background: rgb(var(--primary-color));
    border-color: rgb(var(--primary-color));
}

.btn-white-border,
.btn-primary-filled:hover {
    color: rgb(var(--white-color));
    background: transparent;
    border-color: rgb(var(--white-color));
}

.ContactSubmit:hover {
    color: rgb(var(--primary-color));
    background: transparent;
    border-color: rgb(var(--primary-color));
}

/* Arrow link */
.arrow-link {
    padding-right: 1rem;
    font-size: var(--base-size);
}

.arrow-link::after {
    content: ' \2023';
    display: inline-block;
    margin-left: .5rem;
    transition: transform .4s ease;
}

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

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

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

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

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

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

/* Overlays */
.overlay-black .section-block {
    background-color: rgba(var(--black-color), .7);
}

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

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

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

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

/* Grafiska element
========================================================================== */
/* Box shadow */
.box-shadow {
    box-shadow: 0 1rem 3rem rgba(var(--black-color), .1);
}

/* Linje genom element */
.line-through-primary {
    position: relative;
}

.line-through-primary::before {
    position: absolute;
    content: '';
    display: block;
    height: calc(100% - 4rem);
    width: 2px;
    top: 2rem;
    left: 3.5rem;
    background-color: rgb(var(--primary-color));
}

@media only screen and (max-width: 650px) {
    .line-through-primary::before {
        left: 2rem;
    }
}

/* Border */
.border-white {
    border: .5rem solid rgb(var(--white-color));
}

.border-top-black {
    border-top: 1px solid rgb(var(--black-color));
}

.border-left-primary {
    border-left: .5rem solid rgb(var(--primary-color));
}

.border-bottom-primary {
    border-bottom: 4px solid rgb(var(--primary-color));
}

/* Border radius */
.br-1 {
    border-radius: 1rem;
}

/* Ruta med box-shadow hogst upp */
.cutout-shadow-wrapper {
    position: relative;
}

.cutout-shadow-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20rem;
    box-shadow: 0 1rem 2rem rgba(var(--black-color), .1);
}

.cutout-shadow {
    z-index: 1;
    position: relative;
    padding: 5rem;
    background-color: rgb(var(--white-color));
    border-radius: .5rem .5rem 0 0;
}

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

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

/* Bakgrundsvideo
========================================================================== */
.bg-video {
    position: relative;
    margin-top: calc(-1 * var(--menu-height));
    background-color: rgb(var(--black-color), .3);
    overflow: hidden;
}

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

/* Bakgrundsbild
========================================================================== */
.bg-image {
    position: relative;
    margin-top: calc(-1 * var(--menu-height));
    background: linear-gradient(90deg, rgba(var(--black-color), .2) 0%, rgba(var(--black-color), .5) 0%, rgba(var(--black-color), 0.0) 100%);
}

.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-svetsning {
    background-image: url(/assets/images/svetsning-2000px.webp);
}

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

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

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

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

.split-content .text-block {
    max-width: 80rem;
}

.split-image {
    width: 50%;
}

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

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

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

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

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

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

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


}

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

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

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

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

.cards-wrapper.w-100-0 .card-item {
    width: 100%;
}

/* Generellt */
a.card-item {
    transition: .3s ease;
}

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

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

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

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

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

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

    /* Paddings */
    .card-item.p-3,
    .card-item .p-3 {
        padding: 2rem;
    }
}

/* Card 1-1 */
.card-1-1 a.card-item {
    text-decoration: none;
    border-radius: 1rem;
}

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

.card-1-1 i {
    margin-right: 1rem;
}


/* Card 2-1 */
.card-2-1 .card-header {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 9rem;
    height: 9rem;
    margin: 0 auto 2.5rem;
    font-size: 3rem;
    border-radius: 5rem;
    background-color: rgb(var(--secondary-light-color));
}

.card-2-1 a {
    font-weight: 300;
}

.card-2-1 a:hover {
    text-decoration: underline;
}

/* Card 2-4 */
.card-2-4 .card-item {
    display: flex;
}

.card-2-4 a.card-item:hover {
    background: rgb(var(--gray-light-color));
}

.card-2-4 .card-header {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 7rem;
    height: 7rem;
    border-radius: 50%;
}

.card-2-4 i {
    font-size: 4rem;
    color: rgb(var(--primary-color));
}

.card-2-4 .card-body {
    flex: 1 1 0px;
    padding: 0 2rem;
}

.card-2-4 a {
    font-weight: 300;
}

.card-2-4 a:hover {
    text-decoration: underline;
}

@media only screen and (max-width: 800px) {
    .card-2-4 i.fas {
        margin-right: 0rem;
    }
}

@media only screen and (max-width: 420px) {
    .card-2-4 .card-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
    }

    .card-2-4 .card-body {
        padding: 1rem;
    }
}

/* Card 2-5 */
.card-2-5 .card-item {
    position: relative;
    display: flex;
    align-items: center;
    padding: 1rem 0;
}

.card-2-5 .card-header {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 7rem;
    height: 7rem;
    border-radius: 50%;
    background-color: rgb(var(--white-color));
    border: 2px solid rgb(var(--primary-color));
}

.card-2-5 .card-body {
    flex: 1 1 0px;
    padding: 0 3rem;
}

@media only screen and (max-width: 650px) {
    .card-2-5 .card-header {
        width: 4rem;
        height: 4rem;
    }

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

/* Card 3-1 */
.card-3-1 .card-item {
    display: flex;
    flex-direction: column;
}

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

.card-3-1 .btn-wrapper {
    padding-top: 0;
}

.card-3-1 .image-wrapper {
    height: 20rem;
}

/* Header / Navigation
========================================================================== */
header {
    background-color: rgb(var(--white-color));
    transition: .5s linear;
}

.EditMode header {
    position: absolute;
    top: 0;
}

.IndexPage header:not(.scrolled) {
    background-color: transparent;
    transition: .5s linear;
}

header .container {
    margin: 0 auto;
}

/* Header logo */
.header-logo {
    flex-grow: 1;
}

.header-logo a {
    width: 17rem;
    height: calc(var(--menu-height) - 2rem);
    background-image: url(/assets/images/logos/tgteknik-logo-white.webp);
    background-size: contain;
    background-repeat: no-repeat;
    transition: .5s linear;
}

header.scrolled .header-logo a {
    background-image: url(/assets/images/logos/tgteknik-logo-black.webp);
}

.sub-page .header-logo a {
    background-image: url(/assets/images/logos/tgteknik-logo-black.webp);
}

/* Nav */
nav.mainmenu a {
    font-size: 1.4rem;
    font-weight: 400;
    font-family: 'Roboto', sans-serif;
    color: rgb(var(--black-color));
    letter-spacing: 3px;
    text-transform: uppercase;
}

.IndexPage header:not(.scrolled) nav.mainmenu .TemplateMenu>li>a {
    color: rgb(var(--white-color));
}

/* Hover effect */
header:not(.mobile-menu) .TemplateMenu li.active>a,
header:not(.mobile-menu) .TemplateMenu ul a:hover {
    color: rgb(var(--secondary-color));
    text-decoration: none;
}

.TemplateMenu ul {
    width: 25rem;
}

header:not(.mobile-menu) .TemplateMenu>li>a:hover:before,
header:not(.mobile-menu) .TemplateMenu>li.active a:before {
    visibility: visible;
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
}

header:not(.mobile-menu) .TemplateMenu>li>a:before {
    visibility: hidden;
    position: absolute;
    content: "";
    height: 3px;
    top: 60px;
    width: 50%;
    left: 25%;
    background-color: rgb(var(--primary-color));
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transition: all 0.3s linear 0s;
    transition: all 0.3s linear 0s;
}

/* EditMode */
.EditMode nav.mainmenu a {
    letter-spacing: normal;
    text-transform: initial;
}

@media only screen and (max-width: 1000px) {
    header {
        background-color: rgb(var(--white-color));
    }

    /* Header logo */
    .header-logo a {
        background-image: url(/assets/images/logos/tgteknik-logo-black.png);
        width: 12rem;
    }

    /* Nav */
    nav.mainmenu a {
        color: rgb(var(--gray-dark-color));
    }
}

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

/* Topsection
========================================================================== */
.top-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding-top: 7rem;
}

.top-section .section-title {
    font-size: 4.8rem;
    font-weight: 300;
    text-shadow: 0px 6px 10px rgba(var(--black-color), .2);
}

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

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

/* Partners
========================================================================== */
.section-logos .logo {
    height: 10rem;
    margin: 0 2rem;
}

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

/* Hero - Grundkod
========================================================================== */
.EditMode .hero {
    margin-top: 5rem;
}

.hero .section-block {
    display: flex;
    align-items: center;
    min-height: 30rem;
    background: linear-gradient(47deg, rgba(var(--accent-light-blue-color)) 0%, rgba(13, 82, 115, 0.95) 100%) !important;
}

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

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

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

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

/* Hero: Hero-text
========================================================================== */
.hero-text .section-title {
    font-size: 4.5rem;
}

.hero-text p {
    font-size: 2rem;
}

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

    .hero-text p {
        font-size: var(--base-size);
    }
}

/* ==========================================================================
Undersida: Om oss
========================================================================== */

/* Om oss - Timeline */
.timeline {
    position: relative;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 0.6rem;
    background-color: rgb(var(--primary-color));
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -0.3rem;
    z-index: 1;
}

.timeline-container {
    padding: 2rem 4rem;
    position: relative;
    background-color: inherit;
    width: 50%;
    z-index: 2;
}

.timeline-container:not(:first-child) {
    margin-top: -10rem;
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 2.5rem;
    height: 2.5rem;
    right: -1.3rem;
    background-color: rgb(var(--white-color));
    border: 4px solid rgb(var(--accent-orange-color));
    top: 2.6rem;
    border-radius: 50%;
    z-index: 2;
}

.left {
    left: 0;
}

.right {
    left: 50%;
}

.left::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 2.9rem;
    width: 0;
    z-index: 1;
    right: 3.2rem;
    border: medium solid rgb(var(--white-color));
    border-width: 1rem 0 1rem 1rem;
    border-color: transparent transparent transparent rgb(var(--primary-color));
}

.right::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 3rem;
    width: 0;
    z-index: 1;
    left: 3.2rem;
    border: medium solid rgb(var(--white-color));
    border-width: 1rem 1rem 1rem 0;
    border-color: transparent rgb(var(--primary-color)) transparent transparent;
}

.right::after {
    left: -13px;
}

.content {
    padding: 4rem 3rem;
    background-color: rgb(var(--primary-color));
    position: relative;
    border-radius: 0.6rem;
    text-align: left;
    z-index: 2;
}

@media screen and (max-width: 800px) {
    .timeline::after {
        left: 0rem;
    }

    .timeline-container {
        width: 100%;
        padding-left: 3rem;
        padding-right: 1rem;
    }

    .timeline-container:not(:first-child) {
        margin-top: 0;
    }

    .timeline-container::before {
        left: 6rem;
        border: medium solid rgb(var(--white-color));
        border-width: 1rem 1rem 1rem 0;
        border-color: transparent rgb(var(--primary-color)) transparent transparent;
    }

    .left::after,
    .right::after {
        left: -1.4rem;
    }

    .right {
        left: 0%;
    }

    .content {
        padding: 2rem;
        background-color: rgb(var(--primary-color));
        position: relative;
        border-radius: 0.6rem;
        text-align: left;
        z-index: 2;
    }

    .left::before,
    .right::before {
        left: 2rem;
    }
}

/* Om oss paralax */
.section-affarside {
    background-image: url('/assets/images/hero-background.webp');
}

/* ==========================================================================
Undersida: Kontakt
========================================================================== */
.section-contact .col-1 {
    padding-bottom: 6rem;
}

/* Formular */
.ContactForm p {
    display: none;
}

.ContactForm input[type="text"],
.ContactForm textarea {
    border: 0.1rem solid rgb(var(--gray-dark-color));
    border-radius: 1rem;
}

.ContactForm input.text,
.ContactForm textarea.textmessage {
    background-color: rgb(var(--white-color));
    padding: 1.5rem 1.5rem;
    border-radius: 0rem;
    color: rgb(var(--black-color));
    padding-left: 6rem;
}

.section-contact .section-block .ContactFormName::before,
.section-contact .section-block .ContactFormEmail::before,
.section-contact .section-block .ContactFormField::before {
    position: absolute;
    width: 5rem;
    margin: 1.2rem 0;
    padding: 0 1.4rem;
    font-size: 2.1rem;
    font-weight: 700;
    font-family: 'Font Awesome 5 Pro';
    background: transparent;
    border-right: 0.1rem solid rgb(var(--primary-color));
    color: rgb(var(--primary-color));
}

.ContactFormEmail::before {
    content: "\f0e0";
}

.ContactFormName::before {
    content: "\f007";
}

.ContactFormField::before {
    content: "\f15b";
}

.ContactForm textarea.textmessage {
    height: 25rem;
    padding: 2rem 2.5rem;
}

/* Knapp formular */
.ContactSubmit {
    margin: 0;
}

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

/* ==========================================================================
Undersida Blogg
========================================================================== */
/* Sok + filtrering
========================================================================== */


/* Taggar */
.tags-heading {
    display: none;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.tag {
    padding: .3rem 1.5rem;
    margin: .6rem .5rem;
    font-size: 1.5rem;
    box-shadow: 1px 1px 5px rgb(var(--black-color), .2);
    border-radius: 2rem;
    cursor: pointer;
    transition: .5s ease;
}

.tag:hover,
.tag.tag-picked {
    color: rgb(var(--white-color));
    background: rgb(var(--primary-color));
}

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

    /* Taggar */
    .tags-heading p {
        display: flex;
        justify-content: space-between;
        padding-bottom: 0;
        color: rgb(var(--white-color));
    }

    .tags-heading i {
        margin-left: 2rem;
    }

    .tags-wrapper .tag {
        display: block;
        padding: 1rem 2rem;
        margin: 0;
        letter-spacing: normal;
        text-transform: initial;
        box-shadow: none;
        border-radius: 0;
    }
}

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

.footer-container {
    padding: 0 2rem;
    margin: 0 auto;
}

/* Footer top */
.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 8rem 2rem 4rem 2rem;
    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: 2rem;
    letter-spacing: normal;
    color: rgb(var(--white-color));
}

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

.footer p,
.footer li,
.footer a {
    color: rgb(var(--white-color));
}

.footer a {
    transition: .2s ease;
}

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

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

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

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

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

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

    /* 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: 450px) {

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

    /* Footer bottom */
    .footer-bottom {
        padding: 2rem 0;
    }
}