@import url('https://fonts.googleapis.com/css2?family=Mohave:wght@700&family=Oswald:wght@200;400&family=Poppins:wght@300;500;700&family=Roboto+Condensed&family=Titillium+Web:wght@200&display=swap');

.bgImage {
  position: absolute; /* Changed from relative to absolute */
  width: 100%;
  height: 100vh;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: 25s linear infinite;
}
.bgImage:nth-child(1) {
  /* background-image: url("1.jpeg"); */
  animation-name: bgChange1;
}
.bgImage:nth-child(2) {
  /* background-image: url("4.jpeg"); */
  animation-name: bgChange2;
}
.bgImage:nth-child(3) {
  /* background-image: url("2.jpg"); */
  animation-name: bgChange3;
}
.bgImage:nth-child(4) {
  /* background-image: url("8.jpeg"); */
  animation-name: bgChange4;
}

@keyframes bgChange1 {
  0%,
  20%,
  25% {
    opacity: 1;
  }
  45%,
  100% {
    opacity: 0;
  }
}
@keyframes bgChange2 {
  0%,
  20% {
    opacity: 0;
  }
  25%,
  45%,
  50% {
    opacity: 1;
  }
  70%,
  100% {
    opacity: 0;
  }
}
@keyframes bgChange3 {
  0%,
  45% {
    opacity: 0;
  }
  50%,
  70%,
  75% {
    opacity: 1;
  }
  95%,
  100% {
    opacity: 0;
  }
}
@keyframes bgChange4 {
  0%,
  70% {
    opacity: 0;
  }
  75%,
  95%,
  100% {
    opacity: 1;
  }
}
.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.3);
}

.content {
  position: relative;
  width: 100%;
  height: 100%;
  color: white;
  display: flex;
  justify-content: flex-start;
  align-items: start;
  flex-direction: column;
  z-index: 0;
  padding-left: 30px;
  
}
.content h1 {
  font-family: 'Oswald', sans-serif;
  font-size: 32px; /* Make the heading larger */
  font-weight: bold;
  margin-left: 50px;
  margin-top: 150px;
}
.content h1 span {
  
}
.content p {
  font-size: 16px;
  /* font-weight: bold; */
  width: 35%;
  padding-bottom: 1px;
  text-align: left;
  margin-top:20px ;
  margin-left: 50px;
  font-family: 'Oswald', sans-serif;

}
.content button {
  border: 1px solid #fff;
  color: #000;
  transition: border ease 0.7s;
  font-family: 'Oswald', sans-serif;
  padding: 7px 40px;
  font-size: 16px;
  border-radius: 0px;
  background-color: #fff;
  text-decoration: none;

  width: fit-content;
  margin-left: 50px;
}
.content button:hover {
  border: 1px solid gray;
			color: #000;
			transition: border ease 0.7s;
}

@media only screen and (max-width: 1300px) {
  .content p {
    font-size: 16px;
    /* font-weight: bold; */
    width: 60%;
    padding-bottom: 1px;
    text-align: left;
    margin-top:20px ;
    margin-left: 50px;
    font-family: 'Oswald', sans-serif;
  
  }
}