/*ZÁKLAD*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  background-image: url(images/background-workplace.jpg);
  background-repeat: no-repeat;
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  color: rgb(255, 255, 255);
  background-attachment: fixed; 
}

/*COFFEE LOADING*/
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #4e022d;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s;


}


.coffee {
  text-align: center;
  color: #ff96e1;
  font-family: "Bentham", serif;
}

/*HRNEK*/
.cup {
  width: 80px;
  height: 60px;
  background: #fff;
  border-radius: 0 0 40px 40px;
  position: relative;
  margin: 0 auto 15px;
}

/*UCHO*/
.cup::after {
  content: "";
  position: absolute;
  right: -20px;
  top: 10px;
  width: 20px;
  height: 30px;
  border: 5px solid #fff;
  border-left: none;
  border-radius: 0 20px 20px 0;
}

/*PÁRA*/
.steam {
  position: absolute;
  width: 8px;
  height: 20px;
  background: rgba(255,255,255,0.7);
  top: -25px;
  left: 20px;
  border-radius: 50%;
  animation: steam 2s infinite ease-in-out;
}

/*DELAY*/
.steam:nth-child(2) {
  left: 35px;
  animation-delay: 0.3s;
}

.steam:nth-child(3) {
  left: 50px;
  animation-delay: 0.6s;
}

/*ANIMACE PÁRY*/
@keyframes steam {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0.7;
  }
  100% {
    transform: translateY(-30px) scale(1.5);
    opacity: 0;
  }
}


/*MENU*/
.menu {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 15px;
  z-index: 100;
  flex-wrap: wrap;
}


.menu a {
  color: white;
  text-decoration: none;
  font-size: 1.6rem;
  transition: 0.3s;
}

.menu a:hover {
  color: #ff01ff;
}

/*HLAVNÍ OBSAH*/
.game-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  padding-top: 80px;

}



/*NADPIS*/
.game-section h1 {
  font-size: 5rem;
  margin-bottom: 40px;
  text-shadow: 3px 3px 0 #171116;
}

/*TLAČÍTKA*/
.buttons {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.btn {
  background: linear-gradient(#fb00bc2f, #ef07e3);
  padding: 15px 50px;
  border-radius: 40px;
  font-size: 2rem;
  text-align: center;
  text-decoration: none;
  color: white;
  font-weight: bold;
  border: 4px solid #8b002e;
  box-shadow: 0 6px 0 #5a003b;
  transition: 0.2s;
}

.btn.disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: auto;
}

.btn.disabled:hover {
  transform: none;
}


.btn:hover {
  transform: translateY(-5px);
}

.btn:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #5a003e;
}



/* RESPONZIVITA*/
@media (max-width: 768px) {

  .game-section h1 {
    font-size: 3rem;
  }

}



@media (max-width: 600px) {
  .menu {
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    align-items: center;
  }

  .menu a {
    font-size: 1.4rem;
  }
}

@media (max-width: 768px) {
  .buttons {
    width: 100%;
    align-items: center;
  }

  .btn {
    width: 80%;
    text-align: center;
  }
}

/* PATIČKA*/
.footer {
  background: rgba(17,6,26,0.9);
  color: white;
  padding: 40px 20px;
  font-size: 1.3rem;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
}

.footer-logo img {
  width: 60px;
}

.footer-logo p {
  color: #ff8de1;
  margin-top: 10px;

}

.footer-contact p {
  margin: 5px 0;
}

.footer-contact a {
  color: #ff8de1;
}

.footer-form {
  max-width: 300px;
  width: 100%;
}

.footer-form input,
.footer-form textarea {
  width: 100%;
  padding: 8px;
  margin-bottom: 10px;
  border-radius: 5px;
  border: none;
}

.footer-form button {
  width: 100%;
  padding: 10px;
  background: #d630b0;
  color: white;
  border-radius: 5px;
  border: none;
  cursor: pointer;
}

.footer-form button:hover {
  
  background: #ffffff;
  color: rgb(253, 91, 248);
  cursor: pointer;
  font-weight: 700;
  transition: 1s ease;
}

.footer-contact a:hover {
  color: rgb(255, 255, 255);
}

.footer-bottom {
  text-align: center;
  font-size: 1.2rem;
  margin-top: 20px;
}
