/* Husesset i Hökerum AB */

/* Typsnitt */
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,700;1,400;1,700&family=Open+Sans:ital,wght@0,300;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: 8rem;
    --menu-height-scrolled: 8rem;
    --section-width: 130rem;

    /* 	Colors */
    --primary-color: 255, 49, 49;
    --primary-dark-color: 112, 22, 22;

    --black-color: 0, 0, 0;
    --gray-dark-color: 58, 58, 58;
    --gray-light-color: 240, 240, 240;
    --white-color: 255, 255, 255;

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

    /* 	Mobile nav */
    --activate-mobile-menu: 1200;
    --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;
}

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

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

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

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

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

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

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

@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: 'Lora', serif;
}

/* Rubriker */
.text-label {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding-bottom: 1em;
}

.section-title {
    font-family: 'Open Sans', sans-serif;
    font-size: 4rem;
    font-weight: 300;
    line-height: 1.2;
    padding-bottom: .5em;
}

.small-title {
    font-family: 'Open Sans', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.4;
    padding-bottom: .7em;
}

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

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

/* 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 {
    display: flex;
    flex-wrap: wrap;
    margin-top: 2rem;
}

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

/* Knappar */
.btn,
.ContactSubmit {
    min-width: 15rem;
    padding: 1.6rem 2rem;
    font-family: 'Open Sans', sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    border-radius: 4rem;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    transition: all .4s ease;
}

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

.btn-primary-filled:hover,
.ContactSubmit:hover,
.ContactSubmit:focus {
    border: 1px solid rgb(var(--primary-color));
    background-color: transparent;
    color: rgb(var(--primary-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(--white-color));
    transition: .3s ease;
}

.circle-icon:hover {
    color: rgb(var(--white-color));
    background-color: rgb(var(--primary-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 */
.bg-primary {
    background-color: rgb(var(--primary-color));
}

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

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

/* Overlays */


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

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

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


/* 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), .5)
}

/* Bilder */
.parallax-cta {
    background-image: url(/assets/images/trahus-roddorr-1000px.jpg);
}

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

/* Grafiska element
========================================================================== */
/* Pil */
.arrow-primary-right {
    position: relative;
}

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

/* Badge */
.badge-wrapper {
    position: relative;
}

.badge {
    position: absolute;
    top: 1rem;
    left: 0;
    padding: .5rem 1.5rem;
    font-size: 1.5rem;
    text-transform: uppercase;
    border-radius: 0 .5rem .5rem 0;
    background-color: rgb(var(--white-color));
}

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

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

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

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

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

.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-0 .card-item {
    width: 100%;
}

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

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

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

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

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

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

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

    /* Generellt */
    .cards-wrapper .arrow-primary-right::after {
        top: unset;
        right: calc(50% + -1rem);
        bottom: -2rem;
        transform: translateY(-50%) rotate(90deg);
    }
}

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

/* Card 2-1 - Recensionskort */
.card-2-1 .card-item {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: rgb(var(--white-color));
    border-radius: 3px;
    margin: 0 2rem 0 0;
    overflow: hidden;
    border: 1px solid rgb(var(--gray-light-color));
    border-radius: 5px;
    text-align: center;
}

.card-2-1 .card-header {
    background-image: linear-gradient(to bottom, rgb(var(--gray-light-color)) 50%, rgb(var(--white-color)) 50%);
    padding: 1rem;
}

.quote-sign {
    width: 5rem;
    height: 5rem;
    padding: 1rem;
    margin: 0 auto;
    border-radius: 50%;
    border: 3px solid rgb(var(--gray-light-color));
}

.card-2-1 .card-body {
    --base-size: 1.4rem;
    padding: 1rem 2rem 2rem;
}

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

.card-2-1 cite {
    font-size: 1.4rem;
    padding: 0;
    color: rgb(var(--gray-dark-color));
}

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

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

    .card-2-1 .quote-sign {
        align-self: flex-start;
        width: 4rem;
        height: 4rem;
        padding: 1rem;
        border-width: 2px;
        margin-top: -6px;
    }

    .card-2-1 .text-title {
        font-size: 1.2rem;
    }
}

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

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

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

/* Card 2-3 */
.card-2-3 .card-item {
    border-radius: 1rem;
}

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

/* Card 3-1 */
.card-3-1 .card-item {
    border-radius: 1rem;
    overflow: hidden;
}

.card-3-1 .image-wrapper {
    width: 100%;
    height: 25rem;
}

.card-3-1 .card-item .small-title::before {
    content: '';
    position: relative;
    right: 1.3rem;
    display: inline-block;
    height: 0.1rem;
    width: 2.5rem;
    margin-bottom: .3em;
    margin-left: 1.3rem;
    border-bottom: 2px solid rgb(var(--primary-color));
}

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

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

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

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

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

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

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

@media screen and (max-width: 1000px) {
    .split-content,
    .split-wrapper .w-30,
    .split-wrapper .w-70 {
        width: 100%;
    }

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

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

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

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

/* Nav */
.TemplateMenu a {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.6rem;
    font-weight: 500;
    color: rgb(var(--black-color));
}

/* CTA  */
.header-cta-wrapper {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0;
    margin: 0 0 0 2rem;
    list-style: none;
}

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

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

@media only screen and (max-width: 580px) {
    /* Header logo */
    .header-logo img {
        padding: 2rem 0;
    }

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

}

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

/* Top-section
========================================================================== */
.top-section {
    display: flex;
    align-items: flex-end;
    min-height: calc(100vh - 5rem - var(--menu-height));
    background-color: rgb(var(--black-color), .2);
}

.top-section .section-block {
    width: 100%;
}
.top-intro{
    display: none;
}
.top-section .col-1{
background: rgb(var(--white-color));
padding: 3rem;
max-width: 50rem;
margin: auto;
border-radius: 2rem;
margin-bottom: 2rem;
margin-top: 1rem;
margin-right: 0;
}
.top-section .ContactForm p{
display: none;
}

.top-section .section-title,
.intro .section-title {
    font-size: 3.6rem;
}

.intro-section{
background: rgb(var(--white-color));
padding: 3rem;
margin-left: 4rem;
border-radius: 2rem;
margin-bottom: -3rem;
position: absolute;
bottom: 0;
max-width: 65rem;
left: 0;
z-index: 2;
}

@media only screen and (max-width: 1300px) {
.top-intro{
    display: block;
    padding: 2rem;
}
.intro{
display: none;
}

.top-section .col-1{
padding: 2rem;
margin-right: auto;
}

}

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

/* Recensioner
========================================================================== */
.section-testimonials {
    overflow: hidden;
}

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

/* Slider */
.testimonials.cards-wrapper .slick-list {
    width: 100%;
    overflow: visible;
}

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

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

/* Slick Dots */
.testimonials .slick-dots {
    justify-content: flex-start;
    padding: 0;
    margin: 1rem auto 0 0;
}

.testimonials .slick-dots li:not(.slick-active) {
    opacity: .5;
}

.testimonials .slick-dots li::before {
    color: rgb(var(--gray-color));
}

.testimonials .slick-dots li.slick-active::before {
    color: rgb(var(--gray-color));
    opacity: 1;
}

/* Slick Arrow */
.testimonials .slick-arrow {
    position: absolute;
    top: auto;
    bottom: -1rem;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: rgb(var(--primary-color));
}

.testimonials .slick-arrow.slick-disabled {
    opacity: .3;
    cursor: not-allowed;
}

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

.testimonials .slick-next {
    right: 2rem;
}

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

/* Recensioner
========================================================================== */
.section-insta {
    overflow: hidden;
}

/* Erbjudande
========================================================================== */
.offer-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 2rem;
}

.offer-wrapper .text-block {
    align-self: center;
    width: calc(100% - 20rem);
    padding-left: 5rem;
}

.offer-wrapper img {
    width: 20rem;
}

.offer-wrapper a {
    transition: transform .2s;
    /* Animation */
}

.offer-wrapper a:hover {
    transform: scale(1.1);
}

.procentage-badge {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    top: -4rem;
    bottom: 0;
    width: 20rem;
    height: 20rem;
    border-radius: 50%;
    transform: rotate(10deg);
}

@media only screen and (max-width: 980px) {
    .procentage-badge {
        width: 15rem;
        height: 15rem;
    }

    .procentage-badge::after {
        width: 83px;
    }

    .offer-wrapper .text-block {
        width: calc(100% - 15rem);
        padding-left: 3rem;
    }
}

@media only screen and (max-width: 750px) {
    .offer-wrapper .section-title {
        font-size: 2.8rem;
    }
}

@media only screen and (max-width: 580px) {
    .procentage-badge {
        width: 10rem;
        height: 10rem;
    }

    .procentage-badge::after {
        width: 70px;
    }

    .procentage-badge p {
        font-size: 5rem;
    }

    .offer-wrapper .text-block {
        width: calc(100% - 10rem);
        padding-left: 2rem;
    }

    .offer-wrapper .section-title {
        font-size: 1.6rem;
    }
}

/* CTA
========================================================================== */
.section-cta-form .col-0 {
    background-color: rgb(var(--white-color));
    padding: 3rem;
    border-radius: 3px 3px 0 0;
    width: 100%;
    max-width: 40rem;
    margin: 0 auto 0 0;
}

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

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

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

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

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

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

/* ==========================================================================
Undersida: Kontakt
========================================================================== */
.section-contact .section-block-wrapper {
    justify-content: space-between;
}

.section-contact .col-2 {
    max-width: 50rem;
    padding: 4rem;
    border-radius: 1rem;
    background: rgb(var(--gray-light-color));
}

@media only screen and (max-width: 980px) {
    .section-contact .col-2 {
        max-width: 50rem;
        margin: 3rem auto 0;
    }
}

@media only screen and (max-width: 480px) {
    .section-contact .col-2 {
        padding: 2rem;
    }
}

/* Medarbetare
========================================================================== */
.section-team .section-block-wrapper {
    max-width: 145rem;
}

.section-team .card-item.bg-primary {
    display: flex;
    align-items: center;
}

.section-team .card-3-1 .image-wrapper {
    height: unset;
}

.section-team .card-3-1 .card-item .small-title::before {
    display: none;
}

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

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

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

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

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

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

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

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

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