/* Quality Assessment Sweden AB */

/* ==========================================================================
Generellt
========================================================================== */
:root {
    /* 	Colors */
    --primary-color: 76, 140, 195;
    --primary-light-color: 97, 176, 245;

    --black-color: 17, 17, 17;
    --gray-dark-color: 51, 51, 51;
    --gray-color: 130, 130, 130;
    --gray-light-color: 248, 248, 248;
    --white-color: 255, 255, 255;

    /* 	Layout  */
    --col-padding: 3rem;
    --menu-height: 7.5rem;
    --menu-height-scrolled: 8rem;
    --section-width: 130rem;

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

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

@media only screen and (max-width: 580px) {
    :root {
        --base-size: 1.5rem;
    }
}

/* Layout
========================================================================== */
.section-block {
    padding: 8rem 2rem;
}

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

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

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

/* Rubriker */
.section-title {
    padding-bottom: 0.8rem;
    font-size: 4rem;
    font-weight: 700;
    text-transform: uppercase;
    color: rgb(var(--black-color));
    letter-spacing: 1px;
    line-height: 1.2;
}

.small-title {
    font-size: 2.5rem;
    font-weight: 700;
    padding-bottom: 1.2rem;
    text-transform: unset;
    letter-spacing: 1px;
}

/* Brodtext och lankar */
p,
a,
li {
    line-height: 30px;
    color: rgb(var(--gray-dark-color));
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    text-decoration: none;
}

/* Ovriga klasser */
.text-block-center {
    max-width: 75rem;
    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.5rem;
    }

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

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

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

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

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

/* Knappar */
.btn,
.ContactSubmit {
    max-width: 170px;
    padding: 0.5rem 1.5rem;
    margin: 0 6px;
    font-size: 18px;
    font-weight: 400;
    border-radius: 0;
    text-align: center;
    text-decoration: none;
    transition: 0.2s ease-in-out;
    line-height: 3rem;
    color: rgb(var(--white-color));
    border: 3px solid rgb(var(--primary-color));
    background-color: rgb(var(--primary-color));
}

.btn:hover,
.ContactSubmit:hover {
    color: rgb(var(--primary-color));
    border: 3px solid rgb(var(--primary-color));
    background-color: transparent;
}

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

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

/* Cirkelikon */
.circle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    padding: 0;
    margin: 0.5rem;
    font-size: 0;
    color: rgb(var(--white-color));
    text-decoration: none;
    border-radius: 50%;
    background-color: rgb(var(--primary-color));
    transition: .3s ease;
}

.circle-icon:hover {
    color: rgb(var(--primary-color));
    background-color: rgb(var(--secondary-color));
}

.circle-icon em:before,
.circle-icon i:before {
    font-size: 1.5rem;
}

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

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

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

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

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

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

/* Bakgrundsbilder och videos
========================================================================== */
/* Bakgrunds cover */
body {
    background-image: url('/assets/images/ship-2000px.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

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

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

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

.split-image {
    width: 50%;
    min-height: 45rem;
}

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

@media screen and (max-width: 1000px) {
    .split-content {
        width: 100%;
        max-width: 80rem;
        margin: 0 auto;
        padding: 10rem 5rem;
    }

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

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

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

    .split-image {
        height: 45rem;
    }
}

/* Header / Navigation
========================================================================== */
header {
    padding: 0 5rem;
    box-shadow: rgba(var(--black-color), 0.3) 0px -2px 10px;
}

header:not(.scrolled) {
    background-color: transparent;
    box-shadow: none;
}

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

.header-logo .text-logo,
.footer .footer-text-logo {
    font-size: 25px;
    font-weight: 500;
    text-transform: uppercase;
    text-decoration: none;
    font-family: "Ubuntu", sans-serif;
    color: rgb(var(--primary-color));
}

header:not(.scrolled, .active-menu) .header-logo .text-logo {
    color: rgb(var(--white-color));
}

/* Nav */
.TemplateMenu a {
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    color: rgb(var(--black-color));
    padding: 0px 20px 0px 20px;
}

header:not(.scrolled, .active-menu) .TemplateMenu a {
    color: rgb(var(--white-color));
}

.TemplateMenu a:hover,
header:not(.scrolled) .TemplateMenu a:hover {
    color: rgb(var(--primary-color));
}

.mobile-menu .TemplateMenu a {
    font-size: 2rem;
    padding: 0;
    text-align: center;
}

header:not(.scrolled) .hamburger {
    filter: invert(1);
}

.mobile-menu .hamburger.hamburger--slide.is-clicked {
    filter: none;
}

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

    /*Header logo */
    .header-logo .text-logo {
        font-size: 19px;
    }
}

@media only screen and (max-width: 420px) {
    header {
        padding: 0 1rem;
    }
}

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

/* Top-section
========================================================================== */
.top-section {
    display: flex;
    justify-content: center;
    min-height: 100vh;
    background-color: rgba(var(--black-color), 0.3);
    margin-top: calc(var(--menu-height) * -1);
}

.top-section .section-block {
    padding: 2rem;
    position: absolute;
    top: 47.5%;
    max-width: 70rem;
}

.top-section .section-title,
.top-section .small-title {
    font-weight: 700;
    padding: 0;
    line-height: 1.2em;
    text-shadow: 0px 0px 20px rgba(var(--black-color), 0.4);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.top-section .section-title {
    font-size: 7rem;
}

.top-section .small-title {
    font-size: 4.2rem;
    margin-bottom: 1.7rem;
}

/* Mobilmeny */
.mobile-menu .top-section {
    margin-top: calc(var(--mobile-menu-height) * -1);
}

/* Olika skarmstorlekar */
@media only screen and (max-width: 770px) {
    .top-section .section-title {
        font-size: 6rem;
    }

    .top-section .small-title {
        font-size: 3.7rem;
    }
}

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

    .top-section .small-title {
        font-size: 2.4rem;
    }
}

/* Sektion: about
========================================================================== */
.section-about .small-title {
    font-size: 3rem;
    font-weight: 400;
    padding-bottom: 3rem;
}

@media only screen and (max-width: 750px) {
    .section-about .small-title {
        font-size: 2.5rem;
    }
}

/* Sektion: kontakt
========================================================================== */
.section-contact .section-block-wrapper {
    max-width: 90rem;
    background-color: rgb(var(--white-color));
    box-shadow: 0 1rem 3rem rgba(var(--black-color), .1);
    padding: 5rem 0;
}

.section-contact .col-block {
    max-width: 80%;
    margin: 0 auto;
}

.ContactForm p {
    color: rgb(var(--primary-color));
    line-height: 1.8;
    font-weight: 600;
    font-size: 1.4rem;
}

.ContactForm input[type="text"],
.ContactForm input[type="email"],
.ContactForm input[type="tel"],
.ContactForm textarea {
    border: none;
}

.ContactForm input[type="text"]:not(.illegal),
.ContactForm input[type="email"]:not(.illegal),
.ContactForm input[type="tel"]:not(.illegal),
.ContactForm textarea:not(.illegal) {
    border-bottom: 1px solid rgb(var(--primary-color));
    background-color: #f3f5f5;
}

.submit-button-container {
    text-align: center;
    margin-top: 4rem;
}

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

.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 2rem 5rem 2rem;
    border-bottom: 1px solid rgb(var(--primary-color));
}

.footer-top .footer-text-logo {
    font-size: 3rem;
    padding: 0;
}

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

.footer-top li {
    padding-bottom: .5rem;
    font-size: 1.6rem;
    color: rgb(var(--gray-dark-color));
    text-decoration: none;
}

.footer-top li i {
    margin-right: 1rem;
}

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

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

.footer-menu.socials {
    align-self: flex-end;
}

/* 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 {
    font-size: 1.6rem;
    line-height: 1.6;
}

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

.webbess-stamp img {
    width: 2.5rem;
    margin-left: 1rem;
}

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

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

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

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