/**/
/**/
/**/
/**/
/*width: clamp(250px, 100%, 2000px);*/

/* CONTAINERS */
#zyanthos_tool_container {
  display: flex;
  justify-content: center;
  align-items: center;

  flex-direction: column;
  box-sizing: border-box;

  width: 100%;
  max-width: 1440px;
  min-height: 85vh;
  gap: 2rem;
}

#zyanthos_info_container {
  display: flex;
  justify-content: flex-start;

  flex-direction: row;
  box-sizing: border-box;

  width: 100%;

  flex-grow: 1;

  padding: 0 2rem 0;
}
#zyanthos_content_container {
  display: flex;
  justify-content: flex-start;

  flex-direction: row;
  box-sizing: border-box;

  width: 100%;
  flex-grow: 1;

  padding: 0 2rem 0;
}

/**/
/**/
/**/
/**/
/**/

/* INFO */
.zyanthos_info_container {
  display: flex;
  flex-direction: row;
  box-sizing: border-box;
  gap: 3rem;

  background-color: #b9f8f3;
  border: 5px solid #668cff;

  padding: 1.5rem 1rem 1rem;

  border-radius: 15px;
  width: 100%;
}

.zyanthos_info_column {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.zyanthos_info_element {
  margin-bottom: 2rem;
}

/**/
.zyanthos_info_title {
  display: flex;
  align-items: center;
  box-sizing: border-box;

  width: 100%;
  border-bottom: 1px solid black;

  margin-bottom: 1rem;
  font-weight: bold;
  font-size: 1.3rem;
}

/* INFO - EXPLANATION */
.body_box_A_text_container {
  display: flex;
  flex-direction: column;
  justify-content: left;
  margin-bottom: 1rem;
  font-size: clamp(0.8rem, 1rem, 1.2rem);
}
.body_box_A_text_A {
  display: flex;
  font-weight: bold;
}
.body_box_A_text_B {
  display: flex;
}

/**/
/**/
/**/
/**/
/**/

/**/
/**/
/**/
/**/
/**/

/**/
/**/
/**/
/**/
/**/

/* MENU */
.zyanthos_menu_container {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;

  background-color: #b9f8f3;
  margin: 0 0 2rem 0;
  padding: 1.5rem 1rem 1rem;
  border: 5px solid #668cff;
  border-radius: 15px;
  width: 100%;
}
.zyanthos_menu_title {
  display: flex;
  align-items: center;
  box-sizing: border-box;

  width: 100%;
  border-bottom: 1px solid black;
  margin-bottom: 1rem;

  font-weight: bold;
  font-size: 130%;
}
.zyanthos_menu_body {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;

  width: 100%;
  height: 100%;
}

/**/
/**/
/**/
/**/
/**/

/* MENU - BODY */
.menu_body_container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
}
.menu_body_row_A {
  display: flex;

  width: 100%;
  height: 100%;
}

.menu_body_row_A > * {
  flex: 1;
  height: 100%;
}

.menu_body_row_B {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/**/
.menu_body_steps {
  flex: 1;
  flex-direction: column;
  min-width: 300px;
}
.menu_body_preview {
  flex: 1;
}
.menu_body_preview_mobile {
  display: none;
}

/**/
/**/
/**/
/**/
/**/

/* MENU - STEPS */
.menu_step_container {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;

  width: 100%;

  padding-top: 0.5rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* MENU - STEP TITLE */
.menu_step_title {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 5px;
}
.menu_step_title_A {
  display: flex;
  flex-wrap: nowrap;
  font-size: 1rem;
  min-width: fit-content;
}
.menu_step_title_B {
  font-size: 1rem;
  font-style: italic;
}

/**/
/**/
/**/
/**/
/**/

/* MENU - STEP 1 */
.menu_S1_container {
  display: flex;
  flex-direction: row;
  margin-bottom: 1rem;
}
.menu_S1_worksheet_title {
  border: 1px solid black;
  border-radius: 10px;
  width: 100%;
  height: 2rem;
  background-color: #f0eca2;
  padding-left: 0.5rem;
  font-size: 1rem;
  cursor: pointer;
}

/* MENU - STEP 2 */
.menu_S2_container {
  display: flex;
  flex-direction: row;
  margin-bottom: 1rem;
}
.menu_S2_selector {
  border: 1px solid black;
  border-radius: 10px;
  width: 100%;
  height: 2rem;
  background-color: #f0eca2;
  padding-left: 0.5rem;
  font-size: 1rem;
  cursor: pointer;
}

/* MENU - STEP 3 */
.menu_S3_container {
  display: flex;
  flex-wrap: auto;
  gap: 1rem;
  margin-bottom: 1rem;
}
.menu_S3_selector {
  flex: 1;
  border: 1px solid black;
  border-radius: 10px;
  height: 2rem;
  background-color: #f0eca2;
  padding-left: 0.5rem;
  font-size: 1rem;

  min-width: fit-content;
  cursor: pointer;
}

/* STEP 4 */
.menu_S4_container {
  display: flex;
  flex-direction: row;
  margin-bottom: 1rem;
}
.menu_S4_selector {
  border: 1px solid black;
  border-radius: 10px;
  width: 100%;
  height: 2rem;
  background-color: #f0eca2;
  padding-left: 0.5rem;
  font-size: 1rem;

  cursor: pointer;
}

/* STEP 5 is seperate */

/* STEP 6 */
.menu_S6_container {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  margin-bottom: 1rem;
}
.menu_S6_btn {
  display: flex;
  justify-content: center;
  align-items: center;

  width: 100%;
  height: 100%;

  background-color: #afffaa;
  border: 1px solid black;
  border-radius: 10px;

  padding: 0.5rem;

  font-size: clamp(10px, 1rem, 20px);

  cursor: pointer;
}

/**/
/**/
/**/
/**/
/**/

/* MENU - STEP 5 */
.S5_menu_container {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 1rem;
}

/* S5 - ELEMENTS */
.S5_calc_box {
  display: none;
  flex-direction: row; /* of column, afhankelijk van je layout */

  gap: 2%;
  height: auto;
}

.S5_calc_box_main {
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  width: 25%;
}
.S5_calc_box_sub {
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  width: 75%;
  height: auto;
}
.S5_calc_box_combined {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 15px;

  width: 100%;
}
.S5_calc_box_inbetween {
  display: flex;
  flex-direction: column;
  margin-bottom: -1rem;
}

/**/
/**/
/**/
/**/
/**/

/**/
/**/
/**/
/**/
/**/

/**/
.S5_calc_box_title {
  font-size: 0.8rem;
  padding-top: 7.5px;
  padding-bottom: 3px;
}

.S5_calc_box_sub_body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  gap: 10px;

  height: auto;
}
.S5_calc_box_sub_body_row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 2%;
}

.S5_calc_box_inbetween_row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

/* S5_BUTTONS */
.S5_calc_btn_main {
  display: flex;
  justify-content: center;
  align-items: center;

  width: 100%;
  height: 100%;

  background-color: #f0eca2;
  border: 1px solid black;
  border-radius: 10px;

  font-size: clamp(0.8rem, 1vw, 1.2rem);
  cursor: pointer;
}
.S5_calc_btn_main.active {
  background-color: #73c047;
}

.S5_calc_btn_sub {
  display: flex;
  justify-content: center;
  align-items: center;

  box-sizing: border-box;
  cursor: pointer;
  pointer-events: all;

  background-color: #f0eca2;
  border: 1px solid black;
  border-radius: 10px;

  width: 100%;
  height: 100%;
  padding: 0.5rem 0;

  font-size: clamp(0.8rem, 1vw, 1rem);
  cursor: pointer;
}
.S5_calc_btn_sub.active {
  background-color: #73c047;
}

.S5_calc_btn_combined {
  display: block;
  pointer-events: all;
  cursor: pointer;
  box-sizing: border-box;

  width: 100%;
  height: 100%;
  background-color: #f0eca2;
  border: 1px solid black;
  border-radius: 10px;

  padding: 0.2rem;
  padding-left: 5px;
  padding-right: 5px;

  font-size: clamp(0.8rem, 1vw, 1rem);
  cursor: pointer;
}
.S5_calc_btn_combined.active {
  background-color: #73c047;
}

.S5_calc_btn_inbetween {
  display: flex;
  justify-content: center;
  align-items: center;

  box-sizing: border-box;
  cursor: pointer;
  pointer-events: all;

  background-color: #f0eca2;
  border: 1px solid black;
  border-radius: 10px;

  width: 100%;
  height: 100%;
  padding: 0.5rem 0;

  font-size: clamp(0.8rem, 1vw, 1rem);
  cursor: pointer;
}
.S5_calc_btn_inbetween.active {
  background-color: #73c047;
}

/**/
/**/
/**/
/**/
/**/

/**/
/**/
/**/
/**/
/**/

.S5_kend_box {
  display: none;
  flex-direction: column;
  box-sizing: border-box;

  border: 1px solid black;
  border-radius: 10px;
  padding: 2%;

  font-size: 1rem;
  background-color: #afffaa;
}
.S5_kend_title {
  display: block;
  padding-left: 1rem;
  padding-bottom: 0.5rem;
  font-weight: bold;
  width: 70%;
}
.S5_kend_text {
  font-size: 0.8rem;
}

.S5_kend_row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
.S5_kend_column_A {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: end;

  width: 15%;
}
.S5_kend_column_B {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;

  width: 15%;
}
.S5_kend_column_C {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;

  width: 7%;
}

/**/
/**/
/**/
/**/
/**/

/**/
/**/
/**/
/**/
/**/

/**/
/**/
/**/
/**/
/**/

/* WORKSHEET - TITLE */
.worksheet_title_container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;

  height: 2.5rem;
  width: 100%;

  display: flex;
  font-weight: bold;
}

/* WORKSHEET - BODY */
.worksheet_body_container {
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;

  width: 100%;
  height: 100%;

  padding: 1rem;
}

/**/
/**/
/**/
/**/
/**/

/**/
.worksheet_scaler_wrapper {
  width: 100%;
  aspect-ratio: 297 / 210;
  position: relative;
  overflow: hidden;

  display: flex;
  justify-content: center;
  align-items: start;
}

/**/
.worksheet_container {
  display: flex;
  justify-content: center;
  box-sizing: border-box;

  padding: 1rem;
  height: 100%;
  min-width: 500px;
}

.worksheet {
  box-sizing: border-box;
  aspect-ratio: 297 / 210;
  flex: 1;

  max-width: calc(297mm / 2.3);
  max-height: calc(210mm / 2.3);

  min-width: calc(297mm / 4);
  min-height: calc(210mm / 4);

  background-color: #f0f0f0;
  box-shadow: 0 0 10px rgba(0, 0, 0, 1);
}

/**/
.worksheet_title_box {
  display: flex;
  justify-content: left;
  align-items: end;
  box-sizing: border-box;

  height: 9%;
  padding: 0 4% 1%;
  flex-shrink: 0;

  font-size: 1rem;
}
.worksheet_body_box {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  box-sizing: border-box;

  height: 86%;
  gap: 0.5rem;
  margin: 0 1rem 0;
}
.worksheet_copyright_box {
  display: flex;
  justify-content: right;
  align-items: start;
  box-sizing: border-box;

  height: 5%;
  padding: 0 4% 0;
  flex-shrink: 0;
  font-size: 0.7rem;
}

/**/
/**/
/**/
/**/
/**/

.worksheet_row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;

  flex: 1;
  overflow: hidden;
  gap: 0.5%;
  height: auto;
}
.worksheet_row_number {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;

  width: 5%;
  height: 100%;
  font-size: 150%;

  box-sizing: border-box;
  border: 1px solid black;
}
.worksheet_row_columns {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;

  gap: 1%;
}

/**/
.worksheet_column {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  box-sizing: border-box;

  height: 100%;
  width: 20%;
  padding-top: 5px;
  padding-bottom: 1px;
  border: 1px solid black;
}

/**/
.worksheet_calculation {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  box-sizing: border-box;

  width: auto;
  font-size: 0.5rem;
}

.calc_part_A {
  display: block;
  text-align: right;
  width: 23%;
  padding-left: 1px;
}
.calc_part_B {
  display: block;
  text-align: right;
  width: 12%;
  padding-left: 3px;
}
.calc_part_C {
  display: block;
  text-align: right;
  width: 23%;
  padding-left: 3px;
}
.calc_part_D {
  display: block;
  text-align: right;
  width: 12%;
  padding-left: 3px;
}
.calc_part_E {
  display: block;
  text-align: right;
  width: 23%;
  padding-left: 3px;
  padding-right: 1px;
}

/* BODY */
.zyanthos_worksheet_container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;

  height: 100%;
  width: auto;

  margin: 0 1rem 0;
  padding-bottom: 1rem;
}
.zyanthos_worksheet_box_A {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;

  height: 5vh;
  background-color: #668cff;
  border-radius: 15px;
  padding: 0 1rem 0;
}
.zyanthos_worksheet_box_B {
  display: flex;
  width: 100%;
  height: 100%;
}

/* MENU - TITLE */
.menu_title_container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;

  height: 2.5rem;
}
.menu_title_text {
  display: flex;
  font-weight: bold;
}

@media screen and (max-width: 1700px) {
}

@media screen and (max-width: 1250px) {
  /* MENU - STEP 3 */
  .menu_S3_container {
    flex-direction: column;
  }
  .menu_S3_selector {
    flex: none;
  }
}

@media screen and (max-width: 1000px) {
  /**/
  .menu_body_preview {
    display: none;
  }
  .menu_body_preview_mobile {
    display: flex;
    flex-direction: row;
    justify-content: center;
  }

  /* MENU - STEP 3 */
  .menu_S3_container {
    flex-direction: row;
  }
  .menu_S3_selector {
    flex: 1;
  }
}

@media screen and (max-width: 750px) {
  /* CONTAINERS */
  #zyanthos_tool_container {
    display: flex;
    justify-content: center;
    align-items: center;

    flex-direction: column;
    box-sizing: border-box;

    width: 100%;
    min-height: 85vh;
    gap: 1rem;
    padding: 0 2rem 0;
  }
  #zyanthos_info_container {
    display: flex;
    justify-content: flex-start;

    flex-direction: column;
    box-sizing: border-box;

    width: 100%;
    flex-grow: 1;

    padding: 0 0rem 0;
  }
  #zyanthos_content_container {
    display: flex;
    justify-content: flex-start;

    flex-direction: row;
    box-sizing: border-box;

    width: 100%;
    flex-grow: 1;

    padding: 0 0rem 0;
  }

  /* INFO */
  .zyanthos_info_container {
    flex-direction: column;
    gap: 0rem;
  }

  /* MENU - STEP 3 */
  .menu_S3_container {
    flex-direction: column;
  }
  .menu_S3_selector {
    flex: none;
  }

  .worksheet_container {
    min-width: 350px;
  }

  .menu_S6_container {
    flex-direction: column;
    gap: 1rem;
  }

  .worksheet_calculation {
    font-size: 0.4rem;
  }
}
