@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100..900&family=Noto+Serif:ital,wght@0,100..900;1,100..900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Noto Sans KR", sans-serif;
  font-size: 20px;


}
body {
  width: 100%;
  min-height: 100vh;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url(../img/bg.png);
  background-position: calc(72% - 10px);
  overflow-x: hidden;
}
a {
  text-decoration: none;
  font-family: "Noto Sans KR", sans-serif;
}
header {
  width: 100%;
  height: 82px;
  background: linear-gradient(90deg, #643690 0%, #8145a2 100%);
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  z-index: 999;
  justify-content: center;
  text-decoration: none; 

}
.header_data {
  width: 100%;
  max-width: 1024px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hi {

  display: flex;
  color: #fff;

  width: 100%;

  flex-wrap: wrap;
 
  align-items: baseline;
}

.header_data div {
  display: flex;
  box-sizing: border-box;
}
.header_data span {
  width: 80px;
  color: #fff;
  font-weight: 500;
  line-height: 1.6px;
  cursor: pointer;
  font-size: 16px;
}
.wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.info_1 {
  min-width: auto;
  max-width: 100%;
  width: 100%;
  padding: 0 10px;
  max-width: 790px;
  color: #fff;
}
.info_1_header {
  font-size: 36px;
  color: #fff;
  line-height: 18px;
}
.info_texts {
  margin-top: 51px;
}
.wh {
  font-weight: 600;
  font-size: 30px;
  line-height: 36px;
}
.if {
  font-weight: 400;
  font-size: 21px;
  line-height: 25.2px;
  margin-top: 25px;
  margin-bottom: 25px;
}
.dv_line {
  position: relative;
}
.line {
  background: linear-gradient(89.65deg, #f75050 7.43%, #8f54bc00 94.89%);
  height: 33px;
  width: 508px;
  z-index: -1;
}
.info_texts li {
  
  font-size: 22px;
  font-weight: 200;
  margin-bottom: 25px;
}
.line_2 {
  background: linear-gradient(269.82deg, #f54e56 74.29%, #7747b500 100.68%);
  height: 27px;
  max-width: 2388px;
  width: 100%;
  position: absolute;
  left: 0;
  top: 51px;
  z-index: -1;
}
.money {
  position: absolute;
  bottom: 0;
}
.info_2 > div {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.info_2 {
  min-width: 100%;
  margin-top: 81px;
  position: relative;
  display: flex;
  justify-content: center;
}
.inf_2 {
  display: flex;
  align-items: center;
  color: #fff;
  min-width: 799px;
  max-width: 799px;
  width: 100%;
  position: relative;
}
.inf_2 p {
  font-weight: 900;
  line-height: 33px;
  font-size: 42px;
}
.p__1 {
  font-weight: 900;
  font-size: 24px;
  margin-top: 75px;
  margin-bottom: 25px;
}

.ptext {
  font-size: 20px;
  margin-bottom: 25px;
}
  
.inf_ {
  min-width: 390px;
  max-width: 790px;
  width: 100%;
  color: #fff;
  margin-top: 20px;
}
.vop {
  margin-top: 40px;
}
.lnk {
  color: rgba(217, 217, 217, 0.8);
  font-size: 42px;
  font-weight: 400;
  line-height: 33px;
  min-width: 272px;
}

.w_links {
  display: flex;
  flex-wrap: wrap;
  margin-top: 88px;
  margin-bottom: 94px;
  grid-template-columns: 272px 272px 272px;
  gap: 42px;
  justify-items: stretch;
  justify-content: start;
}

.w_links p {
  font-size: 40px;
  color: rgba(217, 217, 217, 0.6); 
  transition: color 0.3s ease;
  font-weight: 400;
}

.w_links p:hover {
  color: #ffffff; 
}


.inf_2 img {
  margin-right: 32px;
}


.salary-calculator {
  margin-top: 40px;
  padding: 20px;
  background-color: transparent;
  border-radius: 10px;
  width: 100%;
  max-width: 790px;
  color: #fff;
  text-align: left;
}

.calc-title {
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 20px;
}

.calc-slider {
  margin-top: 20px;
  margin-bottom: 20px;
}

.calc-slider p {
  font-weight: 500;
  margin-bottom: 10px;
}

.calc-slider input[type="range"] {
  width: 100%;
  background-color: #3e085b;
  height: 6px; 
  border-radius: 0px; 
  outline: none;
  cursor: pointer;
  -webkit-appearance: none; 
  -moz-appearance: none; 
  appearance: none; 
}

.calc-slider input[type="range"]::-webkit-slider-thumb {
  width: 14px;  
  height: 22px; 
  background: #fff; 
  cursor: pointer;
  border-radius: 0px;  
  -webkit-appearance: none;
}

.calc-slider input[type="range"]::-moz-range-thumb {
  width: 15px;
  height: 15px;
  background: #fff;
  cursor: pointer;
  border-radius: 3px;
}

.calc-slider input[type="range"]::-ms-thumb {
  width: 15px;
  height: 15px;
  background: #fff;
  cursor: pointer;
  border-radius: 3px;
}

.calc-result {
  display: flex;
  align-items: flex-start;
  margin-top: 55px;
}

.salary-icon-container {
  margin-right: 10px; 
}

.salary-icon {
  width: 90px; 
  height: 90px;
}

.salary-text-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

#salary-label {
  font-size: 34px;
  font-weight: 600;
  margin-bottom: -8px;
}


.salary-amount-container {
  font-size: 36px;
  font-weight: bold;
  color: #f4f1f1; 
}

.salary-amount {

  font-size: 48px;
}

.calc-line {
  margin-top: -37px;
    height: 42px;
    background: linear-gradient(90deg, #f54e56 74.29%, #7747b5 100.68%);
   
    background: linear-gradient(90.01deg, #f54e56 25.31%, #9f5ec800 94.18%);
    max-width: 1961px;
}

@media (max-width: 400px) {
  .header_data span {
    width: auto;
    padding-right: 10px;
  }

  .inf_2 img {
    margin-right: 5px;
  }

  .w_links {
    gap: 10px
  }
}

@media (max-width: 530px) {
  .main-logo {
    width: 100%
  }
}

@media (max-width: 768px) {
  header {
    width: 100%;
    height: 82px;
    background: linear-gradient(90deg, #643690 0%, #8145a2 100%);
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    z-index: 999;
    justify-content: center;
  }

  .header_data {

    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .header_data span {
    margin: 5px 0;
  }

  .wrapper {
    padding: 30px;
  }

  .info_1_header {
    font-size: 32px;
    line-height: 0.6;
  }

  .info_texts {
    margin-top: 20px;
  }

  .wh {
    font-size: 20px;
    line-height: 1.4;
  }

  .if, .info_texts li {
    line-height: 1.4;
    margin-top: 15px;
    margin-bottom: 15px;
  }

  .line, .line_2 {
    width: 100%;
    height: 20px;
    top: 32px;
  }

  .info_2 {
    margin-top: 40px;
  }

  .inf_2, .inf_ {
    min-width: auto;
    max-width: 100%;
    width: 100%;
    padding: 0 0px;
  }

  .inf_2 p, .p__1 {
    font-size: 20px;
    line-height: 1.4;
  }

  .w_links {
    margin-top: 88px;
    margin-bottom: 94px;
    row-gap: 42px;
    justify-items: stretch;
    justify-content: start;
  }

  .w_links p {
    font-size: 24px;
  }

  .calc-title {
    font-size: 30px;
    margin-bottom: 15px;
  }

  .calc-slider p {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .calc-result {
    font-size: 28px;
    margin-top: 15px;
  }

  #salary-label {
    font-size: 30px;
  }

  #salary-output {
    font-size: 38px;
  }

.calc-line {
  margin-top: -51px;
    height: 42px;



}
}

@media (max-width: 330px) {
  .header_data div {
    flex-wrap: wrap;
    margin-left: 30px;
    margin-top: 5px
  }

  .header_data span {
    padding-bottom: 4px
  }
}


@media (max-width: 480px) {
  .header_data {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .header_data div {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-self: center;
    margin-right: 10px;
  }

  .info_1_header {
    font-size: 26px;
    text-align: start;
  }

  .wh {
    font-size: 20px;
  }

  .if, .info_texts li, .inf_2 p, .p__1 {
    font-size: 19px;
    margin-right: 10px;
    margin-left: -12px;
  }

  .inf_2, .inf_ {
    display: flex;
    align-items: center;
    color: #fff;
    max-width: 799px;
    width: 100%;
    position: relative;
  }



  .inf_2 p {
    font-size: 26px;
    margin-top: 0px;
    min-width: auto;
    max-width: 100%;
    width: 100%;
    padding: 0 0px;
  }

  .lnk {
    font-size: 18px;
  }

  .w_links p {
    font-size: 30px;
    margin-left: 20px;
  }

  .inf_ {
    flex-direction: column; 
    align-items: flex-start; 
  }

  .calc-title {
    font-size: 22px;
    margin-bottom: 10px;
  }

  .calc-slider p {
    font-size: 20px;
  }

  .calc-slider input[type="range"] {
    height: 6px;
  }

  .calc-slider input[type="range"]::-webkit-slider-thumb {
    width: 18px;
    height: 18px;
  }

  .calc-result {
    font-size: 24px;
  }

  #salary-label {
    font-size: 18px;
  }

  #salary-output {
    font-size: 36px;
  }

  .calc-line {
    height: 26px;
    margin-top: -32px;
  }

.salary-icon {
  width: 60px;
  height: 60px;

}

}