:root {
    --primary-color: #ca0b99;
    --secondary-color: rgba(0, 0, 0, 0.5);
    --mid-width: 992px;
}

html, body {
    height: 100%;
    width: 100%;
    overflow-x: clip;
    touch-action: pan-y;
}

html {
    scroll-padding-top: calc(4.5rem - 1px);
}

.height_inherit {
    height: inherit;
}

.w-inherit {
    width: inherit;
}

.gs {
    filter: grayscale(100%)
}

.gs-hover:hover {
    filter: grayscale(0)
}

.primary-color {
    color: var(--primary-color);
}

.link {
    color: var(--secondary-color);
    text-decoration: underline;
}

.link:hover {
    color: var(--primary-color);
    /* text-decoration: underline; */
}

#mainNav {
    min-height: 3.5rem;
    background-color: rgb(255, 255, 255);
    height: 72px;
}

#mainNav .navbar-toggler {
    font-size: 80%;
    padding: 0.75rem;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

#mainNav .navbar-toggler:focus {
    outline: none;
}

#mainNav .navbar-brand {
    color: #000;
    font-weight: 700;
    padding: 0.9rem 0;
    height: 60px;
    margin-left: 1rem;
    margin-right: 0rem;
}

#mainNav .navbar-nav .nav-item:hover {
    color: fade(#fff, 80%);
    outline: none;
    background-color: transparent;
}

#mainNav .navbar-nav .nav-item:active, #mainNav .navbar-nav .nav-item:focus {
    outline: none;
    background-color: transparent;
}

#mainNav.navbar-shrink {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

#navbarResponsive {
    background-color: white;
    /* display: flex;
    align-items: center;
    justify-content: center;
    text-align: center; */
    border-radius: 1rem;
    padding-left: 2rem;
}

.headline h2 {
    /* width: 300px !important; */
    font-size: 2rem;
    text-align: start;
    padding-left: 0 !important;
    margin-bottom: 1rem;
}

.carousel {
    width: 316px !important;
}





.carousel-inner h2::first-letter {
    color: var(--primary-color);
    font-size: 3rem;
}

@media (min-width: 992px) {

    .headline h2 {
        text-align: end;
    }

    .carousel-inner {
        text-align: end;
    }

    #navbarResponsive {
        background-color: transparent;
    }

    #mainNav {
        padding-top: 0;
        padding-bottom: 0;
        border-bottom: none;
        background-color: transparent;
        transition: background-color 0.3s ease-in-out;
    }
    #mainNav .navbar-brand {
        padding: 0.5rem 0;
        color: var(--primary-color);
    }
    #mainNav .nav-link {
        transition: none;
        padding: 2rem 1.5rem;
        color: var(--primary-color);
    }
    #mainNav .nav-link:hover {
        color: var(--primary-color);
    }
    #mainNav .nav-link:active {
        color: #fff;
    }
    #mainNav.navbar-shrink {
        background-color: #fff;
    }
    #mainNav.navbar-shrink .navbar-brand {
        color: #000;
    }
    #mainNav.navbar-shrink .nav-link {
        color: #000;
        padding: 1.5rem 1.5rem 1.25rem;
        border-bottom: 0.25rem solid transparent;
    }
    #mainNav.navbar-shrink .nav-link:hover {
        color: var(--primary-color);
    }
    #mainNav.navbar-shrink .nav-link:active {
        color: var(--primary-color);
    }
    #mainNav.navbar-shrink .nav-link.active {
        color: var(--primary-color);
        outline: none;
        border-bottom: 0.25rem solid var(--primary-color);
    }
}

.btn {
    box-shadow: 0 0.1875rem 0.1875rem 0 rgba(0, 0, 0, 0.1) !important;
    padding: 1.25rem 2rem;
    font-family: "Varela Round", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 80%;
    text-transform: uppercase;
    letter-spacing: 0.15rem;
    /* border: 0; */
}

#header-img {
    display: none;
}
#header-video {
    display: unset;
}

/* @media only screen and (max-width: 991px) {
    #header-img {
        display: unset;
    }
    #header-video {
        display: none;
    }
} */

.header-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100%;
    width: auto;
    height: 100%;
    z-index: -1;
    transform: translateX(-50%) translateY(-50%);
    /* filter: grayscale(1); */
    transform: scale(1.25);
}

.center-items {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.masthead {
    position: relative;
    overflow: hidden;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.masthead:before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.85);
}

.masthead .masthead-content {
    position: relative;
    max-width: 60rem;
    padding-top: 10rem;
    padding-bottom: 5rem;
}

.masthead .masthead-content h1, .masthead .masthead-content .h1 {
    font-size: 2.5rem;
}

.masthead .masthead-content p {
    font-size: 1.2rem;
}

.masthead .masthead-content p strong {
    font-weight: 700;
}

.masthead .masthead-content .input-group-newsletter input {
    height: auto;
    width: 100%;
    font-size: 1rem;
    padding: 1rem;
}

.masthead .masthead-content .input-group-newsletter button {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: calc(1rem + 2px);
}

@media (min-width: 992px) {
    .masthead {
        height: 100%;
        /* width: 75vw; */
        min-height: 0;
        padding-bottom: 0;
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
    }
    .masthead:before {
        transform: skewX(12deg);
        transform-origin: top left;
        left: 30vw;
        width: 100%;
    }
    .masthead .masthead-content {
        padding-top: 0;
        padding-bottom: 0;
        padding-left: 20rem;
        /* padding-right: 9rem; */
    }
    .masthead .masthead-content h1, .masthead .masthead-content .h1 {
        font-size: 3.5rem;
    }
    .masthead .masthead-content p {
        font-size: 1.3rem;
    }
}

.about-section {
    /* padding: 10rem 0; */
    height: 100%;
    align-items: center;
    justify-content: center;
    display: grid;
}

.about-section .featured-text {
    padding: 2rem;
}

@media (min-width: 992px) {
    .about-section .featured-text {
        padding: 0 0 0 2rem;
        border-left: 0.5rem solid var(--primary-color);
    }
}

.about-section .project-text {
    padding: 3rem;
    font-size: 90%;
}

@media (min-width: 992px) {
    .about-section .project-text {
        padding: 5rem;
    }
    .about-section .project-text hr {
        border-color: var(--primary-color);
        border-width: 0.25rem;
        width: 30%;
    }
}

/* REFS */

.skew-container {
    z-index: -2;
    position: relative;
}

.skew1 {
    position: relative;
    background-color: black;
    height: 100px;
    transform: skewY(2deg);
    bottom: -1rem;
    z-index: -1;
    transform-origin: bottom left;
}

.skew2 {
    position: relative;
    background-color: black;
    height: 100px;
    transform: skewY(2deg);
    bottom: 1rem;
    z-index: -1;
    transform-origin: top right;
}

#references .col {
    /* background-color: blue; */
    height: 83px;
}

#references img {
    filter: grayscale(100%);
    border: 5px solid #555;
    margin: 1rem;
}

#references img:hover {
    filter: grayscale(0);
}

/* SERVICES */

#services img {
    filter: grayscale(1);
}

#services img:hover {
    filter: grayscale(0);
}

/* FOOTER */

/* #impressum .justify-content-center .row div {
    height:100px;
    text-align: center;
    vertical-align: middle;
    display: table;
} */

#impressum .justify-content-center .row{
    border-style: solid;
    border-width: 1px 1px 0px 1px;
    border-color: rgb(54, 54, 54);
    /* background-color: #555; */
}

#impressum .justify-content-center .row:last-of-type{
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: rgb(54, 54, 54);
    /* background-color: #555; */
}

/* TEAM */
/* order-lg-first */

@media (min-width: 992px) {
    .person-right {
        order: -1 !important;
    }
}

/* .row:nth-last-of-type(odd) .person-right {
    order: -1 !important;
    background-color: #ca0b99;
} */

#team {
    position: relative;
}

#team .center-items {
    z-index: 1029;
    position: relative;
}

#team .bg-skew {
    height: 250px;
    transform: skewY(-2deg);
    position: absolute;
    left: 0;
    right: 0;
    top: -1rem;
    bottom: 0;
}

.outline-btn {
    border: var(--primary-color);
}

/* TEAM PAGE */

.team h2 {
    font-family: var(--bs-body-font-family);
    color: rgba(0, 0, 0, 0.7);
}

.team img {
    filter: grayscale(1);
    height: 300px;
    z-index: 1;
}

.team img:hover {
    filter: grayscale(0);
}

.team hr {
    color: var(--primary-color);
}

.max-992 {
    max-width: 992px !important;
}

.slide-right hr {
    width: 150%;
}

.slide-left hr {
    left: -50%;
    position: relative;
    width: 150%;
}

/* CONTACT */

.contact-section {
    padding-top: 5rem;
    padding: 10rem 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.5) 75%, #000 100%), url("../assets/img/bg-signup.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: cover;
}

.contact-section .card {
    border: 0;
    border-bottom: 0.25rem solid var(--primary-color);
}

.contact-section .card h4, .contact-section .card .h4 {
    font-size: 0.8rem;
    font-family: "Varela Round", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    text-transform: uppercase;
    letter-spacing: 0.15rem;
}

.contact-section .card hr {
    border-color: var(--primary-color);
    border-width: 0.25rem;
    width: 3rem;
}

.contact-section .social {
    margin-top: 5rem;
}

.card-body i {
    color: var(--primary-color);
}

.contact-section .social a {
    text-align: center;
    height: 3rem;
    width: 3rem;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 100%;
    line-height: 3rem;
    color: var(--primary-color);
}

.contact-section .social a:hover {
    color: rgba(255, 255, 255, 0.3);
}

.contact-section .social a:active {
    color: rgba(255, 255, 255, 0.3);
}

.footer {
    padding: 5rem 0;
}

.footer a {
    text-decoration: none;
}