/*
 Theme Name: Astra Child
 Theme URI: https://wpastra.com/
 Description: Tema child per Astra
 Author: Altabella
 Author URI: https://altabella.it/
 Template: astra
 Version: 1.0.0
*/

@import url("../astra/style.css");

/* ==========================================================================
   1. BREADCRUMB
   ========================================================================== */
.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 0 0 1em 0;
  font-size: 14px;
}
.breadcrumb li {
  display: flex;
  align-items: center;
}
.breadcrumb li:not(:last-child)::after {
  content: "›";
  margin: 0 0.5rem;
  color: #aaa;
}
.breadcrumb a {
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease;
}
.breadcrumb a:hover {
  border-bottom-color: #444;
}

/* ===========================
Animazione testo invertito
  ============================*/
.inverted-1 {
  display: inline-block;
  background: 
    linear-gradient(black 50%, #fff 0) 0 0 / 100% 200% no-repeat,
    linear-gradient(transparent 50%, black 0) 0 0 / 100% 200% no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  transition: background-position 0.8s;
}

.inverted-1:hover {
  background-position: 0 100%;
}

/* ===========================
        Moon Animation
   =========================== */
.moon{
	background-color: #1e272e;
	width: 250pxM height:250px;
	border-radius: 50%;
	position: relative;
	border: 1px solid
}
.moon::before{
	content: '';
	background-color: #fff;
	position: absolute;
	display: block;
	height: 100%; width: 100%;
	border-radius: 50%;
	z-index: -1;
	animation: 3s moon linear infinite alternate;
}
@keyframes moon{
	0%{
		transform: translateX(50px) scale(0.9);
		box-shadow: none;
	}
	50%{
		transform: translateX(0px 0px) scale(1.02);
		box-shadow: 0 0 10px #fff, 0 0 80px 2px #fff;
	}
	100%{
		transform: translateX(-50px) scale(0.9);
		box-shadow: none;
	}
}
