/* orbitron-regular - latin */
@font-face {
    font-family: 'Orbitron';
    font-style: normal;
    font-weight: 400;
    src: local(''),
        url('../fonts/orbitron-v16-latin-regular.woff2') format('woff2'),
        /* Chrome 26+, Opera 23+, Firefox 39+ */
        url('../fonts/orbitron-v16-latin-regular.woff') format('woff');
    /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* raleway-regular - latin */
@font-face {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/raleway-v17-latin-regular.eot');
    /* IE9 Compat Modes */
    src: local(''),
        url('../fonts/raleway-v17-latin-regular.eot?#iefix') format('embedded-opentype'),
        /* IE6-IE8 */
        url('../fonts/raleway-v17-latin-regular.woff2') format('woff2'),
        /* Super Modern Browsers */
        url('../fonts/raleway-v17-latin-regular.woff') format('woff'),
        /* Modern Browsers */
        url('../fonts/raleway-v17-latin-regular.ttf') format('truetype'),
        /* Safari, Android, iOS */
        url('../fonts/raleway-v17-latin-regular.svg#Raleway') format('svg');
    /* Legacy iOS */
}

* {
    font-family: 'Raleway';
}

/* Font Helpers */
.orbitron {
    font-family: 'Orbitron';
}

.raleway {
    font-family: 'Raleway';
}

/* OVERALL */
html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* RESPONSIVE */
@viewport {
    width: device-width;
    zoom: 1.0;
}

/* Media Queries: Tablet Landscape */
@media screen and (max-width: 1060px) {
    #primary {
        width: 67%;
    }

    #secondary {
        width: 30%;
        margin-left: 3%;
    }
}

/* Media Queries: Tabled Portrait */
@media screen and (max-width: 768px) {
    #primary {
        width: 100%;
    }

    #secondary {
        width: 100%;
        margin: 0;
        border: none;
    }
}

/* HEADER */
/* orbitron-regular - latin */
@font-face {
    font-family: 'Orbitron';
    font-style: normal;
    font-weight: 400;
    src: local(''),
        url('../fonts/orbitron-v16-latin-regular.woff2') format('woff2'),
        /* Chrome 26+, Opera 23+, Firefox 39+ */
        url('../fonts/orbitron-v16-latin-regular.woff') format('woff');
    /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* raleway-regular - latin */
@font-face {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/raleway-v17-latin-regular.eot');
    /* IE9 Compat Modes */
    src: local(''),
        url('../fonts/raleway-v17-latin-regular.eot?#iefix') format('embedded-opentype'),
        /* IE6-IE8 */
        url('../fonts/raleway-v17-latin-regular.woff2') format('woff2'),
        /* Super Modern Browsers */
        url('../fonts/raleway-v17-latin-regular.woff') format('woff'),
        /* Modern Browsers */
        url('../fonts/raleway-v17-latin-regular.ttf') format('truetype'),
        /* Safari, Android, iOS */
        url('../fonts/raleway-v17-latin-regular.svg#Raleway') format('svg');
    /* Legacy iOS */
}

* {
    font-family: 'Raleway';
}

/* Font Helpers */
.orbitron {
    font-family: 'Orbitron' !important;
}

.raleway {
    font-family: 'Raleway' !important;
}

.strong {
    font-weight: bold !important;
}

html {
    scroll-behavior: smooth;
}

.anchor {
    display: block;
    position: relative;
    top: -80px;
    visibility: hidden;
}


/* ASSET GALLERY */
/*
.list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 20px;
    align-items: stretch;
    margin: 20px !important;
}

.asset {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16),
        0 3px 6px rgba(0, 0, 0, 0.23);
    text-align: center;
}

.asset h3 {
    margin-top: 0 !important;
    padding-left: 20px;
    padding-right: 20px;
}

.asset img {
    max-width: 100%;
    width: 200px;
}
*/

.sort.asc .button::after {
    margin-left: .25rem;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f0de";
}

.sort.desc .button::after {
    margin-left: .25rem;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f0dd";
}

/*-----NAVBAR-----*/
body {
    font-family: "Raleway", sans-serif;
}

html.lock-scroll {
    overflow-y: hidden;
}

nav {
    display: grid;
    grid-auto-flow: column;
    align-items: center;
    padding: 1rem 2rem;
    margin-bottom: 1rem;

    box-shadow: 0px 8px 8px -4px rgba(0, 0, 0, .3);

    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 1);
}

nav #navbar-links ul li a.nav-link.active {
    color: #689ABE;
}

nav #navbar-brand a {
    display: flex;
    flex-direction: row;
    align-items: center;

    letter-spacing: 0.1rem;
    text-decoration: none;
}

nav #navbar-brand a span {
    font-size: 1.3rem;
    color: #689abe;
}

nav #navbar-brand a img {
    margin-right: 1rem;
}

nav #navbar-links {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

nav #navbar-links #mobile-btn {
    visibility: hidden;
}

nav #navbar-links ul {
    list-style-type: none;
    padding-inline-start: 0px;
    margin: 0px;
}

nav #navbar-links ul li {
    display: inline-block;
    margin-left: 25px;
}

nav #navbar-links ul li a {
    color: rgba(0, 0, 0, 0.6);
    text-decoration: none;
    transition: color 300ms ease;
}

nav #navbar-links ul li a:hover {
    color: #689abe;
}

nav #navbar-links #bottom_list {
    display: none;
}

@media screen and (max-width: 768px) {
    nav {
        box-shadow: none;
    }

    .nav-link.active {
        color: #000 !important;
        font-weight: bold;
    }

    #mobile-btn button {
        float: right;
    }

    nav #navbar-brand {
        z-index: 400;
    }

    nav #navbar-links #mobile-btn {
        visibility: visible;
        z-index: 999;
    }

    nav #navbar-links #mobile-btn button {
        background-color: transparent;
        outline: none;
        border: none;
    }

    nav #navbar-links #mobile-btn button:focus {
        outline: none;
        border: none;
    }

    nav #navbar-links .hidden {
        display: none !important;
    }

    nav #navbar-links .shown {
        display: flex !important;
    }

    nav #navbar-links #list {
        position: fixed;
        width: 100vw;
        height: 100vh;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        background-color: #689abef6;
        top: 0;
        left: 0;
        z-index: 500;
    }

    nav #navbar-links #list li {
        display: list-item;
        margin-left: 0px;
        margin-top: 20px;
        animation: slide-left 500ms ease-out;
    }

    @keyframes slide-left {
        0% {
            transform: translateX(300px);
        }

        70% {
            transform: translateX(-20px);
        }

        100% {
            transform: translateX(0px);
        }
    }

    nav #navbar-links #list li a {
        color: white;
        font-size: 25px;
        transition: color 300ms ease;
    }

    nav #navbar-links #list li a:hover {
        color: #689ABE;
    }

    nav #navbar-links #bottom_list {
        position: fixed;
        bottom: 0;
        left: 0;
        background-color: rgba(0, 0, 0, 0.863);
        width: 100vw;
        height: 100px;
        align-items: center;
        justify-content: center;
        padding-inline-start: 0px;
        margin: 0px;
        z-index: 500;
    }

    nav #navbar-links #bottom_list li {
        margin-left: 15px;
        margin-right: 15px;
        animation: slide-up 500ms ease-out;
    }

    @keyframes slide-up {
        0% {
            transform: translateY(100px);
        }

        70% {
            transform: translateY(-10px);
        }

        100% {
            transform: translateY(0px);
        }
    }

    nav #navbar-links #bottom_list li a svg path {
        transition: fill 300ms ease;
    }

    nav #navbar-links #bottom_list li a:hover>svg path {
        fill: #689ABE;
    }
}

/* FOOTER */
ul.footer-links {
    list-style-type: none;
    margin: 0;
}

.footer {
    background-color: #689abe4f;
}


.card-header-title {
    text-align: center;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

/* DIPLOMARBEITEN */

ul.reqlist {
    margin: 0;

    display: inline-block;
    text-align: left;
}


/*SCROLLSPY*/
.scrollspy {
    position: fixed;
    z-index: 999;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background-color: transparent;
    box-shadow: none;
    width: 250px;
    display: none;
    pointer-events: none;
}

.scrollspy .scrollspy-menu {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.scrollspy .scrollspy-menu li {
    position: relative;
    min-width: 150px;
    text-align: right;
}

.scrollspy .scrollspy-menu li .dot {
    display: block;
    color: #fff;
    padding: 5px 0;
}

.scrollspy .scrollspy-menu li .dot::before,
.scrollspy .scrollspy-menu li .dot::after {
    display: block;
    position: absolute;
    content: '';

    border-radius: 50%;
    top: 50%;
    transition: all .3s ease;
    pointer-events: all;
}

.scrollspy .scrollspy-menu li .dot::before {
    width: 5px;
    height: 5px;
    right: 0;
    border: 2px solid #181818;
    transform: translateY(-50%);
}

.scrollspy .scrollspy-menu li .dot::after {
    width: 15px;
    height: 15px;
    border: 2px solid #689abe;
    right: -5px;
    transform: translateY(-50%) scale(1.2);
    opacity: 0;
}

.scrollspy .scrollspy-menu li .dot.active::before,
.scrollspy .scrollspy-menu li:hover .dot::before {
    background: #689abe;
    border-color: #689abe;
}

.scrollspy .scrollspy-menu li .dot.active::after,
.scrollspy .scrollspy-menu li:hover .dot::after {
    opacity: 1;
}

.scrollspy .scrollspy-menu li .dot span {
    display: inline-block;
    opacity: 0;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: capitalize;
    background-color: #689abe;
    padding: 10px 20px;
    border-radius: 3px;
    margin-right: 30px;
    transform: translateX(20px);
    transition: all .3s ease;
}

.scrollspy .scrollspy-menu li .dot span::before {
    display: block;
    position: absolute;
    content: '';
    border-left: 7px solid #689abe;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    top: 50%;
    transform: translate(7px, -50%);
    right: 0;
    transition: all .3s ease;
}

.scrollspy .scrollspy-menu li .dot.active span,
.scrollspy .scrollspy-menu li:hover .dot span {
    transform: translateX(0px);
    opacity: 1;
}



main .section:not(:first-child) {
    padding-top: 100px;
}

.landing-hero {
    background-image: url("../images/layout/CSK_Rendered_City.jpg");

    background-repeat: no-repeat;
    background-size: cover;

    transition: all 1s linear;

}

.overlay {
    position: relative;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.landing-hero a.read-more {
    background-color: transparent !important;
    border: none !important;
    color: lightgray !important;

    animation: downarrow 0.8s infinite alternate ease-in-out;
    -webkit-animation: downarrow 0.8s infinite alternate ease-in-out;
}

.landing-hero i {
    font-size: 5rem;
}

.landing-hero {
    min-height: initial !important;
}

.sketch {
    background-image: linear-gradient(to right, #61b89a, #689abe, #35979a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-background-clip: text;
    -moz-text-fill-color: transparent;
}


.landing-title {
    font-size: 8rem;
}

.landing-subtitle {
    font-size: 3rem;
}

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

    .landing-subtitle {
        font-size: 2rem;
    }
}

.browse-asset-library {
    display: inline-block;
    padding: 0.6rem 1.3rem;
    border-radius: 0.15em;
    text-decoration: none;
    font-weight: 300;
    color: #FFFFFF;
    background-image: linear-gradient(to right, #61b89a, #689abe, #35979a);
    text-align: center;
    transition: all 0.2s;
}

.browse-asset-library:hover {
    color: #000000;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7));
}

.read-the-docs {
    display: inline-block;
    padding: 0.6rem 1.3rem;
    border-radius: 0.15em;
    text-decoration: none;
    font-weight: 300;
    color: #fff;
    background-color: #689abe;
    text-align: center;
    transition: all 0.2s;
}

.read-the-docs:hover {
    color: #000000;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7));
}

.nav-padding {
    padding-top: 80px !important;
}

@keyframes downarrow {
    0% {
        -webkit-transform: translateY(0);
        opacity: 0.4
    }

    100% {
        -webkit-transform: translateY(0.4em);
        opacity: 1
    }
}

@-webkit-keyframes downarrow {
    0% {
        -webkit-transform: translateY(0);
        opacity: 0.4
    }

    100% {
        -webkit-transform: translateY(0.4em);
        opacity: 1
    }
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* NATIVE ACCORDIGON */
details {
    border-radius: 4px;
    padding: .5em .5em 0;
}

summary {
    font-weight: bold;
    margin: -.5em -.5em 0;
    padding: .5em;
}

details[open] {
    padding: .5em;
}

details[open] summary {
    margin-bottom: .5em;
}

.my-gallery-item {
    transition: all 0.3s ease;
}

.my-gallery-item:hover,
.my-gallery-item:active {

    filter: grayscale(100%);
}

.my-gallery-item>figcaption {
    z-index: -100;
    position: relative;
    padding: 10px;
    transition: all 0.3s ease;
}

.my-gallery-item:hover>figcaption {
    z-index: 100;
    color: white;
}

img-comparison-slider img {
    width: auto;
    max-height: 80vh;
}

img-comparison-slider {
    --handle-size: clamp(10px, 8.5vw, 100px);
    --handle-opacity: 0.4;
    --handle-opacity-active: 0.4;

    --divider-width: 2px;
}

.custom-relative-handle {
    width: var(--handle-size);
    height: var(--handle-size);
}


.email-subscribe {
    background: transparent;
    color: white;
}

.email-subscribe::placeholder {
    color: white;
    opacity: 1;
    /* Firefox */
}

.email-subscribe:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: white;
}

.email-subscribe::-ms-input-placeholder {
    /* Microsoft Edge */
    color: white;
}

form .message {
    text-decoration: none;
    -moz-transition: opacity 0.2s ease-in-out, -moz-transform 0.2s ease-in-out;
    -webkit-transition: opacity 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out;
    -ms-transition: opacity 0.2s ease-in-out, -ms-transform 0.2s ease-in-out;
    transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
    -moz-transform: scale(1.05);
    -webkit-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);
    height: 2.75em;
    line-height: 2.75em;
    opacity: 0;
    background: transparent;
}

form .message:before {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    text-transform: none !important;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

form .message:before {
    margin-right: 0.5em;
}

form .message.visible {
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    opacity: 1;
}

form .message.success {
    color: #689abe;
}

form .message.success:before {
    content: '\f00c';
}

form .message.failure {
    color: #ff2361;
}

form .message.failure:before {
    content: '\f119';
}