@font-face {
    font-family: source-sans-pro-regular;
    src: url('../fonts/SourceSansPro-Regular.ttf');
}

@font-face {
    font-family: source-sans-pro-light;
    src: url('../fonts/SourceSansPro-Light.ttf');
}

@font-face {
    font-family: termina-bold;
    src: url('../fonts/Termina-Bold.ttf');
}

* {
    margin: 0;
    padding: 0;
}

body {
    background-color: #211e2c;
    font-family: source-sans-pro-light;
    letter-spacing: 0.3em;
}

a, a:hover, a:focus, a:active {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}


/* ---------- HEADER ---------- */


.header {
    min-height: 100vh;
    width: 100%;
    /*
background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 1)), url("../images/test/background_ape_security2.png");
background-position: center;
background-size: cover;
*/
}

.background-video-container {
width: 100%;
height: 100%;
overflow: hidden;
display: flex;
justify-content: center;
align-items: flex-start;
}

#background-video {
width: auto;
min-height: 58vw;
height: 100%;
}

#grad {
background-image: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,1));
height: 50%;
width: 100%;
position: absolute;
bottom: 0%;
left: 0%;
overflow: hidden;
}

nav {
display: flex;
justify-content: center;
align-items: center;
position: absolute;
top: 0%;
left: 0%;
width: 100%;
flex-wrap: wrap;
}

.navbar {
width: 90%;
display: flex;
justify-content: center;
align-items: center;
padding-top: 10px;
flex-wrap: wrap;
}

#nav-logo {
width: calc(100px + 7vmax); /*200px;*/
margin: 18px;
}

#nav-socials {
display: none;
visibility: hidden;
}

.text-box {
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
color: white;
position: absolute;
bottom: 0%;
left: 50%;
transform: translate(-50%,0%); /*(-50%,-50%)*/
text-align: center;
padding-bottom: 40px;
}

.text-box h1 {
font-size: calc(15px + 3vmax); /*82px; */
font-family: termina-bold;
width: 90%;
}

#heading {
width: calc(230px + 40vw);
max-width: 100%;
}

.text-box h2 {
font-size: calc(10px + 1.5vmax); /* 45px; */
font-family: source-sans-pro-light;
color: #ef16f3;
width: 90%;
}

.text-box p {
width: calc(200px + 30vw); /*50%;*/
max-width: 100%;
margin-top: 20px;
font-size: calc(11px + 0.6vmax); /* 20px; */
font-family: source-sans-pro-light;
letter-spacing: 0.1em;
}

div.socials {
display: flex;
align-items: center;
height: 50px;
}

div.socials > a {
display: flex;
justify-content: center;
align-items: center;
width: 50px;
height: 50px;
margin: 0 18px 0 18px;
}

div.socials > a > img {
    width: 40px;
}

    div.socials > a > img:hover, div.socials > a > img:active {
	width: 50px;
	filter: invert(49%) sepia(90%) saturate(6588%) hue-rotate(284deg) brightness(96%) contrast(122%);
    }

    #text-box-socials {
	margin-top: 40px;
    }

/* mobile view */
@media only screen and (max-width: 600px) {
.navbar {
justify-content: space-between;
}

#nav-logo {
width: 25vw;
}
#text-box-socials {
display: none;
visibility: hidden;
}


#nav-socials {
display: flex;
visibility: visible;
}

#nav-socials > a {
    margin: 0 5px 0 5px;
    width: 40px;
}

    #nav-socials > a > img {
	width: 30px;
    }

	#nav-socials > a > img:hover {
	    width: 40px;
	}
}

/* scrollen wenn höhe zu klein */
@media only screen and (max-height: 650px) {
.header {
min-height: 650px;
position: absolute;
}
.background-video-container {
height: 650px;
}
}

/* Navbar mittig wenn wrap */
@media only screen and (max-width: 363px) {
.navbar {
justify-content: center;
}
#nav-logo {
width: 120px;
margin-bottom: 1vh;
}
}


/* ---------- TEAM ---------- */


.team {
width: 80%;
margin: auto;
text-align: center;
padding-top: 100px;
display: flex;
flex-direction: column;
align-items: center;
display: none;
visibility: hidden;
}

.team h1 {
font-size: 36px;
font-family: source-sans-pro-regular;
color: white;
margin-bottom: 15px;
}

.team h3 {
font-size: 30px;
font-family: source-sans-pro-light;
color: white;
}

.team p {
color: #BBB;
font-size: 18px;
line-height: 22px;
        padding: 10px;
    }

    .team > p {
        width: 50%;
    }

.row {
    margin-top: 5%;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.row-item {
    flex-basis: 35%;
    margin-bottom: 5%;
    padding: 20px 12px;
}

.row > .row-item > img {
    margin: 20px;
    width: 300px;
    border-radius: 20px;
}
