@font-face {
    font-family: "Rubik";
    src: url(../font/Rubik-Regular.ttf) format("truetype");
    font-style: normal;
    font-weight: normal;
}

@font-face {
    font-family: "Rubik";
    src: url(../font/Rubik-Bold.ttf) format("truetype");
    font-style: normal;
    font-weight: bold;
}

@font-face {
    font-family: "Rubik";
    src: url(../font/Rubik-Italic.ttf) format("truetype");
    font-style: italic;
    font-weight: normal;
}

@font-face {
    font-family: "Rubik";
    src: url(../font/Rubik-Light.ttf) format("truetype");
    font-style: normal;
    font-weight: lighter;
}

/* === GLOBAL === */

:root {
    --taxblue: #1C6E8C;
    --accentblue: #64E9EE;
    --greyblue: #B4C5E4;
    --techlime: #EDFFAB;
    --coral: #FFA69E;
    --navigationblack: rgba(0, 0, 0, 0.8);
    --primary-font: "Rubik";
    --secondary-font: sans-serif;
    --transition-hover: background-color 2s; 
}

html {
    font-size: 16px;
}

body {
    font-family: var(--primary-font, --secondary-font);
    font-weight: normal;
    margin: 0;
}

* {
    box-sizing: border-box;
}

/* === GENERELLES === */

.clearfix::after {
    content: "";
    display: block;
    clear: both;
}

.flex-container {
    display: flex;
    margin-left: auto;
    margin-right: auto;
    align-items: center;
}

.list1 {
    list-style-position: inside;
}

/* === NAVIAGTIONSLEISTE === */

#desktop-nav {
    justify-content: space-around;
}

#header-nav {
    height: 50px;
    width: 100%;
    background-color: var(--navigationblack);
    font-size: 1.1rem;
    font-weight: lighter;
    position: fixed;
    top: 0; 
}

#header-nav a > img {
    height: 30px;
    width: auto;
    left: 2rem;
    height: 100%;
    filter: brightness(80%);
}

#header-nav ul > li > a > img {
    height: 25px;
    width: auto;
    filter: brightness(80%);
}

#header-nav a > img:hover {
    filter: brightness(100%);
}

#header-nav ul {
    margin: .8rem;
    padding: 0;
    position: relative;
    height: 55%;
}  

#header-nav ul > li {
    display: inline-block;
    height: 100%;
    padding: 0 .5rem 0 .5rem;
}

#header-nav ul > li > a {
    margin: 0;
    display: inline-block;
    transition-duration: 1s;
    transition-timing-function: ease-in-out;
}

#header-nav ul > li.word-nav {
    margin:0;
    padding-bottom:0;
    text-align: center;
    vertical-align:25%;

}

#header-nav ul > li > a:link {
    color: #FFFFFF;
    filter: brightness(80%);
    text-decoration: none;
}

#header-nav ul > li > a:visited {
    color: #FFFFFF;
    filter: brightness(80%);
    text-decoration: none;
}

#header-nav ul > li > a:hover {
    color: #FFFFFF;
    filter: brightness(100%);
    text-decoration: none;
}

#header-nav ul > li > a:active {
    color: #FFFFFF;
    filter: brightness(100%);
    text-decoration: none;
}

.active {
    text-decoration: none;
}

#header-nav .col-12 {
    padding-top: 0;
    padding-bottom: 0;
}

#header-nav .container,
#header-nav .row,
#header-nav .col-12 {
    height: 100%;
}

.logo-link {
    height: 25px;
    width: 42.16px;
}

/* === NAVIAGTIONSLEISTE (MOBIL) === */

#header-nav-mobil {
    width: 100%;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.8);
    position: relative;
    font-weight: bold;
    font-size: 1.1rem;
    font-weight: lighter;
}

#header-nav-mobil a > span {
    float: right;
    margin-right: 50%;
    position: relative;
    transform: translateX(-21.08px);
}

#header-nav-mobil a > span > img {
    height: 25px;
    width: auto;
    filter: brightness(80%);
    position: absolute;
    margin-right: 0px;
}

#header-nav-mobil a > span > img:hover {
    filter: brightness(100%);
}

#header-nav-mobil ul {
    margin: 0;
    padding: 0;
    float: left;
    height: 100%;
}  

#header-nav-mobil ul > li {
    display: inline-block;
    height: 100%;
    padding: 0 .5rem 0 .5rem;
}

#header-nav-mobil ul > li > a {
    margin: 0;
    display: inline-block;
    left: 50px;
    right: 50px;
}

#header-nav-mobil ul > li > a:link {
    color: #FFFFFF;
    filter: brightness(80%);
    text-decoration: none;
}

#header-nav-mobil ul > li > a:visited {
    color: #FFFFFF;
    filter: brightness(80%);
    text-decoration: none;
}

#header-nav-mobil ul > li > a:hover {
    color: #FFFFFF;
    filter: brightness(100%);
    text-decoration: none;
}

#header-nav-mobil ul > li > a:active {
    color: #FFFFFF;
    filter: brightness(100%);
    text-decoration: none;
}

.active {
    text-decoration: none;
}

#header-nav-mobil .col-12 {
    padding-bottom: 0;
}

#header-nav-mobil .container,
#header-nav-mobil .row,
#header-nav-mobil .col-12 {
    height: 100%;
}

#mobile-nav-button {
    color: #FFFFFF;
    filter: brightness(80%);
    text-decoration: none;
    font-weight: bold;
    font-size: 4rem;
    font-weight: lighter;
    float: left;
    width: 40px;
    height: 40px;
    position: relative;
    bottom: .5rem;
}

#mobile-nav-button:hover {
    filter: brightness(100%);
}

#mobile-nav-button > span {
    position: absolute;
    bottom: -6px;
    left:0px;
    top: -24px;
}

#mobile-nav-dropdown {
    position: relative;
    float: left;
    height: 30px;
}

#mobile-nav-content {
position: absolute;
top: 37px;
display: none;
background-color: rgba(0, 0, 0, 0.8);
text-align: left;
}

#mobile-nav-content > ul > li {
    display: block;
    
    height: 30px;
    padding-right: 30px;
    text-align: left;
}

#mobile-nav-dropdown:hover > #mobile-nav-content {
    display: block;
}

#mobile-nav {
    display: none;
}

#header-nav-mobil {
    display: none;
}

/*@media(max-width:800px) {
    .desktop-nav {
        display: none;
    }
    #mobile-nav {
        display: block;
    }
    #header-nav-mobil {
        display: block;
    }
    #header-nav {
        display: none;
    }
}*/

.logo-link-mobil {
    height: 25px;
    width: 42.16px;
    display: inline-block;
    transform: translateX(-21.08px);
}

/* === 

GRID_SYSTEM (SICHTBARKEIT) 

.border, .border * {
    border: 1px solid #91C4FF;
}

[class*='col-'] {
    background-color: #BFDDFF;
}

p {
    background-color: #91C4FF;
    padding: 0;
    margin: 0;
    color: #FFF;
    text-align: center;
}

=== */

/* === GRID-SYSTEM === */

.container {
    width: 95%;
    margin-left: auto;
    margin-right: auto;
}

.row::after {
    content: "";
    clear: both;
    display: block;
}

[class*='col-'] {
    float: left;
    min-height: 1px;
    padding: .8rem;
    text-align: center;
}

.col-2      {width: 16.6666%;}
.col-3      {width: 25%;}
.col-4      {width: 33.3333%;}
.col-6      {width: 50%;}
.col-8      {width: 66.6666%;}
.col-12     {width: 100%;}

@media (max-width: 1024px) {
    .col-2 {width: 33.3333%;}
    .col-3 {width: 50%}
}

@media (max-width: 768px) {
    .col-2 {width: 50%;}
    .col-3 {width: 100%;}
    .col-4 {width: 100%;}
    .col-6 {width: 100%;}
    .col-8 {width: 100%;}
}

@media (max-width: 480px) {
    .col-2 {width: 100%;}
    .col-3 {width: 100%;}
    .col-4 {width: 100%;}
    .col-6 {width: 100%;}
    .col-8 {width: 100%;}
}

/* === MAIN === */

#main {
    background-image: url("../img/Logo_black_clean_icon.png");
    background-repeat: no-repeat;
    background-position: 50% 100%;
    background-size: 60%;
    width: 500px;
    height: 400px;
    text-align: center;
    padding-top: 370px;
    
    margin-left: auto;
    margin-right: auto;
    margin-top: auto;
    margin-bottom: auto;
}

#main h1, #main p {
    margin: 0;
}

/* === FOOTER === */

#footer {
    font-size: 1.1rem;
    font-weight: lighter;
    height: 100px;
    width: 100%;
    align-content: center;
    position: fixed;
    bottom: 0;  
    background-color: var(--navigationblack);
    font-size: 1.1rem;
    font-weight: lighter;
}

#flex-footer {
    justify-content: space-between;
    padding-top: 30px;
    padding-bottom: 0;
}

.mediaicons {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin-left: auto;
    margin-right: auto;
}

.mediaicon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-color: #FFF;
    filter: brightness(80%);
    background-size: 60%;
    display: inline-flex;
    justify-content: space-between;
}

#mailicon {
    background-image: url("../img/icons/email.png");
}

#linkedinicon {
    background-image: url("../img/icons/linkedin.png");
}

#xingicon {
    background-image: url("../img/icons/xing.png");
}

#mailicon:hover, #linkedinicon:hover, #xingicon:hover {
    filter: brightness(100%);
}

/*#copyright, #impressumdatenschutz {
    flex-grow: 1;
    flex-basis: 0;
}*/
 
#copyright {
    flex: 1;
    display: flex;
    justify-content: center;
    color: #FFF;
    filter: brightness(80%);
}

#mediaicons{
    align-items: center;
    flex: .4;
    display: flex;
    justify-content: center;
}

#impressumdatenschutz{
    align-items: center;
    flex: 1;
    display: flex;
    justify-content: center;
    color: #FFF;
    filter: brightness(80%);
}

#footer a {
    margin: 0.5rem;
}

#mediaicon > a {
    width: 40px;
    height: 40px;
    margin-left: auto;
    margin-right: auto;
}

#footer a:link {
    color: #FFFFFF;
    filter: brightness(80%);
    text-decoration: none;
    transition-duration: 1s;
    transition-timing-function: ease-in-out;
}

#footer a:visited {
    color: #FFFFFF;
    filter: brightness(80%);
    text-decoration: none;
}

#footer a:hover {
    color: #FFFFFF;
    filter: brightness(100%);
    text-decoration: none;
}

#footer a:active {
    color: #FFFFFF;
    filter: brightness(100%);
    text-decoration: none;
}

@media(max-width: 1088px) {
    .flex-container {
        flex-direction: column;
    }

    #footer {
        height: 150px;
        width: 100%;
    }

    #flex-footer {
        padding-top: 20px;
    }

    #copyright {
        flex: 0;
        display: flex;
        justify-content: center;
        color: #FFF;
        filter: brightness(80%);
        padding-bottom: 10px;
    }
    
    #mediaicons{
        align-items: center;
        flex: 0;
        display: flex;
        justify-content: center;
    }
    
    #impressumdatenschutz{
        align-items: center;
        flex: 0;
        display: flex;
        justify-content: center;
        color: #FFF;
        filter: brightness(80%);
    }

    #impressumdatenschutz > a {
        margin-top: 0;
    }
}

@media(max-width: 600px) {

    #main {
        width: 250px;
        height: 200px;
        background-position: 50% 50%;
    }

    #main h1 {
        margin-top: -100px;
    }

}

/* === IMPRESSUM === */

#impressum {
    margin-top: 50px;
    margin-bottom: 100px;
}

#impressum a:link {
        color: var(--taxblue);
        filter: brightness(80%);
        text-decoration: none;
    }

#impressum a:visited {
        color: var(--taxblue);
        filter: brightness(80%);
        text-decoration: none;
    }
    
#impressum a:hover {
        color: var(--taxblue);
        filter: brightness(100%);
        text-decoration: none;
    }
    
#impressum a:active {
        color: var(--taxblue);
        filter: brightness(100%);
        text-decoration: none;
    }

@media(max-width: 1088px) {
    #impressum {
        margin-top: 100px;
        margin-bottom: 200px;
    }
} 

/* === DATENSCHUTZ === */

#datenschutz {
    margin-top: 50px;
    margin-bottom: 100px;
}


#datenschutz a:link {
    color: var(--taxblue);
    filter: brightness(80%);
    text-decoration: none;
}

#datenschutz a:visited {
    color: var(--taxblue);
    filter: brightness(80%);
    text-decoration: none;
}

#datenschutz a:hover {
    color: var(--taxblue);
    filter: brightness(100%);
    text-decoration: none;
}

#datenschutz a:active {
    color: var(--taxblue);
    filter: brightness(100%);
    text-decoration: none;
}

@media(max-width: 1088px) {
    #datenschutz {
        margin-top: 100px;
        margin-bottom: 200px;
    }
} 