main {
  display: flex;
  height: 100dvh;
}

main > div {
  width: 50%;
  padding: 2rem;
  height: 100%;
}

main > div:first-child {
  background-color: #fff;
}

main > div > img {
  width: 100%;
  height: 100%;
}

main > div:last-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

main > div > h1 {
  font-size: 5.5rem;
}

main > div > p {
  margin: 1rem 0;
  line-height: 1.5rem;
  font-size: 1.1rem;
  max-width: 90%;
}

main > div > a:first-child {
  width: fit-content;
}

main > div > a:first-child > span {
  font-size: 1.1rem;
  color: #f7931e;
}

main > div > a:last-child {
  display: inline-block;
  padding: 1rem 3rem;
  background-color: #f7931e;
  color: #fff;
  font-size: 1.1rem;
  border-radius: 1.5rem;
  width: fit-content;
  transition: 0.2s ease-in-out;
}

main > div > a:hover:last-child {
  background-color: #fff;
  color: #000;
}

/*-------------For phones and small mobile devices section--------------*/

@media screen and (max-width: 768px) {
  main > div > h1 {
    font-size: 4rem;
  }

  main > div > a:first-child {
    font-size: 1.1rem;
    padding: 0.5rem 0;
  }
}

/*-------------For ipads and tablets section--------------*/

@media screen and (max-width: 1024px) {
  main {
    flex-direction: column;
    min-height: 100dvh;
  }

  main > div {
    width: 100%;
  }

  main > div:last-child {
    align-items: center;
  }

  main > div > p {
    text-align: center;
  }
}
