@keyframes slide {
  0% {
    top: -100%;
    opacity: 0;
  }
  20%, 60% {
    top: 0;
    opacity: 1;
  }
  90%, 100% {
    top: 100%;
    opacity: 0;
  }
}

.line {
  /* No display property needed, so it defaults to block */
}

.static, #dynamic-word-container {
  line-height: 50px; /* Match the font size */
  vertical-align: bottom;
}

.static {
  color: #1E1B69;
  font-weight: bold;
  font-size: 50px;
}

#dynamic-word-container {
  display: inline-block;
  overflow: hidden;
  height: 50px;
}

#dynamic-word {
  color: #6FBA0D;
  font-weight: bold;
  animation: slide 3s linear infinite;
  position: relative;
  font-size: 50px;

}

.background-image-module {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 1100px;
  width: 100%;
}

.header-text {
  position: absolute;
  top: 150px;
  font-size: 50px;
  font-family: 'Metropolis';
  font-weight: bold;
  line-height: 1.2;
  margin-left: 0px;
}

.paragraph-text {
  position: absolute;
  top: 330px; 
  font-family: 'Metropolis';
  max-width: 700px;
  margin-left: 0px;
}

.cta-button {
  position: absolute;
  margin-top: 430px; 
  margin-left: 0px;
}

h1 span, h1 div {
  display: inline;
}

/* Media query for mobile */
@media (max-width: 360px) {
  .static-line {
    text-align: left;
    width: 80%;
    margin-left: 0px;
  }
  
  .background-image-module {
    height: 1000px;
    width: 100%;
  }

  .static {
    display: block;
    margin-left: 0px;
  }

  #dynamic-word-container {
    margin-top: 00px;
  }
.paragraph-text {
  margin-right: 20px;
}

/* Media query for desktop */
@media (min-width: 830px) {
  .static-line {
    display: inline-block;
    margin-left: 500px;
  }

  .static {
    display: inline;
    margin-right: 0px;
  }

  #dynamic-word-container {
    margin-left: 10px; /* Add left margin for alignment */
  }

.cta-button {
  margin-top: 375px; 
  }
}