/*
Theme Name: bkt-compchimera
Theme URI: 
Author: Brittany Kelly
Author URI: 
Description: Beaming Kit Tech update of Computational Chimera theme
Requires at least: 6.8
Tested up to: 6.8
Requires PHP: 7.2
Version: 1.0
License: GNU General Public License v3
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: bkt-compchimera
Tags: block-patterns, block-styles, custom-colors, custom-logo, custom-menu, editor-style, full-site-editing, one-column, template-editing, threaded-comments, translation-ready, wide-blocks

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

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

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

html {
	scroll-behavior: smooth;
}

a,
button,
input:focus,
input[type="button"],
input[type="submit"],
textarea:focus,
.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);
}

mark {
	background: linear-gradient(90deg, var(--wp--preset--color--primary) 0%, var(--wp--preset--color--primary) 100%);
	background-position: 0 85%;
	background-repeat: repeat-x;
	background-size: 100% 15%;
}

/* -- 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--primary);
	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 {
	background-color: var(--wp--preset--color--neutral);
	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;
}

/* Blocks
---------------------------------------- */
/* Buttons */
.wp-block-button.is-style-fill .wp-block-button__link:hover {
	 filter: brightness(85%);
}
.wp-block-button.is-style-outline {
	position: relative;
}

.wp-block-button.is-style-outline .wp-block-button__link:before
{
	-webkit-transition: 0.5s all ease;
	transition: 0.5s all ease;
	position: absolute;
	border-radius: 5px;
	top: 0;
	left: 50%;
	right: 50%;
	bottom: 0;
	opacity: 0;
	content: "";
	background-color: var(--wp--preset--color--secondary);
	z-index: -2;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover:before
{
	-webkit-transition:0.5s all ease;
	transition:0.5s all ease;
	left:0;
	right:0;
	opacity:1;
}

/* Readmore Post Excerpt */

.wp-block-post-excerpt__more-link {
	position: relative;
	z-index: 1;
}
.wp-block-post-excerpt__more-link:before {
	position: absolute;
	z-index: -1;
	content: '';
	background: var(--wp--preset--color--secondary);
	height: 20px;
	left: 0;
	bottom: -7px;
	width: 0%;
	opacity: 0.5;
	transition: all 0.5s;
}
.wp-block-post-excerpt__more-link:hover {
	font-weight: 400;
}
.wp-block-post-excerpt__more-link:hover:before {
	width: 100%;
}

/* Footer */
.site-footer a {
	position: relative;
}
.site-footer a:before {
	position: absolute;
	z-index: -1;
	content: '';
	background: var(--wp--preset--color--secondary);
	height: 20px;
	left: 0;
	bottom: -7px;
	width: 0%;
	opacity: 0.5;
	transition: all 0.5s;
}
li.wp-block-post h2.wp-block-post-title a:hover {
	font-weight: 400;
}

.site-footer a:hover:before {
	width: 100%;
}

/* -- Code -- */

*:not(.wp-block-code) > code {
	background-color: var(--wp--preset--color--neutral);
	font-size: var(--wp--preset--font-size--small);
	padding: 5px 8px;
}

/* -- Navigation -- */

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

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

.wp-block-navigation__responsive-container.is-menu-open {
	padding: var(--wp--custom--spacing--gap);
	background: linear-gradient(45deg, var(--wp--preset--color--primary) 0%, var(--wp--preset--color--secondary) 100%);
}

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

.has-background .wp-block-navigation__responsive-container-open:focus,
.has-background .wp-block-navigation__responsive-container-open:hover {
	color: var(--wp--preset--color--base);
}

/* custom nav */
.wp-block-navigation-item__content .wp-block-navigation-item__label:before {
	content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #ffffff;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.wp-block-navigation-item__content .wp-block-navigation-item__label:hover {
	font-weight: 400;
}
.wp-block-navigation-item__content .wp-block-navigation-item__label:hover:before {
	  transform: scaleX(1);
}

/* -- Navigation Submenu -- */

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

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

/* Blog posts */


li.wp-block-post h2.wp-block-post-title a {
	position: relative;
	z-index:1;
}
li.wp-block-post h2.wp-block-post-title a:before {
       position: absolute;
        z-index: -1;
        content: '';
        background: var(--wp--preset--color--secondary);
        height: 90%;
        left: 0;
        bottom: -7px;
        width: 0%;
        opacity: 0.5;
        transition: all 0.5s;
}
li.wp-block-post h2.wp-block-post-title a:hover {
font-weight: 500;
}
li.wp-block-post h2.wp-block-post-title a:hover:before {
        width: 100%;

}

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

/* -- Box Shadow -- */

.is-style-shadow-light {
	box-shadow: var(--wp--preset--shadow--light);
}

.is-style-shadow-solid {
	box-shadow: var(--wp--preset--shadow--solid);
}

/* 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 -- */

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

}
