/* Reinhold & Co AB */

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

/* ==========================================================================
Generellt
========================================================================== */
:root {
    /* 	Colors */
    --primary-color: 71, 79, 89;

    --black-color: 17, 17, 17;
    --gray-dark-color: 75, 75, 75;
    --gray-color: 220, 220, 220;
    --gray-light-color: 248, 248, 248;
    --white-color: 255, 255, 255;

    --accent-green-color: 205, 217, 180;
    --accent-purple-color: 179, 162, 189;
    --accent-blue-color: 109, 120, 140;
    --accent-yellow-color: 255, 233, 165;
    --accent-orange-color: 217, 134, 115;

    /* 	Layout  */
    --col-padding: 3rem;
    --menu-height: 7rem;
    --menu-height-scrolled: 7rem;
    --section-width: 150rem;

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

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

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

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

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

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

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

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

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

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

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

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

/* Rubriker */
.text-label {
    padding-bottom: 1em;
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    color: rgb(var(--black-color));
}

.section-title {
    padding-bottom: .5em;
    font-size: 5rem;
    font-weight: 900;
    line-height: 1.2;
    color: rgb(var(--primary-color));
    font-family: 'Bodoni Moda', serif;
}

.small-title {
    padding-bottom: .3em;
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.4;
    font-family: 'Bodoni Moda', serif;
}

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

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

a {
    text-decoration: none;
}

.link {
    text-decoration: underline;
}

.link:hover {
    text-decoration: none;
}

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

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

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

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

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

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

/* Knappar */
.btn,
.ContactSubmit {
    display: inline-block;
    min-width: 20rem;
    padding: 1.8rem 3rem;
    font-size: 1.4rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    -webkit-transition: all .4s ease;
    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 {
    border: 1px solid rgb(var(--gray-dark-color));
    background-color: rgb(var(--gray-dark-color));
}

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

.arrow-link::after {
    content: ' \f178';
    display: inline-block;
    margin-left: .5rem;
    font-family: 'Font Awesome 5 Pro';
    transition: transform .4s ease;
}

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

/* Farger
========================================================================== */
/* Bakgrundsfarger */
.bg-green {
    background-color: rgb(var(--accent-green-color));
}

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

/* Overlays */
.overlay-green::after {
    background: rgba(var(--accent-green-color), .7);
}

.overlay-purple::after {
    background: rgba(var(--accent-purple-color), .7);
}

.overlay-blue::after {
    background: rgba(var(--accent-blue-color), .7);
}

.overlay-orange::after {
    background-color: rgba(var(--accent-orange-color), .65);
}

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

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

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

/* Grafiska element
========================================================================== */
/* Inre border */
.offset-white {
    outline: 2px solid rgb(var(--white-color));
    outline-offset: -2rem;
}

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

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

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

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

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

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

@media only screen and (max-width: 1250px) {
    .cards-wrapper:not(.w-100) {
        margin-left: 0;
        margin-right: 0;
    }

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

/* Card 3-6 */
.card-3-6 .card-item {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    min-height: 45rem;
    padding: 3rem;
    transition: 0.3s ease-in-out;
}

.card-3-6 .image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.card-3-6 .image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    outline: 2px solid rgb(var(--white-color), .7);
    outline-offset: -20px;
    transition: 0.3s ease-in-out;
}

.card-3-6 img {
    filter: grayscale(100%);
}

.card-3-6 .card-item:hover .image-wrapper.overlay-purple::after {
    background: rgba(var(--accent-purple-color));
}

.card-3-6 .card-item:hover .image-wrapper.overlay-blue::after {
    background: rgba(var(--accent-blue-color));
}

.card-3-6 .card-item:hover .image-wrapper.overlay-orange::after {
    background: rgba(var(--accent-orange-color));
}

.card-3-6 .card-body {
    z-index: 1;
    position: relative;
}

.card-3-6 .section-title {
    font-size: 4rem;
}

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

@media only screen and (max-width: 580px) {
    .card-3-6 .card-item {
        min-height: 35rem;
    }

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

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

.split-image img {
    filter: grayscale(100%);
}

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

/* 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-content {
        padding: 4rem;
    }

    .split-image {
        width: 100%;
    }
}

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

/* Header / Navigation
========================================================================== */
/* Logo */
.header-logo {
    flex: 1 1 0px;
}

.header-logo img {
    padding: 1.5rem 0;
}

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

/* Dolj hem */
.TemplateMenu>li:nth-child(1) {
    display: none;
}

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

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

.header-cta-wrapper .btn {
    min-width: unset;
    padding: .5rem 3rem;
}

/* Mobilmeny */
.TemplateMenu li {
    padding: 0;
    text-align: center;
}

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

/* Top-section
========================================================================== */
.top-section {
    display: flex;
    align-items: center;
    overflow: hidden;
    min-height: calc(100vh - var(--menu-height) - 2rem);
    border-left: 3rem solid rgb(var(--white-color));
    border-right: 3rem solid rgb(var(--white-color));
    background-color: rgb(var(--black-color), .25);
}

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

.top-section .section-title {
    font-size: 8rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
}

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

.top-section .section-title .text-yellow {
    font-size: 7.7rem;
}

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

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

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

    .top-section .section-title,
    .top-section .section-title .text-yellow {
        font-size: 4rem;
        text-align: center;
    }

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

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

    .top-section {
        border-left: 2rem solid rgb(var(--white-color));
        border-right: 2rem solid rgb(var(--white-color));
    }
}

/* Om oss (.section-intro)
========================================================================== */
.section-intro .section-block-wrapper {
    align-items: center;
}

.section-intro .section-title.bigger {
    font-size: 6.2rem;
    font-weight: 900;
}

.section-intro .small-title {
    font-size: 3rem;
    font-weight: 900;
}

@media only screen and (max-width: 1550px) {
    .section-intro .section-title.bigger {
        font-size: 5rem;
    }
}

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

    .section-intro .col-0,
    .section-intro .col-1 {
        width: 100%;
        padding: 0;
    }
}

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

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

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

/* Hero
========================================================================== */
.hero {
    display: flex;
    align-items: center;
    min-height: 55vh;
    text-align: center;
    border-left: 3rem solid rgb(var(--white-color));
    border-right: 3rem solid rgb(var(--white-color));
    background-color: rgb(var(--accent-purple-color), .7);
}

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

.hero .section-title {
    font-size: 5rem;
    font-weight: 700;
    line-height: 1.4em;
    font-family: 'Poppins', sans-serif;
}

.hero img {
    filter: grayscale(100%) contrast(150%);
}

@media only screen and (max-width: 580px) {
    .hero {
        min-height: 35rem;
        border-left: 2rem solid rgb(var(--white-color));
        border-right: 2rem solid rgb(var(--white-color));
    }

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

/* ==========================================================================
Undersida: Kontakta oss
========================================================================== */
.section-contact .section-block-wrapper {
    max-width: 110rem;
    padding: 5rem;
    outline: 2px solid rgb(var(--white-color));
    outline-offset: -11px;
    background: rgb(var(--accent-green-color));
}

.section-contact .ContactForm {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.section-contact .ContactForm>div {
    width: 49%;
}

.section-contact .ContactForm div.textarea-field,
.section-contact .ContactForm div.file-field,
.section-contact .ContactForm div.submit-button-container {
    width: 100%;
}

.ContactForm p {
    font-size: 1.5rem;
    font-weight: 500;
    color: rgb(var(--black-color));
}

@media only screen and (max-width: 680px) {
    .section-contact .ContactForm>div {
        width: 100%;
    }
}

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

/* ==========================================================================
Footer
========================================================================== */
.footer {
    padding: 0 5rem;
    background-color: rgb(var(--primary-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 a:hover {
    text-decoration: underline;
}

.footer img {
    padding-bottom: 2rem;
    filter: brightness(0) invert(1);
}

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

    .footer-top img {
        width: 40rem;
    }
}

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