* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Farro", sans-serif;
}

#entire_block {
  background-color: #f3f3f3;
  width: 95%;
  padding: 2em 0;
  margin: 0 auto;
}

#inner_block {
  width: 96%;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
}

#right_block,
#left_block {
  width: 46%;
}

#left_block {
  padding-top: 22px;
}

#line {
  border-left: 1px solid white;
  opacity: 0.1;
  box-shadow: 1px 1px 2px rgb(255, 255, 255);
}

#selector {
  display: flex;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 50px;
}

.active {
  width: 33.33%;
  text-align: center;
  padding: 18px;
  color: white;
  font-size: 14px;
  background-color: #ef223f;
  pointer-events: none;
}

.passive {
  width: 33.33%;
  text-align: center;
  padding: 18px;
  color: white;
  font-size: 14px;
  background-color: #b8b8b8;
  cursor: pointer;
}
.passive:hover {
  background-color: #7a7a7a;
  transition-duration: 1000ms;
}

.salary_reg,
.salary_pure {
  text-align: center;
  width: 50%;
  padding: 18px 0;
}

.salary_reg {
  /* background-color: #EF223F; */
  color: white;
}

.salary_pure {
  /* background-color: #b8b8b8; */
  color: white;
}

#query_1 > p {
  font-size: 12px;
  text-align: end;
  margin-bottom: 10px;
  color: #ef223f;
  letter-spacing: 0.2px;
  font-style: italic;
}

#social_type {
  display: flex;
  margin-bottom: 50px;
}

.yes,
.no {
  width: 50%;
  font-size: 14px;
  text-align: center;
  padding: 18px;
  letter-spacing: 0.3px;
}

.yes,
.no {
  color: white;
}

.yes {
  color: white;
}

#query_2 {
  font-size: 12px;
  text-align: end;
  margin: 24px 0 10px;
  color: #ef223f;
  letter-spacing: 0.2px;
  font-style: italic;
}

#income_type {
  display: flex;
  margin-bottom: 20px;
}

.general,
.it,
.micro {
  width: 33.33%;
  text-align: center;
  padding: 18px;
  color: white;
  font-size: 14px;
}

#salary0_title {
  font-size: 12px;
  text-align: end;
  margin-bottom: 10px;
  color: #ef223f;
  letter-spacing: 0.2px;
  font-style: italic;
}

#salary0 {
  width: 100%;
  height: 50px;
  background-color: white;
  font-size: 35px;
  text-align: end;
  padding-right: 10px;
  margin-bottom: 22px;
  border: none;
  font-weight: 600;
  color: #ef223f;
  letter-spacing: 2.5px;
}

#salary_title {
  font-size: 12px;
  text-align: end;
  padding-bottom: 5px;
  color: #ef223f;
  letter-spacing: 0.2px;
  border-bottom: 1px solid #c8c7d8;
  font-style: italic;
}

#salary {
  width: 100%;
  height: 42px;
  font-size: 27px;
  text-align: end;
  padding: 6px 10px 0 0;
  font-weight: 600;
  color: black;
  letter-spacing: 2.5px;
  margin-bottom: 22px;
  border-bottom: 1px solid #c8c7d8;
}

#salary0:focus {
  outline: 1px solid #ef223f;
}

#income_title {
  font-size: 12px;
  text-align: end;
  padding-bottom: 5px;
  color: #ef223f;
  letter-spacing: 0.2px;
  border-bottom: 1px solid #c8c7d8;
  font-style: italic;
}

#income_tax {
  width: 100%;
  height: 42px;
  font-size: 27px;
  text-align: end;
  padding: 6px 10px 0 0;
  font-weight: 600;
  color: black;
  letter-spacing: 2.5px;
  margin-bottom: 22px;
  border-bottom: 1px solid #c8c7d8;
}

#social_title {
  font-size: 12px;
  text-align: end;
  padding-bottom: 5px;
  color: #ef223f;
  letter-spacing: 0.2px;
  border-bottom: 1px solid #c8c7d8;
  font-style: italic;
}

#social_fee {
  width: 100%;
  height: 42px;
  font-size: 27px;
  text-align: end;
  padding: 6px 10px 0 0;
  font-weight: 600;
  color: black;
  letter-spacing: 2.5px;
  margin-bottom: 22px;
  border-bottom: 1px solid #c8c7d8;
}

#stamp_title {
  font-size: 12px;
  text-align: end;
  padding-bottom: 5px;
  color: #ef223f;
  letter-spacing: 0.2px;
  border-bottom: 1px solid #c8c7d8;
  font-style: italic;
}

#stamp {
  width: 100%;
  height: 42px;
  font-size: 27px;
  text-align: end;
  padding: 6px 10px 0 0;
  font-weight: 600;
  color: black;
  letter-spacing: 2.5px;
  margin-bottom: 22px;
  border-bottom: 1px solid #c8c7d8;
}

#result_title {
  font-size: 12px;
  text-align: end;
  padding-bottom: 5px;
  color: #ef223f;
  letter-spacing: 0.2px;
  border-bottom: 1px solid #c8c7d8;
  font-style: italic;
}

#result {
  width: 100%;
  height: 42px;
  font-size: 27px;
  text-align: end;
  padding: 6px 10px 0 0;
  font-weight: 600;
  color: black;
  letter-spacing: 2.5px;
  margin-bottom: 22px;
  border-bottom: 1px solid #c8c7d8;
}

/* responsible */
@media (max-width: 768px) {
  #entire_block {
    width: 90%;
  }

  #inner_block {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #right_block,
  #left_block {
    width: 100%;
  }

  #selector {
    display: flex;
    flex-direction: column;
    font-size: 12px;
    margin-bottom: 30px;
    width: 104%;
  }

  .salary_reg,
  .salary_pure {
    width: 96%;
  }

  #social_type {
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
    width: 104%;
  }

  .yes,
  .no {
    width: 96%;
    font-size: 12px;
    text-align: center;
    padding: 18px;
  }

  #query_1 > p {
    font-size: 11px;
    text-align: end;
  }

  #query_2 {
    font-size: 11px;
    text-align: end;
  }

  #income_type {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    width: 104%;
  }

  .general,
  .it,
  .micro {
    width: 96%;
  }

  .general,
  .it {
    border-bottom: 1px solid rgb(109, 109, 109);
  }

  #salary0_title {
    font-size: 11px;
  }

  #salary_title {
    font-size: 11px;
  }

  #income_title {
    font-size: 10px;
  }

  #social_title {
    font-size: 11px;
  }

  #stamp_title {
    font-size: 11px;
  }

  #result_title {
    font-size: 11px;
  }
}

@media (min-width: 769px) and (max-width: 1200px) {
  #entire_block {
    width: 95%;
  }

  #selector {
    display: flex;
    flex-direction: column;
    font-size: 12px;
    margin-bottom: 30px;
    width: 104%;
  }

  .salary_reg,
  .salary_pure {
    width: 96%;
  }

  #social_type {
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
    width: 104%;
  }

  .yes,
  .no {
    width: 96%;
    font-size: 12px;
    text-align: center;
    padding: 18px;
  }

  #query_1 > p {
    font-size: 11px;
    text-align: end;
  }

  #query_2 {
    font-size: 11px;
    text-align: end;
  }

  #income_type {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    width: 104%;
  }

  .general,
  .it,
  .micro {
    width: 96%;
  }

  .general,
  .it {
    border-bottom: 1px solid rgb(109, 109, 109);
  }

  #salary0_title {
    font-size: 11px;
  }

  #salary_title {
    font-size: 11px;
  }

  #income_title {
    font-size: 10px;
  }

  #social_title {
    font-size: 11px;
  }

  #stamp_title {
    font-size: 11px;
  }

  #result_title {
    font-size: 11px;
  }
}

@media (min-width: 1201px) {
  .general,
  .it {
    border-right: 1px solid rgb(109, 109, 109);
  }
}
