/*
 Theme Name:   Divi Child Theme From MP-Webdesign
 Theme URI:    https://www.elegantthemes.com/
 Description:  This child theme made by MP-Webdesign
 Author:       MP-Webdesign
 Author URI:   https://maxpruegner.com/
 Template:     Divi
 Version:      2.3.0
*/

/*-------------------Add any custom CSS below this line-------------------*/

.dyn-font-size h1 {
    font-size: clamp(3rem, 8vw, 7.2rem);
}
.dyn-font-size h2 {
    font-size: clamp(2.4rem, 4.4vw, 4rem);
}
.dyn-font-size h3 {
    font-size: clamp(2.2rem, 4vw, 3.6rem);
}
.dyn-font-size h4 {
    font-size: clamp(2rem, 3.6vw, 3rem);
}
strong {
	font-weight: 800 !important;
}
.bigword h2 {
    font-size: clamp(3.5rem, 12vw, 12rem);
}




.theme-builder-area-content--post_content .et_pb_section:first-child>.et-fb-mousetrap .et-fb-component-settings {
    top: 150px !important;
}

.et_pb_button {
    position: relative;
	text-align: center;
}
body:not(.et-fb) .numbered-text {
	position: relative;
	overflow: hidden;
}
.numbered-text:before,
.button-child {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    overflow: hidden;
    border-radius: inherit;
}

.numbered-text:before,
.button-child-inner{
    position: absolute;
    top: 0;
    left: -105%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.5s ease;
	pointer-events: none;
	transform: skewX(10deg);
}
.white-button .button-child-inner{
    background: rgba(27,44,68,.05);
}

body:not(.et-fb) .numbered-text:before{
	content: "";
	border-radius: 0 !important;
}
.et_pb_column:hover .numbered-text:before,
.et_pb_button:hover .button-child-inner{
    left: 105%;
}





.shine-element {
	position: absolute;
	width: 100%;
	height: 100%;
	inset: 0;
}

/* Sparkle star */
.shine-element::before,
.shine-element::after {
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    opacity: 0;
    pointer-events: none;

    background: white;
    
    /* Create 4-point star */
    clip-path: polygon(
        50% 0%, 
        60% 40%, 
        100% 50%, 
        60% 60%, 
        50% 100%, 
        40% 60%, 
        0% 50%, 
        40% 40%
    );

    transform: scale(0) rotate(0deg);
}
.white-button .shine-element::before,
.white-button .shine-element::after {
    background: rgba(27,44,68,.22);
}
.shine-element::before {
    top: 10%;
    right: 0;
}
.shine-element::after {
    bottom: 10%;
    left: 0;
}

.et_pb_button:hover .shine-element::before,
.et_pb_button:hover .shine-element::after {
    animation: starSparkle 0.8s ease-out .2s;
}

@keyframes starSparkle {
    0% {
        transform: scale(0) rotate(0deg);
        opacity: 0;
    }
    30% {
        transform: scale(1.8) rotate(45deg);
        opacity: .9;
    }
    60% {
        transform: scale(1.2) rotate(90deg);
        opacity: 0.7;
    }
    100% {
        transform: scale(0) rotate(180deg);
        opacity: 0;
    }
}




.et_pb_module.slider-as-BG, .et_pb_module.slider-as-BG .et_pb_slides, .et_pb_module.slider-as-BG .et_pb_slides .et_pb_slide {
    width: 100%;
    height: 100%;
}
.et_pb_module.slider-as-BG .et_pb_slide {
    transition: unset !important;
    opacity: 0 !important;
}
.et_pb_module.slider-as-BG .et_pb_slide.et-pb-active-slide {
    transition: opacity .5s ease-in-out !important;
    opacity: 1 !important;
}
.et_pb_module.slider-as-BG .et-pb-moved-slide {
    transition: opacity .5s ease-in-out !important;
}



.custom-butllets ul {
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    list-style-type: none;
}
.custom-butllets ul li {
    position: relative;
}
.custom-butllets ul li:not(:first-child):after {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #486591;
    position: absolute;
    left: -24px;
    top: 12px;
}
.et_pb_section.hero-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
}
body #page-container .et_pb_section .et_pb_row.header-row .et_pb_column {
    width: 1216px !important;
	max-width: 90%;
    margin-left: auto !important;
    margin-right: auto !important;
    float: unset !important;
}
.c-menu-style.et_pb_menu--with-logo .et_pb_menu__menu>nav>ul>li>a {
    padding: 15px 0;
}
.subhead-text .et_pb_text_inner div,
.subhead-text .et_pb_text_inner p,
.subhead-text .et_pb_text_inner{
	display: inline-block;
}
.subhead-text .et_pb_text_inner:not(:has(p)),
.subhead-text .et_pb_text_inner p {
  background: linear-gradient(90deg, #f59e0b, #ec4899, #8b5cf6, #06b6d4, #10b981, #f59e0b);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: subheadShimmer 3s linear infinite;
}
.subhead-text .et_pb_text_inner:not(:has(p)):before,
.subhead-text .et_pb_text_inner p:before {
    content: "————";
    letter-spacing: -.2px;
    display: inline-block;
    margin-right: 12px;
}

@keyframes subheadShimmer {
  to {
    background-position: -300% center;
  }
}

.list-blurb .et_pb_blurb_container {
    padding-left: 5px;
}
.full-height-img, .full-height-img span.et_pb_image_wrap, .full-height-img span.et_pb_image_wrap img {
    height: 100%;
    object-fit: cover;
}



.et_pb_module.numbered-text {
    width: fit-content;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zoom-image img {
    transition: all .5s ease-in-out;
	aspect-ratio: 410 / 270;
	object-fit: cover;
}
.zoom-image {
    overflow: hidden !important;
}
.et_pb_column:hover .zoom-image img {
    transform: scale(1.08);
}

@media (min-width: 981px) {
	.et_pb_row.mini-gutter .et_pb_column {
		width: calc(33.33% - 16px) !important;
		margin-right: 24px !important;
	}
	.et_pb_row.mini-gutter .et_pb_column:nth-child(3) {
		margin-right: 0 !important;
	}
}


.custom-counter .dipi_counter_number {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}
.custom-counter  span.dipi_counter_number_prefix {
    order: 4;
	width: 100%;
}
.custom-counter span.dipi_counter_number_suffix {
    display: flex;
    align-items: flex-end;
    padding: 0 0 7px 10px;
}
.custom-counter .dipi_counter_number {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    position: relative;
    inset: 0;
    transform: unset;
}
.custom-counter  .dipi_counter_number_wrapper {
    display: flex;
}
.custom-counter.centerd .dipi_counter_number {
    display: flex;
    justify-content: center;
}

@media (min-width: 981px) {
	.et_pb_row.counter-row .et_pb_column {
		width: 18.66% !important;
		margin-right: 3% !important;
	}
	.et_pb_row.counter-row .et_pb_column:first-child {
		width: 33% !important;
		margin-right: 5% !important;
	}
	.et_pb_row.counter-row .et_pb_column:nth-child(4) {
		margin-right: 0 !important;
	}
}
@media (min-width: 981px) {
	.et_pb_row.two-px-gap .et_pb_column {
		width: calc(25% - 1.5px) !important;
		margin-right: 2px !important;
	}
	.et_pb_row.two-px-gap .et_pb_column:nth-child(4) {
		margin-right: 0 !important;
	}
	.et_pb_row.image-on-left .et_pb_column {
		width: 28.5% !important;
		margin-right: 4% !important;
	}
	.et_pb_row.image-on-left .et_pb_column:nth-child(2) {
		width: 36% !important;
	}
	.et_pb_row.image-on-left .et_pb_column:nth-child(3) {
		margin-right: 0 !important;
	}
}

.change-color .et_pb_text_inner {
    transition: all .3s ease-in-out;
}
.et_pb_column:hover .change-color .et_pb_text_inner {
    color: rgba(255,255,255,.75);
}


.inline-blurb .et_pb_blurb_container {
    display: flex;
    transition: all .3s ease-in-out;
}
.inline-blurb .et_pb_module_header {
    width: 32px;
    padding: 6px 0 0 0;
}
