@charset "utf-8";
/* CSS Document */


/** HTML Elements **/

body {
    margin: 0;
    background: #ead2bc;
}

header, main, sidebar {
    position: relative;
    width: 90%;
    height: 90%;
}

main {
    margin: 0 5% 0 5%;
}

footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 10%;
    color: #fff;
}

sidebar img {
    width: 78%;
    margin-left: 50%;
    transform: translateX(-50%);
}

h1, h2, h3 {
    font-family: "Pangolin", "Bahnschrift", sans-serif;
    color: #264577;
}

h1 {
    text-align: center;
    font-size: 60px;
    margin-bottom: 0px;
    line-height: 30px;
}

h2 {
    text-align: center;
    font-size: 36px;
}

h3 {
    border: 3px solid #264577;
    border-radius: 15px;
    margin: 8% 0 8% 50%;
    transform: translateX(-55.5%);
    padding: 1.5% 5% 1.5% 5%;
    width: 70%;
    
    text-align: center;
    font-size: 22px;
    color: #264577;
}

p {
    font-family: "Pangolin", "Bahnschrift", sans-serif;
    font-size: 20px;
	width: 90%;
}

a {
    text-decoration: none;
    cursor: pointer;
    color: #fff;
}


/** Layout **/

.container-right {
    position: absolute;
    width: 50%;
    right: 0;
    margin-top: -2.5%;
}

.container-left {
    position: absolute;
    width: 50%;
    left: 0;
}

@media (min-width: 1000px) {
	
	.container-right {
		position: absolute;
		top: 50%;
		transform: translateY(-50%);
	}
	
	.container-left {
		position: absolute;
		top: 50%;
		transform: translateY(-50%);
	}

}

@media (max-width: 1000px) {
	
	body {
		overflow-x: hidden;
	}
	
	.container-right {
		position: relative;
		width: 90%;
		margin: auto;
		margin-left: 90%;
		transform: translateX(-90%);
	}
	
	.container-left {
		position: relative;
		width: 90%;
		margin-top: 10%;
		margin-left: 50%;
		transform: translateX(-50%);
	}
	
	footer {
		position: relative;
		margin-top: 5%;
	}
	
	p {
		width: 90%;
	}

}

@media (max-width: 700px) {
	
	.footerRight img {
		height: 40px !important;
		margin: auto !important;
		display: block;
	}
	
}

@media (max-height: 800px) {
	
	footer {
		width: auto;
		margin: auto;
		margin-left: 5%;
	}

	.footerRight {
		width: auto;
		margin: auto;
	}
	
	.footerRight img {
		height: 40px !important;
		margin: auto !important;
	}

}

@media (max-width: 500px) {
	
	h1 {
		font-size: 50px;
	}
	
	h2 {
		font-size: 30px;
	}
	
	h3 {
		font-size: 18px;
	}
	
	p {
		font-size: 18px;
	}
	
	.container-right {
		width: 95%;
		margin-left: 95%;
		transform: translateX(-95%);
	}
	
	.background {
		width: 95% !important;
		transform: skewX(-2deg) skewY(-1deg) rotate(-1deg) !important;
	}
	
	header {
		margin: auto;
		margin-left: 4%;
	}
	
	main {
		margin: auto;
		margin-left: 6%;
	}

	.container-left {
		width: 100%;
	}
	
}


/** Style **/

.background {
    position: absolute;
    margin: 5% 0 0 0;
    width: 90%;
    height: 100%;
    transform: skewX(-3deg) skewY(-1deg) rotate(-1deg);
    background: #fff2E6;
    z-index: -1;
}

.button {
    display: inline-block;
    background: #264577;
    border-radius: 25px;
    width: 25%;
    margin: 0 4% 0 4%;
    padding: 5%;
    text-align: center;
    color: #fff;
}

.button:hover {
    background-color: #fff2E6;
    color: #264577;
    border: 4px inset #264577;
    padding: 4.5%;
}

.buttons {
    position: relative;
    width: 100%;
    margin-top: 5%;
    margin-left: 50%;
	transform: translateX(-55.5%);
    text-align: center;
}

.footerRight {
    width: 100%;
    margin-right: 3.5%;
    margin-top: 0%;
    padding: 1%;
    text-align: right;
    float: right;
}

.footerRight img {
    height: 50px;
    margin: 0 1% 0 1%;
}



/** Fonts **/

@font-face {
	font-family: "Pangolin";
	src: url("../fonts/Pangolin-Regular.ttf");
}