/****** HTML, BODY ******/

html {
	max-width: 100vw;
    overflow-x: hidden;
	min-height: -webkit-fill-available;
    min-height: 100vh;
	background: white;
	position: relative;
}

body {
	position: fixed;
	top: 30px;
	left: 30px;
	right: 30px;
	bottom: 30px;
	padding: 25px 20px;
	display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: space-between;
	background-color: #666666;
	/* background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	background-image: url(https://simone-englisch.de/img/mama_workout_2.jpg);
	animation: no_background;
	animation-iteration-count: 1;
	animation-timing-function: linear;
	animation-fill-mode: forwards;
	animation-duration: 10s; */
	box-shadow: inset 0px 0px 0px 0px transparent;
}

@keyframes no_background {
	0% {
		box-shadow: inset 0px 0px 0px 0px transparent;
		//background-size: 100%;
		background-position: 50% 50%;
	}
	100% {
		box-shadow: inset 0px 0px 0px 10000px #666666;
		//background-size: 105%;
		background-position: 53% 53%;
	}
}


/****** FONTS ******/

@font-face {
	font-family: "Recoleta-Bold";
	src: url("../fonts/Recoleta-Bold.otf");
}

@font-face {
      font-family: "MinionPro-Regular";
      src: url("../fonts/MinionPro-Regular.otf");
}

h1, h2, h3 {
	text-align: center;
	color: white;
}

h1 {
	font-family: "Recoleta-Bold", Serif;
	font-size: 55px;
	line-height: 65px;
	margin-top: 100px;
}

h2, h4 {
	font-family: "MinionPro-Regular", Serif;
	font-size: 24px;
	line-height: 24px;
}

h3 {
	font-family: "Recoleta-Bold", Serif;
	font-size: 18px;
	line-height: 20px;
	letter-spacing: 1px;
}


/****** NAVBAR ******/

.navbar {
	padding: 0;

	.navbar_brand {
		img {
			width: 160px;
			height: auto;
		}
	}
}


/****** CONTENT LAYOUT ******/

.background_image_container {
	position: fixed;
	top: 30px;
	left: 30px;
	right: 30px;
	bottom: 30px;
	width: ~"calc( 100% - 60px )";
	height: ~"calc( 100% - 60px )";
	object-fit: cover;
	overflow: hidden;
}

.background_image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: absolute;
	z-index: 0;
	//animation-fill-mode: forwards;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	box-shadow: inset 0px 0px 0px 10000px rgba(0,0,0,0.2);
}

.background_image_1 {
	background-image: url(https://simone-englisch.de/img/mama_workout_3.jpg);
	animation: ken_burns_fade_out_in;
	animation-duration: 30s;
	animation-iteration-count: infinite;
	animation-direction: alternate;
	animation-timing-function: ease-in-out;
}

.background_image_2 {
	background-image: url(https://simone-englisch.de/img/mama_workout_2.jpg);
	animation: ken_burns_fade_in_out;
	animation-duration: 30s;
	animation-iteration-count: infinite;
	animation-direction: alternate;
	animation-timing-function: ease-in-out;
}

@keyframes ken_burns_fade_out_in {
	0% {
		transform: scale( 1.2 ) translate( -5%, -5% );
	}

	25% {
	}

	62.5% {
	}

	75% {
	}

	100% {
		transform: scale( 1 ) translate( 0%, 0% );
	}
}

@keyframes ken_burns_fade_in_out {
	0% {
		opacity: 1;
		transform: scale( 1 ) translate( 0%, 0% );
	}

	25% {
		opacity: 1;
	}

	62.5% {
		opacity: 0;
	}

	75% {
		opacity: 0;
	}

	100% {
		opacity: 0;
		transform: scale( 1.2 ) translate( -5%, -5% );
	}
}

.main_content {
	z-index: 1;
	.row {
		.icon_box {
			text-align: center;

			img {
				width: 100px;
				height: auto;
				margin: auto;
			}
		}

		&>div {
			text-align: center;
		}

		.button_wrapper {
			text-align: center;
			button {
				margin-top: 30px;
				background: transparent;
				border: thin solid white;
				border-radius: 5px;
				padding: 10px 30px 7px 30px;
				font-family: "MinionPro-Regular", Serif;
				color: white;
				font-size: 24px;

				transition: all 0.25s;

				&:hover {
					background: white;
					color: black;
				}
			}
		}
	}
}

.email_button {
	position: absolute;
	right: 130px;
	top: 130px;
	animation: swing_rotate;
	animation-duration: 4s;
	animation-iteration-count: infinite;
	animation-direction: alternate;
	animation-timing-function: ease-in-out;

	img {
		width: 160px;
		height: auto;
	}
}

@keyframes swing_rotate {
	0% {
		transform: rotate( 20deg );
	}

	100% {
		transform: rotate( -20deg );
	}
}

.footer_menu {
	position: fixed;
	bottom: 5px;
	left: 0;
	right: 0;
	width: 100%;
	text-align: center;

	a {
		text-decoration: none;
		font-family: "MinionPro-Regular", Serif;
		font-size: 12px;
		line-height: 12.5px;
		color: #666666;

		&:hover {
			text-decoration: none;
		}
	}
}

.modal {
	h2, h4, p, strong, a, li {
		color: #666666;
		text-align: left;
	}

	h2, h4 {
		margin-top: 60px;
		margin-bottom: 20px;
	}

	p, li {
		font-family: "MinionPro-Regular", Serif;
		font-size: 16px;
		line-height: 25px;
	}

	.close {
		background: transparent;
		border: none;
		padding: 0;
		font-size: 40px;
		color: #666666;
	}

	.modal-header, .modal-body {
		padding: 20px 60px;
	}
}


/****** MEDIA QUERIES ******/

[data-device-mode="md"] {
	.email_button {
		right: 30px;
		top: 30px;
	}
}

/* [data-device-mode="sm"] {
	.email_button {
		right: 30px;
		top: 30px;
	}
} */

[data-device-mode="sm"], [data-device-mode="xs"] {
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	position: relative;
	padding: 10px;
	padding-bottom: 60px;

	h1 {
		font-size: 45px;
		line-height: 55px;
		margin-top: 160px;
	}
	
	h2, h4 {
		font-size: 20px;
		line-height: 20px;
	}
	
	h3 {
		font-size: 16px;
		line-height: 18px;
		letter-spacing: 1px;
	}

	.navbar {
		margin-top: 20px;
	}

	.background_image_container {
		top: 0px;
		left: 0px;
		right: 0px;
		bottom: 0px;
		width: 100%;
		height: 100%;
	}

	.email_button {
		/* right: 10px;
		top: 10px; */
		position: relative;
		text-align: center;
		margin-top: 30px;
		right: unset;
		top: unset;
	
		img {
			width: 100px;
		}
	}

	.main_content {
		z-index: 1;
		.row {
			.icon_box {
				max-width: 250px;
				margin: auto;

				margin-top: 30px;
				padding-bottom: 30px;

				&:first-of-type {
					margin-top: 80px;
				}
	
				img {
					width: 140px;
					height: auto;
					margin: auto;
				}

				border-bottom: 0.5px solid white;

				&:last-of-type {
					border-bottom: none;
				}
			}
		}
	}

	.footer_menu {
		background: white;
		bottom: 0;
		padding-bottom: 5px;
		z-index: 1;
	}
}