/*
Theme Name: LP Theme Builder Styling
Theme URI: https://literacyplanet.com
Author: Literacy Planet
*/

/* GENERAL
################################################################################### */

.content_left .container,
.content_right .container,
.content_center .container {
	display: flex;
}

.builder-section .image img {
	width: 100%;
}

.home .builder-section .image img {
	max-width: 450px;
}

.student-leaderboards {
	width: 60%;
}

.home .builder-section .image {
	text-align: center;
}

.builder-section .character {
	position: relative;
	z-index: 100;
}

.builder-section .buttons {
	margin-top: 2.5rem;
}

.builder-section .avatar {
	transform: translateX(4%);
	margin-top: -4%;
}

@media (max-width: 1023px) {

	.student-leaderboards {
		width: 90%;
	}

	section > .container {
		padding-top: calc(var(--layout-unit)*2);
		padding-bottom: calc(var(--layout-unit)*2);
	}

	.builder-section > .container {
		flex-direction: column;
	}

	.builder-section .buttons .btn {
		margin: 0.2rem;
	}

	.builder-section .character,
	.builder-section .character {
		max-width: 30rem;
		max-height: 25rem;
		width: 100%;
		height: auto!important;
		object-fit: contain;
		object-position: center;
		display: block;
		margin-left: auto;
		margin-right: auto;
	}

}

@media (min-width: 1024px) {

	section > .container {
		padding-top: calc(var(--layout-unit)*3);
		padding-bottom: calc(var(--layout-unit)*3);
	}

	.builder-section > .container {
		min-height: 28rem;
	}

	.builder-section .buttons .btn:first-child {
		margin-right: 0.2rem;
	}

}

/* BLOBS
################################################################################### */

@media (max-width: 1023px) {

	.form-section .blob-9,
	.builder-section .blob-9 {
		bottom: 0;
		left: 0;
		width: 100%;
		transform: translateY(7%);
	}

	.form-section .blob-8,
	.builder-section .blob-8 {
		bottom: 0;
		left: 0;
		width: 100%;
		transform: translateY(10%);
	}

	.form-section .blob-7,
	.builder-section .blob-7 {
		bottom: 0;
		left: 0;
		width: 100%;
		transform: translateY(-10%);
	}
	
}

@media (min-width: 1024px) {

	.form-section .blob-1,
	.builder-section .blob-1 {
		top: 15%;
		left: 65%;
		width: 25rem;
		min-width: 35%;
		transform: translate(0%, -30%);
		margin-top: 0;
	}

	.form-section .blob-2-flipped,
	.builder-section .blob-2-flipped {
		top: 32%;
		left: 65%;
		width: 25rem;
		min-width: 35%;
		transform: translate(0%, -30%);
		margin-top: 0;
	}

	.form-section .blob-5,
	.builder-section .blob-5 {
		top: 15%;
		left: 65%;
		width: 25rem;
		min-width: 35%;
		transform: translate(0%, -30%);
		margin-top: 0;
	}
	
	.form-section .blob-2,
	.builder-section .blob-2 {
		top: 0;
		right: 60%;
		width: 30rem;
		min-width: 40%;
		margin-top: -4%;
	}
	
	.form-section .blob-6,
	.builder-section .blob-6 {
		top: 0;
		right: 62%;
		width: 38rem;
		min-width: 40%;
		margin-top: -27%;
	}
	
}

/* CONTENT RIGHT / LEFT
################################################################################### */

.content_left .rocket,
.content_right .rocket {
	margin-top: -10%;
}

.content_left .stubmonk,
.content_right .stubmonk {
	transform: translateX(-10%);
	margin-top: -4%;
}

.content_left .elder_wordsmith,
.content_right .elder_wordsmith {
	transform: translateX(0%);
	margin-top: -5%;
}

.content_left .pegs,
.content_right .pegs {
	transform: translateX(0%);
	margin-top: -7%;
}

.content_left .word_monster,
.content_right .word_monster {
	transform: translateX(0%);
	margin-top: -5%;
}

.content_left .treasure_chest,
.content_right .treasure_chest {
	transform: translateX(-3%);
	margin-top: -20%;
}

.content_left .jellypus,
.content_right .jellypus {
	height: auto !important;
}

@media (max-width: 599px) {

	.content_left .rocket,
	.content_right .rocket {
		max-width: 80%;
	}

	.content_left .stubmonk,
	.content_right .stubmonk {
		margin-top: -8%;
	}

	.content_left .pegs,
	.content_right .pegs {
		max-width: 80%;
		margin-top: -10%;
	}

}

@media (max-width: 1023px) {

	.builder-section .info {
		text-align: center;
		padding-bottom: calc(var(--layout-unit)*3);
	}

}

@media (min-width: 1024px) {

	.content_left .info,
	.content_right .info {
		width: 50%;
	}

	.content_left .image,
	.content_right .image {
		width: 50%;
	}

	#section-1 .content_left .image,
	.content_right .image {
		width: 30%;
	}

	.content_left .info {
		order: 0;
		padding-right: calc(var(--layout-unit)*1.5);
	}

	.content_left .image {
		order: 1;
		padding-left: calc(var(--layout-unit)*1.5);
	}

	.content_left .image .laptop {
		width: 120%;
		margin-left: -8%;
	}

	.content_right .info {
		order: 1;
		padding-left: calc(var(--layout-unit)*1.5);
	}

	.content_right .image {
		order: 0;
		padding-right: calc(var(--layout-unit)*1.5);
	}

	.content_right .image .laptop {
		width: 120%;
		margin-left: -12%;
	}

	.content_left .image .character,
	.content_right .image .character {
		max-width: 30rem;
		max-height: 28rem;
		width: auto;
		height: auto;
		display: block;
		margin-left: auto;
		margin-right: auto;
	}

}

/* CONTENT CENTER
################################################################################### */

.content_center .word_monster {
	margin-right: -7%;
}

@media (max-width: 1023px) {

	.content_center .character {
		margin-top: 3rem;
	}
}

@media (min-width: 1024px) {

	.content_center .container {
		align-items: center;
	}

	.content_center .wrapper {
		width: 60%;
		margin: auto;
	}

	.content_center .wrapper.wider {
		width: 80%;
	}

	.content_center .character {
		position: absolute;
	}

	.content_center .character.left {
		top: 50%;
		right: 102%;
		height: 100%;
		min-height: 25rem;
		transform: translateY(-50%);
	}

	.content_center .character.right {
		top: 50%;
		left: 102%;
		height: 100%;
		min-height: 25rem;
		transform: translateY(-50%);
	}

	.content_center .jellypus {
	height: auto !important;
}

}

/* GRID
################################################################################### */

.content_grid .icon {
	width: 100%;
	height: 10rem;
	object-fit: contain;
	object-position: center;
}

@media (min-width: 1024px) and (max-width: 1199px) {

	.content_grid .grid > div {
		width: 33.33%;
	}

}

/* STATS
################################################################################### */

.stats-section .number {
	font-size: 4rem;
	line-height: 1.1em;
	font-weight: 900;
	color: var(--purple);
	margin: 1rem 0;
}

.stats-section .label {
	margin: 0 0 1rem;
}

.stats-section .stat img {
	height: 6rem;
	object-fit: contain;
	object-position: center;
}

.stats-section .grid-3-col {
	max-width: 70rem;
	margin-left: auto;
	margin-right: auto;
}

/* PLANET PANEL
################################################################################### */
@media (max-width: 1023px) {

	.planet_panel .image .planet {
		width: 120%;
		max-width: none;
		margin: -5% 0 0 -10%;
	}

}

@media (min-width: 1024px) {

	.planet_panel .container {
		display: flex;
		justify-content: space-between;
		padding-top: calc(var(--layout-unit)*4);
	}

	.planet_panel.planet_right .info {
		width: 50%;
		order: 0;
	}

	.planet_panel.planet_left .info {
		width: 50%;
		order: 1;
	}

	.planet_panel.planet_right .image {
		width: 40%;
		order: 1;
	}

	.planet_panel.planet_left .image {
		width: 40%;
		order: 0;
	}

	.planet_panel .image .planet {
		width: 150%;
		max-width: none;
		margin: -20% 0;
	}

	.planet_panel.planet_right .image .planet {
		transform: translateX(-10%);
	}

	.planet_panel.planet_left .image .planet {
		transform: translateX(-20%);
	}

}

/* TESTIMONIALS
################################################################################### */


@media (min-width: 768px) {

	.testimonials-section h1 {
		margin-bottom: 6rem;
	}
	.testimonials-section .container {
		padding-bottom: calc(var(--layout-unit)*5);
	}

}



/* FORMS
################################################################################### */

.form-section .container .content {
	margin-bottom: 2rem;
}


@media (min-width: 900px) {

	.form-section .container.center {
		max-width: 50rem;
	}

	.form-section .container.center .info {
		text-align: center;
	}

	.form-section .container.left,
	.form-section .container.right {
		display: flex;
	}

	.form-section .container.left > div,
	.form-section .container.right > div {
		width: 50%;
	}

	.form-section .container.left .info {
		padding-left: calc(var(--layout-unit)*1.5);
		order: 1;
	}

	.form-section .container.left .form-col {
		padding-right: calc(var(--layout-unit)*1.5);
		order: 0;
	}

	.form-section .container.right .info {
		padding-right: calc(var(--layout-unit)*1.5);
		order: 0;
	}

	.form-section .container.right .form-col {
		padding-left: calc(var(--layout-unit)*1.5);
		order: 1;
	}



}

@media (max-width: 900px) {

	.form-section .container.left .info,
	.form-section .container.left .form-col,
	.form-section .container.right .info,
	.form-section .container.right .form-col {
		width: 100% !important;
	}

	.form-section .container.right .form-col .lp-form,
	.form-section .container.left .form-col .lp-form {
		margin: 0 !important;
	}

	.form-section .form-col .form-header {
		text-align: center;
	}

}


.builder-section > .container{
	z-index : 100;
}