/* fonts */
html {
    scroll-behavior: smooth;
}

body {
    background-image: url('../images/page-background_original.jpg');
    background-color: #219ab3;
    height: min-content;
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

@font-face {
    font-family: 'solitasserif';
    src: url('./solitasserifnormregular.otf');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Corbert-Regular';
    font-weight: normal;
    font-style: normal;
    src: url('./Corbert-Regular.ttf');
    font-display: swap;
}

/* html  */
*, html {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Corbert-Regular', sans-serif;
}

.text-font-serif {
    font-family: 'solitasserif', serif;
}

.smaller {
    font-size: .6em;
}

.text-cq-blue {
    color: #049ccf
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

nav a:hover,
a.btn:hover {
    text-decoration: none;
}

.btn {
    border-radius: unset;
    text-transform: uppercase;
    padding: 0.75rem 2.75rem;
    background-color: #11505d;
    color: #fff;
    cursor: pointer;
    width: fit-content;
}

.btn.btn-small {
    padding: 2px 5px;
    text-transform: none;
    width: unset;
}

.btn:hover {
    background-color: #049ccf;
    color: #fff;
}

section {
    padding: 2rem 0;
}

.section-padding-top {
    padding: 2rem 0 0 0;
}

.section-no-padding {
    padding: 0;
}

img {
    object-fit: cover;
}

.fa-solid {
    font-size: 24px;
}

/* nav-bar */
.navbar-brand {
    padding-top: 0;
    padding-bottom: 0;
    width:270px;
    left: 15px;
}

.navbar-brand img {
    max-width: 97%;
}

.nav-item {
    letter-spacing: 4px;
    position: relative;
    margin-right: 10px
}

.navbar-nav .nav-link {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
}


a.nav-link:not(.active):after {
    content: '';
    width: 0;
    height: 2px;
    position: absolute;
    top: 99%;
    left: 0;
    background: #fff;
    transition: 300ms;
}


a.nav-link:not(.active):hover:after {
    width: 100%;
}

a.nav-link:not(.active):not(:hover):after {
    right: 0;
    left: auto;
}

a.nav-link.active:after {
    content: '';
    height: 2px;
    position: absolute;
    top: 99%;
    background: #fff;
    transition: 300ms;
    width: 100%;
    right: 0;
    left: auto;
}

.sticky-header {
    position: fixed;
    top: 0;
    background: rgba(17, 80, 93, .75);
    width: 100%;
    z-index: 100;
}

.sticky-header #nav-claim {
    display: none !important;
}

[data-id] {
    scroll-margin-top: 5rem;
}



/* hero section */


.nav-logo {
    width: 20rem;
    height: auto;
    object-fit: contain;
}

#footer-links li:not(:last-child) {
    padding-right: 0.5rem;
}

#particles-js {
    position: absolute;
    height: 50vh;
    width: 100%;
    left: 0;
    background-color: unset;
    z-index: -1000;
}

@media (min-width: 768px) {
    #particles-js {
        z-index: 1;
    }

    .over-particles {
        z-index: 2;
    }
}

.wrapper {
    min-height: 30vh;
}

h1 {
    font-size: 38px;
}

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

    h1 {
        font-size: 62px;
    }

    section {
        padding: 2rem 0;
    }

    .section-padding-top {
        padding: 2rem 0 0 0;
    }

    .nav-item {
        margin: 0 10px;
    }

}

@media screen and (min-width: 999px) {
    #particles-js, .wrapper {
        height: calc(100vh - 8rem);
    }

    h1 {
        font-size: 72px;
    }

    .footer-logo,
    .nav-logo {
        width: 12rem;
        height: auto;
        object-fit: contain;
    }

    .navbar-brand {
        width:280px
    }
    .navbar-brand img {
        max-width: 100%;
    }
    .nav-logo {
        width: 18rem;
    }

    section {
        padding: 4rem 0;
    }

    .section-padding-top {
        padding: 4rem 0 0 0;
    }

    .max-width-image-75 {
        width: 75%;
    }
}


/* index-page */
/* top company */
.gradient {
    background-image: linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1)); /* W3C */
}

.max-width-image-80 {
    width: auto;
    max-width: 85%;
    height: auto;
}

.case-study img, .case-study-info {
    width: 250px;
}

#showroom-landingpage .case-study img,
#showroom-landingpage .case-study .privacy-message {
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 350px;
}

.case-study:hover img {
    transition: ease-in;
    border: .25px solid rgb(215, 215, 215);
    box-shadow: 1px 1px 10px rgb(115, 115, 115);
}

#showroom-landingpage .case-study:hover img {
    transition: none;
    border: none;
    box-shadow: none;
}

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

    .case-study img, .sample-info {
        width: 400px;
    }

    #showroom-landingpage .case-study img,
    #showroom-landingpage .case-study .privacy-message{
        max-height: 313px;
    }

    .counter-div {
        display: grid;
        grid-template-columns: repeat(3, auto);
    }

    .item-4 {
        grid-column: 1 / span 2;
    }

    .item-5 {
        margin-left: -20rem;
    }
}

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


    .max-width-image-80 {
        max-width: 45%;
    }

    .case-study img, .sample-info {
        width: 100%;
        max-width: 500px;
    }
    #showroom-landingpage .case-study img,
    #showroom-landingpage .case-study .privacy-message{
        max-height: 362px;
    }
}


/* footer */
footer {
    background: rgba(255, 255, 255, .5);
}

/* project page */
.project-header {
    background-image: linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1));
}

.project-header:hover {
    transition: ease-in;
    box-shadow: 1px 1px 10px rgb(115, 115, 115);
}

@media screen and (min-width: 678px) {
    .project-content h5 {
        font-size: 1.75rem;
    }

    .project-content p {
        font-size: 1.5rem;
    }
}


@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-250px * 7));
    }
}


@media screen and (min-width: 999px) {
    .leistungen-img {
        width: 400px;
        height: 300px;
        object-fit: cover;
    }
}


/* werte */
@media screen and (min-width: 999px) {

    .content-center {
        max-width: unset;
    }
}


.filter-green {
    filter: invert(100%) sepia(0%) saturate(247%) hue-rotate(86deg) brightness(118%) contrast(119%);
    height: 32px;
    width: auto;

}

/*overwrite bootstrap*/
.counter-div .list-inline-item {
    font-size: 1em
}

.counter-div .list-inline-item:not(:last-child) {
    margin-right: 0 !important;
}

@media screen and (min-width: 768px) {
    .counter-div .list-inline-item:not(:last-child) {
        margin-right: 2rem !important;
    }
}

[class^='list-item-fa-']::before,
[class*='list-item-fa-']::before {
    font-family: "Font Awesome 6 Free";
    display: inline-block;
    padding: 5px;
}

li.list-item-fa-rocket::before {
    content: "\f135";
}

li.list-item-fa-hand-sparkles::before {
    content: "\e05d";
}

li.list-item-fa-award::before {
    content: "\f559";
}

li.list-item-fa-lightbulb::before {
    content: "\f0eb";
}

li.list-item-fa-location-dot::before {
    content: "\f3c5";
}


#social-icons .text-dark:hover, #social-icons .text-dark:focus {
    color: #11505d !important;
}

/* overwrite menu border */
.navbar-light .navbar-toggler,
.navbar-light .navbar-toggler:focus,
.navbar-light .navbar-toggler:active,
.navbar-light .navbar-toggler-icon:focus {
    color: rgba(255, 255, 255);
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
    background: none;
}

/* menu icon with toggle*/
.navbar-toggler span {
    display: block;
    background-color: #fff;
    height: 3px;
    width: 25px;
    margin-top: 5px;
    margin-bottom: 5px;
    position: relative;
    left: 0;
    opacity: 1;
    transition: all 0.35s ease-out;
    transform-origin: center left;
}

.navbar-toggler span:nth-child(1) {
    margin-top: 0.3em;
}

.navbar-toggler:not(.collapsed) span:nth-child(1) {
    transform: translate(15%, -33%) rotate(45deg);
}

.navbar-toggler:not(.collapsed) span:nth-child(2) {
    opacity: 0;
}

.navbar-toggler:not(.collapsed) span:nth-child(3) {
    transform: translate(15%, 33%) rotate(-45deg);
}

.navbar-toggler span:nth-child(1) {
    transform: translate(0%, 0%) rotate(0deg);
}

.navbar-toggler span:nth-child(2) {
    opacity: 1;
}

.navbar-toggler span:nth-child(3) {
    transform: translate(0%, 0%) rotate(0deg);
}


.img-tool-icons {
    max-width: 80px;
    height: auto;
}

#stack-icons .card {
    width: 3.25rem;
    height: 3.25rem;
}

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

    #stack-icons .card {
        width: 5rem;
        height: 5rem;
    }

    #stack-icons .card-smaller {
        width: 3.5rem;
        height: 3.5rem;
    }
}

#stack-icons .card:hover img {
    opacity: 0.7;
    -webkit-transform: scale(1.15);
    -moz-transform: scale(1.15);
    -ms-transform: scale(1.15);
    -o-transform: scale(1.15);
    transform: scale(1.15);
}

#cookie-overlay {
    display: none;
    text-align: center;
}

.cookie-notification {
    position: fixed;
    bottom: 0;
    left: 0;
    opacity: .89;
    z-index: 9000;
    margin: 0;
    background: #11505d;
    width: 100%;
}

.cookie-notification h2 {
    z-index: 9001;
    margin: 0;
    padding: 40px 10px;
}

.cookie-notification a.btn {
    background: #219ab3;
}

.cookie-notification a.btn:hover {
    opacity: .98;
    background: #049ccf;
}

.privacy-message {
    width: 100%;
    height: 350px;
    transition: ease-in;
    border: .25px solid rgb(215, 215, 215);
    box-shadow: 1px 1px 10px rgb(115, 115, 115);
    background: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5));
}

.privacy-message p {
    padding: 10px;
    text-align: center;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/*Fontawesome*/
/*!
 * Font Awesome Free 6.3.0 by @fontawesome - https://fontawesome.com
 * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
 * Copyright 2023 Fonticons, Inc.
 */


@font-face {
    font-family: 'Font Awesome 6 Free';
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url("fa-regular-400.woff2") format("woff2"), url("fa-regular-400.ttf") format("truetype");
}

@font-face {
    font-family: 'Font Awesome 6 Free';
    font-style: normal;
    font-weight: 900;
    font-display: block;
    src: url("fa-solid-900.woff2") format("woff2"), url("fa-solid-900.ttf") format("truetype");
}

@font-face {
    font-family: 'Font Awesome 6 Brands';
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url("fa-brands-400.woff2") format("woff2"), url("fa-brands-400.ttf") format("truetype");
}

.fas,
.fa-solid {
    font-weight: 900;
}

.fa-brands {
    font-family: 'Font Awesome 6 Brands';
}

.fa-brands {
    font-weight: 400;

    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: var(--fa-display, inline-block);
    font-style: normal;
    font-variant: normal;
    line-height: 1;
    text-rendering: auto;
}

.fa-2xl {
    font-size: 2em;
    line-height: 0.03125em;
    vertical-align: -0.1875em;
}


.fa-linkedin:before {
    content: "\f08c";
}

.fa-square-facebook:before {
    content: "\f082";
}


.fa-square-xing:before {
    content: "\f169";
}


/*forms*/
@-webkit-keyframes autofill {
    0%, 100% {
        color: #666;
        background: transparent;
    }
}

input:-webkit-autofill,
input:-webkit-autofill:focus {
    transition: background-color 600000s 0s, color 600000s 0s;
}

input[data-autocompleted] {
    background-color: transparent !important;
}

:required ~ label:after {
    content: " * ";
}

.form-control,
.form-control:focus,
.form-select,
.form-select:focus {
    background-color: transparent;
    border: none;
    outline: none;
    border-radius: unset;
}

label {
    color: #fff;
}

option {
    color: #212529;
}

.form-control,
.form-control:focus,
.form-select,
.form-select:focus,
.form-control[type=file] {
    border-bottom: 1px solid #fff;
    color: #fff;
}


.form-floating > .form-control:focus ~ label, .form-floating > .form-control:not(:placeholder-shown) ~ label, .form-floating > .form-select ~ label {
    opacity: .75;
}

.fake-floating-label {
    opacity: .75;
    transform: scale(0.85) translateY(-1.5rem) translateX(0.15rem)
}


/* forms on white background */
.bg-white label {
    color: #212529;
}

.bg-white .form-control,
.bg-white .form-control:focus,
.bg-white .form-select,
.bg-white .form-select:focus,
.bg-white .form-control[type=file] {
    border-bottom: 1px solid #212529;
    color: #212529;
}

/* form overrides */
.bg-white .form-control[type=file],
.form-control[type=file] {
    border: none;
}

.form-control::file-selector-button {
    background-color: #11505d !important;
    color: #fff;
    border: none;
}


.swiper-container {
    background: white;
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.125);
    height: 300px;
    margin: auto;
    overflow: hidden;
    position: relative;
}

.swiper-slide {
    width: auto !important;
}


.swiper-slide img {
    object-fit: contain;
    height: 100%;
}



.swiper-button-next,
.swiper-button-prev {
    color: #fff

}

@media (min-width: 768px) {

    .swiper-container-free-mode > .swiper-wrapper {
        transition-timing-function: linear;
    }

    .swiper-slide {
        width: auto;
        height: 300px;
    }

    .swiper-container-free-mode .swiper-button-next,
    .swiper-container-free-mode .swiper-button-prev {
        display: none;

    }
}
