@import url('./topbar.css');
@import url('./startscreen.css');
@import url('./gamescreen.css');
@import url('./login.css');
@import url('./signup.css');
@import url('./endscreen.css');
@import url('./responsiveness.css');

/* Reset and globals */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: #f3f4f6;
  font-family: sans-serif;
  background-image: url('../assets/images/homme_vitruve.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  color: #111827;
}

#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
}

.hidden {
    display: none !important;
  }

.outlined-text {
color: white;
-webkit-text-stroke: 0.9px black;
}

.floating-word {
position: absolute;
left: 50%;
top: 60%;
transform: translateX(-50%);
font-size: 2rem;
font-weight: bold;
color: gold;
animation: floatUp 2.5s ease-out forwards;
pointer-events: none;
z-index: 100;
}

@keyframes floatUp {
0% {
    opacity: 1;
    transform: translate(-50%, 0);
}
100% {
    opacity: 0;
    transform: translate(-50%, -100px);
}
}

.feedback {
font-weight: bold;
transition: color 0.3s;
}

.text-green {
color: green;
}

.text-red {
color: red;
}
