.loading-screen {
    width: 100vw;
    height: 100vh;
    background-image: url('./img/wooden-floor-background.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.ctaDiv {
  width: 100vw;
  height: 100vh;
  background-image: url('./img/wooden-floor-background.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;

}
.allow-access{
  width: 270px;
  background-color: #F2F2F2CC;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border-bottom: 2px solid #c4bfbfcc;
  padding: 20px;
  color: #000000;
  font-weight: 600;
  font-size: 17px;
  height: auto;
  box-sizing: border-box;
}

.allow-access-button{
  width: 270px;
  background-color: #F2F2F2CC;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  padding: 10px;
  color: #007AFF;
  font-weight: 600;
  font-size: 17px;
  height: auto;
}
.gazette-animation {
    position: absolute; 
    left: 50%; 
    top: 50%; 
    transform: translate(-50%, -50%);
}

/* .lines {
    position: absolute;
    top: 45%;
    left: 72%;
    transform: translate(-60%, -60%);
    width: 80%;
    height: 60%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    opacity: 0;
    animation: fadeInLines 0.5s linear forwards;
  }
  .line {
    height: 3.91px;
    width: 40.4px;
    background-color: black;
    border-radius: 40px;
    transform: scaleX(0);
    animation: drawLine 0.7s linear forwards;
  }
  .line:nth-child(1) {
    animation-delay: 0s;
    width: 32.1px;
  }
  .line:nth-child(2) {
    animation-delay: 0.1s;
  }
  .line:nth-child(3) {
    animation-delay: 0.2s;
  }
  .line:nth-child(4) {
    animation-delay: 0.3s;
  }
  .line:nth-child(5) {
    animation-delay: 0.4s;
  }

  .dot {
    position: absolute;
    bottom: 10%;
    left: 10%;
    width: 4px;
    height: 4px;
    background-color: black;
    border-radius: 50%;
    animation: moveDot 0.5s linear forwards;
  }

  @keyframes moveDot {
    0% {
      transform: translate(0, 0);
      opacity: 1;
    }
    100% {
      transform: translate(53px, -76px);
    }
  }


  @keyframes fadeInLines {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }


  @keyframes drawLine {
    0% {
      transform: scaleX(0);
    }
    100% {
      transform: scaleX(1);
    }
  } */

  .lines {
    position: absolute;
    top: 45%;
    left: 72%;
    transform: translate(-60%, -60%);
    width: 80%;
    height: 60%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    opacity: 0;
    animation: fadeLines 4s linear infinite; /* Єдиний цикл появи та зникнення */
    animation-delay: 0.5s;
}

.line {
    height: 3.91px;
    width: 40.4px;
    background-color: rgb(249, 249, 249);
    border-radius: 40px;
    transform: scaleX(0);
    animation: drawLine 0.7s linear forwards;
}

.line:nth-child(1) {
    animation-delay: 0s;
    width: 32.1px;
}

.line:nth-child(2) {
    animation-delay: 0.1s;
}

.line:nth-child(3) {
    animation-delay: 0.2s;
}

.line:nth-child(4) {
    animation-delay: 0.3s;
}

.line:nth-child(5) {
    animation-delay: 0.4s;
}

.dot {
    position: absolute;
    bottom: 16.7%;
    left: 15.2%;
    width: 4px;
    height: 4px;
    background-color: black;
    border-radius: 50%;
    animation: moveDot 4s linear infinite; /* Циклічне повторення */
    animation-delay: 0.5s;
}

/* Анімація точки */
@keyframes moveDot {
    0% {
        transform: translate(0, 0);
        opacity: 1;
    }
    25% {
        transform: translate(48px, -68px); /* Вгору вправо */
    }
    50% {
        transform: translate(48px, -68px); /* Затримка у верхньому положенні */
    }
    75% {
        transform: translate(0, 0); /* Вниз вліво */
    }
    100% {
        transform: translate(0, 0); /* Повернення до початку */
    }
}

/* Єдина анімація для появи та зникнення рядків */
@keyframes fadeLines {
    0% {
        opacity: 0;
    }
    25% {
        opacity: 1; /* Лінії видимі */
    }
    50% {
        opacity: 1; /* Лінії залишаються видимими */
    }
    75% {
        opacity: 0; /* Початок зникнення */
    }
    100% {
        opacity: 0; /* Лінії зникли */
    }
}

/* Анімація "намальовування" ліній */
@keyframes drawLine {
    0% {
        transform: scaleX(0);
    }
    100% {
        transform: scaleX(1);
    }
}

