/*  
 * BUTTONS
 * COOKIES PLUGIN
 * CONTACT FORM 7
 * STICKY HEADER SCROLL BEHAVIOUR
 */


/* 
 * BUTTONS
 */
.wp-block-button__link.wp-element-button:hover {
    background-color: var(--wp--preset--color--custom-light-blue) !important;
}


/* 
 * COOKIES PLUGIN
 */
.cky-prefrence-btn-wrapper button.cky-btn.cky-btn-reject,
.cky-prefrence-btn-wrapper button.cky-btn.cky-btn-preferences,
.cky-prefrence-btn-wrapper button.cky-btn.cky-btn-accept {
    background: var(--wp--preset--color--custom-blue) !important;
    font-size: 1rem;
    color: var(--wp--preset--color--white) !important;
    border: none !important;
    border-radius: 9999px;
}
.cky-prefrence-btn-wrapper button.cky-btn.cky-btn-reject:hover,
.cky-prefrence-btn-wrapper button.cky-btn.cky-btn-preferences:hover,
.cky-prefrence-btn-wrapper button.cky-btn.cky-btn-accept:hover {
    background: var(--wp--preset--color--custom-light-blue) !important;
    border: none !important;
}
.cky-btn-revisit-wrapper {
    background: var(--wp--preset--color--custom-blue) !important;
}
.cky-btn-revisit-wrapper:hover {
    background: var(--wp--preset--color--custom-light-blue) !important;
}


/*
 * CONTACT FORM 7
 */
input.wpcf7-form-control.wpcf7-submit.has-spinner {
    background-color: var(--wp--preset--color--custom-blue);
    color: var(--wp--preset--color--white);
    border-radius: 9999px;
    border: none;
    font-size: 1rem;
    font-family: Montserrat, sans-serif;
    padding: calc(0.667em + 2px) calc(1.333em + 2px);
    margin-top: 1vw;
}
input.wpcf7-form-control.wpcf7-submit.has-spinner:hover {
    background-color: var(--wp--preset--color--custom-light-blue);
}


/*
 * STICKY HEADER SCROLL SHRINK-ON-SCROLL BEHAVIOUR
 */
html{
	scroll-behavior: smooth;
	scroll-padding-top: 150px;

}
.wp-block-site-logo img {
	width: 84px;
	transition: transform 0.4s ease;
	transform-origin: left center;
}
header .is-content-justification-space-between {
	max-height: 120px;
	transition: max-height 0.4s ease;
	overflow: hidden;
}
body.scrolled header .is-content-justification-space-between {
	max-height: 75px;
}
body.scrolled .wp-block-site-logo img {
	transform: scale(0.65);
}