/*
Theme Name: 2025
Theme URI: http://giliard.com.br/
Description: Personal website from Giliard Gomes
Author: Giliard Gomes
Author URI: https://giliard.com.br/

*/

*:not(script, style, p) {
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	margin: 0;
	display: flex;
	display: -webkit-flex;
	padding: 0;
}

:root {
	--black: #131313;
	--red: tomato;
	--white: #fbfbfb;
	--gray: #565656;
	--gray-1: #a1a1a1;
	--serif: 'Young Serif', system-ui, serif;
	--sans-serif: 'Inter Tight', system-ui, sans-serif;
}

html {
	overflow-x: hidden;
}

img {
	pointer-events: none;
}

a {
	text-decoration: none;
	color: var(--gray);
}

.currentMenu::before {
	content: '';
	position: absolute;
	width: 4px;
	height: 4px;
	border-radius: 2px;
	/*	background-color: var(--red); */
	bottom: -0.5rem;
	left: 50%;
	margin-left: -2px;
}

.currentMenu {
	position: relative;
}

.currentMenu:hover {
	color: var(--black)!important;
}

h1, h2, h3, h4, h5 {
	font-weight: 500;
}

body {
	font-size: 16px;
	line-height: normal;
	font-family: var(--sans-serif);
	background-color: var(--white);
	font-weight: 400;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	color: var(--gray);
	display: block;
	width: 100%;
}

title {
	display: none;
}

header {
	left: 1.5rem;
	position: fixed;
	top: 1.5rem;
	transition: background .25s ease-in-out, transform .25s ease-in-out, backdrop-filter .25s ease-in-out;
	z-index: 2;
	width: 7.5rem;
}

.nav-up {
	/* transform: translateY(-100px); */
}

/* .nav-down {
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
} */

nav {
	flex: 1;
	align-items: center;
	gap: 2rem;
	justify-content: space-between;
}

ul, li {
	list-style: none;
	padding: 0;
	margin: 0;
}

nav ul {
	gap: 0.5rem;
	align-items: center;
	margin: 0 auto;
	width: auto;
	position: fixed;
	right: 3rem;
	transition: opacity 0.25s ease;
	opacity: 1;
}

@media(max-width: 48rem) {
	nav ul {
		right: 1rem;
	}
}

.hide nav ul {
	opacity: 0;
}

body:has(.portfolio-case) {
	nav ul {
		display: none;
	}
}

nav ul li a {
	gap: .25rem;
	align-items: baseline;
	color: var(--black);
	font-weight: 500;
	border-radius: 4rem;
}

.wp-caption {
    max-width: 100%;
	position: relative;
	display: flex;
	flex-direction: column;
}

.wp-caption-text {
	font-size: .625rem !important;
	bottom: 0;
	text-align: center;
	padding: 0.25rem!important;
	margin: 0 0 .5rem!important;
}

.wp-caption:has(.wp-caption-text) {
	img {
		margin: 0!important;
	}
}

@media(max-width: 768px) {
	
	.pe-m {
		display: inline;
	}
	
	.pe-d {
		display: none;
	}
	
	ul.bt-bar {
		position: fixed;
		bottom: 1.5rem;
		left: 50%;
		transform: translatex(-50%);
		width: auto;
		gap: .25rem;
	}
	
	nav ul li a {
		font-size: .875rem;
		padding: .5rem .75rem;
	}
	
	nav ul li, nav ul li a, nav ul li a span {
		flex: 1;
		text-align: center;
		justify-content: center;
	}
}

nav ul li a svg path:not(.figma-link svg path) {
	fill: var(--black);
}

nav ul li a:hover, nav ul li a:hover svg path:not(.figma-link svg path) {
	color: var(--red);
	fill: var(--red);
}

.figma-link {
	width: 2rem;
	height: 2rem;
	align-items: center;
	justify-content: center;
	border-radius: 2rem;
}

.headshot {
	min-width: 2rem;
	width: 2rem;
	max-width: 2rem;
	height: 2rem;
	border-radius: 1rem;
	overflow: hidden;
}

.trigger {
	min-width: 2rem;
	width: 2rem;
	max-width: 2rem;
	height: 2rem;
	align-items: center;
	justify-content: center;
	display: none;
	position: relative;
}

.trigger svg path {
	fill: var(--black);
}

.close-menu {
	width: 2rem;
	height: 2rem;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	position: absolute;
	right: 2rem;
	top: 2rem;
	transition: opacity .25s ease-in-out;
}

.wrapper {
	max-width: 75rem;
	padding: 0 1.5rem;
	width: 100%;
	margin: 0 auto;
	flex-direction: column;
	gap: 1.5rem;
	position: relative; 
	z-index: 1;
}

.headline {
	gap: 1.5rem;
	color: var(--black);
	max-width: 30rem;
	display: flex;
	flex-direction: column;
	opacity: 0;
    transform: translateY(50px);
}

.headline {
	animation: slideUp 0.4s ease-out forwards;
	animation-delay: 0.2s;
}

@keyframes slideUp {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.headline h1 {
	line-height: 1;
	font-weight: 500;
	font-family: var(--sans-serif);
	letter-spacing: -1.25px;
	color: var(--black);
}

#darkModeToggle {
	border: none;
	background: none;
	cursor: pointer;
	width: 3rem;
	height: 3rem;
	position: relative;
}

#darkModeToggle::before, #darkModeToggle::after {
	content: '';
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0px;
	left: 0px;
	transition: all 0.25s ease-in-out;
	transform: translatey(0rem);
	background-size: 16px;
	background-repeat: no-repeat;
	background-position: center;
}

#darkModeToggle::before {
	background-image: url('https://giliard.com.br/img/moon.svg');
}

#darkModeToggle::after {
	background-image: url('https://giliard.com.br/img/sun.svg');
	transform: translatey(1rem);
	opacity: 0;
}

#darkModeToggle.dark::after {
	transform: translatey(0rem);
	opacity: 1;
}

#darkModeToggle.dark::before {
	transform: translatey(-1rem);
	opacity: 0;
}

@media (min-width: 20rem) {
	.headline h1 {
		font-size: 2.5rem;
		max-width: 50rem;
		margin: 0 auto;
	}
}

@media (min-width: 24rem) {
	.hero .headline {
		gap: 1rem;
	}
	
	.headline h1 {
		font-size: 3.5rem;
	}
}

@media (min-width: 32rem) {
	.headline h1 {
		font-size: 3.5rem;
		max-width: 52rem;
	}
}

@media (min-width: 48rem) {
	.headline h1 {
		font-size: 5.5rem;
		max-width: 48rem;
	}
	
	.hero .headline {
		gap: 1.5rem;
		max-width: 56rem;
	}
}

@media (min-width: 64rem) {
	.headline h1 {
		font-size: 6rem;
	}
}

@media (min-width: 80rem) {
	.headline h1 {
		font-size: 8rem;
		max-width: 80rem;
	}
}

main {
	flex-direction: column;
	width: 100%;
}

section {
	width: 100%;
	padding: 10rem 0;
	max-width: 100vw;
}

.hero {
	min-height: 50vh;
	align-items: center;
	position: relative;
}

@media (min-width: 20rem) {
	.hero {
		min-height: 50vh;
		padding: 10rem 0 4rem;
	}
}

@media (min-width: 20rem) {
	.hero {
		min-height: 50vh;
	}
}

@media (min-width: 80rem) {
	.hero {
		min-height: 50vh;
		padding: 15rem 0 10rem 0;
	}
}

.hero:after, .hero:before {
	content: '';
	width: 30rem;
	position: absolute;
	bottom: 0;
	left: 0;
	height: 100%;
	background: linear-gradient(to left, transparent, var(--white));
	pointer-events: none;
}

.hero:before {
    width: 100%;
    height: 300px;
    top: 0;
    bottom: auto;
    z-index: 1;
    background: linear-gradient(to top, transparent, var(--white));
}

.graph {
    position: absolute;
	pointer-events: none;
    width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 0;
	animation: fadeIn 0.5s ease-out forwards;
	animation-delay: 0.5s;
	opacity: 0;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.graph::before, .graph::after {
	content: '';
	width: 1400px;
	height: 1400px;
	left: 20%;
	top: -100%;
	transform: translate(-50%);
	position: absolute;
	border-radius: 100%;
	background: linear-gradient(to right, tomato, var(--white));
}

.graph::before {
	filter: blur(100px);
/* 	animation: rotate 10s linear infinite;  */
	transform: translate(-100%, 20%) rotate(350deg) skewx(60deg);
	box-shadow: 0 0 0px 20px orange;
	background: var(--white);
    border-radius: 100%;
    border: 50px solid orange;
    filter: blur(50px);
    box-shadow: 0 0 0 100px tomato;
}

.graph::after {
	background: var(--white);
	z-index: 1;
	display: none;
}

main:has(.hero) {
	overflow: hidden;
}

@media(max-width: 80rem) {
	.graph:before, .graph:after {
		top: -160%;
	}
}

@media(max-width: 64rem) {
	.graph:before {
		left: -20%;
		top: -170%;
	}

	.hero:after {
		width: 10rem;
	}

	.hero:before {
		height: 10rem;
	}
}

@media (max-width: 56rem) {
	.graph:before {
		left: -20%;
		top: -180%;
    }
}

@media(max-width: 48rem) {
	.graph { 
		top: 0%;
        left: -90%;
        height: 50%;
		background-size: cover;
	}	
	
	.graph::before, .graph::after {
		width: 700px;
		height: 700px;
		left: 90%;
		top: -130%;
	}
	
	.hero::before, .hero::after {
		display: none!important;
	}
}

@keyframes rotate {
	from {
		transform: translate(-100%, 20%) rotate(350deg) skewx(60deg);
	}
	
	to {
		transform: translate(-100%, 20%) rotate(350deg) skewx(70deg);
	}
}

.graph2 {
    position: relative;
	pointer-events: none;
}

.graph2::before, .graph2::after {
    width: 4000px;
    height: 2000px;
    background: var(--red);
    left: -60%;
    bottom: -1900px;
    transform: skew(50deg) translate(1240px, 360px);
    filter: blur(70px);
}

.graph2::before, .graph2::after {
    content: '';
    position: absolute;
    border-radius: 100%;
}

.graph2::after {
	background: var(--white);
	filter: blur(50px);
	left: -40%;
	border: 30px solid orange;
}

@media(max-width: 80rem) {
	.graph2:before, .graph2:after {
		transform: skew(50deg) translate(700px, 360px);
	}
}

@media(max-width: 48rem) {
	.graph2:before, .graph2:after {
		transform: scale(1) translate(320px, 750px) skew(61deg);
		width: 500px;
		height: 500px;
		left: 0%;
		bottom: -10%;
		filter: blur(40px);
	}
}

.hero .headline {
	margin: 0 auto;
	max-width: 72rem;
}

.intro {
	display: block;
	font-size: 1.5rem;
	font-family: var(--serif);
	letter-spacing: -0.5px;
	color: var(--black);
}

.current {
	font-size: 1.5rem;
	color: var(--black);
	margin: 2rem 0 0;
}

.current a {
	color: var(--black);
	align-items: center;
	gap: .5rem;
}

.current span {
	margin: 0 .5rem;
}

.current a:hover {
	color: var(--red);
}

.current a span {
	margin: 0;
}

/* .current a svg { 
	display: none;
} */

.current a:hover svg {
	display: flex;
}

.subheading {
	max-width: 30rem;
	font-weight: bold;
}

.subheading h2 {
	font-weight: 500;
	font-size: 1.25rem;
}

h2 {
	font-size: 1.5rem;
	line-height: 150%;
	color: var(--gray);
}

.cases-home .wrapper {
	gap: 1.5rem;
}

.cases-highlight {
	flex-direction: row;
	gap: 3rem;
	counter-reset: list-number;
}

.cases-highlight h3 {
	font-size: 2.5rem;
	counter-increment: list-number;
	position: relative;
	font-family: var(--serif);
	letter-spacing: -0.5px;
	line-height: 1.2;
	padding-left: 1.5rem;
}

.cases-highlight h3:before {
	content: counter(list-number);
	position: absolute;
	left: 0rem;
	font-size: 1rem;
	top: 0.25rem;
	opacity: .6;
}

.cases-highlight a {
	display: flex;
	flex-direction: column;
	width: fit-content;
	color: var(--black);
	flex: 1;
	gap: 1.5rem;
}

.cases-highlight a:hover {
	color: var(--red);
}

.cases-highlight img {
	max-width: 100%;
	aspect-ratio: 16 / 9;
	height: auto;
	object-fit: cover;
	transition: transform 0.25s ease-in-out;
}

.cases-highlight picture, .cases-highlight a {
	overflow: hidden;
	border-radius: 1rem;
}

.cases-highlight a:hover img {
	transform: scale(1.05);
}

@media(max-width: 56rem) {
	.cases-highlight {
		flex-direction: column;
	}
	
	.cases-highlight img {
		aspect-ratio: 16 / 9;
		height: auto;
		min-height: 200px;
	}
}

@media(max-width: 48rem) {
	.cases-highlight h3 {
		font-size: 1.5rem;
	}
}

.more a {
	gap: 0.75rem;
	align-items: center;
	color: var(--gray);
	margin-top: 2rem;
}

.more a svg path {
	fill: var(--gray);
}

.tags {
	gap: 1rem;
	flex-wrap: wrap;
	width: 100%;
}

.tags span {
	color: var(--black);
	background: var(--red);
	padding: 1rem 2rem;
	border-radius: 4rem;
	font-size: 1.5rem;
}

footer {
	width: 100%;
	flex-direction: column;
	overflow: hidden;
}


footer .wrapper {
	flex-direction: row;
	align-items: center;
	flex-wrap: wrap;
}

.social a {
	align-items: center;
	justify-content: center;
	font-weight: 500;
	color: var(--black);
}

.social a:hover {
	color: var(--red);
}

.social a:has(svg) {
	width: 3rem;
	height: 3rem;
	margin: -1rem 0 0 -1rem;
}

.social svg {
	width: auto;
	max-height: 1.25rem;
	height: 1.25rem;
}

.social a svg path {
	fill: var(--black);
}

.social a:hover svg path {
	fill: var(--red);
}

.social {
	flex-direction: column;
}

.social div:last-child {
	gap: 2rem;
	margin: 1rem 0;
	flex-wrap: wrap;
}

.social div:last-child:has(svg) {
	gap: 1rem;
}

@media(max-width: 48rem) {
	.social div:last-child {
		gap: 1.25rem;
	}
}

.email {
	flex-direction: column;
	position: relative;
}

.email a {
	font-size: 2rem;
	font-weight: 500;
	align-items: center;
	gap: 0.75rem;
	color: var(--black);
}

.email a:hover span {
	display: block!important;
}

.email a:hover {
	color: var(--red);
}

.get-in-touch .wrapper {
	flex-direction: row;
	gap: 5rem;
	flex-wrap: wrap;
	padding-top: 5rem;
	align-items: flex-start;
}

.get-in-touch h3 {
	margin-bottom: 1rem;
}

.bottom {
	justify-content: space-between;
	align-items: center;
	width: 100%;
	padding: 3rem 0 2rem;
	margin: 3rem 0 0;
	font-size: .75rem;
}

footer section {
	padding-bottom: 0;
}

footer h3 {
	color: var(--gray);
	font-size: 1.125rem;
	font-family: var(--serif);
}

.back-to-top {
	cursor: pointer;
}

.back-to-top:hover {
	text-decoration: underline;
}

.social a svg {
	width: 1.25rem;
	height: 1.25rem;
}

.case-wrap img, .case-wrap video {
	width: 100%;
	height: auto;
	margin: 0 0 1rem;
	pointer-events: initial;
	cursor: url('https://giliard.com.br/wp-content/themes/2024/img/zoom-in.png'), auto;
}

.case-wrap > * {
	flex-direction: column;
}

.case-heading {
	max-width: 32rem;
	width: 100%;
	position: sticky;
	top: 8rem;
	padding-bottom: 2rem;
}

.case-wrap {
	flex-direction: row;
	max-width: 100rem;
	justify-content: center;
	width: 100%;
	margin: 0 auto;
	align-items: flex-start;
	gap: 2.5rem;
	padding-top: 2rem;
	padding-left: 3.5rem; 
	padding-right: 3.5rem;
}

.portfolio-case {
	flex-direction: column;
	padding-bottom: 0;
}
.portfolio-case p {
	color: var(--black);
}

.portfolio-case h1, .portfolio-case h2 {
	margin-bottom: 1rem;
	color: var(--black);
}

.portfolio-case h1 {
	flex-direction: column;
	font-size: 4rem;
	font-family: var(--serif);
	line-height: 1;
	letter-spacing: -1px;
}

.portfolio-case h1 span {
	font-size: .75rem;
	text-transform: uppercase;
	background: rgba(255,255,255,.2);
	display: inline-flex;
	max-width: 4.5rem;
	width: auto;
	align-items: center;
	justify-content: center;
	border: 1rem;
	padding: 0.25rem 0.5rem;
	border-radius: 1rem;
	color: var(--gray);
	letter-spacing: 1px;
}

.portfolio-case p {
	font-size: 1.25rem;
	line-height: 150%;
	margin: 0 0 1.25rem;
}

.case-content {
	max-width: 48rem;
	width: 100%;
	padding-left: 2.5rem;
/* 	border-left: 1px solid #eee; */
	padding-bottom: 8rem;
	position: relative;
}

.case-content h3 {
	margin-bottom: 1rem;
	font-weight: 500;
	color: var(--black);
	letter-spacing: 0;
}

.case-content h2, .case-content h3 {
	font-family: var(--serif);
	letter-spacing: -0.5px;
}

.case-content b, .case-content strong {
	font-weight: 500;
}

.case-content::before {
	display: none;
	content: '';
	position: absolute;
	left: -0.25rem;
	height: 100%;
	background: linear-gradient(to bottom, var(--white) 50%, transparent 90%);
	width: 0.5rem;
}

.case-content p {
	font-size: 1.125rem;
	color: var(--gray);
	line-height: 165%;
}

p:has(img, video) {
	margin-bottom: 0!important;
}

.case-content p a {
	display: inline-flex;
}

.case-content table {
	flex-direction: column;
	max-width: 32rem;
}

.case-content table tbody {
	width: 100%;
	flex: 1;
	flex-direction: column;
}

.case-content table tbody tr td:nth-child(even) {
	justify-content: flex-end;
	text-align: right;
	color: var(--black);
}

.case-content table tbody tr td {
	width: 50%;
	font-size: 1.25rem;
	margin: 0 0 1rem 0;
	border-bottom: 1px solid var(--gray);
	padding: 0 0 1rem 0;
	line-height: 150%;
}

.case-content table tbody tr {
	flex: 1;
	width: 100%;
	flex-direction: row;
	flex-wrap: wrap;
}

.portfolio-case h2 {
	margin: 1rem 0;
}

.feature-img img {
	width: 100%;
	max-width: 92vw;
	height: auto;
	max-height: calc(90vh - 115.5px);
	object-fit: cover;
	border-radius: 1rem;
	box-shadow: 0 1rem 4rem -2rem rgba(0,0,0, 0.2);
	aspect-ratio: 16 / 9;
}

.feature-img {
	max-width: 100%;
	width: 100%;
	margin: 0 auto 2rem;
	padding: 1.5rem 1.5rem 0;
	display: flex;
	justify-content: center;
	align-items: center;
}

form.post-password-form {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	align-items: center;
	justify-content: center;
	background: radial-gradient(circle at 50% 150%, var(--red) 0%, var(--black) 50%);
	flex-direction: column;
	z-index: 1;
}

form.post-password-form p, form.post-password-form p * {
	width: 100%;
	max-width: 24rem;
}

form.post-password-form label {
	flex-direction: column;
}

form.post-password-form input {
	width: 100%;
	flex-direction: column;
	padding: 1rem;
	border-radius: 0.5rem;
	border: none;
	font-size: 1.25rem;
	background: var(--black);
	align-items: center;
	font-family: 'Inter Tight', sans-serif;
	margin: 1rem 0;
	transition: box-shadow .25s ease-in-out;
	outline: none;
	text-align: center;
}

form.post-password-form input:focus {
	box-shadow: 0 0 0 .125rem var(--red);
}

form.post-password-form input[type="submit"] {
	background: var(--red);
	font-weight: 500;
	margin: 0;
	color: var(--black);
	cursor: pointer;
}

.meta-info {
	flex-direction: row;
	gap: 3rem;
	font-size: 1rem;
	color: var(--black);
	margin-top: 2rem;
	letter-spacing: .2px;
}

.meta-info div {
	flex-direction: column;
	gap: .125rem;
	max-width: 15rem;
	width: 100%;
	font-weight: 500;
}

.meta-info small {
	flex-direction: column;
	color: var(--gray);
	font-family: var(--serif);
	font-style: italic;
}

.post-nav::before {
	content: '';
	height: 1px;
	border-bottom: 1px solid #eee;
	position: absolute;
	width: 100%;
	top: 0;
}

.post-nav {
	justify-content: space-between;
	width: 100%;
	margin: 4rem 0 0 auto;
	padding-top: 4rem;
	flex-direction: row;
	max-width: 48rem;
	gap: 2rem;
	position: relative;
}

.post-nav a {
	flex-direction: column;
	justify-content: flex-start;
	gap: .25rem;
	width: 100%;
}

.post-nav a span {
	font-weight: 500;
}

.post-nav .next {
	align-items: flex-end;
}

.post-nav a:hover {
	color: var(--red);
}

.post-nav a:last-child span {
	text-align: right;
}

.page-custom {
	padding: 30vh 0;
	position: relative;
}

.page-custom h1 {
	font-size: 4rem;
	color: var(--black);
}

.posts-list {
	flex-direction: column;
	gap: 2rem;
	flex-wrap: wrap;
}

.posts-list a h4 {
	font-size: 2.25rem;
	line-height: 1.2;
	color: var(--black);
	letter-spacing: -0.5px;
	font-family: var(--serif);
}

.posts-list .post-thumb {
	position: relative;
	width: 100%;
	height: 20rem;
	overflow: hidden;
	border-radius: .5rem;
	box-shadow: 0 1rem 4rem -2rem rgba(0, 0, 0, .2);
}

.posts-list .post-thumb img {
	position: relative;
	height: 100%;
	width: 100%;
	object-fit: cover;
	z-index: -1
}

.posts-list a {
	margin-bottom: 2rem;
	flex: 1;
	align-items: center;
	gap: 2rem;
	flex-direction: row;
	position: relative;
	justify-content: flex-start;
	max-width: 100%;
}

.case-content video {
	width: 100%;
	height: auto;
	margin-bottom: 1rem;
}

p a {
	text-decoration: underline;
}

.posts-list a:hover h4 {
	color: var(--red);
}

.posts-list .post-title {
	width: 100%;
	flex-direction: column;
}

.posts-list .post-title p {
	font-size: 1.25rem;
	margin: 0.5rem 0 0;
}

.page-content {
	flex-direction: column;
}

p {
	line-height: 150%;
	letter-spacing: 0.5px;
	display: inline;
}

p, p > *:not(p a) {
	display: inline;
}

p a, p b, p i, p strong {
	display: inline-flex;
}

.page-content {
	padding-bottom: 4rem;
}

.page-content p {
	margin: 0 0 2rem;
	font-size: 1.125rem;
}

.contact-page form {
	flex-direction: column;
}

.page-content p {
	margin: 0 0 2rem;
	font-size: 1.125rem;
}

.contact-page form, .contact-page form input, .contact-page form textarea {
	font-family: 'Inter Tight', sans-serif;
	font-size: 1rem;
	width: 100%;
}

.contact-page {
	gap: 4rem;
	margin: 0;
}

@media(max-width: 64rem) {
	.contact-page {
		flex-direction: column;
		max-width: 720px;
	}
}

.contact-page form label {
	font-size: .875rem;
	padding: 0.125rem 0.25rem;
	position: absolute;
}

.contact-page form input, .contact-page form textarea {
	padding: 1rem;
	margin-bottom: 1.5rem;
	border-radius: 0.25rem;
	border: 1px solid rgba(0,0,0,.24);
	background: transparent;
	outline: none;
	resize: vertical;
	transition: box-shadow .25s ease-in-out, border .25s ease-in-out;
}

.contact-page form input:focus, .contact-page form textarea:focus {
	border-color: var(--black);
}

.form-input label {
	padding: 0.125rem 0.25rem;
	top: -0.625rem;
	background: var(--white);
	left: 0.75rem;
}

.form-input {
	position: relative;
}

.contact-page button[type="submit"] {
	padding: 1rem;
	font-size: 1rem;
	border: none;
	border-radius: 0.25rem;
	width: fit-content;
	background-color: var(--red);
	color: var(--white);
	font-weight: 500;
	font-family: 'Inter Tight', sans-serif;
	cursor: pointer;
}

.contact-page button[type="submit"]:hover {
	background: var(--black);
	color: var(--white);
}

.about a, .more a {
	border-bottom: 2px solid currentcolor;
}

.about a:hover, .more a:hover {
	border-color: var(--red);
}

.paragraph-about {
	flex-direction: column;
	max-width: 40rem;
}

.about-section {
	gap: 4rem;
	justify-content: start;
}

.about-content {
	flex-direction: column;
	gap: 8rem;
}

.paragraph-photo, .paragraph-photo picture {
	align-items: self-start;
	width: 100%;
}

.paragraph-photo picture img {
	width: 100%;
	height: auto;
}

.page-content .about-content .about-section:nth-child(even) .paragraph-photo picture {
	transform: rotate(-3deg);
}

.page-content .about-content .about-section:nth-child(even) .paragraph-photo {
	max-width: 24rem;
}

.paragraph-photo {
	padding: 1rem 2rem;
}

.paragraph-photo picture {
	padding: 2%;
	background: var(--white);
	box-shadow: 0.25rem 0.5rem 0.5rem -0.25rem rgba(0,0,0,0.2);
	border: 1px solid #eee;
	padding-bottom: 2rem;
}

.page-content .about-section:nth-child(1) .paragraph-photo picture {
	transform: rotate(2deg) translateY(-1rem);
}

.pe {
	flex-direction: column;
	max-width: 40rem;
}

.pe a {
	align-items: center;
	gap: 0.5rem;
	text-decoration: underline;
}

.scroll {
	position: absolute;
	top: -12rem;
	filter: drop-shadow(0px 0px 6px black);
}

.page-content .about-content .paragraph-photo {
	flex-wrap: wrap;
	padding: 0;
}

.page-content .about-content .about-section:nth-child(3) picture {
	max-width: 20rem;
	height: 24rem;
	position: relative;
	transform: rotate(-5deg);
}

.page-content .about-content .paragraph-photo:nth-child(2) {
	gap: 1rem;
}

.page-content .about-section:nth-child(2) .paragraph-photo picture:last-child {
	max-width: 15rem;
	position: absolute;
	padding: .5%;
	transform: translate(19rem, 15rem) rotate(5deg);
}

.about-section.work {
	margin-bottom: 4rem;
	flex-direction: row-reverse;
}

figcaption {
	position: absolute;
	bottom: -.34rem;
	left: 50%;
	font-family: cursive;
	font-size: 1rem;
	width: 70%;
	justify-content: center;
	margin-left: -35%;
	padding: 0.5rem;
	filter: blur(.3px);
}

.case-content ul {
	font-size: 1rem;
	letter-spacing: 0.4px;
	flex-direction: column;
	line-height: 200%;
	gap: .25rem;
	margin-bottom: 1.5rem;
}

.case-content ul li::before {
	content: '';
	min-width: 1.5rem;
	max-width: 1.5rem;
	height: 2rem;
	display: flex;
	align-items: center;
	justify-content: center;
	background: url(https://giliard.com.br/wp-content/themes/2024/img/check.svg) transparent no-repeat center center;
	background-size: 14px;
	color: green;
	border-radius: 1rem;
}

.case-content ul li {
	position: relative;
	gap: 0.5rem;
	font-weight: 500;
	color: var(--gray);
}

.modal-post {
	position: fixed;
	left: 0;
	top: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0,0,0,.4);
	visibility: hidden;
	opacity: 0;
	z-index: 9;
	pointer-events: none;
	transition: all .3s ease-in-out;
	backdrop-filter: blur(1rem);
	-webkit-backdrop-filter: blur(1rem);
}

.show-modal {
	visibility: visible;
	opacity: 1;
	pointer-events: visible;
	align-items: center;
	justify-content: center;
	cursor: url(https://giliard.com.br/wp-content/themes/2024/img/zoom-out.png),auto;
}

.show-modal img {
	max-width: 88rem;
	width: 100%;
	cursor: initial;
	pointer-events: unset!important;
	border-radius: .5rem;
}

.show-modal video {
	max-width: 88rem;
	width: 100%;
	cursor: initial;
	border-radius: .5rem;
}

.close-modal {
	width: 3rem;
	height: 3rem;
	border-radius: 1.5rem;
	background: rgba(0,0,0,.4);
	position: absolute;
	right: 2rem;
	top: 1rem;
	align-items: center;
	justify-content: center;
	border: none;
	cursor: pointer;
}

.close-modal:hover {
	background: rgba(0,0,0,.64);
}

.case-content img, .case-content video {
	border-radius: .5rem;
}

.tag-page .heading h1 {
	align-items: center;
	gap: .5rem;
}

.tag-page .heading a {
	height: 3rem;
	width: 3rem;
	align-items: center;
	justify-content: center;
}

.tag-page .heading svg {
	height: 1rem;
	width: 1rem;
}

.filter_chips {
	margin-bottom: 2rem;
}

.filter_chips .chips a {
	color: var(--gray);
	padding: 1rem 1.5rem;
	border: 1px solid #ddd;
	border-radius: 2rem;
	font-size: 1.125rem;
	letter-spacing: .2px;
	font-weight: 400;
}

.filter_chips .chips a:last-child {
	margin-right: 2rem;
}

.filter_chips .chips {
	gap: .75rem;
	flex-wrap: nowrap;
	white-space: nowrap;
	min-width: calc(100% + 1.5rem);
	max-width: calc(100% + 1.5rem);
	width: calc(100% + 1.5rem);
	overflow-x: auto;
}

.currentFilter {
	background: rgb(255 99 71 / 12%)!important;
	border-color: var(--red)!important;
	color: var(--black)!important;
}

.back-post {
	margin-bottom: 2rem;
}

.back-post a {
	align-items: center;
	gap: 0.5rem;
}

.error-404 h1 {
	font-size: 15rem!important;
	background: -webkit-linear-gradient(var(--red),transparent);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.logo {
	width: 7.5rem;
}

.logo:hover svg path {
	fill: var(--red);
}

#copyEmail {
	cursor: pointer;
}

@media(max-width: 64rem) {
	.intro {
		font-size: 1.25rem;
	}
	
	header {
		top: 0rem;
		left: 1.5rem;
	}
	
	.code-editor {
		width: calc(100% + 2rem);
		left: -1rem;
	}
	
	.logo {
		width: 6rem;
	}
	
	.tag-page .heading h1, .category-page h1 {
		font-size: 2.5rem!important;
	}

	.filter_chips {
		display: flex!important;
	}

	.filter_chips .chips {
		gap: 0.5rem;
	}

	.filter_chips .chips a {
		font-size: 1rem;
		padding: 0.875rem 1.24rem;
	}

	.case-content:before {
		display: none;
	}

	.cases-highlight h3 {
		margin-left: 1rem;
	}

	.case-content video {
		margin: 0;
	}

	.show-modal img, .show-modal video {
		max-width: 90%;
		object-fit: contain;
		margin: auto;
	}

	.about-section.work {
		flex-direction: column;
	}

	.about-section.work {
		margin-bottom: 0rem;
	}

	.page-content .about-section:nth-child(2) .paragraph-photo picture:last-child {
		position: relative;
		order: -1;
		transform: translate(3rem,3rem) rotate(5deg);
		z-index: 1;
		margin-bottom: -3rem;
		PADDING: 1%;
	}

	.page-content p {
		font-size: 1rem;
	}

	.about-section {
		flex-direction: column;
		gap: 1rem;
	}

	.contact-page {
		gap: 2rem;
		flex-direction: column;
	}

	.hero {
		
	}

	.case-content, .post-nav {
		width: 100%;
		max-width: 100%;
	}

	.post-nav {
		border-top: 1px solid #eee;
	}

	.post-nav::before {
		display: none;
	}

	.case-content {
		padding-left: 0;
		border-left: none!important;
		padding-bottom: 0;
	}

	.get-in-touch .wrapper {
		padding-top: 2rem;
	}

	.tags {
		gap: .5rem;
	}

	.case-wrap {
		flex-direction: column;
		gap: 2rem;
		padding: 1.5rem;
	}


	.portfolio-case h1 {
		font-size: 3rem;
	}

	.case-heading {
		max-width: 100%;
		width: 100%;
		min-width: 100%;
		position: relative;
		top: auto;
		padding-bottom: 0;
	}

	section.hero .wrapper::before, section.hero .wrapper::after {
		left: -18rem;
	}
	
	.feature-img {
		padding: 2rem 1.5rem 0;
		margin: 0;
		
		img {
			max-width: 100%;
		}
	}
	
	header {
		left: 1rem;
	}

}

::selection {
	background: var(--red);
	color: var(--black);
}


@media(max-width: 48rem) {
	.tags span {
		padding: 0.75rem 1.5rem;
		font-size: 1rem;
	}

	.figma-link {
		margin-left: auto;
	}

	.close-modal {
		top: auto;
		bottom: 7rem;
	}

	.about-content {
		gap: 4rem;
	}

	.scroll {
		position: absolute;
		top: -12rem;
		left: 50%;
		margin-left: -0.75rem;
		filter: drop-shadow(0px 0px 6px black);
	}

	.currentMenu::before {
		display: none;
	}

	.contact-page button[type=submit] {
		width: 100%;
		justify-content: center;
	}

	.page-custom {
		margin: 5rem 0;
		padding: 5rem 0 0;
	}

	.posts-list a h4 {
		font-size: 2rem;
	}

	.posts-list .post-title p {
		font-size: 1.125rem;
	}

	.page h1 {
		font-size: 3rem; 
	}

	.posts-list a {
		max-width: 100%;
		min-width: 100%;
		width: 100%;
		margin-bottom: 1rem;
		gap: 1.25rem;
		flex-direction: column;
	}

	.posts-list .post-thumb, .posts-list .post-thumb img {
		height: auto;
	}

	.get-in-touch .wrapper {
		gap: 4rem;
	}

	.email, .social {
		width: 100%;
	}

	.case-wrap img {
		margin: 0;
	}

	section {
		padding: 3.75rem 0;
	}

	.trigger {
		order: 1;
	}

	nav {
		gap: 1rem;
		justify-content: space-between;
	}

	.figma-link svg {
		width: auto;
		height: 1.5rem;
	}

	nav ul li a svg {
		width: 1rem;
		height: 1rem;
	}

	body::before {
		width: 24.375rem;
		height: 24.375rem;
	}

	.current {
		font-size: 1.25rem;
	}

	.portfolio-case {
		padding-bottom: 5rem;
	}
}

@media(max-width: 40rem) {
	.feature-img img {
		height: auto;
		object-fit: cover;
		max-width: 100%;
	}

	.feature-img {
		padding: 3.25rem 1.5rem 1rem;
	}

	.meta-info {
		margin-top: 1rem;
		gap: 1rem;
		flex-direction: column;
		width: 100%;
	}

	.meta-info div {
		min-width: 100%;
		max-width: 100%;
	}

	.portfolio-case p {
		font-size: 1rem;
	}

	.portfolio-case h1 {
		font-size: 2.5rem;
	}

	section.hero .wrapper::before {
		background: var(--red);
		filter: blur(1rem);
		transform: scale(.9) translate(.7rem, -1.4rem)
	}

	section.hero .wrapper::before, section.hero .wrapper::after {
		width: 32rem;
		height: 32rem;
		top: 0;
		left: -10rem;
	}
}

.grecaptcha-badge {
	display: none!important;
}

#loadingOverlay {
	position: fixed;
	display: none!important;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(255, 255, 255, 0.97);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
}

.spinner {
	width: 2rem;
	height: 2rem;
	background: linear-gradient(to right, var(--red), transparent);
	border-radius: 50%;
	animation: spin 1s linear infinite;
	position: relative;
}

.spinner::before {
	content: '';
	position: absolute;
	width: calc(100% - .25rem);
	height: calc(100% - .25rem);
	background: var(--white);
	border-radius: 2rem;
	top: 2px;
	left: 2px;
}

@keyframes spin {
	to { transform: rotate(360deg); }
}

.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

body.dark-mode {
	background-color: var(--black);
	color: var(--white);
}

.dark-mode {	
	.graph:before {
		background: var(--black);
	}
	
	.graph:after {
		background-color: var(--black);
	}
	
	.headline h1, .intro {
		color: var(--white);
	}
	
	.logo svg path {
		fill: var(--white);
	}
	
	.logo:hover svg path {
		fill: var(--red);
	}
	
	nav ul li a {
		color: var(--white);
	}
	
	nav ul li a:hover {
		color: var(--red);
	}
	
	.cases-highlight a {
		color: var(--white);
	}
	
	.cases-highlight a:hover {
		color: var(--red);
	}
	
	.case-heading h1, .case-heading p, .case-heading .meta-info, .page h1 {
		color: var(--white);
	}
	
	.case-content:before {
		background: linear-gradient(to bottom, var(--black) 50%,transparent 90%)
	}

	.hero:after, .hero:before {
		background: linear-gradient(to left, transparent, var(--black));
	}

	.hero:before {
		background: linear-gradient(to top, transparent, var(--black));
	}
	
	.case-content,  {
		border-color: #3c3c3c;
	}
	
	.post-nav:before {
		background: linear-gradient(to right,#3c3c3c,transparent);
	}
	
	.filter_chips .chips a {
		border-color: #3c3c3c;
		color: var(--gray-1);
	}
	
	.currentFilter {
		color: var(--white)!important;
		border: 1px solid var(--red)!important;
	}
	
	.posts-list a h4, .portfolio-case h1, .portfolio-case h2, .portfolio-case h3, .case-content div:not(.code-editor, .post-nav) span, .page-custom h1 {
		color: var(--white)!important;
	}
	
	.posts-list a:hover h4 {
		color: var(--red)!important;
	}
	
	.contact-page form input, .contact-page form textarea {
		color: var(--white);
		border: 1px solid rgba(255, 255, 255, .24);
	}
	
	.page-content p {
		color: var(--gray-1);
	}
	
	.subheading h2, .headline h2, .more a, footer h3, footer a, a, .case-content p, .meta-info small {
		color: var(--gray-1);
	}
	
	.social a, .email a {
		color: var(--white);
	}
	
	.social a svg path {
		fill: var(--white);
	}
	
	.social a:hover svg path {
		fill: var(--red);
	}
	
	.case-content ul li {
		color: var(--gray-1);
	}
	
	.contact-page button[type=submit]:hover {
		background: var(--white);
		color: var(--black);
	}
	
	:root {
		--red: orange;
	}

	.graph2::after {
		background: var(--black); 
	}
	
	.post-nav::before {
		border-bottom: 1px solid #3c3c3c;
	}
	
	.email a:hover, .social a:hover {
		color: var(--red);
	}
	
	.current, .current a {
		color: var(--white);
	}
	
	.current a:hover {
		color: var(--red);
	}
}