/*


*/

@font-face {
    font-family: 'Plain';
    src: url('../fonts/Plain-Regular.woff2') format('woff2'), url('../fonts/Plain-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Plain';
    src: url('../fonts/Plain-Light.woff2') format('woff2'), url('../fonts/Plain-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Plain';
    src: url('../fonts/Plain-Bold.woff2') format('woff2'), url('../fonts/Plain-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

 :root {
    --primary-color: #666262;
    --white-color: #ffffff;
    --dark-color: #171819;
    --about-bg-color: #f9f9f9;
    --gray-color: #909090;
    --link-color: #404040;
    --p-color: #666262;
    --base-font-family: 'Plain', sans-serif;
    --font-weight-bold: bold;
    --font-weight-normal: normal;
    --font-weight-light: 300;
    --font-weight-thin: 100;
    /*-- --h1-font-size:         48px; */
    --h2-font-size: 36px;
    --h3-font-size: 28px;
    --h4-font-size: 24px;
    --h5-font-size: 22px;
    --h6-font-size: 22px;
    --p-font-size: 18px;
    --base-font-size: 16px;
    --menu-font-size: 14px;
    --border-radius-large: 100%;
    --border-radius-small: 2px;
}

body {
    background: var(--white-color);
    font-family: var(--base-font-family);
}


/*---------------------------------------
     TYPOGRAPHY              
  -----------------------------------------*/

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: var(--font-weight-thin);
    line-height: normal;
}

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

h1 {
    /*font-size: var(--h1-font-size);
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    margin: 20px 0;
    */
    position: relative;
    font-size: 4vw;
    color: black;
    -webkit-text-stroke: 0.1vw white;
    letter-spacing: 3px;
}

h1::before {
    content: attr(data-text);
    position: absolute;
    font-size: 4vw;
    color: white;
    -webkit-text-stroke: 0.1vw white;
    letter-spacing: 3px;
    overflow: hidden;
    animation: type 6s linear infinite;
}


/* Typing effekt */

@keyframes type {
    0%,
    10%,
    100% {
        width: 0;
    }
    70%,
    90% {
        width: 100%;
    }
}

h2 {
    font-size: var(--h2-font-size);
    font-weight: var(--font-weight-bold);
    letter-spacing: -2px;
}

h3 {
    font-size: var(--h3-font-size);
    font-weight: var(--font-weight-bold);
    letter-spacing: -1px;
    margin: 0;
}

h4 {
    font-size: var(--h4-font-size);
}

h5 {
    font-size: var(--h5-font-size);
}

h6 {
    color: var(--gray-color);
    font-size: var(--h6-font-size);
    line-height: inherit;
    margin: 0;
}

p {
    color: var(--p-color);
    font-size: var(--p-font-size);
    font-weight: var(--font-weight-light);
    line-height: 1.5em;
}

b,
strong {
    font-weight: var(--font-weight-bold);
    letter-spacing: 0;
}

.section {
    padding: 7rem 0;
}


/* BUTTON */

.custom-btn {
    background: transparent;
    border-radius: var(--border-radius-small);
    padding: 14px 24px;
    color: var(--white-color);
    font-size: var(--menu-font-size);
    font-weight: var(--font-weight-normal);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.custom-btn:hover {
    color: var(--primary-color);
}

.custom-btn:focus {
    box-shadow: none;
}

.custom-btn.bordered:hover,
.custom-btn.bordered:focus,
.custom-btn.bg-color:hover,
.custom-btn.bg-color:focus {
    background: var(--white-color);
    border-color: transparent;
    color: var(--primary-color);
}

.bordered {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

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


/*
  .button {
    border: 1.5px solid var(--primary-color);
    padding: 5px 14px;
    cursor: pointer;
    margin-top: 1em;

  }

  .button:hover {
    color: var(--primary-color);
  }
*/


/*---------------------------------------
     GENERAL               
  -----------------------------------------*/

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

*::before,
*::after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

a {
    color: var(--link-color);
    font-weight: normal;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover,
a:active,
a:focus {
    color: var(--primary-color);
    outline: none;
    text-decoration: none;
}


/* BG OVERLAY */

.bg-overlay {
    background: black;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.75;
}


/*---------------------------------------
     MENU             
  -----------------------------------------*/

.navbar {
    background: black;
    padding: 1rem;
}

.navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 1.5rem;
    padding-left: 1.5rem;
}

.navbar-brand {
    color: var(--white-color);
    font-size: var(--h3-font-size);
    /*font-weight: var(--font-weight-bold);*/
    font-family: 'Source Sans Pro', sans-serif;
    font-style: italic;
    line-height: normal;
    padding-top: 0;
}

.nav-item .nav-link {
    display: block;
    color: var(--white-color);
    font-size: var(--menu-font-size);
    font-weight: var(--font-weight-normal);
    text-transform: uppercase;
    padding: 2px 6px;
}

.nav-item .nav-link.active,
.nav-item .nav-link:hover {
    color: var(--primary-color);
}

.navbar .social-icon li a {
    color: var(--white-color);
}

.navbar-toggler {
    border: 0;
    padding: 0;
    cursor: pointer;
    margin: 0 10px 0 0;
    width: 30px;
    height: 35px;
    outline: none;
}

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

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before,
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    transition: top 300ms 50ms ease, -webkit-transform 300ms 350ms ease;
    transition: top 300ms 50ms ease, transform 300ms 350ms ease;
    transition: top 300ms 50ms ease, transform 300ms 350ms ease, -webkit-transform 300ms 350ms ease;
    top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    transform: rotate(-45deg);
}

.navbar-toggler .navbar-toggler-icon {
    background: var(--primary-color);
    transition: background 10ms 300ms ease;
    display: block;
    width: 30px;
    height: 2px;
    position: relative;
}

.navbar-toggler .navbar-toggler-icon::before,
.navbar-toggler .navbar-toggler-icon::after {
    transition: top 300ms 350ms ease, -webkit-transform 300ms 50ms ease;
    transition: top 300ms 350ms ease, transform 300ms 50ms ease;
    transition: top 300ms 350ms ease, transform 300ms 50ms ease, -webkit-transform 300ms 50ms ease;
    position: absolute;
    right: 0;
    left: 0;
    background: var(--white-color);
    width: 30px;
    height: 2px;
    content: '';
}

.navbar-toggler .navbar-toggler-icon::before {
    top: -8px;
}

.navbar-toggler .navbar-toggler-icon::after {
    top: 8px;
}


/*---------------------------------------
     HERO              
  -----------------------------------------*/

.hero {
    background-image: url('../images/milky-way-2675322_1920.jpg');
    /* Bild von FelixMittermeier auf Pixabay, cooles Foto! */
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    vertical-align: middle;
    min-height: 100vh;
    position: relative;
}

.scrolldown {
    position: absolute;
    bottom: 20px;
    left: 52%;
    line-height: inherit;
    width: 40px;
    height: 40px;
    transform: translateY(-80px) translateX(-50px) rotate(45deg);
}

.scrolldown span {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    border-bottom: 2px solid #fff;
    border-right: 2px solid #fff;
    animation: animate 1.5s linear infinite;
    opacity: 0;
}

.scrolldown span:nth-child(1) {
    transform: translate(-15px, -15px);
    animation-delay: -0.4s;
    animation-delay: 4s;
}

.scrolldown span:nth-child(2) {
    transform: translate(0, 0);
    animation-delay: -0.2s;
    animation-delay: 4s;
}

.scrolldown span:nth-child(3) {
    transform: translate(15px, 15px);
    animation-delay: 0s;
    animation-delay: 4s;
}

@keyframes animate {
    0% {
        top: -5px;
        left: -5px;
        opacity: 0;
    }
    25% {
        top: 0px;
        left: 0px;
        opacity: 1;
    }
    100% {
        top: 5px;
        left: 5px;
        opacity: 0;
    }
}


/*---------------------------------------
     works             
  -----------------------------------------*/

.works {
    /* background: var(--dark-color); */
    background-image: url('../images/cosmos-1853491_1280.jpg');
    object-fit: cover;
}

.works-title {
    color: white;
}

.works-thumb {
    position: relative;
    transform: translateY(0px);
    transition: 0.8s all;
    cursor: pointer;
    border-radius: 15px;
    border-color: black;
}

.works-thumb:hover {
    box-shadow: 6px 6px 40px 10px #5F4B8BFF;
    transform: translateY(-20px);
}

.works-info {
    background: var(--white-color);
    box-shadow: 6px 0 38px rgba(20, 20, 20, 0.10);
    border-radius: 0 0 2px 2px;
    padding: 1rem 2rem;
    position: relative;
}

.works-info img {
    border-radius: 2px 2px 0 0;
}

.works-info strong {
    color: var(--gray-color);
}


/*---------------------------------------
      ABOUT & TEAM            
  -----------------------------------------*/

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

.team-thumb {
    position: relative;
}

.team-info {
    background: var(--white-color);
    border-radius: 0 0 2px 2px;
    box-shadow: 6px 0 38px rgba(20, 20, 20, 0.10);
    padding: 20px;
    position: relative;
}

.team-info span {
    font-weight: var(--font-weight-light);
    opacity: 0.85;
}

.team-info .social-icon {
    position: absolute;
    top: 10px;
    right: 20px;
}

.team-info .social-icon li {
    display: block;
}

.smoothscroll {
    scroll-behavior: smooth;
}


/*---------------------------------------
     CONTACT              
  -----------------------------------------*/

.contact {
    background-color: var(--white-color);
    /*-- background-image: url('../images/milky-way-2675322_1920.jpg'); */
    object-fit: cover;
}

.webform input,
button#submit-button {
    height: calc(2.25rem + 20px);
}

.form-control {
    border-radius: var(--border-radius-small);
    margin: 1.3rem 0;
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--dark-color);
}

button#submit-button {
    background: var(--dark-color);
    border-color: transparent;
    color: var(--white-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

button#submit-button:hover {
    background: var(--primary-color);
}

.contact h2+p {
    max-width: 90%;
}

.google-map {
    border-top: 1px solid #efebeb;
    margin-top: 2.5rem;
    padding-top: 2.5rem;
}

.google-map iframe {
    width: 100%;
}


/*---------------------------------------
     FOOTER              
  -----------------------------------------*/

.site-footer {
    padding: 1rem 0;
    background: black;
}

.site-footer a {
    color: var(--white-color);
    font-weight: var(--font-weight-light);
}

.site-footer p {
    font-size: var(--base-font-size);
}

.contact .fa,
.site-footer .fa {
    color: var(--white-color);
}


/*---------------------------------------
     SOCIAL ICON              
  -----------------------------------------*/

.social-icon {
    position: relative;
    padding: 0;
    margin: 5px 0 0 0;
}

.social-icon li {
    display: inline-block;
    list-style: none;
}

.social-icon li a {
    text-decoration: none;
    display: inline-block;
    color: var(--p-color);
    font-size: var(--p-font-size);
    font-weight: var(--font-weight-bold);
    margin: 5px 10px;
    text-align: center;
}

.social-icon li a:hover {
    color: var(--primary-color);
}


/*---------------------------------------
     RESPONSIVE STYLES              
  -----------------------------------------*/

@media screen and (max-width: 992px) {
    .section {
        padding: 5rem 0;
    }
    .nav-item .nav-link {
        padding: 6px;
    }
    .navbar .social-icon {
        margin-top: 22px;
    }
    .navbar-collapse,
    .site-footer {
        text-align: center;
    }
    .modal-content {
        padding: 2rem;
    }
}

@media screen and (max-width: 767px) {
    h1 {
        font-size: 38px;
    }
    .contact h2 span {
        display: block;
    }
}


/* Handy Anpassung */

@media screen and (max-width: 700px) {
    .hero {
        background-image: url('../images/milky-way-2675322_1920.jpg');
        background-size: cover;
        background-position: top;
        background-repeat: no-repeat;
        vertical-align: middle;
        min-height: 100vh;
        position: relative;
    }
    .bg-overlay {
        background: black;
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0.60;
    }
    /* h1 Willkommens-Feature anpassen */
    h1 {
        position: relative;
        font-size: 7vw;
        color: black;
        -webkit-text-stroke: 0.1vw rgb(255, 255, 255);
        letter-spacing: 1px;
    }
    h1::before {
        content: attr(data-text);
        position: absolute;
        font-size: 7vw;
        color: rgb(255, 255, 255);
        -webkit-text-stroke: 0.1vw rgb(255, 255, 255);
        letter-spacing: 1px;
        overflow: hidden;
        animation: type 8s linear infinite;
    }
    .scrolldown {
        /*hält immer die Position*/
        position: absolute;
        bottom: 130px;
        left: 58%;
        /* inherit, erbt vom Elternelement*/
        line-height: inherit;
        width: 40px;
        height: 40px;
        transform: translateY(-80px) translateX(-50px) rotate(45deg);
    }
    .scrolldown span {
        position: absolute;
        top: 0;
        left: 0;
        display: block;
        width: 100%;
        height: 100%;
        border-bottom: 2px solid #fff;
        border-right: 2px solid #fff;
        animation: animate 1.5s linear infinite;
        opacity: 0;
    }
    .section {
        padding: 5rem 0;
    }
    .nav-item .nav-link {
        padding: 6px;
    }
    .navbar-collapse,
    .site-footer {
        text-align: center;
    }
    .modal-content {
        padding: 2rem;
    }
    /* Impressum & Datenschutzerklärung zentrieren */
    .mob_footer {
        margin: 0 auto;
    }
}