/*
Theme Name:     Work it
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
*/

/* GENERAL */
body{
    overflow-x: hidden!important;
}



.overflow-hidden{
    overflow:hidden;
}

.text-offscreen{
    white-space: nowrap;
}

.position-relative{
    position: relative;
}

/* HEADER */
header{
    transition: background 0.3s;
}

.header-text{
    z-index: 2;
    & p, & .wp-block-buttons{
        display: inline-block;
        width: 200%;
    }
    & h1{
        /* display: inline-block; */
        width: 250%;
        background: none!important;
    }
}

/* FOOTER */
.endnote{
    position: absolute;
    bottom: 10px;
    right: 25px;
}

footer img{
    width: 400px!important;
    margin-bottom: -35px!important;
}

/* CAROUSEL */
.wp-block-splide-carousel .splide__pagination__page.is-active{
    background: var(--wp--preset--color--primary-300);

}
.wp-block-splide-carousel .splide__pagination__page{
    background: var(--wp--preset--color--primary-100);
}

.wp-block-splide-carousel .splide__arrow {
    background: var(--wp--preset--color--light-100);
    opacity: .5;
}

.wp-block-splide-carousel .splide__arrow svg {
    fill: var(--wp--preset--color--secondary-300);
}


/* SCROLL EFFECT */
.scroll{
  box-shadow: 0px 10px 20px rgba(0, 0, 20, 0.10);
  background: var(--wp--preset--color--secondary-300);  
}

 /* NUMBER LIST */
 .number-list {
   counter-reset: white-block;
   position: relative; 
 }

 .number-list .wp-block-columns-is-layout-flex{
   position: relative;
   counter-increment: white-block;
   padding-left: 40px;
 }

 .number-list .wp-block-columns-is-layout-flex::before {
   content: counter(white-block);
   position: absolute;
   top: 50px;   
   left: 0;        
   transform: translate(-50%, -50%);
   width: 45px;
   height: 45px;
   background: var(--wp--preset--color--primary-200);
   color: var(--wp--preset--color--light-100);
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 16px;
   font-weight: bold;
 }

 /* NINJA */
 .ninja-forms-field.nf-element{
	 height: 50px!important;
	 padding: 3px 10px!important;
	 border: 1px solid #FAFAFA;
     background-color: #FAFAFA;
 }
 
 textarea.ninja-forms-field.nf-element{
	 height: 250px!important;
	 padding: 13px 10px!important;
	 border: 1px solid #FAFAFA;
     background-color: #FAFAFA;
 }
 
 #nf-field-4{
	 background-color: var(--wp--preset--color--primary-200);
	 color: var(--wp--preset--color--white);
	 font-weight: bold;
	 width: 140px!important;
	 cursor: pointer;
	 font-size: 0.9em;
 }
 
 #nf-field-4:hover{
	 background-color: var(--wp--preset--color--white);
	 color: var(--wp--preset--color--primary-200);
	 border-color: var(--wp--preset--color--primary-200);
 } 
 
 .ninja-forms-req-symbol{
	 color: var(--wp--preset--color--primary-200);
 }

.nf-form-fields-required{
  margin-bottom: 20px;
  font-style: italic;
  opacity: 0.5;
}

.nf-error-wrap, .nf-error-msg{
    font-size: small!important;
}

.nf-form-fields-required{
    display: none;
}

/* BADGE */
.badge-wrapper{
    width: 250px;
    position: absolute;
    top: -100px;
    right: -100px;
    z-index: 1;
}

#rotateOnScroll {
  animation: rotateBadge 25s linear infinite;
}

@keyframes rotateBadge {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* UNDERLINE */
.hero mark {
    text-decoration: none;
    background-image: url('assets/svg/underline.svg');
    background-repeat: no-repeat;
    background-position: left 100%;
    background-size: 100% 0.5em;
    padding: 0 0.2em;
}

/* ANIMATION */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}


.min-height{
    min-height: 100%;
}

/* RESPONSIVE */
@media (max-width: 899px) {
	.reverse-on-mobile {
		flex-direction: column-reverse!important;
	}

    .hide-on-mobile{
        display: none;
    }
	
	.header-text{
    p, h1, .wp-block-buttons{
        width: 100%;
        }
    }
    blockquote{
        display: none;
    }

    .badge{
        top: -50px;
        right: -50px;
        width: 200px;
}
    
    footer img{
        width: 120px!important;
        margin-top:50px;
        margin-bottom: 0px!important;
    }

    .min-height{
        min-height: 500px!important;
    }
}

@media (max-width: 599px) {
    .scale-font-size-on-mobile{
        font-size: 2.5em!important
    }
}