@import url(../styles-start.css);

#learn-hero-container {
  text-align: center;
  display: grid;
  grid-template-columns: repeat(3, 33%);
  column-gap: 2vh;
  width: 100%;
  height: 70vh;
  padding: 6%;
  padding-left: calc(50% - 500px);
  padding-right: calc(50% - 500px);
  background-color: #f2eded20;
  overflow: visible;
  background-color: #2c704d;
  color: white;
}

#hero-tekst-cont {
  grid-column: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: start;
  gap: 3vh;
  width: 100%;
  align-items: flex-start;
}

#hero-img-cont {
  grid-column: 2 / -1;
  min-height: fit-content;
  height: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

#hero-tekst-cont h2 {
  font-size: 4.6vh;
}

#hero-tekst-cont h4 {
  font-size: 2.5vh;
}

#hero-tekst-cont ul {
  padding-left: 1.8vh;
  font-weight: bold;
}

#hero-tekst-cont li {
  margin-bottom: 1vh;
}
#hero-img-cont img {
  width: 80%;
}

@media screen and (max-width: 430px) {
  #learn-hero-container {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    padding: 2vh;
  }

  #hero-tekst-cont {
    grid-row: 2;
  }
  #hero-img-cont {
    grid-row: 1;
    background-color: green;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  #hero-img-cont img {
    max-width: 100%;
    height: auto;
    max-height: 20vh;
  }
}
