/*
Theme Name: Alowa
Theme URI: 
Author: Alowa Studio
Author URI: 
Description: Un thème FSE développé par Alowa Studio.
Requires at least: 6.9
Tested up to: 6.9
Requires PHP: 7.2
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: alowa
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news

/*
 * IMPORTANT: This file is only served on the frontend when `SCRIPT_DEBUG` is enabled;
 * in most instances, the `style.min.css` file will be served. It is not recommended that you
 * use the Theme File Editor to modify this stylesheet. Instead, add the necessary style
 * overrides via "Additional CSS" in the Site Editor.
 */


/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */
a {
	text-decoration-thickness: 1px !important;
	text-underline-offset: .1em;
}

/* Focus styles */
:where(.wp-site-blocks *:focus) {
	outline-width: 2px;
	outline-style: solid;
}

/* Increase the bottom margin on submenus, so that the outline is visible. */
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
	margin-bottom: 3px;
}

/* Increase the outline offset on the parent menu items, so that the outline does not touch the text. */
.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
	outline-offset: 4px;
}

/* Remove outline offset from the submenus, otherwise the outline is visible outside the submenu container. */
.wp-block-navigation .wp-block-navigation-item ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	outline-offset: 0;
}

/*
 * Progressive enhancement to reduce widows and orphans
 * https://github.com/WordPress/gutenberg/issues/55190
 */
h1,
h2,
h3,
h4,
h5,
h6,
blockquote,
caption,
figcaption,
p {
	text-wrap: pretty;
}

/*
 * Change the position of the more block on the front, by making it a block level element.
 * https://github.com/WordPress/gutenberg/issues/65934
*/
.more-link {
	display: block;
}

/*
 * Prevents unnecessary scrollbars while handling long lines of preformatted text.
 * https://core.trac.wordpress.org/ticket/63875
 */
:where(pre) {
	overflow-x: auto;
}




/* ***************************************** */
/* Custom CSS */
/* ***************************************** */

/* ***************************************** */
/* Global */
/* ***************************************** */
/* Alowa Studio logo fill color */
body {
	--wp--preset--color--fill: #fff6fd;
}

/* ***************************************** */
/* Scrolling text custom CSS */
/* ***************************************** */
.scrolling-text-container {
	width: 100vw;
	overflow: hidden;
	position: relative;
	margin-left: calc(-50vw + 50%);
	margin-right: calc(-50vw + 50%);
	padding: var(--wp--preset--spacing--40) 0;
}

.scrolling-text-track {
	display: flex;
	width: max-content;
	/* animation: scroll 10s linear infinite; */
	gap: var(--wp--preset--spacing--50);
}

.scrolling-text-track .wp-block-group {
	display: flex;
	gap: var(--wp--preset--spacing--50);
	flex-wrap: nowrap;
	white-space: nowrap;
}

@keyframes scroll {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(-50%);
	}
}


/* ***************************************** */
/* Background Banner animation */
/* ***************************************** */
@keyframes rotate-infinite {
	from {
		transform: scale(1.8) rotate(0deg);
	}

	to {
		transform: scale(1.8) rotate(360deg);
	}
}

.BgBanner>img {
	animation: rotate-infinite 30s linear infinite;
	transform-origin: center;
	will-change: transform;

}


/* ***************************************** */
/* Mobile Responsive mobile */
/* ***************************************** */
@media (max-width: 768px) {

	/* artist img */
	.artistesImg {
		transform: scale(1);
	}

	/* adjust background animation for mobile */
	@keyframes rotate-infinite {
		from {
			transform: scale(2.5) rotate(0deg);
		}

		to {
			transform: scale(2.5) rotate(360deg);
		}
	}

	.BgBanner>img {
		animation: rotate-infinite 60s linear infinite;
		transform-origin: center;
		will-change: transform;

	}

	.scrolling-text-container {
		margin-top: clamp(-90px, -7vh, -20px);
	}

	/* align text mobile */
	.text-center-mobile {
		text-align: center !important;
	}

	.center-mobile {
		justify-content: center;
		align-items: center;
		display: flex;
	}
}




/* ************** */
/* Desktop media query */
/* ************** */

@media (min-width: 769px) {
	.vertical-margin-desktop {
		padding-top: var(--wp--preset--spacing--20) !important;
		padding-bottom: var(--wp--preset--spacing--20) !important;
		position: absolute;
	}

	.scrolling-text-container {
		margin-top: clamp(-170px, -16vh, -20px) !important;
	}

	.button-col {
		padding-right: var(--wp--preset--spacing--30) !important;
	}

	.info-col {
		gap: 15vw !important;
	}
}