/*
==================================================================
Theme Name: Germán Pardo
Version: 1.0
Author: Neobrand®
Author URI: https://neobrand.com
==================================================================
*/
@import url('css/config.css');

/* General */

html,body {
	font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
	line-height: 1.2;
	background-color: #fff;
	color: var(--black);
	font-size: var(--size-400);
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body figure {
	margin: 0;
}

h1,h2,h3,h4,h5 {
	width: 100%;
	margin: 0;
	font-weight: 600;
}

p,li {
	width: 100%;
	margin: 0;
	line-height: 1.6;
}

figure img {
	height: auto;
}

a {
	color: var(--black);
	text-decoration: none;
	transition: all 280ms ease;
}

.button {
	width: fit-content;
	font-size: 16px;
}

.button.border {
	padding-bottom: 3px;
	color: var(--black);
	text-decoration: none;
	font-weight: 400;
	background: linear-gradient(to right, currentColor 0%, currentColor 100%);
	background-size: 100% 2px;
	background-position: left 0 bottom 0;
	background-repeat: no-repeat;
	transition: background-size .250s cubic-bezier(.785, .135, .15, .86) 0s;
}

.button.border:hover {
	background-size: 0px 1px;
	background-position: right 0 bottom 0;
}

.button.white {
	width: fit-content;
	color: white;
}

.gallery #header_gp {
	background-color: #1d1d1b;
}

#header_gp {
	background-color: transparent;
	padding: var(--space-20);
	transition: all 520ms ease;
}

#header_gp #logo svg {
	width: 35px;
	height: 50px;
}

#header_st {
	background-color: transparent;
	z-index: 0;
	padding-top: var(--space-30);
	padding-left: var(--space-30);
	padding-right: var(--space-30);
}

#header_st #logo {
	width: 240px;
	display: flex;
}

#header_st #logo svg {
	width: 100%;
}

#header_gp #logo {
	width: 35px;
	height: auto;
}

#logo.st {
	width: 150px;
}

nav#menu > div > a {
	opacity: 0;
	pointer-events: none;
	transform: translateX(-20px);
}

body.open_nav nav#menu > div > a {
	opacity: 1;
	pointer-events: all;
	transform: translateX(0);
	font-size: var(--size-200);
}

body.open_nav nav#menu > div > a:nth-of-type(1){
	transition-delay: 140ms;
}

body.open_nav nav#menu > div > a:nth-of-type(2) {
	transition-delay: 280ms;
}

body.open_nav nav#menu > div > a:nth-of-type(3) {
	transition-delay: 420ms;
}

body.open_nav nav#menu > div > a:nth-of-type(4) {
	transition-delay: 560ms;
}

body.open_nav nav#menu > div > a:nth-of-type(5) {
	transition-delay: 700ms;
}

body.open_nav nav#menu > div > a:nth-of-type(6) {
	transition-delay: 880ms;
}

nav#menu {
	width: 80px;
}

nav#menu button {
	width: 35px;
	height: 25px;
	background-color: transparent;
	border: 0;
	top: 40px;
	left: 0;
}

nav#menu button::before {
	content: '';
	width: 25px;
	height: 3px;
	background-color: var(--black);
	transition: all 320ms ease;
	position: absolute;
	left: 0;
	top: 0;
}

nav#menu button span {
	width: 18px;
	height: 3px;
	margin-top: -1.5px;
	background-color: var(--black);
	transition: all 320ms ease;
	position: absolute;
	left: 0;
	top: 50%;

}

nav#menu button::after {
	content: '';
	width: 12px;
	height: 3px;
	position: absolute;
	left: 0;
	bottom: 0;
	background-color: var(--black);
	transition: all 320ms ease;
}

body.open_nav nav#menu button::before ,
body.open_nav nav#menu button span,
body.open_nav nav#menu button::after {
	width: 40px;
}

nav#menu button::after {
	transition-delay: 240ms;
}

nav#menu button span {
	transition-delay: 120ms;
}

nav#menu button::before {
	transition-delay: 60ms;
}

nav#menu > div {
	background-color: #fff;
	padding-top: 100px;
	transform: translateX(-100%);
	transition: all 560ms ease;
}

nav#menu > div a i {
	font-size: 12px;
	transition: all 280ms ease;
}

nav#menu > div a.active i {
	transform: rotate(45deg);
}

body.open_nav nav#menu > div {
	transform: translateX(0);
}

.square.top-left {
	flex-direction: column-reverse;
	align-items: flex-start;
}

.square.top-left > div {
	padding-left: var(--space-30);
}

.square.top-right {
	flex-direction: column-reverse;
	align-items: flex-end;
	padding-right: var(--space-30);
}

.square.top-right > div {
	padding-right: var(--space-30);	
}

.square.right-top > div{
	justify-content: flex-start;
	padding-top: var(--space-30);
}

.square.right-bottom > div{
	justify-content: flex-end;
	padding-bottom: var(--space-30);
}

.square.bottom-right {
	flex-direction: column;
	align-items: flex-end;
}

.square.bottom-right > div {
	padding-right: var(--space-30);	
}

.square.bottom-left {
	flex-direction: column;
	align-items: flex-start;
}

.square.bottom-left > div {
	padding-left: var(--space-30);		
}

.square.left-bottom > div{
	order: -1;
	justify-content: flex-end;
	padding-bottom: var(--space-30);
}

.square.left-top > div{
	justify-content: flex-start;
	order: -1;	
	padding-top: var(--space-30);
}

.vertical.right-bottom > div,
.vertical.bottom-right > div {
	justify-content: flex-end;
	padding-bottom: var(--space-30);
}

.vertical.left-bottom > div,
.vertical.bottom-left > div {
	order: -1;
	justify-content: flex-end;
	padding-bottom: var(--space-30);
} 

.vertical.left-top > div,
.vertical.top-left > div {
	order: -1;
	justify-content: flex-start;
	padding-top: var(--space-30);
}

.vertical.right-top > div,
.vertical.top-right > div  {
	padding-top: var(--space-30);	
}

.horizontal.bottom-left,
.horizontal.left-bottom {
	flex-direction: column;
	align-items: flex-start;
}

.horizontal.bottom-left > div,
.horizontal.left-bottom > div {
	padding-left: var(--space-30);
}

.horizontal.bottom-right,
.horizontal.right-bottom {
	flex-direction: column;
	align-items: flex-end;
}

.horizontal.bottom-right > div,
.horizontal.right-bottom > div {
	padding-right: var(--space-30);
}

.horizontal.top-left,
.horizontal.left-top,
.horizontal.left-bottom {
	flex-direction: column-reverse;
	align-items: flex-start;
}

.horizontal.top-left > div,
.horizontal.left-top > div,
.horizontal.left-bottom > div {
	padding-left: var(--space-30);
}


.horizontal.top-right,
.horizontal.right-top,
.horizontal.right-bottom {
	flex-direction: column-reverse;
	align-items: flex-end;
}

.horizontal.top-right > div,
.horizontal.right-top > div,
.horizontal.right-bottom > div {
	padding-right: var(--space-30);
}

#projects {
	min-height: 100vh;
	padding-left: var(--space-40);
	padding-right: var(--space-40);
}

#projects > div {
	gap: var(--space-120);
}

#projects article figure {
	transform: scale(0);
	opacity: 0;
	transition: all 1080ms ease;
}

#projects article.show figure {
	transform: scale(1);
	opacity: 1;
}

#projects article figure img {
	transition: all 280ms ease;
	max-width: 300px;
	max-height: 240px;
}

#projects article.show figure img {
	transition: all 1080ms ease;
	transform: scale(1);
}

#projects article:hover figure img {
	transform: scale(1.1);
}

#projects article .info {
	width: fit-content;
	transition: all 320ms ease;
}

#projects article h2 {
	font-size: var(--size-200);
	margin-bottom: 5px;
}

#projects article .info .cat {
	font-weight: 300;
	font-size: var(--size-100);
	text-transform: uppercase;
	color: #989898;
}

.home #sr section h2 {
	max-width: 25%;
}

.cta {
	width: calc(100% - (var(--space-40)*2));
	margin-left: auto;
	margin-right: auto;
}

#about .left figure,
#about .left .content,
#about .right {
	opacity: 0;
	transform: translateY(-50px);
	transition: all 720ms ease;
}

#about .left .content {
	transform: translateY(50px);
}

#about .right {
	transform: translateX(50px);
}

#about .left.show figure,
#about .left.show .content,
#about .right.show {
	opacity: 1;
	transform: none;
}

#social > div:first-child,
#social > div:last-child {
	opacity: 0;
	transition: all 720ms ease;
}

#social > div:first-child {
	transform: translateY(-50px);
}

#social > div:last-child {
	transform: translateY(50px);
}

#social > div.show {
	opacity: 1;
	transform: none;
}

#contact {
	width: 100%;
	height: 100vh;
	margin-left: auto;
	background-color: white;
	position: fixed;
	top: 0;
	right: 0;
	transition: all 520ms ease;
	transform: translateX(50px);
	opacity: 0;
	pointer-events: none;
}

#contact.active {
	transform: none;
	opacity: 1;
	pointer-events: all;
}

.close {
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	top: 60px;
	right: 90px;
	z-index: 3;
	cursor: pointer;
}

.close::before,
.close::after {
	content: '';
	width: 100%;
	height: 2px;
	display: flex;
	position: absolute;
	background-color: var(--black);
}

.close::before {
	transform: rotate(45deg);
}

.close::after {
	transform: rotate(-45deg);
}

.wpcf7 {
	width: 100%;
}

.wpcf7 form {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
}

.wpcf7 form input {
	background-color: #fff;
}

.wpcf7 form .fields {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 30px;
}

.wpcf7 form input[type="text"],
.wpcf7 form input[type="email"] {
	width: 100%;
	color: var(--black);
	background: white;
	margin-left: auto;
	padding: 15px 15px;
	transition: all 280ms ease;
	border: 1px solid #eaeaea;
}

.wpcf7 form span[data-name="text"] {
	grid-column: 1 / -1;
}

.wpcf7 form input[type="submit"] {
	color: white;
	background: var(--black);
	width: fit-content;
	margin-left: auto;
	padding: 15px 2rem;
	transition: all 280ms ease;
}

#dates .wpcf7 form input[type="submit"] {
	background-color: var(--black);
}

.wpcf7 form .fields .wpcf7-form-control-wrap {
	width: 100%;
}

.wpcf7 form .wpcf7-form-control-wrap[data-name="text"] {
	width: 100%;
}

.wpcf7 form textarea {
	width: 100%;
	border: 1px solid #ecf0f3;
	background-color: #fff;
	padding: 15px;
	resize: none;
}

input::placeholder,
textarea::placeholder {
	color: #cbcbcb;
}

.wpcf7 form .last {
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}

.wpcf7 form .last > .wpcf7-form-control-wrap {
	width: 100%;
	display: flex;
	align-items: center;
}

.last .wpcf7-list-item {
	margin: 0;
}

.wpcf7 form .last label {
	width: 100%;
	display: flex;
	justify-content: center;
	position: relative;
}

.wpcf7 form .last label::before {
	content: '';
	width: 16px;
	height: 16px;
	border: 1px solid var(--black);
	border-radius: 3px;
	margin-right: 5px;
}

.wpcf7 form .last label::after {
	content: '';
	width: 12px;
	height: 12px;
	background-color: var(--black);
	border-radius: 2px;
	transform: scale(0);
	transition: all 280ms ease;
	position: absolute;
	top: 3px;
	left: 3px;
}

#dates .wpcf7 form .last label::after {
	background-color: var(--black);
}

.wpcf7 form .last label.active::after {
	transform: scale(1);
}

.wpcf7 form .last label > * {
	width: fit-content;
}

.wpcf7 form .last label > input {
	width: 18px;
	height: 18px;
	opacity: 0;
	position: absolute;
	top: 0;
	left: 0;
}

.wpcf7 .wpcf7-submit:disabled {
	filter: grayscale(1);
	opacity: .4;
}

.wpcf7 .privacy-info {
	display: none;
	font-size: 10pt;
	line-height: 1.5;
	margin-top: 5px;
}

.wpcf7 .privacy-info.show {
	display: block;
}

.wpcf7 .wpcf7-not-valid-tip {
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 7.5px 10px 7.5px 0;
	border-color: transparent #ff9800 transparent transparent;
	text-indent: -9999px;
	transform: translateY(-50%);
	overflow: hidden;
	position: absolute;
	right: 5px;
	top: 50%;
}

#gp #social a {
	color: var(--black);
	transition: all 280ms ease;
}

#gp #social a:hover {
	color: var(--black);
}

.content p {
	font-size: var(--size-400);
	margin-bottom: var(--space-30);
}

.content p:last-child {
	margin-bottom: 0;
}

.line {
	width: 2px;
	height: 0;
	background-color: var(--black);
	position: absolute;
	left: 0;
	top: 10px;
	transition: all 3000ms linear;
}

#about .right.show .line {
	height: calc(100% - 22px);
}

.point {
	opacity: 0;
	transform: translateY(-20px);
	transition: all 280ms ease;
}

#about .right.show .point {
	opacity: 1;
	transform: none;
} 

.point::before {
	content: '';
	width: 8px;
	height: 8px;
	background-color: var(--black);
	position: absolute;
	left: -3px;
	top: 10px;
	border-radius: 100%;
}

#sr .wp-block-columns {
	width: 100%;
}

#sr .wp-block-columns > div {
	padding-left: var(--space-60);
	padding-right: var(--space-60);
}

.swiper {
	width: 100%;
	height: 100%;
}

.swiper-slide {
	width: auto;
	height: fit-content;
	display: flex;
	align-items: center;
}

.swiper-slide img {
	display: block;
	width: auto;
	height: auto;
	object-fit: none;
	opacity: 0.05;
	transition: all 280ms ease;
}

.swiper-slide.swiper-slide-active img {
	opacity: 1;
}

.home #sr .wp-block-columns h1,
.home #sr .wp-block-columns h2,
.home #sr .wp-block-columns h3,
.home #sr .wp-block-columns h4,
.home #sr .wp-block-columns h5 {
	max-width: 100%;
	width: 100%;
	padding-bottom: var(--space-20);
}

.home #sr .wp-block-columns p:not(:last-child) {
	margin-bottom: var(--space-30);
}

.has-white-color a {
	color: white;
}

#st-cta {
	padding: 0;
}

#st-cta > div {
	background: #ff9966;
	background: -webkit-linear-gradient(to right, #ff5e62, #ff9966);
	background: linear-gradient(to right, #ff5e62, #ff9966);
}

#st-cta > div:hover .button {
	background-size: 0px 1px;
	background-position: right 0 bottom 0;
}

#st-cta > div .button i {
	width: 0;
	height: 2px;
	background-color: #fff;
	position: relative;
	transform: translateY(1px);
	transition: all 280ms ease;
}

#st-cta > div:hover .button i {
	width: 20px;
}

#st-cta > div .button i::after {
	content: '';
	width: 4px;
	height: 4px;
	transform: rotate(45deg);
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
	position: absolute;
	right: 0;
	top: -2px;
}

/* Project */

.project #hero {
	height: ;
	margin-top: 50px;
}

.project #hero figure {
	width: fit-content;
	opacity: 0;
	transform: scale(0);
	transition: all 1080ms ease;
}

.project #hero.show figure {
	opacity: 1;
	transform: scale(1);
}

.project #hero figure img {
	transform: scale(3);
	transition: all 1080ms ease;
}

.project #hero.show figure img {
	transform: scale(1.1);
}

.project #hero figure h1 {
	opacity: 0;
	transform: translateX(30px);
	transition: all 1080ms ease 720ms;
}

.project #hero.show figure h1 {
	opacity: 1;
	transform: translateX(0);
}


.project #content .wp-block-columns {
	gap: 80px;
	margin-bottom: 0;
}

.project #content a.lg {
	display: flex;
	justify-content: center;
	align-items: center;
}

.project #content a.lg img {
	transition: all 280ms ease;
}

.project #content a.lg:hover img {
	filter: brightness(0.5);
}

.project #content a.lg::after {
	content: '\2b';
	font-family: 'Font Awesome Free 5';
	font-weight: 900;
	position: absolute;
	font-size: 42px;
	color: white;
	transform: scale(0.5);
	opacity: 0;
	transition: all 280ms ease;
}

.project #content a.lg:hover::after {
	transform: scale(1);
	opacity: 1;
}

.gut-gallery .swiper-wrapper figure {
	max-height: 700px;
	object-fit: cover;
}

.gut-gallery .swiper-wrapper figure img {
	width: auto;
	height: inherit;
}

.wrapper .swiper-pagination {
	width: 50%;
    height: 5px;
    position: static;
    background-color: var(--grey);
    border-radius: 0;
    overflow: hidden;
    margin-top: var(--space-40);
}

.wrapper .swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
	background-color: var(--black);
}

#content > * figure,
#content > * p {
	opacity: 0;
	transform: translateY(50px);
	transition: all 720ms ease;
}

#content > *.show figure,
#content > *.show p {
	opacity: 1;
	transform: translateY(0);
}

.related-swiper .swiper-wrapper{display:flex}

.related-swiper .swiper-slide {
  width: auto !important;
  flex: 0 0 auto;
}
.related-swiper .swiper-slide article {
  width: auto !important;
}
.related-swiper .swiper-slide img {
  display: block;
  width: 280px;
  height: auto;
  opacity: 1;
}

/* Gallery */

.gallery {
	background-color: var(--black);
}

.gallery #menu button {
	filter: invert(1) brightness(200%);
	transition: all 280ms ease;
}

.gallery #header_gp #logo svg {
	filter: invert(1) brightness(200%);
}

.gallery #header_st #logo {
	color: white;
}

.gallery #header_st .title span::before {
	content: '';
	width: 30px;
	height: 1px;
	background-color: #fff;
	display: inline-block;
}

.gallery main {
	background-color: var(--black);
}

.gallery #menu > div {
	background-color: var(--black);
}

.gallery #menu > div a {
	color: white;
}

.gallery h1 {
	position: relative;
	color: white;
	font-weight: 400;
	font-size: 24px;
}

.gallery figure i {
	width: 50px;
	height: 50px;
	color: var(--black);
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: white;
	right: var(--space-30);
	bottom: var(--space-30);
	border-radius: 100%;
}

.gallery figure i {
	opacity: 0;
	transform: translateY(10px);
	transition: all 320ms ease;
}

.gallery figure:hover i {
	opacity: 1;
	transform: none;
}

.gallery figure i::before {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
}

.gallery #footer p,
.gallery #footer a {
	color: white;
}

.swiper-button-next,
.swiper-button-prev {
	width: 40px;
	height: 40px;
	color: white;
	position: static;
	border-radius: 100%;
	margin: 0;
}

.swiper-button-next::after,
.swiper-button-prev::after {
	font-size: 32px;
}

.gallery .download {
	color: white;
	background-size: 0 1px;
}

.gallery .download:hover {
	background-size: 100% 1px;
}

#contact {
	max-height: 100vh;
	overflow-x: hidden;
	overflow-y: auto;
}

#contact .block-2 > .w-full {
	padding-top: var(--space-100);
}

/* Footer */

#footer p,
#footer a {
	font-size: 11px;
	color: var(--black);
}

#footer .social a {
	font-size: 18px;
}

#footer_logo {
	width: 110px;
	height: auto;
	filter: invert(1);
}

#footer_logo.st {
	width: 140px;
}

#feder  {
	border-top: 2px solid var(--grey);
	padding-block: 20px;
}

#feder p {
	font-size: 9px;
}

.lg-outer,
.lg-outer .lg-toolbar,
.lg-outer .lg-thumb-outer {
	background-color: white;
}

.lg-backdrop {
	display: none !important;
}

.lg-outer .lg-thumb-item {
	opacity: 0.25;
	transition: all 280ms ease;
	border-radius: 0;
}

.lg-outer .lg-thumb-item.active,
.lg-outer .lg-thumb-item:hover {
	opacity: 1;
	border-color: #fff;
}