/**** BASIC ****/
*{
    margin: 0;
}

html {
  scroll-behavior: smooth;
}
body, * {
   font-family: 'Manrope', 'Arial', sans-serif;
   box-sizing: border-box;
}
h1, h2, h3 , h1 span {
   font-family: 'Abril Fatface', 'Times New Roman', serif;
   font-weight: 300;
}

h4{
    font-family:'Manrope', sans-serif;
    font-weight: 700;
    font-size: 28px;
    position: relative;
    padding-left: 35px;
}

h4:before{
    position: absolute;
    display: inline-block;
    left: 0;
    bottom: 0;
    top: 14px;
    content: "";
    height: 15px;
    width: 15px;
    border-radius: 20px;
    background-color: var(--red);
}

h5{
    font-size: 20px;
    font-family:'Manrope', sans-serif;
    font-weight: 700;
}

body {
    background-color: black;
    margin: 0;
}
:root {
    --red: #e6293c;
    --otherred: #cc2435;
    --graphite: #282828;
    --darkgrey: #333333;
    --grey: #d9d9d9;
}

p{
    font-family:'Manrope', sans-serif;
}

section, nav {
}
nav.scrolled {
    background-color: black;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 30;
}

.button-cta {
    background-color: var(--red);
    height: 55px;
    display: inline-block;
    color: white;
    line-height: 55px;
    text-decoration: none;
    padding: 0 25px;
    font-size: 20px;
    transition: background-color 300ms;
}
.button-cta .chevron-right {
    width: 10px;
    height: 10px;
    display: inline-block;
    border-right: 2px solid white;
    border-top: 2px solid white;
    transform: rotate(45deg);
    margin-left: 10px;
    top: -2px;
    position: relative;
}

.button-cta:hover{
    background-color: var(--otherred);
}

.button-link {
    border: 0;
    background: transparent;
    display: block;
    color: white;
    text-decoration: none;
    font-weight: 300;
    position: relative;
    font-size: 18px;
    padding-bottom: 10px;
}
.button-link:before {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background-color: white;
    position: absolute;
    bottom: 0px;
}
.button-link:after {
    width: 8px;
    height: 8px;
    content: "";
    border-right: 1px solid white;
    border-top: 1px solid white;
    transform: rotate(45deg);
    display: inline-block;
    margin-left: 5px;
    right: 0;
    transition: all 0.3s ease-in-out;
    position: absolute;
    top: 50%;
    margin-top: -9px;
}
.button-link:hover:after {
    right: 0;
    opacity: 0;
}

.cta-explore {
    width: 200px;
    height: 160px;
    line-height: 160px;
    display: block;
    position: absolute;
    text-align: left;
    padding-left: 60px;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 300;
    bottom: 40px;
    left: 50%;
    z-index: 5;
  }

  .cta-explore .line {
    width: 1px;
    height: 160px;
    display: inline-block;
    position: absolute;
    background: white;
    left: 0;
    top: 0px;
}

.cta-explore.black-text .line{
    background: black;
}

.black-text{
    color: black;
}

.flex-row {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
}
.grid-xs-1-1 {
    flex-basis: 100%;
    max-width: 100%;
}
.grid-xs-1-2 {
    flex-basis: 50%;
    max-width: 50%;
}
.grid-xs-1-4 {
    flex-basis: 25%;
    max-width: 25%;
}
.grid-xs-3-4 {
    flex-basis: 75%;
    max-width: 75%;
}
.md-top,
.lg-top {
    order: -1;
    margin-bottom: 100px;
}

 .navbar-brand {
    height: 25px;
    width: 149px;
    background: url("../img/logo-qvistorp-white.svg") no-repeat;
    background-size: contain;
    line-height: 50px;
    text-indent: -9999px;
    white-space: nowrap;
    display: block;
    margin-top: 12px;
}

nav.sticky {
    background-color: rgba(255,255,255,0.5);
}

h1 {
    font-size: 2.5em;
    color: var(--red);
    margin-top: 0;
}
h1 .header-prefix,
h2 .header-prefix,
span.header-prefix{
    color: rgba(255,255,255,0.7);
    display: block;
    font-family: 'Manrope', sans-serif;
    font-size: 20px;
    padding-left: 50px;
    position: relative;
    margin-bottom: 10px;
}
h1 .header-prefix:before,
h2 .header-prefix:before,
span.header-prefix:before{
    width: 30px;
    height: 1px;
    background-color: rgba(255,255,255,0.7);
    left: 0;
    top: 14px;
    content: "";
    display: block;
    position: absolute;
}

.line-break-heading:before{
    content: "";
    left: 13%;
    right: 13%;
    position: absolute;
    display: block;
    height: 15px;
    bottom: 5px;
    background-color: var(--red);
    opacity: 0.6;
    z-index: -1;
}

.line-break{
    display: block;
}

.line-break-heading {
    font-family: 'Abril Fatface', 'Times New Roman', serif;
    margin-right: 10px;
    display: block;
    position: relative;
}

.header-prefix-center{
    color: rgba(255,255,255,0.7);
    display: block;
    font-family: 'Manrope', sans-serif;
    font-size: 20px;
    position: relative;
    margin-bottom: 10px;
}

h1 .header-smaller {
    font-size: 30px;
    color: white;
    display: block;
}

p {
    color: white;
    font-weight: 300;
    line-height: 1.8;
}

h2 {
    position: relative;
    display: inline-block;
    color: white;
    font-size: 2.1em;
    z-index: 3;
}
h2:after {
    content: "";
    left: -10px;
    right: -30px;
    position: absolute;
    display: block;
    height: 15px;
    bottom: 5px;
    background-color: var(--darkgrey);
    z-index: -1;
}
h2.white-red:after {
    background-color: var(--red);
}

h2.black-red {
    color: rgba(0,0,0,0.9);
}
h2.black-red:after {
    background-color: var(--red);
    opacity: 0.6;
}

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

.center-underline:after{
    left: -20px;
    right:-20px;
}

.offset-left-10px{
    margin-left: 10px;
}

h3 {
    position: relative;
    display: inline-block;
    color: white;
    font-size: 36px;
    z-index: 3;
}
h3:after {
    content: "";
    left: -10px;
    right: -20px;
    position: absolute;
    display: block;
    height: 10px;
    bottom: 5px;
    background-color: var(--darkgrey);
    z-index: -1;

}
h3.white-red:after {
    background-color: var(--red);
}

h3.black-red {
    color: rgba(0,0,0,0.9);
}
h3.black-red:after {
    background-color: var(--red);
    opacity: 0.6;
}
.text-block-bullet{
    display:flex;
    width:20px;
    flex-wrap:wrap;
    transform: rotate(45deg);
    margin-bottom: 5px;
    margin-left:4px;
  }

.text-block-bullet span{
    display:block;
    height:6px;
    width:6px;
    background-color:#E6293C;
    margin-right:2px;
    margin-bottom:2px;

  }

.qvi-spot-details{
    width: 300px;
    margin-right:80px;
}

.qvi-spot-details:last-of-type{
    margin-right:0px;
}

.qvi-spot-details p{
    color: rgba(255, 255, 255, 0.7);
}

.qvi-spot-details-title{
    font-size: 16px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 700;
    text-transform: uppercase;
}

.qvi-spot-details a:nth-child(2){
    display: block;
    margin: 10px 0px;
}

.footer-bottom a{
    text-decoration: none;
    font-weight: 400;
}

.get-a-demo-form{
    position: absolute;
    top: 0;
    bottom:0;
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    flex-direction:column;
    margin-bottom: -160px;
    height: fit-content;
}

.get-a-demo-form p{
    color: rgba(0, 0, 0, 0.7);
    font-weight:700;
    margin-bottom: 40px;
}

.get-a-demo-form input:not(:last-of-type){
    margin-bottom:40px;
    font-size:16px;
    border:none;
    border-bottom: solid 1px black;
    width: 100%;
    padding-bottom: 5px;
}

.get-a-demo-form input:focus{
    outline:none;
    background-color: rgba(0, 0, 0, 0.07);
}

.get-a-demo-form label{
    color: rgba(0, 0, 0, 0.4);
    font-weight:700;
    margin-bottom:10px;
    font-size:14px;
}

.submit-button{
    border:none;
    background-color: var(--graphite);
    font-size: 20px;
    color: white;
    font-weight: 500;
    padding: 14px 35px;
    text-align:center;
    cursor:pointer;
    transition: 200ms;
    margin-bottom: 20px;
}

.submit-button:hover{
    background-color: #282828d9;
}

textarea{
    width:100%;
    border:none;
    border-bottom: solid 1px black;
    font-size:16px;
    resize:none;
    margin-bottom:30px;
}

textarea:focus{
    background-color: rgba(0, 0, 0, 0.03);
    outline:none;
}

.footer{
    padding: 80px 0px;
    position:relative;
    background: var(--graphite) url("../img/footer-background.jpg") no-repeat right -0 top;
    background-size: auto;
    background-position: top;
}

.footer-top{
    position: relative;
}

.footer-top h2{
    margin-top:280px;
    margin-bottom:20px;
}

.footer p{
    margin-top:0;
}

.button-link.footer-link:after {
    right: calc(100% - 200px);
}
.button-link.footer-link:hover:after {
    right: 0;
}

.footer-bottom-spots{
    display: flex;
    margin-bottom:30px;
}

.qvi-info-container{
    display: flex;
    justify-content: space-between;
}

.qvi-info-footer{
    font-size:14px;
    color: rgba(255, 255, 255, 0.7);
}

.socials-footer{
    display:flex;
}

.socials-footer a{
    margin-right: 15px;
    user-select: none;
}

.socials-footer a img{
    transition: 200ms;
}

.socials-footer a img:hover{
    filter: brightness(1.5);
}

.socials-footer span{
    margin-left:5px;
}

/*** MEDIA QUERIES ***/
@media (max-width: 767px) {
    h3{
        font-size: 1.9rem;
    }


  .container{
    margin-left: auto;
    margin-right: auto;
    max-width: 500px;
  }
  .qvi-info-footer{
    width: 100%;
    margin-bottom: 30px;
    text-align: center;
}

    .qvi-info-container{
        flex-direction: column;
        align-items: center;
    }

    .get-a-demo-form{
        position: relative;
        display: flex;
        flex-direction: column;
        margin-bottom: 0;
        width: 100%;
    }


    .footer{
        padding: 60px 20px ;
        background-size: 1600px;
    }

    .footer h2:after{
        display: none;
    }

    .footer-top{
        flex-direction: column-reverse;
        align-items: center;
        display: flex;
    }

    .footer-top h2{
        order: 5;
        margin-top: 0px;
        margin-bottom: 20px;
        text-align: center;
    }
    .footer h2.white-red:after {
        right: -10px;
    }

    .footer-description{
        width: 100%;
        text-align: center;
        order: 4;
        margin-bottom: 40px;
    }

    .get-a-demo-form p{
        text-align: left;
    }

    .footer-button{
        margin-top: 20px;
        margin-bottom: 30px;
        width: 100%;
        display: none;
        justify-content: center;
    }

    .button-link.footer-link{
       width:100%;
       border: solid 1px white;
       display: flex;
       justify-content: center;
       align-items: center;
       height: 55px;
       padding-bottom: 0;
       margin-top: 60px;
    }

    .button-link.footer-link:after,
    .button-link.footer-link:before,
    .footer .button-cta .chevron-right{
        display: none;
    }

    .button-link.footer-link:after {
        right: calc(100% - 200px);
    }
    .footer-bottom{
        margin-top: 60px;
    }

    .footer-bottom-spots{
        flex-direction: column;
        align-items: center;
    }

    .qvi-spot-details:last-of-type {
        margin-right: 0px; 
    }
    .qvi-spot-details {
        margin-right: 0px;
        margin-bottom: 30px;
        text-align: center;
    }
    .cta-explore{
        margin-top: 80px;
        height: 120px;
        line-height: 120px;
        padding-left: 30px;
        width: auto;
        display: inline-block;
    }

}

@media screen and (min-width: 768px) {

    h3{
        font-size: 1.9rem;
    }
    .container {
        width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
    .grid-sm-1-2 {
        flex-basis: 50%;
        max-width: 50%;
    }
    .grid-sm-1-3 {
        flex-basis: 33%;
        max-width: 33%;
    }
    .grid-sm-1-4 {
        flex-basis: 25%;
        max-width: 25%;
    }
    .grid-sm-3-4 {
        flex-basis: 75%;
        max-width: 75%;
    }

    .qvi-info-footer{
        width: 60%;
    }

    .get-a-demo-form{
        position: relative;
        margin-bottom: 0;
        display: flex;
        flex-direction: column;
        order: 2;
        width: 500px;
    }

    .footer-top .get-a-demo-form p{
        text-align: left;
    }

    .footer{
        background-size: 1920px;
    }

    .footer h2:after{
        display: block;
    }

    .footer p{
        font-size: 16px;
    }
    
    .footer-top{
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
    }
    .footer-top h2{
        margin-top: 0px;
        order: 5;
    }
    .footer h2.white-red:after {
        right: -10px;
    }

    .footer-top p{
        text-align: center;
        width: 40%;
    }

    .footer-description{
        order: 3;
        margin-bottom: 40px;
    }
    .footer-link{
        margin-top: 80px;
        width: 500px;
    }
    .footer-button{
        margin-top: 40px;
        display: none;
    }
    .footer-bottom {
        margin-top: 80px;
    }
    .footer h2:after{
        left: -10px;
        right: -30px;
        display: block;
        height: 15px;
        bottom: 5px;
        width: auto;
    }

}

@media screen and (min-width: 992px) {
    .container {
        width: 800px;
    }

    .grid-md-offset-1-4 {
        margin-left: 25%;
    }
    .grid-md-1-1 {
        flex-basis: 100%;
        max-width: 100%;
    }
    .grid-md-1-2 {
        flex-basis: 50%;
        max-width: 50%;
    }
    .grid-md-1-3 {
        flex-basis: 33%;
        max-width: 33%;
    }
    .grid-md-1-4 {
        flex-basis: 25%;
        max-width: 25%;
    }
    .grid-md-3-4 {
        flex-basis: 75%;
        max-width: 75%;
    }
    .grid-md-2-5 {
        flex-basis: 40%;
        max-width: 40%;
    }
    .grid-md-3-5 {
        flex-basis: 60%;
        max-width: 60%;
    }

    .footer{
        background-size: 1800px;
    }

    .get-a-demo-form p{
        width: 100%;
    }
    .get-a-demo-form{
        width: 500px;
    }
    h2.white-red:after {
        right:-20px;
    }
    
   

}
@media screen and (min-width: 1200px) {
    .container {
        width: 960px;
    }

    .md-top {
        order: 2;
        margin-bottom: 0;
    }
    .grid-lg-1-2 {
        flex-basis: 50%;
        max-width: 50%;
    }
    .grid-lg-1-3 {
        flex-basis: 33%;
        max-width: 33%;
    }
    .grid-lg-1-4 {
        flex-basis: 25%;
        max-width: 25%;
    }
    .grid-lg-1-5 {
        flex-basis: 20%;
        max-width: 20%;
    }
    .grid-lg-2-5 {
        flex-basis: 40%;
        max-width: 40%;
    }
    .grid-lg-3-4 {
        flex-basis: 75%;
        max-width: 75%;
    }
 
    .grid-lg-5-12 {
        flex-basis: 41.666%;
        max-width: 41.666%;
    }
    .grid-lg-7-12 {
        flex-basis: 58.333%;
        max-width: 58.333%;
    }


    .footer{
        background-size: auto;
    }

    .footer-top{
        display: block;
    }

    .footer-top p{
        width: 45%;
        text-align: left;
    }

    .footer-description{
        margin-bottom: 0;
    }

    .get-a-demo-form{
        width: 472px;
    }
    h2.white-red:after {
        right:-30px;
    }

    .footer-top h2{
        margin-top: 280px;
    }

    .get-a-demo-form{
        display: flex;
        position: absolute;
        margin-bottom: -160px;
        right: 0;
    }

    .footer-link{
        margin-top: 0px;
        width: 35%;
    }
    .footer-button{
        display: none;
    }
    .footer-bottom {
        margin-top: 200px;
    }
}


@media screen and (min-width: 1600px) {
    .lg-top {
        order: 2;
        margin-bottom: 0;
    }
    .container {
        width: 1440px;
    }
    .grid-xl-1-2 {
        flex-basis: 50%;
        max-width: 50%;
    }
    .grid-xl-1-3 {
        flex-basis: 33%;
        max-width: 33%;
    }
    .grid-xl-1-4 {
        flex-basis: 25%;
        max-width: 25%;
    }
    .grid-xl-3-4 {
        flex-basis: 75%;
        max-width: 75%;
    }
    .grid-xl-5-12 {
        flex-basis: 41.666%;
        max-width: 41.666%;
    }
    .grid-xl-7-12 {
        flex-basis: 58.333%;
        max-width: 58.333%;
    }
    h1 {
        font-size: 3rem;
    }
    h2{
        font-size: 2.4rem;
    }
    h3{
        font-size: 2.1rem;
    }
    .qvi-info-footer{
        width: 80%;
    }
    .get-a-demo-form{
        right: 7%;
    }

}

@media screen and (min-width: 1920px) {

    .grid-xxl-1-2 {
        flex-basis: 50%;
        max-width: 50%;
    }
    .grid-xxl-1-3 {
        flex-basis: 33%;
        max-width: 33%;
    }
    .grid-xxl-1-4 {
        flex-basis: 25%;
        max-width: 25%;
    }
    .grid-xxl-3-4 {
        flex-basis: 75%;
        max-width: 75%;
    }
    .container {
        width: 1800px;
    }
    h1 {
        font-size: 3.5rem;
    }

    h2{
        font-size: 2.8rem;
    }
}

@media screen and (min-width: 2500px) {
    .container {
        width: 80vw;
    }

    .footer{
        background-size: contain;
    }
}
