/* 
Theme Name: TIVIA Theme
Author: TIVIA
Template: hello-elementor
Version: 1.0
Text Domain: tivia-child
License: All Right Reserved
*/


/* Base */
body {
  margin: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background: black;
  font-family: Arial, sans-serif;
  padding: 1rem;
}

/* Sfondo */
.background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Stelle */
.stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: 1;
  pointer-events: none;
}

.star {
  position: absolute;
  background: white;
  border-radius: 50%;
  opacity: 0.8;
  animation: sparkle 2s infinite ease-in-out, drift 60s linear infinite;
}

/* Luccichio */
@keyframes sparkle {
  0%, 100% { opacity: 0.9; }
  50% { opacity: 0.2; }
}

/* Movimento lento */
@keyframes drift {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(50px, 100px);
  }
}

/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(1px) brightness(0.5);
  z-index: 2;
}

/* Foreground */
.foreground {
  position: relative;
  z-index: 3;
  text-align: center;
  color: white;
}

.foreground img {
  max-width: 100%;
  width: 420px;
  margin-bottom: 20px;
}

#countdown {
  font-size: 2rem;
  font-weight: bold;
}


/*** FORM ***/

html .ff-default .ff_btn_style:hover {
  opacity: 1;
}
