/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.2
*/

html {
	scroll-behavior: smooth;
}

.paint-bg {
	position: relative;
}
.paint-bg:before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background-image: url('https://lornajordan.org/wp-content/uploads/2025/07/Paint-swatch-1.png');
  background-position: top center;
  background-repeat: no-repeat;
  background-size: 1440px;
  z-index: 0;
}
@media screen and (max-width: 1024px) {
	.paint-bg:before {
	  background-size: cover;
	}
}
@media screen and (max-width: 767px) {
	.paint-bg:before {
		background-position: center center;
	 	background-size: 800px;
		opacity: 0.7;
	}
}
/** Header **/
.site-header, .site-footer {
	position: relative;
	z-index: 2;
}
.main-navigation .inside-navigation {
    background: var(--yellow);
}
@media screen and (max-width: 1158px) and (min-width: 1025px) {
	#primary-menu .menu-item a {
		padding-right: 5px;
	}
}
@media screen and (max-width: 1083px) and (min-width: 1025px) {
	#primary-menu .menu-item a {
		padding-right: 0;
	}
}
@media screen and (max-width: 1058px) and (min-width: 1025px) {
	#primary-menu .menu-item a {
		padding-left: 10px;
	}
}
@media screen and (max-width: 1024px) {
	.inside-header {
		padding-left: 40px;
		padding-right: 40px;
	}
}
@media screen and (max-width: 767px) {
	.inside-header.grid-container {
		display: none;
		flex-direction: column-reverse;
		padding: 0;
	}
	.mobile-menu-control-wrapper {
		padding-left: 30px;
		padding-right: 10px;
		padding-top: 10px;
		background-color: #ffffff;
	}
	.site-logo {
		padding: 30px;
	}
    .has-inline-mobile-toggle .mobile-menu-control-wrapper {
        display: block;
        text-align: end;
		width: 100%;
    }
	#mobile-menu-control-wrapper .menu-toggle {
		display: inline-block ! important;
	}
	#site-navigation.toggled {
		position: absolute;
		top: 38px;
		right: 0;
		width: 100%;
	}
}
/** About Lorna Images **/
.lorna-jordan-image {
	max-width: 270px;
	aspect-ratio: 1 / 1.1;
    transform: rotate(-10deg);
}
.arch-image {
	transform: rotate(10deg);
}
@media screen and (min-width: 1600px) {
	.ls-overflow {
		overflow: visible ! important;
	}
}

/** Divider **/
.has-divider {
    position: relative;
    margin-bottom: 80px;
}
.has-divider:after {
    content: " ";
	background: url(https://lornajordan.org/wp-content/uploads/2025/07/divider.png);
    position: absolute;
    left: 0;
    bottom: -40px;
    width: 280px;
    height: 6px;
}
.has-divider.margin-40 {
	margin-bottom: 40px;
}
.divider-center.has-divider:after {
	left: 50%;
    transform: translate(-50%, 0);
}
@media screen and (max-width: 767px) {
	.mobile-center-divider.has-divider:after {
		left: 50%;
		transform: translate(-50%, 0);
	}
}
/**  **/

.changemaker-1 {
    background: url(https://lornajordan.org/wp-content/uploads/2025/07/changemaker-1-scaled.png);
    background-repeat: repeat;
    background-size: 1439px;
    background-position: center;
}
@media screen and (min-width: 1441px) {
	.changemaker-2 {
		background-image: url(https://lornajordan.org/wp-content/uploads/2025/07/changemaker-2-4.png);
		background-repeat: repeat-x;
		background-size: 1439px;
		background-position: center;
	}
}

/** Scroll Text Animation **/
.scrolling-text-container {
	overflow: hidden;
}
.scrolling-text-inner {
    display: flex;
    white-space: nowrap;
}
.text-nowrap {
	text-wrap: nowrap;
}
.scroll-text {
	display: flex;
  -moz-animation: scroll-text 50s linear infinite;
  -webkit-animation: scroll-text 50s linear infinite;
  animation: scroll-text 50s linear infinite;
	text-wrap: nowrap;
}
@media screen and (max-width: 767px) {
	.scroll-text {
	  -moz-animation: scroll-text 40s linear infinite;
	  -webkit-animation: scroll-text 40s linear infinite;
	  animation: scroll-text 40s linear infinite;
	}
}
/* for Firefox */
@-moz-keyframes scroll-text {
  from { -moz-transform: translateX(0); }
  to { -moz-transform: translateX(-110%); }
}

/* for Chrome */
@-webkit-keyframes scroll-text {
  from { -webkit-transform: translateX(0); }
  to { -webkit-transform: translateX(-100%); }
}

@keyframes scroll-text {
  from {
    -moz-transform: translateX(0);
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  to {
    -moz-transform: translateX(-100%);
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
  }
}