h2 {
  font-size: 2.2em;
}

h2 span {
  font-size: 1em;
}

.hero-section {
  min-height: 60vh;
}

main {
  overflow: hidden;
  width: auto;
}

.main-header {
  min-height: 55vh;
  margin: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scrolldown {
  margin-top: 20px;
}

.main-header-content {
  padding: 0 5vw;
  text-align: center;
}

#underline {
  position: relative;
}

#underline::after {
  position: absolute;
  content: url(../../static/green-mark-mobile.png);
  top: -25%;
  left: 0;
  width: 100%;
  height: 60px;
  z-index: -1;
}

.main-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 50px;
}

.main-content div p {
  position: relative;
}

.main-content div {
  max-width: 45vw;
}

.main-content div:nth-child(odd) {
  transform: translateX(-50%);
  text-align: end;
}

.main-content div:nth-child(even) {
  transform: translateX(calc(50%));
  text-align: start;
}

.main-content div:nth-child(odd) p::after {
  position: absolute;
  content: "";
  top: 50%;
  right: -50px;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--green);
}

.main-content div:nth-child(even) p::after {
  position: absolute;
  content: "";
  top: 50%;
  left: -50px;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--blue);
}

.return-btn-container {
  background-color: var(--bg);
  height: 200px;
  width: 200px;
  overflow: hidden;
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  margin: 60px auto 80px auto;
  border: 3px solid var(--green);
  transition: all 0.4s ease;
}

#bottom-return-btn {
  color: var(--green);
  font-size: 2.2em;
  padding: 100px 40px;
  transition: all 0.4s ease;
}

#bottom-return-btn:hover {
  color: var(--bg);
  background-color: var(--green);
}

/* tablets */
@media screen and (min-width: 768px) {
  h2 {
    font-size: 2.6em;
  }

  .scrolldown {
    margin-top: 100px;
  }

  .main-header {
    margin-top: 50px;
    min-height: 60vh;
  }

  #underline::after {
    content: url(../../static/green-mark.png);
    height: 80px;
    top: -30%;
  }

  .main-content div:nth-child(even) {
    transform: translateX(calc(50% + 30px));
  }

  .main-content div:nth-child(4n) {
    transform: translateX(calc(50% + 80px));
  }
}
