html, body {
  height: 100%;
  display: flex;
  margin: 0;
  justify-content: center;
  align-items: center;
  background-color: #f5f5f5;
  font-size: 10px;
  font-family: "Open Sans";
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
}

section {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.leftrow1, .rightrow1, .row2 {
  margin: 8px;
  border-radius: 15px;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
  background-color: white;
}

.leftrow1 {
  width: 557px;
  height: 544px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 33px;
  align-items: center;
}

.leftrow1 h2 {
  align-self: flex-start;
  margin: 0;
  margin-top: 30px;
  margin-left: 40px;
  font-size: 3rem;
}

.input-field {
  width: 85%;
  height: 10%;
  background-color: #f5f5f5;
  border: none;
  border-bottom: 1px solid;
  padding-left: 20px;
  font-size: 1.7rem;
  box-sizing: border-box;
}

.main-button {
  width: 85%;
  height: 45px;
  background-color: #0A893C;
  color: white;
  border: none;
  border-radius: 15px;
  font-size: 1.75rem;
}

a {
  color: #178D43;
  font-size: 1.6rem;
}

.linetext {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 5px;
}

.linetext .line {
  height: 2px;
  width: 22%;
  background-color: #f5f5f5;
}

.linetext .need {
  display: block;
  font-size: 1.7rem;
}

.secondary-button {
  width: 85%;
  height: 45px;
  background-color: white;
  color: #0A893C;
  border: 2px solid;
  border-radius: 15px;
  font-size: 1.9rem;
}

.rightrow1 {
  width: 370px;
  height: 544px;
  background-color: #14A348;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px ;
}

#greenwhite {
  color: white;
  background-color: #14A348;
}

.rightrow1 img {
  align-self: flex-start;
  margin-top: 50px;
  margin-left: 10px;
  width: 120px;
}

.rightrow1 .text {
  color: white;
  align-self: flex-start;
  margin-left: 30px;
}

.rightrow1 .title {
  font-size: 2.4rem;
  font-weight: bold;
  margin-top: 0;
}

.rightrow1 .smalltext {
  font-size: 1.65rem;
  font-weight: lighter;
  margin-top: 10px;
  margin-bottom: 19px;
}

.row2 {
  width: 464px;
  height: 254px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.row2button {
  width: 85%;
  height: 45px;
  background-color: white;
  color: #0A893C;
  border: 2px solid;
  border-radius: 15px;
  font-size: 1.9rem;
  margin-top: 15px;
}

.row2 .smallblock {
  display: flex;
  align-items: center;
  align-self: flex-start;
  font-size: 2.4rem;
  font-weight: bold;
  margin-left: 40px;
  margin-top: 30px;
}

.row2 .smalltext {
  align-self: flex-start;
  margin-left: 40px;
  margin-right: 40px;
  font-size: 1.6rem;
}

.midtext {
  display: none;
}

.main-button:hover, .secondary-button:hover, .row2button:hover {
  cursor: pointer;
  transform: scale(1.05);
}

.fixed-help {
  position: fixed;
  right: -25px;
  bottom: 35%;
  width: 99px;
  height: 39px;
  background-color: #14A348;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  border-radius: 2px;
  transform: rotate(-90deg);
  box-shadow: 0 0 2px black;
}

.fixed-help:hover {
  cursor: pointer;
  transform: rotate(-90deg) scale(1.05);
}

@media (max-width: 600px) {

  html, body {
    height: auto;
    font-size: 7px;
  }

  .leftrow1, .rightrow1, .row2 {
    width: 100vw;
    margin: 0;
    border: none;
    border-radius: 0;
  }

  .leftrow1 {
    height: 400px;
    gap: 23px;
    width: 100vw;
  }

  .leftrow1 h2 {
    align-self: flex-start;
    margin: 0;
    margin-top: 20px;
    margin-left: 20px;
    font-size: 2.5rem;
  }

  .linetext .line {
    width: 18%;
  }

  .input-field {
    height: 40px;
  }

  .rightrow1 {
    height: 322px;
  }

  .rightrow1 .text {
    margin-left: 30px;
    margin-right: 30px;
  }

  .row2 {
    height: 173px;
  }

  section {
    flex-direction: column;
  }

  .rightrow1 img {
    width: 80px;
    margin-left: 20px;
    margin-top: 30px;
  }

  .row2 .smallblock {
    font-size: 2.08rem;
    font-weight: bold;
    margin-left: 20px;
    margin-top: 20px;

  }

  .row2 img {
    width: 20px;
  }

  .row2 .smalltext {
    margin-left: 20px;
    margin-right: 20px;
  }

  .midtext {
    display:inline;
  }

  .fixed-help {
    height: 29px;
    width: 75px;
    font-size: 1.5rem;
    bottom: 39%;   
  }

  .row2button {
    margin-top: 10px;
  }

}

