/* Good Enough AB */

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

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

/* ==========================================================================
Generellt 
========================================================================== */
:root {
    /* 	Layout  */
    --col-padding: 3rem;
    --menu-height: 13rem;
    --menu-height-scrolled: 8rem;
    --section-width: 140rem;

    /* 	Colors */
    --primary-color: 15, 16, 15;
    --primary-dark-color: 240, 132, 156;
    --secondary-color: 94, 119, 131;

    --accent-blue-color: 94, 119, 131;
    --accent-brown-color: 132, 115, 90;

    --black-color: 15, 16, 15;
    --gray-color: 150, 154, 151;
    --gray-dark-color: 45, 47, 45;
    --gray-light-color: 250, 249, 246;
    --white-color: 255, 255, 255;

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

    /* 	Mobile nav */
    --activate-mobile-menu: 1000;
    --mobile-menu-height: 7rem;
    --mobile-menu-bg: var(--primary-color);
    --menu-color: rgb(var(--white-color));
}

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

.section-block-wrapper {
    max-width: var(--section-width);
}

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

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

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

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

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

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

@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: 'Pathway Extreme', sans-serif;
}

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

.section-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    padding-bottom: .5em;
    color: rgb(var(--black-color));
}

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

.text-title {
    font-size: var(--base-size);
    font-weight: 700;
        color: rgb(var(--black-color));
}

.ingress {
    font-size: calc(var(--base-size) * 1.2);
    font-weight: 700;
}

/* Brodtext och lankar */
p,
li {
    font-weight: 400;
}

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

a:hover {
    text-decoration: none;
}

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

.text-block-center {
    max-width: 73rem;
    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 {
    display: flex;
    flex-wrap: wrap;
    margin-top: 2rem;
}

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

/* Knappar */
.btn {
    min-width: 20rem;
    padding: 1.4rem 2rem;
    font-size: 1.4rem;
    font-weight: 500;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    transition: all .4s ease;
}

.btn-primary-filled {
    color: rgb(var(--black-color));
    border: 1px solid rgb(var(--primary-color));
    background-color: rgb(var(--primary-color));
}

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

.btn-primary-border {
    color: rgb(var(--black-color));
    border: 2px solid rgb(var(--primary-color));
    background-color: transparent;
}

.btn-primary-border:hover {
     color: rgb(var(--white-color));
    border: 2px solid rgb(var(--primary-color));
    background-color: rgb(var(--black-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-color));
    text-decoration: none;
    border-radius: 50%;
    background-color: rgb(var(--black-color));
    transition: .3s ease;
}

.circle-icon:hover {
    color: rgb(var(--white-color));
    background-color: rgb(var(--accent-blue-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
========================================================================== */
/* Bakgrunder */
body {
    background-color: rgb(var(--gray-light-color));
}

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

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

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

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

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

::selection {
    background: rgb(var(--primary-color));
    /* WebKit/Blink Browsers */
    color: rgb(var(--black-color));
}

::-moz-selection {
    background: rgb(var(--primary-color));
    /* Gecko Browsers */
    color: rgb(var(--black-color));
}

/* Bakgrundsbilder och video
========================================================================== */
.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%;
}

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

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

/* Generellt */
.card-item {
    text-decoration: none;
    transition: all .3s ease;

}

.card-item .image-wrapper {
    overflow: hidden;
        border-radius: 1rem;
}

a.card-item img {
    transition: all .3s ease;
}

a.card-item:hover img {
    transform: translate(-50%, -50%) scale(1.05);
    transition: all .8s ease;
}

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

@media only screen and (max-width: 1050px) {
    .cards-wrapper.w-33 .card-item {
        width: calc((100% / 2) - 2rem);
    }
}

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

/* Card 3-2 */
.card-3-2 .card-body {
    padding: 2rem 0 0;
}

.card-3-2 .image-wrapper {
    background-color: rgb(var(--accent-blue-color));
    border: 2px solid rgb(var(--accent-blue-color));
}

.title {
    font-size: 1.3rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .1em;
}

@media screen and (min-width: 751px) {
    .card-3-2 .image-wrapper {
        padding-top: 66.67%;
    }
    .card-3-2 .image-wrapper img {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

@media screen and (max-width: 750px) {
    .team.cards-wrapper .card-item {
        text-align: center;
        margin: auto;
    }

    .card-3-2 .image-wrapper {
        max-width: 40rem;
        text-align: center;
        margin: auto;
    }
}

/* Card 3-6 */
.card-3-6 .card-item {
    position: relative;
    overflow: hidden;
}

.card-3-6 .image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 66.67%;
}

.card-3-6 .image-wrapper img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.card-3-6 .image-wrapper::after {
    position: absolute;
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    transition: all .3s ease;
    background-color: rgb(var(--primary-color), 0);
}

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

.card-3-6 .card-body {
    position: relative;
    padding: 1rem 0 0;
}

.card-3-6 .card-body .text-title {
    padding: 0;
}

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

/* Logos 1 */
.logos-1 .card-item {
    width: 10rem;
    margin: 0 3rem 5rem;
}

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

@media screen and (max-width: 1000px) {
    .split-content {
        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 {
    position: relative;
    background-color: transparent;
}

header .container {
    padding: 0 5rem;
}

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

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

.TemplateMenu>li>a:hover {
    text-decoration: underline;
}

/* Mobilmeny */
.mobile-menu .container {
    height: var(--mobile-menu-height);
}

.mobile-menu .hamburger {
    margin: 0 -1rem 0 1rem;
}

.mobile-menu .TemplateMenu a {
    color: rgb(var(--gray-light-color));
}

.mobile-menu .TemplateMenu li.active>a,
.TemplateMenu li.active>a {
    color: rgb(var(--white-color));
    text-decoration: underline;
}

@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 {
    margin-top: calc(-1 * var(--menu-height));
    background-color: transparent;
}

.top-section .section-block {
    display: flex;
    align-items: flex-end;
    min-height: 110vh;
    background-color: rgb(var(--black-color), .5);
}

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

.top-section .section-title {
    font-size: 6.7rem;
    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;
    }
}


/* Sektion Case
========================================================================== */
.gallery {
    display: grid;
    flex-wrap: wrap;
    gap: 3rem;
}

/* Bredder pa kort */
.gallery .card-item {
    width: 100%;
}

@media only screen and (min-width: 1000px) {
    .gallery {
        grid-template-columns: repeat(12, 1fr);
    }

    .gallery .md-w-25 {
        grid-column: span 3;
    }

    .gallery .md-w-33 {
        grid-column: span 4;
    }

    .gallery .md-w-50 {
        grid-column: span 6;
    }
}

/* ==========================================================================
Undersidor
========================================================================== */
/* Hero
========================================================================== */
.hero {
    margin-top: calc(-1 * var(--menu-height));
    background-color: transparent;
}

.hero .section-block {
    display: flex;
    align-items: flex-end;
    min-height: 78vh;
    background-color: rgb(var(--black-color), .5);
}

.hero.opct img {
    object-position: center top;
}

.hero .oprc {
    object-position: center top; 
}

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

.hero .text-block {
    max-width: 100rem;
}

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

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

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

/* ==========================================================================
Undersida Kontakta oss
========================================================================== */
/* Sektion Team
========================================================================== */
.team.cards-wrapper .card-item {
    margin-bottom: 10rem;
}

.team .card-item .image-wrapper {
    position: relative;
}

.team .card-item .image-wrapper::after {
    position: absolute;
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgb(var(--primary-color), .4);
    mix-blend-mode: screen;
    opacity: 0;
    transition: all .3s ease;
}

.team .card-item:hover .image-wrapper::after {
    opacity: 1;
}

/* ==========================================================================
Footer
========================================================================== */
.footer {
    background-color: rgb(var(--primary-color));
    padding: 0 5rem;
    --base-size: 1.4rem;
}

.footer-container {
    max-width: var(--section-width);
    margin: 0 auto;
}

/* Footer top */
.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 8rem 0 5rem;
}

.footer-menu {
    width: 22%;
    margin: 0 0 3rem;
}
.footer-menu-small{
    width: 13%;
}
.footer-menu-large {
    width: 50%;
}

.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-light-color));
}

.footer-top em {
    width: 2rem;
}

.logo-wrapper{
    display: flex;
    flex-direction: row;
    margin: auto;
    margin-top: -3rem;
}
.logo-item{
    margin-right: 3rem;
}
.logo-item-2{
    margin-top: 4.5rem;
}

.logo {
  width: 15rem;
  height: 15rem;
margin: auto;
  background-color: white;

  -webkit-mask: url("/files/600x600/Good-Enough-logo-vit.png") no-repeat center;
  mask: url("/files/600x600/Good-Enough-logo-vit.png") no-repeat center;

  -webkit-mask-size: contain;
  mask-size: contain;

  animation: neonPulse 5s ease-in-out infinite;
}

@keyframes neonPulse {
  0% {
    background-color: #ffffff;
    filter: drop-shadow(0 0 2px #e9267c);
  }

  50% {
    background-color: #e9267c;
    filter: drop-shadow(0 0 20px #e9267c) drop-shadow(0 0 40px #e9267c);
  }

  100% {
    background-color: #ffffff;
    filter: drop-shadow(0 0 2px #e9267c);
  }
}
/* Social Menu */
.social-menu {
    padding: 0 0 3rem;
}

/* Footer bottom */
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    border-top: 1px solid rgb(var(--gray-light-color), .5);
}

.footer-bottom p,
.footer-bottom a {
    font-size: 1.4rem;
    line-height: 1.6;
     color: rgb(var(--gray-light-color));
}

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

.webbess-stamp img {
    width: 2rem;
    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;
    }
    .logo-wrapper{
    flex-direction: column;
}
}

