* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow-x: hidden;
}

header {
  width: 100vw;
  height: 10vh;
  background-color: #008036;
  color: white;
  padding-left: 1vw;
  font-size: 40px;
  font-style: italic;
  display: flex;
  flex-direction: row;
  align-items: center;
  position: sticky;
  top: 0;
}

main {
  display: flex;
  justify-content: stretch;
  align-items: center;
  width: 100vw;
  height: 90vh;
}

section {
  direction: rtl;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2.5vh;
  padding: 30px;
}

@media (min-width: 1000px) {
  header {
    justify-content: flex-start;
  }
  main {
    flex-direction: row;
  }
  #mainPhoto {
    height: 100%;
    width: 40%;
  }
  section {
    width: 60%;
    height: 100%;
  }
  h1 {
    font-size: 45px;
  }

  p {
    font-size: 25px;
  }
}

@media (max-width: 1000px) {
  header {
    justify-content: center;
  }
  main {
    flex-direction: column;
  }
  #mainPhoto {
    width: 100%;
  }
  section {
    width: 100%;
    padding: 5vh 5vw;
  }
  h1 {
    font-size: 35px;
  }

  p {
    font-size: 20px;
  }
}
