body { margin: 0; overflow: hidden; font-family: Arial, Helvetica, sans-serif}
canvas { display: block;  width: 100vw;  height: 100vh;}

#acoes {
  position: absolute;
  bottom: 35px;
  width: 100%;
  text-align: center;
}

#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../img/bg-loader.jpg');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 1s ease;
}

#loading-screen.fade-out {
  opacity: 0;
  pointer-events: none;
}

#logo-wrapper {
  width: 100%;
  max-width: 300px;
  margin: auto;
  overflow: hidden;
  background-color: #fff;
  padding: 4rem;
}

svg {
  width: 100%;
  height: auto;
  display: block;
  clip-path: inset(0 100% 0 0); /* esconde tudo à direita */
  animation: clipReveal 2s ease forwards;
}

@keyframes clipReveal {
  to {
    clip-path: inset(0 0% 0 0); /* revela tudo */
  }
}

.btn-success {
  font-size: 40px;
  width: 80px;
  height: 80px;
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
}

canvas {
  cursor: grab;
}

canvas.fade-out {
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 15;
  transition: opacity 0.5s ease;
  opacity: 1;
  transition: opacity 0.5s ease;
  display: flex;
  pointer-events: auto;
}

.modal.fade-out {
  opacity: 0;
  pointer-events: none;
}

.modal.hidden {
  display: none;
}

.modal-content {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  max-width: 700px;
  width: 90%;
}

.tutorial-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  display: flex;
  flex-direction: row;
  gap: 30px;
  justify-content: space-between;
}

.tutorial-list li {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  flex-direction: column;
}

.tutorial-list img {
  width: 32px;
  height: 32px;
}

#close-tutorial {
  background: #457543;
  color: white;
  border: none;
  padding: 10px 52px;
  border-radius: 6px;
  cursor: pointer;
  width: fit-content;
  margin: auto;
}

.tutorial-list .wrapper {
  width: 140px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.tutorial-list .wrapper-two {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1.2rem 0;
  pointer-events: none;
}

.tutorial-list span {
  max-width: 181px;
  font-weight: 600;
  display: block;
  line-height: 1.2;
}

.tutorial-list .d-flex {
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 1.55rem 0;
}

.tutorial-list .btntutorial {
  width: 50px;
  height: 50px;
  font-size: 18px;
  display: flex;
  pointer-events: none;
}

.tutorial-list .d-flex img {
  width: 50px;
  height: 50px;
  background-color: #198754;
  padding: .5rem;
  border-radius: 2rem;
}

.close-x {
  position: absolute;
  top: -18px;
  right: -14px;
  background: #457543;
  border: none;
  font-size: 14px;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  z-index: 10;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  border-radius: 2rem;
  align-items: center;
  align-content: center;
}

.close-x:hover {
  color: #000;
}

@media(max-width: 772px) {
  .tutorial-list {
        flex-direction: column;
  }
}

.label {
  font-family: 'Arial', sans-serif;
  transition: opacity 0.3s ease;
  opacity: 0;
}

.label.hidden {
  display: none !important;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.label.fade-in {
  animation: fadeIn 0.6s ease forwards;
}

.label.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 2s ease;
}
