/*
Theme Name: Carnaval Studio
Theme URI: https://carnaval.studio/
Author: Carnaval Studio
Author URI: https://carnaval.studio/
Description: Agencia de diseño web y marketing digital en Latinoamérica.
Requires at least: 6.0
Tested up to: 6.3
Requires PHP: 5.7
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: carnavalstudio
Tags: block-patterns, block-styles, custom-colors, custom-logo, custom-menu, editor-style, full-site-editing, one-column, style-variations, template-editing, translation-ready, wide-blocks
*/

/* Defaults
---------------------------------------------------------------------------- */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

html ::-webkit-scrollbar {
    width: 10px
}

html ::-webkit-scrollbar-track {
    background-color: var(--wp--preset--color--contrast)
}

html ::-webkit-scrollbar-thumb {
    background-color: var(--wp--preset--color--secondary)
}

a,
button,
input,
textarea,
.wp-element-button {
	transition: all 0.2s ease-in-out;
}

a,
a:focus,
a:hover,
a:not(.wp-element-button) {
	text-decoration-thickness: 1px;
}

b,
strong,
th {
	font-weight: var(--wp--custom--font-weight--medium);
}
::-moz-selection { /* Code for Firefox */
  color: var(--wp--preset--color--base);
  background: var(--wp--preset--color--primary);
}

::selection {
  color: var(--wp--preset--color--base);
  background: var(--wp--preset--color--primary);
}

/* Forms
--------------------------------------------- */

input,
select,
textarea {
	background-color: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--contrast);
	border-radius: 0;
	color: var(--wp--preset--color--contrast);
	font-family: var(--wp--preset--font-family--outfit);
	font-size: var(--wp--preset--font-size--medium);
	font-weight: var(--wp--custom--font-weight--light);
	line-height: var(--wp--custom--line-height--body);
	padding: 10px 20px;
	width: 100%;
}

input:focus,
textarea:focus {
	filter: brightness(95%);
	outline: none;
}

input[type="checkbox"],
input[type="image"],
input[type="radio"] {
	width: auto;
}

input[type="button"],
input[type="email"],
input[type="search"],
input[type="submit"],
input[type="text"],
textarea {
	-webkit-appearance: none;
}

::placeholder {
	color: var(--wp--preset--color--contrast);
	font-size: var(--wp--preset--font-size--small);
	opacity: 0.5;
}

.post-password-form{
	padding-top: 120px;
    padding-right: 30px;
    padding-bottom: 144px;
    padding-left: 30px;
}
.post-password-form p:first-child{
    margin-bottom: 48px;
}
.post-password-form p:last-child input:first-child{
    margin-top: var(--wp--preset--spacing--x-small);
}
/* Utility
--------------------------------------------- */

.is-style-filter-invert {
	filter: invert(1);
}

.is-style-negative-zindex {
	z-index: -99;
}

.is-style-positive-zindex {
	z-index: 99;
}

.is-style-position-relative {
	position: relative;
}
.is-hidden{
	display:none!important;
}

/* Blocks
---------------------------------------------------------------------------- */

/* List
--------------------------------------------- */

.is-style-no-style {
	list-style-type: none;
	padding-left: 0;
}

/* Navigation
--------------------------------------------- */

.wp-block-navigation__responsive-container.is-menu-open {
	padding-bottom: var(--wp--custom--spacing--gap);
	padding-top: var(--wp--custom--spacing--gap);
}

.wp-block-navigation__responsive-container-close,
.wp-block-navigation__responsive-container-open {
	border: 1px solid currentColor;
	padding: 2px;
}

/* Navigation Submenu
--------------------------------------------- */

.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {
	border-color: var(--wp--preset--color--contrast);
	padding: 10px;
}

.wp-block-navigation :where(.wp-block-navigation__submenu-container) .wp-block-navigation-item__content {
	padding: 2px 10px;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
	padding-left: 10px !important;
	padding-right: 10px !important;
	padding-top: 5px !important;
}
.wp-block-navigation .has-child .wp-block-navigation__submenu-container{
	left: -20px !important;
}
/* Post Comments Form
--------------------------------------------- */

.wp-block-post-comments-form input:not([type=submit]):not([type=checkbox]), 
.wp-block-post-comments-form textarea {
	border-color: var(--wp--preset--color--contrast);
	padding: 10px 20px;
}

/* Media Queries
---------------------------------------------------------------------------- */

@media only screen and (max-width: 600px) {

	/* Utility
	--------------------------------------------- */

	.is-style-hidden-mobile {
		display: none !important;
	}

}

@media only screen and (max-width: 782px) {

	/* Columns
	--------------------------------------------- */

	.wp-block-columns.is-style-column-reverse {
		flex-direction: column-reverse;
	}

}

@media only screen and (min-width: 600px) {

	/* Group
	--------------------------------------------- */

	.wp-block-group.is-style-pull-200 {
		margin-top: -200px;
	}

	/* Navigation Link
	--------------------------------------------- */

	.wp-block-navigation-item.is-style-outline a {
		border: 1px solid currentColor;
		border-radius: 5px;
		padding: 5px 15px;
	}

}
