/*
Theme Name: 2024
Theme URI: http://giliard.com.br/
Description: Persona 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: #090909;
	--red: #FF6347;
	--white: #fbfbfb;
	--gray: #585858;
}

html {
	overflow-x: hidden;
}

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

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

body {
	font-size: 16px;
	line-height: normal;
	font-family: 'Inter Tight', 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%;
}

/* body::before {
content: '';
width: 60.8125rem;
height: 60.8125rem;
background: radial-gradient(70.64% 70.64% at 100% 0%, #FF6347 0%, rgba(8, 8, 8, 0.00) 100%);
position: fixed;
top: 0px;
right: 0px;
pointer-events: none;
z-index: -1;
} */

title {
	display: none;
}

header {
	padding: 2rem 3.5rem;
	width: 100%;
	position: fixed;
	left: 0px;
	top: 0px;
	transition: background .25s ease-in-out, transform .25s ease-in-out, backdrop-filter .25s ease-in-out;
	z-index: 2;
	background: rgba(251,251,251,.4);
}

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

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

nav {
	flex: 1;
	align-items: center;
	gap: 2rem;
}

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

nav ul {
	gap: 2rem;
}

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

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

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

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

.trigger {
	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;
}

.close-menu-show {
	opacity: 1;
	visibility: visible;
}

.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;
	flex-direction: column;
	color: var(--black);
	max-width: 30rem;
}

.headline h1 {
	font-size: 7.5rem;
	margin-bottom: 3.12500rem;
	display: block;
	line-height: 100%;
}

.headline h1 span {
	color: var(--red);
}

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

section {
	width: 100%;
	padding: 10rem 0;
	max-width: 100vw;
	overflow: hidden;
	background: var(--white);
}

section.hero .wrapper::before, section.hero .wrapper::after {
	top: -4rem;
	content: '';
	position: absolute;
	width: 64rem;
	height: 64rem;
	z-index: -1;
	border-radius: 64rem;
}

section.hero .wrapper::after {
	background: var(--white);
	filter: blur(1px);
}

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

.hero {
	min-height: 100vh;
	align-items: center;
	padding: 15rem 0;
}

.hero .headline {
	max-width: 100%;
}

.intro {
	font-size: 1.5rem;
}

.current {
	font-size: 1.5rem;
	color: var(--gray);
}

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

.current a {
	color: var(--gray);
	align-items: baseline;
	gap: .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;
}

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

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

.cases-highlight {
	flex-direction: column;
}

.cases-highlight h3 {
	font-size: 3rem;
}

.cases-highlight a {
	display: inline-flex;
	width: fit-content;
	color: var(--black);
}

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

.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(--red);
	padding: 1rem 2rem;
	border-radius: 4rem;
	border: 1px solid var(--red);
	font-size: 1.5rem;
}

footer {
	border-top: 1px solid var(--gray);
	width: 100%;
	flex-direction: column;
}

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

.social a {
	align-items: center;
	justify-content: center;
}

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

.social {
	flex-direction: column;
}

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

.email {
	flex-direction: column;
}

.email a {
	font-size: 2rem;
	font-weight: 500;
}

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

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

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

footer section {
	padding-bottom: 0;
}

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

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

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

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

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

.case-wrap img {
	width: 100%;
	height: auto;
	margin: 0 0 1rem;
}

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

.case-heading {
	max-width: 32rem;
	width: 100%;
	position: sticky;
	top: 6rem;
}

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

.portfolio-case {
	flex-direction: column;
	padding-bottom: 10rem;
}
.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;
}

.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%;
}

.case-content p {
	font-size: 1rem;
	color: var(--gray);
}


.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%;
	height: auto;
	border-radius: .15rem;
	box-shadow: 0 2rem 4rem -1rem rgba(0,0,0,0.24)
}

.feature-img {
	max-width: 100rem;
	margin: 0 auto 4rem;
	padding: 7rem 3.5rem 0;
}

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;
}

.meta-info div {
	flex-direction: column;
	gap: .125rem;
}

.meta-info small {
	flex-direction: column;
	font-size: .875rem;
	color: var(--gray);
}

.post-nav {
	justify-content: space-between;
	width: 100%;
	margin: 4rem 0 0 auto;
	padding-top: 4rem;
	border-top: 1px solid rgba(255,255,255,.12);
	flex-direction: row;
	max-width: 48rem;
	gap: 2rem;
}

.post-nav a {
	flex-direction: column;
	justify-content: space-between;
	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);
}

.page {
	margin: 30vh 0;
	padding-top: 0;
}

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

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

.posts-list a h4 {
	font-size: 1.5rem;
	color: var(--black);
	font-weight: 500;
}

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

.posts-list .post-thumb {
	position: relative;
	height: 100%;
	width: 100%;
	height: 30rem;
	overflow: hidden;
	border-radius: .25rem;
}

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

.posts-list a {
	margin-bottom: 2rem;
	flex: 1;
	align-items: center;
	gap: 1rem;
	flex-direction: column;
	position: relative;
	justify-content: flex-start;
	min-width: 22.5rem;
	max-width: 25rem;
}


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

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

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

@media(max-width: 48rem) {
	.page {
		margin: 15vh 0;
	}
	
	.posts-list a h4 {
    	font-size: 1.25rem;
	}

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

	.posts-list a {
		max-width: 100%;
		min-width: 100%;
		width: 100%;
		margin-bottom: 1rem;
	}
	
	.posts-list .post-thumb {
		height: 20rem;
	}

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

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

	.feature-img {
		padding: 10rem 1.5rem 0;
		margin: 0 auto 2rem;
	}

	.case-wrap img {
		margin: 0 0 2rem;
	}

	.hero {
		padding: 5rem 0;
	}

	section {
		padding: 3.75rem 0;
	}

	.trigger {
		display: flex;
	}

	.close-menu-show {
		display: flex;
	}

	nav {
		justify-content: space-between;
	}

	nav ul {
		transform-origin: top right;
		transform: scale(0);
		opacity: 0;
		flex-direction: column;
		justify-content: flex-end;
		background: var(--white);
		border-radius: 1rem;
		width: 18rem;
		right: 1rem;
		position: fixed;
		top: 1rem;
		box-shadow: -12px 24px 32px 0 rgba(0, 0, 0, 0.2);
		padding: 1.5rem 0;
		gap: 0;
	}

	.show-menu {
		transform: scale(1);
		opacity: 1;
		transition: all .25s ease-in-out;
	}

	nav ul li a {
		padding: .75rem 2rem;
		font-size: 1.5rem;
		color: var(--black);
	}

	nav ul li, nav ul li a {
		width: 100%;
	}

	nav ul li a svg path {
		fill: var(--gray);
	}

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

	.header {
		padding: 1.5rem;
	}

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

	.headline h1 {
		font-size: 4rem;
	}

	.current {
		font-size: 1.25rem;
	}

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

@media(max-width: 84rem) {
	.posts-list a {
		max-width: 50%;
		width: 100%;
	}
}

@media(max-width: 64rem) {
	.feature-img {
		padding: 10rem 1.5rem 0;
		margin: 0 auto 1rem;
	}


	.hero {
		padding: 16rem 0 5rem 0;
		min-height: auto;
	}

	.feature-img img {
		margin-bottom: 2rem;
	}

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

	.post-nav {
		padding-top: 0;
	}

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

	.header {
		padding: 1.5rem;
	}

	.tags {
		gap: .5rem;
	}

	.tags span {
		padding: .5rem .75rem;
		font-size: 1rem;
	}

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

	.feature-img {
		padding: 0 1.5rem;
		margin-top: 6rem;
	}

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

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

	section.hero .wrapper::before, section.hero .wrapper::after {
		left: -18rem;
	}
}

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

@media(max-width: 40rem) {
	.feature-img img {
		height: 50vh;
		object-fit: cover;
		margin-bottom: 2rem;
		box-shadow: 0 1rem 3rem -0.5rem rgba(0,0,0,0.4);
	}

	.feature-img {
		padding: 0;
	}

	.meta-info {
		margin-top: 1rem;
		gap: 1rem;
	}

	.meta-info div {
		min-width: 4rem;
	}

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

	.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;
	}
}

@media(max-width: 80rem) {
	.header {
		padding: 2rem 1.5rem;
	}
}