#loadingscreen {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background: black;
  z-index: 1000;
  color: white;
  overflow: hidden;
}

#loading-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the video covers the entire area */
  transform: translate(-50%, -50%);
  z-index: -1; /* Place the video behind the content */
}

#loader-wrapper {
  position: absolute;
  width: 90%;
  max-width: 1080px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  row-gap: 40px;
  justify-content: space-between;
  z-index: 1; /* Ensure the content is above the video */
}

#progress {
  width: 320px;
  height: 64px;
  background-color: #405DE6;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  margin-top: 50px;
}

#progress-bar {
width: 0%;
height: 100%;
background: white;
}

#loading {
font-size: 20px;
font-weight: 600;
letter-spacing: .5px;
text-transform: uppercase;  
color: black;

position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}

.cta {
  width: 320px;
  height: 64px;
  font-size: 20px;
  background: #405DE6;
  color: rgb(255, 255, 255);
  margin-top: 100px;
  border-radius: 10px;
  position: relative;
  overflow: hidden; /* Ensures the pseudo-element doesn't overflow */
  z-index: 1; /* Ensures the text is above the pseudo-element */
  border: none; /* Remove default border */
  cursor: pointer; /* Add pointer cursor */
  transition: color 0.25s ease-in-out; /* Smooth transition for text color */
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%; /* Start from the middle */
  width: 0; /* Start with no width */
  height: 100%;
  background: rgb(255, 255, 255); /* White background for the slide effect */
  transition: all 0.25s ease-in-out; /* Smooth transition for width and position */
  transform: translateX(-50%); /* Center the pseudo-element */
  z-index: -1; /* Ensures the pseudo-element is behind the text */
}

.cta:hover {
  color: black; /* Black text */
}

.cta:hover::before {
  width: 100%; /* Expand to full width */
  left: 50%; /* Keep it centered */
}

.cta:not(:hover)::before {
  width: 0; /* Retract back to no width */
  left: 50%; /* Keep it centered */
  transition: all 0.25s ease-in-out; /* Smooth transition for retracting */
}

@media only screen and (max-width: 600px) {
.cta {
width: 100%;
}
#progress {
width: 100%;
}
}