@font-face {
  font-family: 'Pretendard-Light';
  src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Pretendard-Regular';
  src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Pretendard-SemiBold';
  src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-SemiBold.woff') format('woff');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Pretendard-Bold';
  src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Bold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
}

body {
  padding: 3rem;
  height: 100%;
  font-size: 3rem;
}

div {
  box-sizing: border-box;
}

p,
input,
h1,
h2,
radio,
button {
  font-family: Pretendard;
  margin: 0;
  word-break: keep-all;
}

.title {
  display: flex;
  margin-bottom: 2.8rem;
  gap: 1rem;
  flex-direction: column;

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

    > h1 {
      font-size: 4rem;
      font-weight: 800;
    }
    > h2 {
      font-size: 2rem;
      font-weight: 200;
    }
  }
  .right_Box {
    display: flex;
    flex-direction: column;
    box-shadow: 0px 2px 9px 0px rgba(0, 0, 0, 0.6);
    border-radius: 1rem;
    padding: 2rem;
    width: 100%;
    gap: 0.5rem;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s linear;

    > div {
      display: flex;

      > h1 {
        font-size: 3.6rem;
        font-weight: 800;
      }
    }
    > .next_Box {
      display: flex;
      gap: 0.5rem;
      align-items: center;

      > div {
        display: flex;
        > h2 {
          font-size: 2.5rem;
          font-weight: 200;
        }
      }

      > .next_Btn {
        display: flex;
        width: 3.5rem;
        height: 3.5rem;
        background-color: #036eb8;
        border-radius: 50%;
        > p {
          color: #fff;
          font-size: 3rem;
          font-weight: 100;
          transform: translateY(0.25rem);
        }
      }
    }
  }
  .right_Box:hover {
    transform: scale(1.04);
  }
}

.top_box {
  display: flex;
  flex-direction: column;
}
.header {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 2rem;
  width: 100%;

  > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 50%;
    border-bottom: 0.48rem solid #616161;
    padding: 1rem;
    gap: 0.5rem;
    cursor: pointer;

    > p {
      text-align: center;
      margin: 0;
      font-size: 3rem;
      font-weight: 500;
    }
  }
}

.firstSection,
.secondSection {
  padding-bottom: 3rem;
  > div > .section_title,
  > div > .section_title_s {
    display: flex;
    width: 100%;
    align-items: center;

    > h1 {
      font-size: 3.5rem;
      font-weight: 700;
      padding: 0 1rem;
    }
  }
  > div > .section_title {
    border-left: 1rem solid #036eb8;
  }
  > div > .section_title_s {
    border-left: 1rem solid #13ae67;
  }
  > .first {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2rem;
    padding: 1rem 0;

    > div:not(.checkBtn, .section_title) {
      display: flex;
      justify-content: space-between;
      align-items: center;

      > div {
        display: flex;
        gap: 1rem;

        > input[type='radio'] {
          display: none;
        }
        > label {
          width: 4rem;
          height: 3rem;
          display: flex;
          align-items: center;
          justify-content: center;
          padding: 1rem 3rem;
          font-size: 2.3rem;
          border: 1px solid #353535;
          border-radius: 1rem;
          color: #353535;
        }
        > input[type='radio']:checked + label {
          background-color: #036eb8;
          color: #fff;
          border: 0;
        }
      }

      > p {
        font-size: 2.5rem;
        margin: 0;
      }

      > input[type='number'] {
        width: 19rem;
        border: 0;
        background-color: #e8e8e8;
        padding: 1rem;
        font-size: 2rem;
        border-radius: 1rem;
      }
    }

    > .checkBtn {
      display: flex;
      justify-content: center;
      gap: 2rem;

      > button {
        width: 100%;
        background-color: #e8e8e8;
        border: 0;
        border-radius: 1rem;
        padding: 1.3rem 5rem;
        font-size: 2.2rem;
        color: #353535;
      }
    }
  }
  > .second {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2rem;
    padding: 1rem 0;

    > div:not(.checkBtn, .section_title_s) {
      display: flex;
      justify-content: space-between;
      align-items: center;

      > div {
        display: flex;
        gap: 1rem;

        > input[type='radio'] {
          display: none;
        }
        > label {
          width: 4rem;
          height: 3rem;
          display: flex;
          align-items: center;
          justify-content: center;
          padding: 1rem 3rem;
          font-size: 2.3rem;
          border: 1px solid #353535;
          border-radius: 1rem;
          color: #353535;
        }
        > input[type='radio']:checked + label {
          background-color: #13ae67;
          color: #fff;
          border: 0;
        }
      }

      > p {
        font-size: 2.5rem;
        margin: 0;
      }

      > input[type='number'] {
        width: 19rem;
        border: 0;
        background-color: #e8e8e8;
        padding: 1rem;
        font-size: 2rem;
        border-radius: 1rem;
      }
    }

    > .checkBtn {
      display: flex;
      justify-content: center;
      gap: 2rem;

      > button {
        width: 100%;
        background-color: #e8e8e8;
        border: 0;
        border-radius: 1rem;
        padding: 1.3rem 5rem;
        font-size: 2.2rem;
        color: #353535;
      }
    }
  }
}

.nomogram {
  width: 100%;
  height: 45px;
  > g {
    font-size: 20px;
  }
}

.wrap {
  height: 100%;
  padding-bottom: 3rem;

  > .nomogram_title {
    display: flex;
    width: 100%;
    align-items: center;
    margin-bottom: 2rem;

    > h1 {
      font-size: 3.5rem;
      font-weight: 700;
      padding: 0 1rem;
    }
  }
  > .f_title {
    border-left: 1rem solid #036eb8;
  }
  > .s_title {
    border-left: 1rem solid #13ae67;
  }

  > div:not(.nomogram_title) {
    height: 100%;
  }
}

.nomogramflex {
  > div {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 5rem;
    > p {
      width: 10%;
      font-size: 1.1rem;
    }

    > svg {
      width: 80%;
    }
  }
}

.result {
  box-shadow: 0px 2px 9px 0px rgba(0, 0, 0, 0.6);
  border-radius: 1rem;
  padding: 1rem;
  > div {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    flex-direction: column;

    > h2 {
      font-size: 3.3rem;
      font-weight: 700;
      margin-bottom: 1rem;
    }

    > div {
      display: flex;
      justify-content: space-between;

      > p {
        font-size: 2.5rem;
        font-weight: 400;
        color: #353535;
        margin-bottom: 0.5rem;
      }
    }
  }
}
.bottom_text {
  display: flex;
  width: 100%;
  > p {
    font-size: 2rem;
    font-weight: 400;
    color: #353535;
    padding-top: 2rem;
  }
}
