/*
Theme Name: jlfworkshop2024
Theme URI: https://jlfworkshop.com
Author: Jesse Fasano
Author URI: https://graynoisemedia.com
Version: 1.4.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: Architecture, Jamie Fasano
Text Domain: jlfworkshop
*/

/* .site-header {
    width: 100%;
    padding: 33px 30px 33px 30px !important;
    position: fixed;
    top: 0;
    z-index: 999;
}
.site-logo a img {
    max-height: 200px;
    position: relative;
    transition: all 0.35s ease-in-out !important;
}
.shrink {
	max-height: 59px !important;
	transition: all 0.35s ease-in-out !important;
}
main:first-of-type {
    margin-block-start: 250px;
} */
html {
    scroll-behavior: smooth;
}
::selection {
    background: #4f953d33;
}
:is(h1, h2, h3, h4, h5, h6)::selection {
    background: none;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-decoration-thickness: 1px;
}
h1, h2, h3, h4, h5, h6 {
    font-size: clamp(1.8rem, 2.8vw, 3.8rem) !important;
}

/* Header Navigation Styling */
.wp-block-navigation__responsive-container.is-menu-open {
    top: 60px !important;
    background-color: rgba(255,255,255,.95) !important;
}
.header-logo a,
.wp-block-navigation-item a,
.logo-nav:not( contact-button a.wp-block-button__link ) {
    padding: 3px 6px !important;
    border-top: 3px solid transparent;
    text-decoration: none;
}
.header-logo a,
.wp-block-navigation-item a,
a.wp-block-button__link,
.wp-block-search__button {
    transition: border 0.3s ease, color 0.3s ease;
}
/* .header-logo a:hover, */
.current-menu-item a,
.wp-block-navigation-item a:hover,
:where(.wp-block-tab-list button)[aria-selected="true"]::before {
    top: 0;
    bottom: auto !important;
    color: var(--wp--preset--color--analogous-3) !important;
    border-top: 3px solid var(--wp--preset--color--base-2);
    border-bottom: none !important;
}
.wp-block-navigation-item.current-menu-item a.icon-container,
.wp-block-navigation-item a.icon-container {
    border-top: 3px solid transparent;
}
.current-menu-item a.icon-container:hover {
    color: var(--wp--preset--color--base-2) !important;
}
.header-logo a:hover,
.current-menu-item a:hover,
.current-menu-item.wp-block-navigation-item a:hover {
    color: var(--wp--preset--color--analogous-3);
}
.wp-block-navigation-item .icon-container {
    position: relative;
    bottom: 1px;
}
.wp-block-navigation-item a.icon-container:hover {
    transform: scale(1) !important;
    background-color: transparent !important;
}
/*Hamburger Button Styling*/
html.has-modal-open .wp-block-navigation__responsive-container-open {
    display: none !important;
}

.wp-block-button.is-style-outline > .wp-block-button__link:not(.has-text-color, .has-background):hover {
	background-color: var(--wp--preset--color--base-2, var(--wp--preset--color--base-2, transparent));
	color: var(--wp--preset--color--base);
}
.contact-button a::before {
    content: "";
    mask-image: url("data:image/svg+xml;base64,PHN2ZyBmaWxsPScnIHZlcnNpb249JzEuMScgaWQ9J1hNTElEXzI3Nl8nIHhtbG5zPSdodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZycgeG1sbnM6eGxpbms9J2h0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsnIHZpZXdCb3g9JzAgMCAyNCAyNCcgeG1sOnNwYWNlPSdwcmVzZXJ2ZScgc3Ryb2tlPScnPjxnIGlkPSdTVkdSZXBvX2JnQ2Fycmllcicgc3Ryb2tlLXdpZHRoPScwJz48L2c+PGcgaWQ9J1NWR1JlcG9fdHJhY2VyQ2Fycmllcicgc3Ryb2tlLWxpbmVjYXA9J3JvdW5kJyBzdHJva2UtbGluZWpvaW49J3JvdW5kJz48L2c+PGcgaWQ9J1NWR1JlcG9faWNvbkNhcnJpZXInPjxnIGlkPSdjb250YWN0LXVzJz48Zz48cGF0aCBkPSdNNCwyNHYtNUgwVjBoMjN2MTloLTkuM0w0LDI0eiBNMiwxN2g0djMuN2w3LjMtMy43SDIxVjJIMlYxN3onPjwvcGF0aD48L2c+PGc+PHJlY3QgeD0nNScgeT0nOCcgd2lkdGg9JzMnIGhlaWdodD0nMyc+PC9yZWN0PjwvZz48Zz48cmVjdCB4PScxMCcgeT0nOCcgd2lkdGg9JzMnIGhlaWdodD0nMyc+PC9yZWN0PjwvZz48Zz48cmVjdCB4PScxNScgeT0nOCcgd2lkdGg9JzMnIGhlaWdodD0nMyc+PC9yZWN0PjwvZz48L2c+PC9nPjwvc3ZnPg==");
    display: inline-block;
    width: 16px;
    height: 16px;
    position: relative;
    top: 5px;
    right: 8px;
    background-color: #fefefe;
  }
  .contact-button:hover a::before {
    background-color: #4f953d;
  }

.custom-overlay .wp-block-media-text__media {
    position: relative;
}

.custom-overlay .wp-block-media-text__media::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Adjust color and opacity */
    z-index: 1;
}

.custom-overlay .wp-block-media-text__media img {
    position: relative;
    z-index: 0;
}


/* Resonsive Navigation Sizing */
@media screen and (max-width: 1366px) {
    /* Hamburger button */
    .wp-block-navigation__responsive-container-open {
        display: block !important;
    }
    /* Full menu */
    .wp-block-navigation__responsive-container:not(.is-menu-open.has-modal-open) {
        display: none !important;
    }
}
