body,
html {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  font-family: 'Ubuntu', sans-serif;
}

.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100vh;
  color: white;
  /* Adjusted gradient transition point to 62% */
  background: linear-gradient(
    to bottom,
    #b299ea 0%,
    #b299ea 45%,
    #93c787 74%,
    #93c787 100%
  );

  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.text-section {
  padding-left: 5%;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.text-section h1 {
  font-size: 4vw; /* Responsive font size */
  margin: 0;
  line-height: 1.2;
}

.text-section p {
  font-size: 1.5vw;
  opacity: 0.9;
  margin-bottom: 20px;
}

.text-section button {
  color: white;
  padding: 1vw 2vw;
  text-transform: uppercase;
  font-size: 1.5vw;
  cursor: pointer;
  border: none;
  margin-top: 3rem;
  background-color: #5271FF;
  border-radius: 2rem;
}

.image-section {
  text-align: right;
  padding-right: 5%;
  flex: 1;
}

.image-section img {
  max-width: 100%;
  height: auto;
}

/* Media Queries */
@media (max-width: 1920px) {
  .text-section h1 {
    font-size: 3.5vw;
  }
  .text-section p {
    font-size: 1.25vw;
  }
  .text-section button {
    font-size: 1.25vw;
    padding: 1vw 2vw;
  }
}

@media (max-width: 1080px) {
  .text-section h1 {
    font-size: 5vw;
  }
  .text-section p {
    font-size: 1.75vw;
  }
  .text-section button {
    font-size: 1.5vw;
    padding: 1.5vw 3vw;
  }
}

@media (max-width: 768px) {
  .container {
    flex-direction: column;
    text-align: center;
  }

  .text-section,
  .image-section {
    padding: 20px;
    flex: none;
  }

  .text-section h1 {
    font-size: 8vw;
  }

  .text-section p {
    font-size: 4vw;
  }

  .text-section button {
    padding: 2vw 4vw;
    font-size: 4vw;
  }

  .image-section img {
    max-width: 80%;
  }
}

@media (max-width: 480px) {
  .text-section h1 {
    font-size: 9vw;
  }

  .text-section p {
    font-size: 5vw;
  }

  .text-section button {
    font-size: 5vw;
    padding: 3vw 6vw;
  }

  .image-section img {
    max-width: 90%;
  }
}

/* New Media Query for large screens (min-width: 1920px) */
@media (min-width: 1920px) {
  /* Fix the image size */
  .image-section img {
    width: 100%;
    height: auto;
    max-width: none;
  }
  /* Assign fixed widths and center the sections to reduce spacing */
  .text-section,
  .image-section {
    flex: 0 0 45%;
  }
  .text-section button {
    font-size: 2rem;
  }
  .container {
    justify-content: center;
  }
}



