/**
 * Theme Switcher plugin css
 */
body {
	transition: color 0.6s, background-color 0.3s;

	/* Buttons for theme switching in dark theme */
	.wp-block-button.theme-toggle a.wp-block-button__link {
  	&:hover {
			background-color: #e6edf3;
  	}
	}

	/* Apply overlay to codex-block to transition linear gradient */
	[style*="rgb(36,41,47) 98%);"] {
		position: relative;
	}

	[style*="rgb(36,41,47) 98%);"]::before {
		content: '';
		position: absolute;
		inset: 0;
		background: linear-gradient(90deg,rgb(132,123,236) 88%, #e6edf3 98%) !important;
		opacity: 0;
		transition: opacity 0.3s ease;
	}
}

html.light-theme body{
	background-color: #e6edf3;
	color: #24292f;

	header > div[style],
	footer > div[style] {
		background-color: #dfebf4 !important;
	}

	/* CV/Bio block color */
	.has-contrast-color {
		color: #24292f !important;

		/* link to internal page */
		a[href*="tacconiweb.com/dettagli-personali/"] {
			color: #24292f;

			&:hover {
				color: #79c0ff;
			}
		}
	}

	/* Show codex-block linear gradient overlay */
	[style*="rgb(36,41,47) 98%);"]::before {
		opacity: 1;
	}

	/* Buttons for theme switching */
	.wp-block-button.theme-toggle a.wp-block-button__link  {
		background-color: unset;
		border-color: #24292f;

  	&:hover {
			background-color: #24292f;
  	}
	}
}

