/*
Theme Name: Tandem Base Template
Theme URI: https://tandem.nyc/
Author: Tandem NYC
Author URI: https://tandem.nyc/
Description: Starter template for Tandem projects. Adapted from Frost WP.
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
Requires at least: 6.2
Tested up to: 6.3.1
Requires PHP: 5.6
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tandem_base
*/


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

@import url("https://use.typekit.net/alz5hsz.css");

*,
*::before,
*::after {
	box-sizing: border-box;
	-webkit-font-smoothing: antialiased !important;
  text-rendering: geometricPrecision;
	-moz-osx-font-smoothing: grayscale;
}

html {
	scroll-behavior: smooth;
}

#wpadminbar {
	position: absolute;
}

.wp-site-blocks {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.copy { 
	cursor: pointer; 
}

#cursor-alert {
        position: absolute;
        padding: 10px;
        pointer-events: none; /* Allow interaction through the div */
        display: none; /* Initially hidden */
        z-index: 9999; /* Ensure it stays on top */
        transition: opacity 0.5s ease;
        border: 2px var(--wp--preset--color--blue-grey-lightest) solid; 
    }

.message { 
	margin-right: 25%;
    position: relative;
	border-radius: 20px;
    /* display: inline-block; */

  padding: 8px 15px;
  margin-top: 5px;
  margin-bottom: 5px;
   /* color: white; */
  margin-left: 25%;
  background: linear-gradient(to bottom, #faa754 0%, #faa754 100%);
  background-attachment: fixed;
  position: relative;
}

.message::before {
  content: "";
  position: absolute;
  z-index: 0;
  bottom: 0;
  right: -8px;
  height: 20px;
  width: 20px;
  background: linear-gradient(to bottom, #faa754 0%, #faa754 100%);
  background-attachment: fixed;
  border-bottom-left-radius: 15px;
}

.message::after {
  content: "";
  position: absolute;
  z-index: 1;
  bottom: 0;
  right: -10px;
  width: 10px;
  height: 20px;
  background: var(--wp--preset--color--secondary-dark);
  border-bottom-left-radius: 10px;
}

main {
	flex-grow: 1;
}

/* img.edit-site-site-icon__image {
	filter: invert(1);
} */

a,
button,
input:focus,
input[type="button"],
input[type="submit"],
textarea:focus,
.wp-element-button {
	transition: all 0.2s ease-in-out;
}

a,
a:not(.wp-element-button) {
	text-decoration: underline;
}

a:focus,
a:hover {
	text-decoration: none;
}

header.site-header {
	position: sticky; 
	top: 0px; 
	z-index: 999;
}

header.site-header a {
	text-decoration: none;
}
header.site-header nav a:focus,
header.site-header nav a:hover {
	text-decoration: underline;
}

a.wp-element-button:hover,
a.wp-element-button:focus {
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
}

b,
strong,
th {
	font-weight: var(--wp--custom--font-weight--medium);
}

/* .alignfull > .alignwide:first-child, */
.wp-block-cover__inner-container.has-global-padding {
	padding-right: var(--wp--style--root--padding-right);
	padding-left: var(--wp--style--root--padding-left);
}

.wp-block-button {
  position: relative;
  display: inline-block;
  box-sizing: border-box;
  background: linear-gradient(90deg, #faa754, #fce789, #ebd921, #faa754);
  background-size: 400%;
  border-radius: 30px;
  z-index: 1;
}
 
.btn:hover {
  animation: animate 8s linear infinite;
}
 
@keyframes animate {
  0% {
    background-position: 0%;
  }
  100% {
    background-position: 400%;
  }
}
 
.wp-block-button:before {
  content: "";
  position: absolute;
  top: -5px;
  right: -5px;
  bottom: -5px;
  left: -5px;
  z-index: -1;
  background: linear-gradient(90deg, #faa754, #fce789, #ebd921, #faa754);
  background-size: 400%;
  border-radius: 40px;
  opacity: 0;
  transition: .5s;
}
 
.wp-block-button:hover:before {
  filter: blur(20px);
  opacity: 1;
  animation: animate 8s linear infinite;
}

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

input,
select,
textarea {
	border-radius: 5px;
	font-size: var(--wp--preset--font-size--small);
	padding: 10px 20px;
	width: 100%;
}

input:focus,
textarea:focus {
	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;
	appearance: none;
}

::placeholder {
	color: var(--wp--preset--color--primary);
	font-size: var(--wp--preset--font-size--small);
}

#mc_embed_shell #mc_embed_signup {
	background: none;
	font: var(--wp--preset--font-family--secondary);
	width: 100%;
}

#mc_embed_signup_scroll {
	display: flex;
    flex-direction: row;
    flex-wrap: wrap;
	gap: var(--wp--preset--spacing--x-small);
}

.email-signup-inputs {
	display: flex;
    flex-wrap: wrap;
	gap: var(--wp--preset--spacing--small);
}

#mc_embed_shell #mc_embed_signup .mc-field-group {
	width: auto;
	display: flex;
	flex-basis: 40%;
    flex-grow: 1;
	padding-bottom: 0;
	flex-direction: column;
	line-height: 1;
	gap: 0.5em;
	font-size: var(--wp--preset--font-size--normal);
	font: var(--wp--preset--font-family--secondary);
  font-weight: 700;
}

#mc_embed_shell #mc_embed_signup .asterisk {
    color: var(--wp--preset--color--red);
    font-size: 100%;
    font-weight: normal;
    position: relative;
    top: 0;
	line-height: 1;
}

#mc_embed_shell #mc_embed_signup form {
	margin: 0;
}

#mc_embed_shell #mc_embed_signup .clear:has(.button), #mc_embed_shell .optionalParent {
    clear: both;
    width: 100%;
    display: inline-block;
}

#mc_embed_shell #mc_embed_signup .button {
    clear: both;
    background-color: var(--wp--preset--color--primary);
    border: 0px solid var(--wp--preset--color--primary);
    border-radius: 5px;
    color: var(--wp--preset--color--contrast);
    cursor: pointer;
    display: inline-block;
    font-size: var(--wp--preset--font-size--medium) !important;
    height: auto;
	font: var(--wp--preset--font-family--secondary);
  font-weight: 700;
	text-transform: uppercase;
    margin: 0;
	padding: 1em 1em;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    white-space: nowrap;
    width: 100%;
	line-height: 1;
}

#mc_embed_shell #mc_embed_signup .button:hover,
#mc_embed_shell #mc_embed_signup .button:focus {
	opacity: .85;
}

#mc_embed_shell #mc_embed_signup .mc-field-group input {
	border: 0;
	border-radius: 5px;
	font-family: var(--wp--preset--font-family--secondary);
    line-height: 1;
    padding: 0.5em;
    font-size: var(--wp--preset--font-size--normal);
}

#mc_embed_shell #mc_embed_signup .indicates-required {
    position: absolute;
    text-align: right;
    font-size: 14px;
    margin-right: 0;
    right: 0;
}

#mc_embed_shell #mc_embed_signup #mc-embedded-subscribe-form div.mce_inline_error {
    margin: 2px 0 0 0;
    padding: 0.25em;
    background-color: var(--wp--preset--color--neutral);
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 5px;
    color: var(--wp--preset--color--red);
}


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

/* Code
--------------------------------------------- */

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

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

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

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

/* Image
--------------------------------------------- */

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

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

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

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

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

.wp-block-navigation__responsive-container.is-menu-open {
	padding-bottom: 30px;
	padding-top: 30px
}

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



/* Quote
--------------------------------------------- */

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

.wp-block-quote.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;
	}

  	#mc_embed_signup_scroll {
		display: flex;
		flex-direction: column;
		flex-wrap: wrap;
		gap: var(--wp--preset--spacing--x-small);
	}

}

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

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

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

}

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

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

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

}
