/*
 * -----------------------------------
 * Copyright
 * COM.POSiTUM Multimedia-Agentur GmbH
 * -----------------------------------
 */

/* ------------------------------------
 *  FONTS
 * ------------------------------------
 */


/* @font-face {
	font-family: 'Rubik';
	src: url('../fonts/Rubik.ttf') format('truetype');
	font-weight: 300 900;
	font-display: swap;
} */

@font-face {
	font-family: 'RobotoFlex';
	src: url('../fonts/RobotoFlex.ttf') format('truetype');
	font-weight: 100 1000;
	font-display: swap;
}

@font-face {
	font-family: 'NotoSans';
	src: url('../fonts/NotoSans.ttf') format('truetype');
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'NotoSans';
	src: url('../fonts/NotoSans-Italic.ttf') format('truetype');
	font-weight: 100 900;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: 'PTSans';
	src: url('../fonts/PTSans-Regular.ttf') format('truetype');
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: 'PTSans';
	src: url('../fonts/PTSans-Bold.ttf') format('truetype');
	font-weight: 700;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: 'Barlow';
	src: url('../fonts/Barlow-Light.ttf') format('truetype');
	font-weight: 300;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: 'Barlow';
	src: url('../fonts/Barlow-SemiBold.ttf') format('truetype');
	font-weight: 600;
	font-style: italic;
	font-display: swap;
}



/* ------------------------------------
*  BASICS
* ------------------------------------
*/


:root {
	--white: #ffffff;
	--black: #000000;
	--green: #3c7276;
	--gray: #d9d9d5;

	--font: 'Barlow';
	--regular: 300;
	--bold: 600; 

	/* --fontsize: 1.8rem; */
	/* --factor: calc((100vw - var(--scrollbar)) / (1920px * 1.5)); */
	--factor: 0.66;
	--fontsize: calc(3.5rem * var(--factor));
	--h1: calc(6.5rem * var(--factor));
	--h2: calc(5.5rem * var(--factor));
	--footer: calc(3rem * var(--factor));
	--box: calc((3.5rem / 4.22 * 2.85) * var(--factor));

	--scrollbar: 0px;

	--gap: calc(4rem * var(--factor));
	--content-width: calc(156rem * var(--factor));
	--width: calc(175rem * var(--factor));
	--content-padding: calc(((100vw - var(--scrollbar)) - var(--content-width)) / 2);
	--padding: calc(((100vw - var(--scrollbar)) - var(--width)) / 2);
}

* {
	box-sizing: border-box;
	padding: 0;
	margin: 0;
	border: 0 none;
}

html,
body {
	/* height: 100%; */
}

html {
	font-size: 10px;
	font-family: var(--font, 'NotoSans'), 'RobotoFlex', 'Rubik', sans-serif;
	font-weight: var(--regular, 350);
}

body {
	background: var(--white);
	font: inherit;
	font-size: var(--fontsize);
	line-height: 1.4;
}

img,
video {
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
	transition: all .3s ease;
}

main a:hover {
	color: var(--green);
}

main a {
	text-decoration: underline;
}

table {
	border-collapse: collapse;
}

table td {
	min-width: 8rem;
	padding: 0.2rem 0;
}

section {
	display: flex;
	gap: var(--gap);
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
}

#intro {
	column-gap: calc(var(--gap) * 3);
}

section:first-of-type:not([class]) {
	margin-top: 5rem;
	margin-bottom: -5rem;
}

section:last-child {
	margin-bottom: 0 !important;
}

#my_team {
	gap: 3.5rem 5rem;
}

.persons {
	display: flex;
	flex-wrap: wrap;
	gap: inherit;
}

@media (min-width: 1080px) {
	.persons {
		margin-right: -10vw;
		width: calc(100% + 10vw);
		max-width: calc(100% + var(--content-padding) - 5rem);
	}
}

#my_team .content {
	width: calc(46rem * var(--factor));
	flex-grow: 1;
}

/* ------------------------------------
*  TYPOGRAPHY
* ------------------------------------
*/
h1,
h2,
h3,
h4,
h5,
h6,
.h2 {
	color: var(--green);
	font-size: var(--h2);
	font-weight: var(--hweight, 400);
	text-transform: uppercase;
	font-family: 'RobotoFlex', 'Rubik', sans-serif;
	width: 100%;
	line-height: inherit;
    font-variation-settings: "slnt" 0, "GRAD" 56, "XOPQ" 96, "XTRA" 603, "YOPQ" 79, "YTAS" 750, "YTDE" -203, "YTFI" 738, "YTLC" 514, "YTUC" 694;
    font-optical-sizing: auto;
}


h1 {
	font-size: var(--h1);
	text-transform: none;
	width: min-content;
	flex-grow: 0;
	font-weight: var(--bold, 600);
	font-family: var(--font, 'NotoSans'), 'RobotoFlex', 'Rubik', sans-serif;
	line-height: 1.3;
}

h3 {
	font-size: 1em;
	text-transform: none;
	font-weight: var(--bold, 600);
	font-family: var(--font, 'NotoSans'), 'RobotoFlex', 'Rubik', sans-serif;
}

p {
	margin: 0;
}

p~h1,
p~h2,
p~h3,
p~h4,
p~h5,
p~h6 {
	margin-top: 1em;
}

.highlight {
	color: var(--green);
	font-weight: var(--bold, 600);
}

.box {
	font-size: var(--box);
	flex-grow: 1;
}

.content {
	display: flex;
	flex-direction: column;
	gap: 1em;
	list-style: none;
}

@media (min-width: 1081px) {
	.content {
		width: 50%;
		flex-grow: 1;
	}
}



/* ------------------------------------
*  CONTENT
* ------------------------------------
*/
main {
	/* padding: 6rem 0; */
	padding: 5rem var(--content-padding) 10rem;
	display: flex;
	flex-direction: column;
	gap: 10rem;
	overflow: hidden;
}

@media (min-width: 769px) {	

	main {
		gap: 15rem;
	}
	
	#intro {
		margin-bottom: 10rem;
	}
}

#entwickeln h2,
#team h2 {
	width: fit-content;
	min-width: 30rem;
}

/* ------------------------------------
*  FORMS
* ------------------------------------
*/
input,
textarea {
	display: block;
	background: #e6e6e6;
	font-family: 'Source Sans Pro', sans-serif;
	font-size: 1.6rem;
	padding: 1.5rem 1rem;
	margin: 2rem 0;
	width: 40rem;
}

input:focus,
textarea:focus {
	outline: 0 none;
}

textarea {
	height: 14rem;
}

input[type="submit"] {
	background: #97c8de;
	color: #fff;
	transition: all 0.4s ease;
}

input[type="submit"]:hover {
	background: #72a2b7;
	cursor: pointer;
}

/* ------------------------------------
*  BUTTONS
* ------------------------------------
*/
button {
	background: transparent;
	color: var(--black);
	display: block;
	font-size: var(--fontsize);
	text-transform: uppercase;
	text-decoration: underline;
}

button:hover {
	cursor: pointer;
}