/* 
 * CASA
 * Landingpage Neujahrskarte 2019
 *
 * Autor: Alexander Altemeyer
 * Letztes Update: 18.12.2019
 *
 */

html, body {
    min-height: 100%;
}

body {
	margin: 0;
	padding: 0;
    background-color: #f2f0f4;     
    
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: #127791;
    text-decoration: none;
}

a:hover {
    color: #fff;
    text-decoration: none;
}

a, 
a:hover {
    -webkit-transition: all 0.25s ease;
    -moz-transition: all 0.25s ease;
    -o-transition: all 0.25s ease;
    -o-transition: all 0.25s ease;
    transition: all 0.25s ease;
}

@media (max-width: 767px) {
	.landing-wrapper {
		margin-top: 1.5rem;
		margin-bottom: 1.5rem;
	}
}

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

@media (min-width: 576px) {
	.container {
		max-width: 540px;
	}
}

@media (min-width: 768px) {
  .container {
	  max-width: 720px;
	  overflow: hidden;
  }
}

@media (min-width: 992px) {
	.container {
		max-width: 960px;
	}
}

@media (min-width: 1200px) {
  .container {
    max-width: 100%;
  }
}

.row {
	min-height: 100%;
	
	box-sizing: border-box;
	display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
	
	-webkit-box-pack: center;
	-moz-box-pack: center;
	box-pack: center;
	justify-content: center;
}

@media (max-width: 767px) {
	.row {
		-webkit-box-orient: vertical; 
		-moz-box-orient: vertical;
		box-orient: vertical;
		flex-direction: column;
	}
}

@media (min-width: 768px) {
	.row {
		height: 100%;
		width: 100%;

		
		-webkit-box-orient: horizontal; 
		-moz-box-orient: horizontal;
		box-orient: horizontal;
		flex-direction: row;

		-webkit-box-pack: center;
		-moz-box-pack: center;
		box-pack: center;
		justify-content: center;
	}
}

.col {
	display: flex;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}

.col img {
	max-width: 100%;
	align-self: center;
}

@media (min-width: 768px) {
	.image-container {
		justify-content: flex-end;
	}
}

@media (max-width: 767px) {
	.image-container img {
		margin-bottom: 1.5rem;
	}	
}

@media (min-width: 768px) {
	.image-container img {
		max-height: 90vh;
	}
}

.text-container {
	justify-content: flex-start;
}

@media (max-width: 767px) {
	.text-container img {
		width: 75%;
	}	
}

@media (min-width: 768px) {
	.text-container img {
		width: 100%;
		max-width: 420px;
	}	
}