/* FONTS */
@import url('https://fonts.googleapis.com/css?family=Tangerine');


/* MAIN */
html, body {
	border: 0;
	margin: 0;
	background-color: #0d0d0d;
	max-width: 100%;
    overflow-x: hidden;
}

hr {
    overflow: visible; /* For IE */
    padding: 0;
    border: none;
    border-top: medium double #a7933f;
    color: #a7933f;
    text-align: center;
}
hr:after {
    content: "§";
    display: inline-block;
    position: relative;
    top: -0.7em;
    font-size: 1.5em;
    padding: 0 0.25em;
    background: none;
}

/* HEADER */
#header {
	width: 100%;
	height: 240px;
	background-color: #111111;
	color: white;
	display: flex;
}

#logo {
	width: 35%;
	height: 100%;
	display: inline-block;
	text-align: center;
}

#title {
	width: 65%;
	text-align: left;
	padding-top: 30px;
	display: inline-block;
}

#logo img {
	height: 100%;
}

#title h1 {
	font-size: 80px;
	font-family: Tangerine;
	color: white;
	line-height: 180px;
}

/* NAV MENU */
#menubutton {
	position: fixed;
	margin: 15px;
	top: 0;
	left: 0;
	z-index: 999;
}

.panel {
    position: fixed;
    left: -15.625em; /*left or right and the width of your navigation panel*/
    width: 15.625em; /*should match the above value*/
}

.wrap {
    position: relative;
}

#menu {
	background-color: #111111;
}

#menu ul {
	list-style-type: none;
	padding: 0;
	width: 100%;
	text-align: center;
	margin-top: 50px;
}

#menu ul li {
	padding-top: 15px;
	padding-bottom: 15px;
	font-size: 20px;
}

#menu a {
	color: white;
}
#menu a:hover {
	text-decoration: none;
	color: #a7933f;
	background-color: grey;
}

.active {
	color: #25c3c9;
}

.newsentry .center, .newsentry .ql-align-center {
	text-align: center;
}

/* WELCOME */
#welcome {
	width: 100%;
	min-height: calc(100vh - 240px);
	background-image: url('../img/background.jpg');
	background-size: cover;
	background-position: center;
}

#info {
	min-height: 100vh;
}

#info #textbox, #info #flipboxes {
	width: 75%;
	padding-top: 50px;
	padding-bottom: 50px;
	margin: auto;
	color: white;
	font-size: 18px;
}

.infotitle {
	font-family: Tangerine;
	font-size: 100px;
	color: white;
}

/* FLIP BOXES */
#flipboxes {
	text-align: center;
}

.flipentry {
	display: inline-block;
	width: 350px;
	margin: 20px;
}
.flipentry:hover {
	cursor: pointer;
}

.flip-box {
	background-color: transparent;
	width: 100%;
	height: 200px;
	perspective: 1000px;
}

.flip-box-inner {
	position: relative;
	width: 100%;
	height: 100%;
	text-align: center;
	transition: transform 0.8s;
	transform-style: preserve-3d;
}

.flip-box:hover .flip-box-inner {
	transform: rotateY(180deg);
}

.flip-box-front, .flip-box-back {
	position: absolute;
	width: 100%;
	height: 100%;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.flip-box-front {
	background-color: #bbb;
	color: black;
}

.flip-box-back {
	background-color: #111111;
	color: white;
	transform: rotateY(180deg);
}

.flip-box-back h2 {
	line-height: 200px;
}

#balletbox {
	background-image: url('/img/ballet.jpg');
	background-size: cover;
	background-position: center center;
}

#girlsbox {
	background-image: url('/img/girls.jpg');
	background-size: cover;
	background-position: center center;
}

#hiphopbox {
	background-image: url('/img/hiphop.jpg');
	background-size: cover;
	background-position: center center;
}

/* ABOUT */
.pagetitle h2 {
	font-family: Tangerine;
	font-size: 80px;
	color: #a7933f;
}

.flexcontainer {
	display: flex;
}

.about {
	width: 50%;
	display: inline-block;
	padding-top: 50px;
}

.about p {
	padding: 15px;
}

#about1 {
	width: 400px;
	padding-bottom: 50px;
}

#about2, #about3 {
	width: 100%;
}

/* TUTORING */
#tutoringimg {
	width: 100%;
	background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 15%, rgba(255,255,255,1) 25%, rgba(255,255,255,1) 25%, rgba(255,255,255,1) 35%, rgba(255,255,255,1) 35%, rgba(255,255,255,1) 50%, rgba(255,255,255,1) 65%, rgba(255,255,255,1) 65%, rgba(255,255,255,1) 75%, rgba(255,255,255,1) 75%, rgba(255,255,255,1) 85%, rgba(255,255,255,0) 100%);
	height: 300px;
	text-align: center;
}

#tutoringimg img {
	height: 100%;
}

/* NEWS */
#newsbox {
	margin-top: 50px;
}

.newspic img {
	height: 200px;
	margin-right: 10px;
}

.newsbanner img {
	width: 100%;
	margin-right: 10px;
}

/* CONTACT */
#contactform {
	padding: 20px;
	background-color: #111111;
}

.required:after {
    content: " *";
    font-weight: bold;
    color: red;
}

.error, .success {
	width: 80%;
	margin: auto;
	margin-top: 20px;
	padding: 15px;
	border: 1px solid black;
	box-shadow: 0 0 250px #000;
	background-color: #a20f0f;
	color: white;
	font-size: 20px;
}

.success {
	background-color: #278c29;
}

#contactresponse {
	margin-top: 30px;
	margin-bottom: 30px;
}

/* FOOTER */
footer {
	background-color: #111111;
	color: white;
}

.footer-copyright {
	background-color: black;
}

footer img {
	height: 150px;
}

footer i {
	padding-right: 15px;
}

footer p {
	margin-bottom: 2px;
}

/* MEDIA QUERIES */
@media only screen and (max-width: 1000px) {
	#title h1 {
		font-size: 65px;
	}
	
	.flipentry {
		width: 300px;
	}
	
	.flexcontainer {
		display: block;
	}
	
	.about {
		width: 100%;
	}
	
	#tutoringimg {
		height: 200px;
	}
}

@media only screen and (max-width: 800px) {
	footer .row {
		display: block;
	}
	
	footer .row div {
		margin-bottom: 50px;
	}
	
	.flipentry {
		width: 400px;
	}
}

@media only screen and (max-width: 760px) {
	#title {
		text-align: center;
	}
	
	#title h1 {
		line-height: 80px;
		margin-top: -20px;
	}
}

@media only screen and (max-width: 760px) {
	#tutoringimg {
		height: auto;
	}
	
	#tutoringimg img {
		width: 100%;
	}
}

@media only screen and (max-width: 550px) {
	#title {
		display: none;
	}
	
	#logo {
		width: 100%;
	}
	
	#header {
		height: 130px;
	}
	
	#welcome {
		height: calc(100vh - 130px);
	}
	
	#info #textbox, #info #flipboxes {
		width: 90%;
	}
	
	#about1 {
		width: 100%;
	}
	
	.flipentry {
		width: 100%;
		margin: 0;
		margin-bottom: 15px;
	}
}