/*
Theme Name:     Web Wizards
Theme URI:      
Description:    Make-some-waves child theme.
Author:         0117 Web Wizards
Author URI:     https://www.0117.nl
Template:       make-some-waves
Version:        0.1.0
*/


div.logo-slider img{
  opacity: .5;
}

/* Selection
--------------------------------------------- */
::selection {
    background-color: var(--wp--preset--color--secondary-100);
    color: white;
}

*, html {
    scroll-behavior: smooth !important;
}


/* Mobile reverse classes
--------------------------------------------- */
@media (max-width: 768px) {
    .reverse-mobile {
        flex-direction: column-reverse;
    }
}

@media (max-width: 899px) {
    .navbar-mobile-reverse {
        flex-direction: row-reverse;
    }
}



/* Mobile Navigation
--------------------------------------------- */
/* @media only screen and (max-width: 900px) {
	.is-menu-open.has-modal-open {
		padding: var(--wp--preset--spacing--x-large) var(--wp--preset--spacing--large) var(--wp--preset--spacing--x-large) var(--wp--preset--spacing--large);
	}

	.is-menu-open.has-modal-open .wp-block-navigation__container {
		width: 100%;
	}

	.is-menu-open.has-modal-open .wp-block-navigation__container > li {
		width: 100%;
		padding: 0 0;
		position: relative;
	}

	.is-menu-open.has-modal-open .wp-block-navigation-item__content {
		width: 100%;
		padding: var(--wp--preset--spacing--small) 0 !important;
        font-size: var(--wp--preset--font-size--medium);
        text-align: center;
        font-weight: var(--wp--custom--font-weight--semibold);
        color: white !important;
	}
} */


/* Scroller
--------------------------------------------- */
.scroller {
    max-width: 800px;
}

.scroller__inner {
    padding-block: .5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.scroller[data-animated="true"] {
    overflow: hidden;
    -webkit-mask: linear-gradient(
        90deg,
        transparent,
        white 20%,
        white 80%,
        transparent
    );
    mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
}

.scroller[data-animated="true"] .scroller__inner {
    width: max-content;
    flex-wrap: nowrap;
    animation: scroll var(--_animation-duration, 30s)
        var(--_animation-direction, forwards) linear infinite;
}

@keyframes scroll {
    to {
        transform: translate(calc(-50% - 1.5rem));
    }
}

.tag-list {
    margin: 0;
    padding-inline: 0;
    list-style: none;
}

.tag-list li {
    padding: 0 2rem;
}


/* Custom Razzle Dazzle
--------------------------------------------- */
.wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open{
    background-color: var(--wp--preset--color--primary-100);
    color: white;
}

div.is-position-sticky{
    z-index: 50  !important;
}

/* copy of wp default css to a 1000px media query */
@media (min-width: 900px) {
    .wp-block-navigation__responsive-container-open:not(.always-shown) {
        display: none !important;
    }

    .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
        display: block !important;
        width: 100%;
        position: relative;
        z-index: auto;
        background-color: inherit;
    }
}
    
/* neutralize the wp default for 600px */
@media (min-width: 600px) {
    .wp-block-navigation__responsive-container-open:not(.always-shown) {
        display: flex;
    }
    .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
        display: none;
    }
}    
    
@media (max-width: 600px){
    .wp-block-columns.mobile-reverse{
    flex-direction: column-reverse !important;
    }
    
    .wp-block-columns.mobile-reverse .wp-block-column{
    padding-right: 0 !important;
    }
}
    
/* Post card styles */
div.post-card h2:hover {
    text-decoration: underline;
}

div.post-card{
    transition: box-shadow .2s ease;
}

div.post-card:hover{
    box-shadow: var(--wp--preset--shadow--medium-light) !important;
    transition: box-shadow .2s ease;
}

div.taxonomy-category.text-decoration-none a{
    text-decoration: none;
}



/* 
* Navigation text decoration
*/

@media (min-width: 900px){
    :root :where(.wp-block-navigation a:where(:not(.wp-element-button))){
        text-decoration: underline 2px transparent;
        transition: text-decoration .3s;
        text-underline-offset: 7px;
    }

    :root :where(.wp-block-navigation a:where(:not(.wp-element-button)):hover){
        text-decoration-color: var(--wp--preset--color--dark-100);
        text-decoration-thickness: 2px;
        transition: text-decoration .1s;
    }

    :root :where(.wp-block-navigation .current-menu-item a:where(:not(.wp-element-button))){
        text-decoration-color: var(--wp--preset--color--dark-100);
        text-decoration-thickness: 2px;
    }
}

/* 
* Post Title text decoration
*/
 .wp-block-post-title a{
     text-decoration: underline 3px transparent;
     transition: text-decoration .3s;
     text-underline-offset: 4px;
}
    
.wp-block-post-title a:hover{
    text-decoration-color: var(--wp--preset--color--primary-200);
    transition: text-decoration .1s;
 }

.wp-block-post.type-post.has-post-thumbnail img{
    filter: brightness(1);
    transform: scale(1);
    transition: all .3s ease;
}

.wp-block-post.type-post.has-post-thumbnail:hover img{
    filter: brightness(1.05);
    transform: scale(1.01);
    transition: all .1s ease;
}

 .wp-block-post.type-post.has-post-thumbnail{
    position: relative;
 }

 .wp-block-post.type-post.has-post-thumbnail a::after{
    content: " ";
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
 }

 .overflow-hidden{
    overflow: hidden;
 }


 /* Ninja forms */

.nf-form-layout *{
    font-family: var(--wp--preset--font-family-circular);
}

div.nf-error{
  font-size: 1rem;
  font-weight: 400 !important;
}

.ninja-forms-req-symbol{
  color: var(--wp--preset--color--dark-100) !important;
  opacity: .5;
}
.nf-form-fields-required{
  display: none;
}

.nf-field-label label{
  font-size: 18px;
  font-weight: 500 !important;
}

input.ninja-forms-field.nf-element,
textarea.ninja-forms-field {
  background: var(--wp--preset--color--light-100);
  border: none;
  padding: 20px 20px;
  font-size: 1rem;
  border-radius: 5px;
  color: var(--wp--preset--color--dark-200);
  letter-spacing: 0.01rem;
}

.ninja-forms-field.nf-element[type=submit]{
    height: unset;
    padding: 15px 25px;
    border-radius: 50px;
    color: var(--wp--preset--color--primary-200) !important;
    transition: background-color .2s ease;
}
.ninja-forms-field.nf-element[type=submit]:hover{
    background: var(--wp--preset--color--light-200);
    transition: background-color .2s ease;
    cursor: pointer;
}

div.nf-form-errors{
    display: none;
}

div.nf-response-msg{
    font-weight: 300 !important;
}

div.nf-form-cont.contact div.nf-response-msg{
    background-color: var(--wp--preset--color--light-100);
    padding: var(--wp--preset--spacing--60);
    border-radius: 10px;
}
div.nf-form-cont.contact div.nf-response-msg p{
    margin: 0;
}


div.list-select-wrap div.nf-field-element div{
    background: var(--wp--preset--color--light-100) !important; 
    border: none !important;
}


/* Home Header */
.home-header .home-header-image-column{
    display: none;
}

.home-header p{
    word-break: keep-all;
}

@media only screen and (min-width: 782px) {
    .home-header .home-header-image-column{
        display: unset;
    }
    .home-header-image img {
        max-width: 190% !important;
    }
    .home-header{
        overflow: hidden;
    }
    .home-header h1{
        max-width: 100%;
        word-break:keep-all;
    }
}

#headerTitle{
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none; 
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    min-height: 2lh;
    animation: appear .8s cubic-bezier(.17,.84,.44,1) forwards;
    z-index: 1;
}

#headerTitle:hover{
    cursor: pointer;
}

#headerTitle.hide{
    animation: dissappear .2s ease-in forwards;
}


@keyframes appear {
    0%{
        opacity: 0;
        transform: translateY(50px);
    }
    60%{
        opacity: 1;
    }
    100%{
        opacity: 1;
        transform: translateY(0px);
    }
}

@keyframes dissappear {
    0%{
        opacity: 1;
        transform: translateY(0px);
    }
    60%{
        opacity: 0;
    }
    100%{
        opacity: 0;
        transform: translateY(50px);
    }
}
