@charset "utf-8";
/*
 * CSS Document
 */

/* Dancing Script e Roboto Mono: carregadas pelo Layout.php (app/hooks). */

.main-full-stack {
	position: relative;
	width: 1040px;
	height: 375px;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
}

.left-full-stack {
	width: 480px;
	height: 375px;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
}

.right-full-stack {
	width: 480px;
	height: 375px;
	position: absolute;
	top: 0;
	left: 480px;
	z-index: 2;
}

#full-stack {
	width: 100%;
	display: grid;
	grid-template-columns: 1fr 1.4fr 1.4fr 1fr;
	grid-column-gap: 6px;
	grid-row-gap: 60px;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	position: relative;
	z-index: 1;
}

#full-stack .text-designer {
	grid-column-start: 1;
	grid-column-end: 3;
	margin-bottom: 26px;
}

#full-stack .text-designer .title {
	font-family: 'Dancing Script';
	font-size: 38px;
	color: #1F1F1F;
	text-decoration: none;
	text-shadow: 2px 2px 0 #C3C3C3;
	width: 80%;
	text-align: center;
	float: left;
}

#full-stack .text-designer .text {
	font-family: 'Montserrat';
	font-size: 16px;
	font-style: italic;
	line-height: 22px;
	font-weight: 600;
	display: block;
	color: #5a5d64;
	text-shadow: 1px 1px 0 #FFF;
	clear: both;
	width: 84%;
	text-align: left;
	float: left;
	letter-spacing: -1px;
	padding-left: 12px;
}

#full-stack .text-developer {
	grid-column-start: 3;
	grid-column-end: 5;
	margin-bottom: 26px;
}

#full-stack .text-developer .title {
	font-family: 'Dancing Script';
	font-size: 38px;
	color: #1F1F1F;
	text-decoration: none;
	text-shadow: 2px 2px 0 #C3C3C3;
	width: 80%;
	text-align: center;
	float: right;
}

#full-stack .text-developer .text {
	font-family: 'Montserrat';
	font-size: 16px;
	font-style: italic;
	line-height: 22px;
	font-weight: 600;
	display: block;
	color: #5a5d64;
	text-shadow: 1px 1px 0 #FFF;
	clear: both;
	width: 84%;
	text-align: right;
	float: right;
	letter-spacing: -1px;
	padding-right: 12px;
}

/* *** BONECOS (Front-end e Back-end) ***
   As peças comuns (rosto, olhos, orelhas, pescoço, corpo e notebook)
   ficam em .character; #designer e #developer só trazem o que muda: cabelo,
   óculos, cor da camisa e a animação.
   As animações usam só as propriedades translate/rotate/scale, que não
   recalculam o layout a cada quadro. Olhar (translate) e piscar (scale)
   são propriedades separadas, então rodam juntas no mesmo olho. */

.character {
	position: relative;
	width: 192px;
	height: 192px;
}

#designer {
	float: left;
}

#developer {
	float: right;
}

.character div {
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
}

.character .face {
	position: absolute;
	top: 41px;
	left: 63px;
	width: 60px;
	height: 50px;
	background-color: #FFF;
	border: 4px solid #003366;
	border-radius: 20% 20% 50% 50%;
	z-index: 50;
}

.character .eye-left,
.character .eye-right {
	position: absolute;
	top: 12px;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background-color: #003366;
	z-index: 51;
}

.character .eye-left {
	left: 10px;
}

.character .eye-right {
	left: 35px;
}

.character .ear-left,
.character .ear-right {
	position: absolute;
	top: 10px;
	width: 14px;
	height: 14px;
	background-color: #FFF;
	border: 4px solid #003366;
	border-radius: 100%;
	z-index: 51;
}

.character .ear-left {
	left: -11px;
}

.character .ear-right {
	left: 49px;
}

/* Tampa a metade da orelha que fica "dentro" do rosto */
.character .ear-left::before,
.character .ear-right::after {
	content: '';
	display: block;
	width: 6px;
	height: 14px;
	margin-top: -5px;
	background-color: #FFF;
}

.character .ear-left::before {
	margin-left: 3px;
	border-left: 4px solid #003366;
}

.character .ear-right::after {
	margin-left: -7px;
	border-right: 4px solid #003366;
}

.character .neck {
	position: absolute;
	top: 78px;
	left: 83px;
	width: 20px;
	height: 22px;
	background-color: #FFF;
	border: 4px solid #003366;
	border-radius: 50%;
	box-shadow: inset 0 -2px 0 0 rgba(0, 0, 0, 0.2);
	z-index: 49;
}

.character .body {
	position: absolute;
	top: 90px;
	left: 50px;
	width: 86px;
	height: 34px;
	border: 4px solid #003366;
	border-radius: 50%;
	z-index: 48;
}

.character .pc {
	position: absolute;
	top: 104px;
	left: 32px;
	width: 120px;
	height: 65px;
	background-color: #ECECEC;
	border: 4px solid #003366;
	border-radius: 6px 6px 0 0;
	overflow: visible;
	z-index: 48;
}

/* Brilho da tela passando pela tampa */
.character .pc::before {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: 3px 3px 0 0;
	background: linear-gradient(115deg, rgba(255, 255, 255, 0) 35%, rgba(255, 255, 255, 0.85) 50%, rgba(255, 255, 255, 0) 65%) no-repeat;
	background-size: 250% 100%;
	animation: character-screen-shine 6s infinite ease-in-out;
}

@keyframes character-screen-shine {
	0%, 60% { background-position: 120% 0; }
	100% { background-position: -20% 0; }
}

.character .pc-logo {
	position: absolute;
	top: 13px;
	left: 38px;
	width: 38px;
	height: 30px;
	text-align: center;
	z-index: 51;
}

.character .pc-logo i {
	display: inline-block;
	font-size: 28px;
	text-shadow: 1px 1px 0 #FFF;
}

.character .pc-left,
.character .pc-right {
	position: absolute;
	top: 49px;
	width: 10px;
	height: 8px;
	background-color: #ECECEC;
	border-top: 4px solid #003366;
	z-index: 51;
}

.character .pc-left {
	left: 114px;
	border-right: 4px solid #003366;
	border-radius: 0 50% 0 0;
}

.character .pc-right {
	left: -13px;
	border-left: 4px solid #003366;
	border-radius: 50% 0 0 0;
}

.character .base {
	position: absolute;
	top: 57px;
	left: -24px;
	width: 160px;
	height: 4px;
	background-color: #003366;
	border-radius: 2px;
	z-index: 51;
}

/* Piscar: comum aos dois, em momentos diferentes do ciclo */
@keyframes character-blink {
	0%, 46%, 54%, 100% { scale: 1 1; }
	50% { scale: 1 0.1; }
}

/* *** FRONT-END: olha de um lado para o outro (as várias larguras de tela) *** */

#designer .body {
	background-color: #9e424d;
	box-shadow: inset 0 3px 0 0 rgba(0, 0, 0, 0.2);
}

#designer .pc-logo i {
	color: #9e424d;
	animation: designer-look-arrows 4s infinite ease-in-out;
}

#designer .face {
	animation: designer-look-head 4s infinite ease-in-out;
}

#designer .eye-left,
#designer .eye-right {
	animation: designer-look-eyes 4s infinite ease-in-out, character-blink 4s infinite linear;
}

@keyframes designer-look-head {
	0%, 100% { rotate: -10deg; translate: -3px 0; }
	15%, 40% { rotate: -10deg; translate: -3px 0; }
	55%, 85% { rotate: 10deg; translate: 3px 0; }
}

@keyframes designer-look-eyes {
	0%, 100% { translate: -3px 0; }
	15%, 40% { translate: -3px 0; }
	55%, 85% { translate: 4px 0; }
}

@keyframes designer-look-arrows {
	0%, 100% { translate: -4px 0; }
	15%, 40% { translate: -4px 0; }
	55%, 85% { translate: 4px 0; }
}

#designer .hair-1 {
	width: 30px;
	height: 28px;
	position: absolute;
	top: -26px;
	left: 33px;
	background-color: #FFD630;
	border: 4px solid #003366;
	z-index: 60;
	border-radius: 10px 13px 13px 0;
	box-shadow: inset -10px 0 0 0 rgba(0, 0, 0, 0.2);
}

#designer .hair-2 {
	width: 15px;
	height: 23px;
	position: absolute;
	top: -21px;
	left: 22px;
	background-color: #FFD630;
	border: 4px solid #003366;
	border-right: none;
	z-index: 60;
	border-radius: 8px 0 0 0;
}

#designer .hair-2::before {
	content: '';
	width: 3px;
	height: 15px;
	display: block;
	position: absolute;
	margin-left: 9px;
	background-color: #FFD630;
}

#designer .hair-3 {
	width: 18px;
	height: 18px;
	position: absolute;
	top: -16px;
	left: 8px;
	background-color: #FFD630;
	border: 4px solid #003366;
	border-right: none;
	border-left: none;
	z-index: 60;
	border-radius: 6px 0 0 0;
}

#designer .hair-3::before {
	content: '';
	width: 3px;
	height: 10px;
	display: block;
	position: absolute;
	margin-left: 16px;
	background-color: #FFD630;
}

#designer .hair-3::after {
	content: '';
	width: 3px;
	height: 8px;
	display: block;
	position: absolute;
	margin-left: -1px;
	margin-top: 2px;
	background-color: #FFD630;
}

#designer .hair-4 {
	width: 20px;
	height: 28px;
	position: absolute;
	top: -18px;
	left: -8px;
	background-color: #FFD630;
	border: 4px solid #003366;
	z-index: 59;
	border-radius: 8px;
}

#designer .hair-5 {
	width: 8px;
	height: 8px;
	position: absolute;
	top: 2px;
	left: 44px;
	background-color: #CCAB26;
	border: 0;
	border-left: 4px solid #003366;
	border-bottom: 4px solid #003366;
	z-index: 59;
	border-radius: 0 3px 0 10px;
}

/* *** BACK-END: olha para a tela e para cima (lê o código, confere o servidor) *** */

#developer .eye-left,
#developer .eye-right {
	width: 6px;
	height: 6px;
	animation: developer-look-eyes 4s infinite ease-in-out, character-blink 4s infinite linear;
	animation-delay: 0s, -1.2s;
}

#developer .body {
	background-color: #42589e;
	box-shadow: inset 6px 0 0 0 rgba(0, 0, 0, 0.2);
	animation: developer-look-body 4s infinite ease-in-out;
}

#developer .pc-logo i {
	color: #42589e;
	animation: developer-look-arrows 4s infinite ease-in-out;
}

#developer .face {
	animation: developer-look-head 4s infinite ease-in-out;
}

#developer .glasses-left,
#developer .glasses-right {
	animation: developer-look-glasses 4s infinite ease-in-out;
}

/* Cabeça desce olhando para a tela e sobe olhando para cima */
@keyframes developer-look-head {
	0%, 100% { translate: 0 -2px; }
	15%, 45% { translate: 0 -2px; }
	60%, 90% { translate: 0 4px; }
}

@keyframes developer-look-eyes {
	0%, 100% { translate: 0 -3px; }
	15%, 45% { translate: 0 -3px; }
	60%, 90% { translate: 0 3px; }
}

/* Os óculos escorregam um pouco menos que os olhos */
@keyframes developer-look-glasses {
	0%, 100% { translate: 0 -1px; }
	15%, 45% { translate: 0 -1px; }
	60%, 90% { translate: 0 1px; }
}

@keyframes developer-look-body {
	0%, 100% { translate: 0 0; }
	15%, 45% { translate: 0 0; }
	60%, 90% { translate: 0 1px; }
}

@keyframes developer-look-arrows {
	0%, 100% { translate: 0 -3px; }
	15%, 45% { translate: 0 -3px; }
	60%, 90% { translate: 0 3px; }
}

#developer .hair-1 {
	width: 9px;
	height: 9px;
	position: absolute;
	top: 2px;
	left: 43px;
	background-color: #D48947;
	border: 0;
	border-left: 4px solid #003366;
	border-bottom: 4px solid #003366;
	z-index: 59;
	border-radius: 0 3px 0 10px;
}

#developer .hair-2 {
	width: 9px;
	height: 9px;
	position: absolute;
	top: 2px;
	left: 0;
	background-color: #AA6E39;
	border: 0;
	border-right: 4px solid #003366;
	border-bottom: 4px solid #003366;
	z-index: 59;
	border-radius: 3px 0 10px 0;
}

#developer .hair-3 {
	width: 65px;
	height: 21px;
	position: absolute;
	top: -19px;
	left: -4px;
	background-color: #D48947;
	border: 4px solid #003366;
	z-index: 60;
	border-radius: 11px 13px 13px 2px;
	box-shadow: inset 0 -5px 0 0 rgba(0, 0, 0, 0.2);
}

#developer .hair-4 {
	width: 32px;
	height: 8px;
	position: absolute;
	top: -23px;
	left: 11px;
	background-color: #D48947;
	border: 4px solid #003366;
	border-bottom: none;
	z-index: 60;
	border-radius: 8px 8px 0 0;
	box-shadow: inset 0 2px 0 0 rgba(0, 0, 0, 0.2);
}

#developer .glasses-left,
#developer .glasses-right {
	position: absolute;
	top: 7px;
	width: 18px;
	height: 16px;
	border: 3px solid #003366;
	background-color: transparent;
	border-radius: 6px;
	z-index: 52;
}

#developer .glasses-left {
	left: 4px;
}

#developer .glasses-right {
	left: 29px;
}

/* Hastes laterais e ponte dos óculos */
#developer .glasses-left::after,
#developer .glasses-right::before,
#developer .glasses-right::after {
	content: '';
	display: block;
	width: 10px;
	height: 3px;
	background-color: #003366;
}

#developer .glasses-left::after {
	margin-left: -12px;
	margin-top: 1px;
	transform: rotate(20deg);
}

#developer .glasses-right::before {
	margin-left: -12px;
	margin-top: 1px;
}

#developer .glasses-right::after {
	margin-left: 12px;
	margin-top: -2px;
	transform: rotate(-20deg);
}

/* Quem pediu menos movimento no sistema vê os bonecos parados */
@media (prefers-reduced-motion: reduce) {
	.character *,
	.character *::before {
		animation: none !important;
	}
}

.icons-designer > div,
.icons-developer > div {
	position: relative;
	width: 6px;
	height: 6px;
	text-shadow: 1px 1px 0 #FFF;
}

#full-stack .html {
	top: 14px;
	left: 14px;
	font-size: 48px;
	color: #e45126;
	z-index: 1;
	transform: rotate(-6deg);
}

#full-stack .css {
	top: 30px;
	left: 72px;
	font-size: 48px;
	color: #0c73b8;
	z-index: 2;
	transform: rotate(8deg);
}

#full-stack .js {
	top: -6px;
	left: 155px;
	font-size: 48px;
	color: #E5C02C;
	z-index: 3;
	transform: rotate(-2deg);
}

#full-stack .sass {
	top: 85px;
	left: 146px;
	font-size: 42px;
	color: #c76494;
	z-index: 4;
	transform: rotate(-16deg);
}

#full-stack .less {
	top: 25px;
	left: 126px;
	font-size: 42px;
	color: #1F1F1F;
	z-index: 5;
	transform: rotate(5deg);
}

#full-stack .angular {
	top: 79px;
	left: 38px;
	font-size: 42px;
	color: #bd002e;
	z-index: 6;
	transform: rotate(-12deg);
}

#full-stack .react {
	top: 87px;
	left: 90px;
	font-size: 42px;
	color: #5ed3f3;
	z-index: 7;
	transform: rotate(5deg);
}

#full-stack .python {
	top: 14px;
	left: -16px;
	font-size: 48px;
	color: #336e9d;
	z-index: 1;
	transform: rotate(-6deg);
}

#full-stack .php {
	top: 30px;
	left: 42px;
	font-size: 56px;
	color: #4d588e;
	z-index: 2;
	transform: rotate(8deg);
}

#full-stack .node {
	top: -6px;
	left: 85px;
	font-size: 38px;
	color: #13672a;
	z-index: 3;
	transform: rotate(-2deg);
}

#full-stack .django {
	top: 85px;
	left: 116px;
	font-size: 54px;
	color: #0c2d1f;
	z-index: 4;
	transform: rotate(-16deg);
}

#full-stack .laravel {
	top: 25px;
	left: 96px;
	font-size: 42px;
	color: #f72718;
	z-index: 5;
	transform: rotate(5deg);
}

#full-stack .codeigniter {
	top: 79px;
	left: 8px;
	font-size: 42px;
	color: #e84023;
	z-index: 6;
	transform: rotate(-12deg);
}

#full-stack .nginx {
	top: 87px;
	left: 70px;
	font-size: 60px;
	color: #1F1F1F;
	z-index: 7;
	transform: rotate(5deg);
}

@media (max-width: 1024px) {
	.main-full-stack {
		width: 100% !important;
		padding: 0 !important;
		height: auto !important;
	}

	#full-stack .text-designer {
		margin-top: 2vh;
	}

	#full-stack .text-designer .title {
		font-size: 3.2rem;
	}

	#full-stack .text-designer .text {
		font-size: 1.4rem;
		line-height: 1.6rem;
	}

	#full-stack .text-developer {
		margin-top: 4vh;
	}

	#full-stack .text-developer .title {
		font-size: 3.2rem;
	}

	#full-stack .text-developer .text {
		font-size: 1.4rem;
		line-height: 1.6rem;
	}
}
/* Celulares: o bloco de 1024px acima aumenta o texto para 1.4rem (22px) e o
   título para 3.2rem (51px) — maiores que no desktop (15px / 38px). Numa
   coluna de celular isso deixava tudo desproporcional. */
@media (max-width: 600px) {
	#full-stack .text-designer .title,
	#full-stack .text-developer .title {
		font-size: 2.4rem;
	}

	#full-stack .text-designer .text,
	#full-stack .text-developer .text {
		font-size: 15px;
		line-height: 1.6;
		letter-spacing: 0;
	}
}
