/*
==================================================================
Theme Name: Mytaki
Version: 1.0
Author: Neobrand®
Author URI: https://neobrand.com
==================================================================
*/

/* Variables */

:root {

	--main: #000;
	--grey-100: #f4f4f4;
	--grey-200: #e5e5e5;
	--grey: #757575;

	--block-1: 1790px;
	--block-2: 1665px;
	--block-3: 1410px;
	--block-4: 930px;
	--size-900: 90px;
	--size-800: 30px;
	--size-700: 25px;
	--size-600: 20px;
	--size-500: 18px;
	--size-400: 16px;
	--size-300: 14px;
	--size-100: 12px;

	--weight-1000: 800;
	--weight-900: 700;
	--weight-800: 600;
	--weight-700: 500;
	--weight-400: 400;
	--weight-300: 300;
	--weight-100: 100;
	--padding-150: 150px;

	--space-200: 200px;
	--space-150: 150px;
	--space-120: 120px;
	--space-100: 100px;
	--space-90: 90px;
	--space-80: 80px;
	--space-70: 70px;
	--space-60: 60px;
	--space-50: 50px;
	--space-40: 40px;
	--space-30: 30px;
	--space-25: 25px;
	--space-20: 20px;
	--space-15: 15px;
	--space-10: 10px;
	--space-5: 5px;


	--margin-80: 80px;
	--margin-40: 40px;
	--margin-30: 30px;
	--margin-25: 25px;
	--margin-20: 20px;
	--margin-15: 15px;
	--margin-10: 10px;
	--margin-5: 5px;

	--transition-400: all 280ms cubic-bezier(0.74, 0, 0.24, 0.99);
	--transition-500: all 360ms cubic-bezier(0.74, 0, 0.24, 0.99);
	--transition-600: all 560ms cubic-bezier(0.74, 0, 0.24, 0.99);
	--transition-700: all 720ms cubic-bezier(0.74, 0, 0.24, 0.99);

}

#elemento {
	width: 100px;
	height: 100px;
	padding: 20px;
	margin: 20px;
	border: 2px solid #000;
	border-radius: 10px;
	font-size: 24px;
	font-weight: 500;
	text-transform: uppercase;
	background-color: #fff;
	box-shadow: 0 0 10px #000;
	transform: translateX(-50%);
	transition: all 280ms ease;
	display: flex;
	justify-content: center;
	overflow: hidden;
	cursor: pointer;
	position: relative;
	left: 50%;
}

::selection {
	background-color: #000;
	text-shadow: none;
	color: #fff;
}

::placeholder {
	color: var(--grey);
}

/* General */

html,body {
	font-family: 'Work Sans', sans-serif;
	line-height: 1.2;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

main figure {
	margin: 0;
}

h1,h2,h3,h4,h5 {
	width: 100%;
	margin: 0;
}

p,li {
	width: 100%;
	margin: 0;
	font-weight: var(--weight-400);
	font-size: var(--size-600);
	line-height: 1.3;
	color: var(--grey);
}

a {
	color: #000;
	text-decoration: none;
	transition: all 280ms ease;
}

a.link {
	position: relative;
}

a.link::after {
	content: '\f054';
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	font-size: var(--size-100);
	display: inline-block;
	padding-left: 7px;
}

a.border-btn {
	font-size: var(--size-500);
	font-weight: var(--weight-900);
	position: relative;
	padding-top: var(--space-20);
	padding-bottom: var(--space-20);
	padding-right: var(--space-50);
	padding-left: var(--space-50);
	color: currentcolor;
}

a.border-btn::before,
a.border-btn::after {
	content: '';
	display: block;
	width: 30px;
	height: 30px;
	border: 2px solid;
	position: absolute;
	transition: all 320ms ease;
}

a.border-btn::before {
	top: 0;
	left: 0;
	border-top-color: currentcolor;
	border-left-color: currentcolor;
	border-bottom: 0;
	border-right: 0;
}

a.border-btn::after {
	bottom: 0;
	right: 0;
	border-top: 0;
	border-left: 0;
	border-bottom-color: currentcolor;
	border-right-color: currentcolor;
}

a.border-btn:hover::before {
	width: calc(100% - 4px);
	height: 45px;
}

a.border-btn:hover::after {
	width: calc(100% - 4px);
	height: 45px;
}

.dotted {
	height: 100%;
	width: 100%;
	background: url('images/point.png');
	background-color: #000;
	background-position: center center;
}

/* Header */

#header {
	transition: all 320ms ease;
}

#header .logo {
	padding-top: var(--space-25);
	padding-bottom: var(--space-25);	
}

#header .logo h2 {
	transition: all 320ms ease;
}

#header #logo {
	width: 180px;
	height: auto;
	fill: white;
}

#header.active .logo h2 {
	height: 0;
	opacity: 0;
}

#header nav .menu a {
	font-size: var(--size-500);
	font-weight: var(--weight-900);
	color: white;
	position: relative;
	margin-right: var(--margin-40);
}

#header nav .menu a:last-child {
	margin-right: 0;
}

#header nav .menu a::after {
	content: '';
	width: 0%;
	height: 1px;
	position: absolute;
	left: 50%;
	bottom: -10px;
	background: white;
	transition: all 320ms ease;
}

#header nav .menu a.current::after,
#header nav .menu a:hover::after {
	width: 80%;
	left: 10%;
}

#header.active {
	height: auto;
	background-color: black;
	transition: all 320ms ease;
	position: fixed;
	top: 0;
	left: 0;
	bottom: unset;
}

#cta {
	padding-top: var(--space-120);
	padding-bottom: var(--space-120);
}

#cta .w-65 > * {
	margin-bottom: var(--margin-80);
}

#cta .w-65 > a {
	margin-bottom: 0;
}

#news {
	padding-top: var(--space-60);
	padding-bottom: var(--space-60);
}

#news > div {
	grid-template-columns: 1fr 500px 1fr;
}

#news .swiper-slide {
	display: flex;
	align-items: center;
	justify-content: center;
}

#news .swiper-slide > * {
	width: 80%;
}

#news .swiper-button-next {
	right: 0;
	background-color: white;
}

#news .swiper-button-prev {
	left: 0;
	background-color: white;
}

#news .swiper-button-next::after,
#news .swiper-button-prev::after {
	font-size: 20px;
	font-weight: var(--weight-1000);
	color: black;
}

#projects {
	padding-top: var(--space-80);
	padding-bottom: var(--space-120);
}

#projects article {
	width:  calc((100% / 3 * 1) - var(--space-30));
	min-height: 360px;
}

#projects article .info {
	width: 80%;
	padding: var(--space-30);
	transform: translateX(100%);
	transition: var(--transition-600);
	bottom: var(--space-30);
}

#projects article:hover .info {
	transform: none;
}

#projects article:first-child .info,
#projects article:last-child .info {
	width: 50%;
}

#projects article .info a,
#projects article .info div {
	opacity: 0;
	transition: all 280ms ease 0ms;
	transform: translateX(50px);
}

#projects article:hover .info a,
#projects article:hover .info div {
	opacity: 1;
	transform: translateX(0);
	transition: all 280ms ease 280ms;
}

#projects article:first-child,
#projects article.big,
.home #projects article:nth-child(7) {
	width:  calc((100% / 3 * 2) - var(--space-30));
}

#projects article figure {
	width: 100%;
	height: 100%;
	background-color: var(--grey);
}

#projects article figure img {
	width: 100%;
	height: 100%;
	min-height: 300px;
	max-height: 450px;
	object-fit: cover;
}

#projects .border-btn {
	margin-top: var(--space-80);
}

#contact .privacy-info {
	font-size: var(--size-300);
	display: none;
}

#related-projects article {
	max-height: 260px;
	overflow: hidden;
}

#related-projects article figure::before{
	content: '';
	position: absolute;
	inset: 0;
	background: rgb(0 0 0 / 40%);
	transition: var(--transition-500);
} 

#related-projects article h3 {
	padding: var(--space-100);
	transition: var(--transition-700);
}

#related-projects article:hover h3 {
	opacity: 0;
}

#related-projects article:first-child:hover h3 {
	transform: translateX(-50%);
}

#related-projects article:hover h3 {
	transform: translateX(50%);
}

#related-projects article:hover figure::before{
	background: rgb(0 0 0 / 0%);
}

/* Estudio */

body:not(.home) #hero {
	min-height: 700px;
}

body:not(.home):not(.project):not(.post) #hero figure {
	filter: grayscale(1);
}

body:not(.home) #hero h1 {
	padding-bottom: var(--space-80);
	font-size: calc(var(--size-800)*2);
}

#hero figure::before {
	content: '';
	position: absolute;
	inset: 0;
	display: block;
	background: linear-gradient(rgba(0, 0, 0, .8) 10%, transparent);	
}

#studio,
#team,
#services {
	padding-top: var(--space-120);
	padding-bottom: var(--space-120);
}

#studio p {
	color: black;
	margin-bottom: var(--space-30);
}

#studio p:last-child {
	margin-bottom: 0;
}

#studio p strong {
	font-weight: var(--weight-900);
}

#studio img {
	filter: grayscale(1);
}

#prizes {
	padding-bottom: var(--space-120);
}

#prizes .grid {
	gap: var(--space-40) var(--space-100);
}

#prizes .grid h3::before {
	content: '-';
	display: inline-block;
	margin-right: 3px;
}

#talk {
	padding-top: var(--space-120);
	padding-bottom: var(--space-120);
}

#talk .grid {
	gap: var(--space-10);
}

#talk .grid > div {
	border: 1px solid black;
	padding: var(--space-30);
}

#talk .grid > div .grey-line i {
	transform: scale(0);
	transition: all 280ms ease;
}

#talk .grid > div:hover .grey-line i {
	transform: none;	
}

#portfolio {
	padding-top: var(--space-70);
	padding-bottom: var(--space-70);
}

#services .grid {
	gap: var(--space-40) var(--space-30);
}

#services .service {
	padding: var(--space-30);
}

#services .service:hover .grey-line {
	background-size: 100% 1px;
    background-position: 0 100%;
}

#services .details h2 {
	padding-bottom: 10px;
}

#services .details p {
	margin-bottom: var(--space-30);
}

/* Projects */

.project #content p:not(:last-child) {
	margin-bottom: var(--space-30);
}

.project #content .wp-block-columns {
	width: 100%;
	max-width: var(--block-2);
	margin-bottom: var(--space-60);
}

.project #content .wp-block-columns:last-child {
	margin-bottom: 0;
}

.project #content .project-gallery {
	width: 100%;
	margin-bottom: var(--space-60);
}

.project #content .project-gallery .images {
	overflow-x: auto;
	overflow-y: hidden;
}

.project #content .project-gallery .images::-webkit-scrollbar {
	display: none;
}

.project #content .project-gallery .loaded figure {
	height: 620px;
}

.project #content .project-gallery .loaded .hor {
	min-width: 1100px;
}

.project #content .project-gallery .loaded .ver {
	min-width: 520px;
}

.project #content .project-gallery .loaded .squ {
	min-width: 520px;
}

.project #content .project-gallery .scrollbar {
	width: 25%;
	height: 5px;
	background-color: rgb(0 0 0 / 10%);
	bottom: -50px;
	left: 0;
}

.project #content .project-gallery .scrollbar span {
	width: 0%;
	height: 5px;
	background-color: #000;
	float: left;
}

#content,
#video {
	padding-top: var(--space-120);
	padding-bottom: var(--space-120);
}

#specs {
	padding-bottom: var(--space-120);
}

#specs .specs {
	padding: var(--space-120) var(--space-70) var(--space-90);
}

#video .video {
	height: 0;
	padding-bottom: 56.25%;
}

#video .video.active img,
#video .video.active i {
	opacity: 0;
	pointer-events: none;
}

#video .video i {
	background-color: rgba(0, 0, 0, .4);
	transition: all 320ms ease;
}

#video .video:hover i {
	opacity: 0.5;
}

#video figure.video img,
#video figure.video iframe {
	width: 100%;
	height: 100%;
	position: absolute;
	inset: 0;
}

/* Blog */

#filters {
	padding-top: var(--space-80);
}

#filters a {
	position: relative;
}

#filters a::after {
	content: '';
    width: 0%;
    height: 2px;
    position: absolute;
    left: 50%;
    bottom: -10px;
    background: black;
    transition: all 320ms ease;
}

#filters a.current::after,
#filters a:hover::after {
	width: 80%;
	left: 10%;
}

.blog #posts {
	padding-top: var(--space-80);
	padding-bottom: var(--space-120);
}

.blog #posts article {
	min-height: 450px;
}

.blog #posts article:hover .grey-line{
	background-size: 100% 1px;
	background-position: 0 100%;
}

.blog #posts article > div {
	width: calc(100% - 20px);
	padding: var(--space-30);
	background: white;
	top: 10px;
	left: 10px;
	right: 10px;
}

.blog #posts article figure {
	width: 100%;
	height: 100%;
}

#pagination .current {
	background-color: black;
	color: white;
}

#pagination .page-numbers {
	width: 35px;
	height: 35px;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 100%;
	overflow: hidden;
	transition: all 320ms ease;
}

#pagination .page-numbers:not(.current):hover {
	color: white;
	background-color: var(--grey);
}

/* Post */

body.regular main #hero {
	min-height: 400px;
}

.regular:not(.service) .content {
	padding-top: var(--space-120);
	padding-bottom: var(--space-120);
}

.regular .content h2 {
	font-size: var(--size-800);
	font-weight: var(--weight-900);
	margin-bottom: var(--space-30);
}

.regular .content h3 {
	font-size: var(--size-700);
	font-weight: var(--weight-900);
	margin-bottom: var(--space-30);
}

.regular .content h4 {
	font-size: var(--size-600);
	font-weight: var(--weight-900);
	margin-bottom: var(--space-30);
}

.regular .content p:not(:last-child) {
	margin-bottom: var(--space-30);
}

.regular .content .wp-block-embed-youtube {
	width: 100%;
	height: 100%;
	padding-bottom: 56.3%;
	position: relative;
	margin-bottom: var(--space-30);
}

.regular .content .wp-block-embed-youtube > div {
	position: absolute;
	width: 100%;
	height: 0;
	padding-bottom: 56.3%;
}

.regular .content .wp-block-embed-youtube iframe {
	width: 100%;
	height: 100%;
	position: absolute;
	inset: 0;
}

.regular .content figure {
	margin-bottom: var(--space-30);
}

.regular .content ol,
.regular .content ul {
	padding-left: 20px;
	margin-bottom: var(--space-30);
}

.regular .content ol li {
	list-style: decimal;
}

.regular .content ul li {
	position: relative;
}

.regular .content ul li::before {
	content: '';
	width: 6px;
	height: 6px;
	border-radius: 100%;
	position: absolute;
	top: 9px;
	left: -10px;
	background-color: black;
}

.regular main .content a {
	background: -webkit-gradient(linear,left top,right top,from(var(--main)), to(var(--main)));
	background-size: 100% 0px;
	background-position: 0 80%;
	background-repeat: no-repeat;
	transition: all 140ms ease;
	word-break: break-all;

}

.regular main .content a:hover {
	background-size: 100% 1px;
	background-position: 0 100%;
}

a.line{
	width: fit-content;
	background: -webkit-gradient(linear,left top,right top,from(white), to(white));
	background-size: 100% 0px;
    background-position: 0 80%;
    background-repeat: no-repeat;
    transition: all 140ms ease;
}

a.line:hover {
	background-size: 100% 1px;
	background-position: 0 100%;
}


a.grey-line{
	width: fit-content;
	background: -webkit-gradient(	linear,left top,right top,from(var(--grey)), to(var(--grey)));
	background-size: 100% 0px;
    background-position: 0 80%;
    background-repeat: no-repeat;
    transition: all 140ms ease;
}

a.grey-line:hover {
	background-size: 100% 1px;
	background-position: 0 100%;
}

.post:not(.service) article.content {
	padding-top: var(--space-60);
	padding-bottom: var(--space-60);
}

.social-sharing {
	padding-top: var(--space-30);
	margin-top: var(--space-30);
}

.social-sharing::before {
	content: '';
	width: 50px;
	height: 2px;
	background-color: var(--grey-200);
	transform: translateX(-50%);
	position: absolute;
	top: 0;
	left: 50%;
}

.social-sharing button {
	border: 0;
	padding: 10px;
}

/* Service */

.service #info {
	padding-top: var(--space-120);
	padding-bottom: var(--space-120);
}

.w-35.sticky {
	top: var(--space-120);
}

.service #info nav h3 {
	transition: 320ms all ease;
}

.service #info nav h3.current,
.service #info nav h3:hover {
	font-weight: var(--weight-900);
	transform: translateX(20px);
}

/* Footer */

#contact {
	opacity: 0;
	pointer-events: none;
	background-color: rgba(0, 0, 0, .8);
	transition: all 320ms ease;
	transition: var(--transition-600);
	transition-delay: 360ms;
}

#contact.active {
	opacity: 1;
	pointer-events: all;
	transition-delay: 0ms;
}

#contact > div {
	padding: var(--space-120) var(--space-100);
	transform: translateX(100%);
	transition: var(--transition-600);
	transition-delay: 0ms;
}

#contact.active > div {
	transform: none;
	transition-delay: 360ms;
}

#contact .close {
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	left: var(--space-30);
	top: var(--space-30);
	cursor: pointer;
}

#contact .close::before,
#contact .close::after {
	content: '';
	height: 3px;
	width: 100%;
	position: absolute;
	background-color: black;
	z-index: 5;
}

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

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

#contact .offices a {
	font-size: var(--size-500);
	line-height: 1.3;
}

#contact .wpcf7 .h2 {
	font-size: var(--size-800);
	font-weight: var(--weight-900);
	color: black;
	padding-bottom: var(--space-40);
}

#contact .wpcf7 .fields {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: var(--space-40);
}

#contact .fields input,
#contact textarea {
	width: 100%;
	font-size: var(--size-500);
	appearance: none;
	border: none;
	padding: 0 var(--space-20) var(--space-20) 0;
	border-bottom: 3px solid var(--grey-200);
	resize: none;
}

#contact textarea {
	height: 70px;
}

#contact .policy {
	margin-top: var(--space-15);
	cursor: pointer;
}

#contact .wpcf7 .last {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
}

#contact .wpcf7 .wpcf7-spinner {
	position: absolute;
	right: 30px;
	bottom: 10px;
}

#contact .wpcf7 [type=submit] {
	color: #fff;
	font-size: var(--size-400);
	font-weight: var(--weight-900);
	padding: var(--space-20) var(--space-50);
	background-color: var(--main);
	text-transform: uppercase;
	border: none;
	cursor: pointer;
}

.wpcf7 [data-name=acceptance] input {
	width: 18px;
	height: 18px;
	opacity: 0;
	cursor: pointer;
	position: absolute;
}

.wpcf7 [data-name=acceptance] label::before {
	content: '';
	min-width: 12px;
	max-width: 12px;
	height: 12px;
	margin-right: 7px;
	border: 2px solid var(--main);
	float: left;
}

.wpcf7 [data-name=acceptance] label::after {
	content: '';
	width: 12px;
	height: 14px;
	background-color: var(--main);
	transform: scale(0);
	transition: all .12s ease;
	position: absolute;
	top: 2px;
	left: 2px;
}

.wpcf7 .wpcf7-list-item label.active::after {
	transform: scale(1);
}

.fields .wpcf7-not-valid-tip {
	display: none;
}

#contact .fields .wpcf7-not-valid {
	border-bottom: 3px solid #f44336;
}

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

#related {
	padding-bottom: var(--space-120);
}

#related h2 {
	grid-column: 1 / -1;
}

#related .grid {
	gap: var(--space-20) var(--space-40);
}

#related article {
	min-height: 450px;
}

#related article > div {
	width: calc(100% - 20px);
    padding: var(--space-30);
    background: white;
    top: 10px;
    left: 10px;
    right: 10px;
}

#related article figure {
	width: 100%;
	height: 100%;
	object-fit: cover;
	margin: 0;
}

.home #footer,
.studio #footer {
	margin-top: var(--space-70);
}


#footer > div {
	padding-top: var(--space-60);
	padding-bottom: var(--space-60);
}

#footer .logo {
	width: 180px;
	height: auto;
	fill: white;
}

#footer .right > *{
	margin-bottom: var(--margin-10);
}

#footer .social {
	transform: translateX(-50%);
}

#footer .social > a {
	padding: 10px;
	border-radius: 100%;
	width: 30px;
	height: 30px;
	aspect-ratio: 1 / 1;
	margin-right: var(--margin-10);
}

#footer .social > a:last-child {
	margin-right: 0;
}

#footer .legal a:not(:first-child)::before {
	content: '';
	position: absolute;
	top: 8px;
	left: -9px;
	width: 4px;
	height: 4px;
	border-radius: 100%;
	background-color: white;
}

#kit > div {
	border-top: 1px solid var(--grey);
	padding-top: var(--space-40);
	padding-bottom: var(--space-40);
}

#kit > div img {
	max-width: 100%;
}

/* Misc */

#neobrand {
	margin-left: auto;
	transition: all 320ms ease;
	opacity: .7;
}

#neobrand:hover {
	opacity: 1;
}

#not-found figure::before {
	content: '';
    position: absolute;
    inset: 0;
    display: block;
    background: linear-gradient(rgba(0, 0, 0, .8) 50%, transparent);
    z-index: 1;
}

#not-found figure img {
	transform: rotate(180deg);
}

#banner-cookies {
	padding: 20px 0;
	transition: all 520ms ease;
}

#banner-cookies.hide {
	transform: translateY(-100%);
	pointer-events: none;
}

#banner-cookies button {
	padding: 8px 10px;
}

.grecaptcha-badge {
	opacity: 0;
	pointer-events: none;
}

.wpcf7 .screen-reader-response ul {
	display: none;


.edit-post {
	padding: 5px 10px;
	font-size: 14px;
	line-height: 1;
	font-weight: 600;
	color: #fff;
	background-color: var(--swiper-theme-color);
}