/* GENERAL */

html {
	height: 100%;
	/* overflow: hidden; */
	/* scroll-snap-type: y mandatory; */
	scroll-behavior: smooth;
}

body {
	background-image: url(../../media/home/background.jpg);
	overflow-x: hidden;
}
.header {
	translate: 0 -90px;
	justify-content: space-between;
}
.header .nav {
	display: block;
}
.header.header--sticky {
	translate: 0 0px;
}

@media (max-width: 991px) {
	.container {
		width: 95%;
	}
}

.section-hero {
	border-top: 40px solid var(--fio-sys-color-primary-medium);
	position: relative;
	z-index: 0;
	width: 100%;
	height: 100vh;
	overflow: hidden;
}

.layer-parallax {
	background-position: bottom center;
	background-size: cover;
	/* background-size: contain; */
	background-repeat: no-repeat;
	width: 100%;
	position: fixed;
	display: block;
	height: 100%;
	top: 80px;
	left: 0;
}

#layer-1 {
	background-image: url(../../media/home/layer-1-mobile.png);
}
#layer-2 {
	background-image: url(../../media/home/layer-2-mobile.png);
}
#layer-3 {
	/* background-image: url(../../media/home/layer-3-mobile.png); */
}
#layer-4 {
	display: none;
}
#layer-5 {
	/* background-image: url(../../media/home/layer-5.png); */
	top: -50px;
}

/* @media (min-width: 768px) {
	.hero-title h1 .label {
		font-size: var(--fio-sys-typography-label-lg-size);
	}
	.hero-title h1 {
		font-size: var(--fio-sys-typography-head-lg-size);
	}
	.hero-title h1 span {
		font-size: var(--fio-sys-typography-head-lg-size);
	}

	#layer-1 {
		background-image: url(../../media/images/home/layer-1.png);
	}
	#layer-2 {
		background-image: url(../../media/images/home/layer-2.png);
	}
	#layer-3 {
		background-image: url(../../media/images/home/layer-3.png);
	}
	#layer-4 {
		background-image: url(../../media/images/home/layer-4.png);
	}
} */

.hero-title {
	background: transparent;
	height: 100%;
	align-items: center;
	justify-content: start;
	display: flex;
	/* translate: 0 5vh; */
}

.hero-title h1 {
	display: block;
	color: white;
	font-family: var(--fio-sys-typography-family-primary-bold);
	line-height: var(--fio-sys-typography-height-100);
	margin-bottom: 0;
	text-align: center;
	text-shadow: 1px 1px 20px black;
}
.hero-title h1 .label {
	color: white;
	display: block;
	font-family: var(--fio-sys-typography-family-primary-regular);
	font-size: 50px;
	margin-bottom: var(--fio-sys-size-vertical-sm);
}
.hero-title h1 span {
	display: block;
	display: block;
	font-family: var(--fio-sys-typography-family-primary-regular);
	font-weight: var(--fio-ref-typography-weight-normal);
	font-size: 30px;
	margin-top: var(--fio-sys-spacing-margin-sm);
	margin-bottom: 10px;
}

.hero-title h1 span.title {
	font-size: 50px;
	font-family: var(--fio-sys-typography-family-primary-black);
	line-height: var(--fio-sys-typography-height-100);
	text-transform: uppercase;
}

@media (min-width: 390px) {
	.hero-title {
		/* translate: 0 5vh; */
	}
}

@media (min-width: 768px) {
	.hero-title {
		/* translate: 0 5vh; */
	}
}

@media (min-width: 992px) {
	#layer-1 {
		background-image: url(../../media/home/layer-1.png);
		scale: 1;
	}
	#layer-2 {
		background-image: url(../../media/home/layer-2.png);
		scale: 1;
	}
	#layer-3 {
		background-image: url(../../media/home/layer-3.png);
		background-position:1vw 0;
	}
	#layer-4 {
		display: none;
	}
	#layer-5 {
		top: -50px;
	}

	.hero-title {
		background: transparent;
		height: 100%;
		align-items: center;
		justify-content: start;
		display: flex;
		/* translate: 0 -5vh; */
	}

	.hero-title .container .row:first-child {
		background: transparent;
		position: relative;
        top: -60px;
	}

	.hero-title h1 .label {
		font-size: 80px;
	}
	.hero-title h1 span {
		font-size: 60px;
	}
	.hero-title h1 span.title {
		font-size: 70px;
	}

	.hero-title h1 span.subtitle {
		font-size: 38px;
	}
}

@media (min-width: 1200px) {
	#layer-3 {
		background-position: -10vw -5vh;
	}
}

@media (min-width: 1300px) {
	#layer-3 {
		background-position: 0vw -5vh;
	}
}

@media (min-width: 1600px) {
	#layer-3 {
		background-position: 1vw 80%;
	}

	.hero-title h1 .label {
		font-size: 90px;
	}
	.hero-title h1 span {
		font-size: 70px;
	}
	.hero-title h1 span.title {
		font-size: 100px;
	}

	.hero-title h1 span.subtitle {
		font-size: 48px;
	}
}

/* TÍTULOS */
.heading__block {
	margin-bottom: var(--fio-sys-size-vertical-lg);
}
.heading__block .heading__title {
	font-family: var(--fio-sys-typography-family-primary-bold);
	font-size: var(--fio-sys-typography-size-3);
	text-align: left;
	text-transform: uppercase;
}
.heading__block::after {
	content: '';
	display: block;
	width: 60px;
	height: 2px;
	background-color: var(--fio-sys-color-secondary-accent-light);
	border-radius: var(--fio-sys-size-border-radius-full);
}

/* CONTENT */

main {
	/* background: #ffffff; */
	background-position: center;
	background-size: contain;
	position: relative;
	z-index: 2;
}

section {
	position: relative;
	margin: 0;
}

.section.presentation {
	/* background-image: url(../../media/home/background-presentation.png);
	background-repeat: no-repeat;
	background-size: cover; */
}

.section.presentation .heading__block .heading__title {
	font-size: var(--fio-sys-typography-size-5);
	text-transform: none;
	color: #fff;
}

#presentation {
	padding: var(--fio-sys-size-vertical-xxl) 0 0 0;
}
#presentation p {
	color: #fff;
}
#presentation .video-bg {
	background-image: url(../../media/home/video-bg.png);
	background-repeat: no-repeat;
	background-size: contain;
}
#presentation .media {
	margin-bottom: var(--fio-sys-size-vertical-lg);
}

#organization .heading__block .heading__title {
	text-transform: none;
	color:#fff;
}

#organization .heading__block::after {
	content: '';
    display: block;
    position: relative;
    background-color:#fff;
    width: 140px;
    height: 2px;
    margin-top: 20px;
    left: calc(50% - 65px);
}

#organization h6 {
	color:#fff;
}

#organization h6 span {
	    font-family: var(--fio-sys-typography-family-primary-regular);
}

#course-program {
	background-image: linear-gradient(90deg, rgba(133, 116, 245, 0.3) 0, rgba(64, 112, 237, 0.3) 30%, rgba(140, 240, 247, 0.3) 100%);
	padding: var(--fio-sys-size-vertical-xxl) 0;
}
#course-program .card {
	padding: 0;
	box-shadow: none;
	background-color: #fff;
}

#course-program .card .card-header {
	border: none;
	display: flex;
	flex-direction: row;
	background: none;
	align-items: center;
	padding: 0;
	justify-content: space-between;
	border-bottom: 2px solid #000;
	padding: 20px;
}
#course-program .card .card-header h6 {
	color: #000;
	font-family: var(--fio-sys-typography-family-primary-regular);
	font-size: var(--fio-sys-typography-size-0);
	line-height: 1.25;
}
#course-program .card .card-header h6 .modulo {
	color: #000;
	font-family: var(--fio-sys-typography-family-primary-black);
	font-size: var(--fio-sys-typography-size-1);
	text-transform: uppercase;
}
#course-program .card .card-header h6 .nome {
	font-size: var(--fio-sys-typography-size-1);
	color: #000;
}

#course-program .card .card-header img {
	width: 40%;
	text-align: right;
}

#course-program .card .card-body {
	font-family: var(--fio-sys-typography-family-primary-regular);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
#course-program .card .card-body p {
	font-size: var(--fio-sys-typography-size-0);
}

#course-program .card .card-footer {
	border: none;
	padding: 20px 0 0 0;
}
#course-program .card .card-footer a {
	width: 100%;
	border-radius: 0;
}

@media (min-width: 768px) {
	#course-program::before {
		clip-path: polygon(0% 10%, 100% 0%, 100% 85%, 0% 75%);
	}
	#course-program::after {
		clip-path: polygon(0% 55%, 100% 45%, 100% 46%, 0% 95%);
	}

	#course-program .card .card-header h6 .modulo {
		font-size: var(--fio-sys-typography-size-0);
		text-transform: uppercase;
	}
}

@media (min-width: 768px) {
	.main {
		/* background: #ffffff; */
		overflow: hidden;
	}
}

footer {
	background: none;
	border: none;
	margin: 0;
	padding-bottom: 0;
	border-bottom: 30px solid var(--fio-sys-color-primary-medium);
}

footer .logo6 {
	height: 300px !important;
}

/* --------- FIXING TROUBLES CAUSED BY WINDOWS SCALING --------- */

/* 125% Scaling */
@media (-webkit-device-pixel-ratio: 1.25) {
	.layer-parallax {
		height: 115%;
	}
}

/* 150% Scaling */
@media (-webkit-device-pixel-ratio: 1.5) {
	.layer-parallax {
		height: 115%;
	}
}
