/* 공통스타일링 */
.innerWrapper {
  padding: 1rem 1.5rem 1.5rem 1.5rem;
}
.homeinnerWrapper{
  padding: 0rem 1.5rem 1.5rem 1.5rem;
}
.contentHeader {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  position: relative;
  border-bottom: 0.1rem solid #f0f0f0;
}

.contentHeader button {
border: none;
background-color: transparent;
cursor: pointer;
margin-right: 10px;
display: flex;
align-items: center;
}
.contentHeader h1 {
text-align: center;
margin: 0;
font-size: 1.8rem;
font-weight: 700;
}
.contentHeader h1 .redFont {
text-align: center;
margin: 0;
font-size: 1.8rem;
font-weight: 700;
color:  #EA5455;
}
.contentHeader .back img {
width: 1rem;
position: absolute;
left: 3%;
}
.home img {
width: 2rem;
position: absolute;
right: 3%;
}

img {
  width: 100%
}
/* index 영역 */
.indexBackgroundImage {
  background: url(../img/index_bg.png);
  background-size: cover;
  position: relative;
  height: 100vh;
  }
  .indexText {
  width: 60%;
  margin: 0 auto;
  display: block;
  position: absolute;
  left: 50%;
  transform: translateX(-50%); 
  top: 20%;
  }
  .indexImg {
  width: 75%;
  margin: 0 auto;
  display: block;
  position: absolute;
  left: 50%;
  transform: translateX(-50%); 
  }
  
  .indexBackgroundImage a img {
    width: 90%;
    display: block;
    margin: 0 auto;
    margin-bottom: 2rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%); 
  }
  
  



/* 홈영역 */
@font-face {
  font-family: "bantitle";        
  src: url("./한국기계연구원_BOLD.TTF"); 
}
@font-face {
  font-family: "year";
  src: url("./GONG\ GOTHIC\ OTF\ MEDIUM.OTF");
}
@font-face {
  font-family: "bancontent";
  src: url("./PRETENDARD-SEMIBOLD.OTF");
}
.backgroundcolorwrapper {
margin: 0;
padding: 0;
}
.homeHeader {
padding: 1rem 2rem;
}
.homeHeaderimg {
width: 7%;
}
.homeHeaderimg img {
width: 100%;
}
.homeinnerWrapper pre {
  font-size: 1.6rem;
  line-height: 1.3;
  color: #535353;
  margin: 2rem 0;
}

.banner { 
  display: flex;
  position: relative;
  padding: 1.5rem;
  border-radius: 0.7rem;
  background-color: #f9f5eb;
  flex-direction: column;
  height: 9.5rem;
  margin-bottom: 2rem;
  overflow: hidden;
}
.banYear {
  color: #002b5b;
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  font-family: "bantitle";
  letter-spacing: -1px;
}
.banTit {
  font-family: "year";
  display: inline-block;
  color: #ea5455;
  font-size: 1.9rem;
  margin-bottom: 0.6rem;
}

.banCon {
  font-family: "bancontent";
  color: #595757;
  font-size: 1.2rem;
}
.banBtn img {
  width: 6.6rem;
  position: absolute;
  bottom: 1rem;
  right: 1.5rem;
}
.btnimg {
  width: 3rem;
  position: absolute;
  left: 22rem;
  bottom: 2rem;
}

/* calculator 영역 */
main .input_wrap {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
main .input_wrap .item {
  position: relative;
}
main .input_wrap .item label {
  font-size: 1.7rem;
  white-space: nowrap;
  font-weight: 600;
}
main .input_wrap .item input {
  width: 100%;
  flex-grow: 1;
  padding: 1rem;
  outline: none;
  font-size: 1.8rem;
  color: #666;
  margin-top: 1rem;
  background-color: #dcdddd;
}
main .input_wrap .item .unit {
  position: absolute;
  top: 56%;
  right: 3%;
  font-size: 1.8rem;
  font-weight: 600;
  color: #999;
}

main #calculateBtn,
main #calc {
  width: 100%;
  font-size: 1.8rem;
  padding: 1.2rem;
  color: #fff;
  border-radius: 1rem;
  margin-bottom: 1.5rem;
  background: #ea5455;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}
main #calculateBtn:disabled,
main #calc:disabled {
  background: #bbb;
}

/* earning_fore.php */
.coin_wrap {
  width: fit-content;
  border-radius: 1.2rem;
  border: 1px solid #ddd;
  overflow: hidden;
  position: relative;
  margin-bottom: 2rem;
}
.coin_wrap > button {
  width: 8rem;
  font-size: 1.8rem;
  font-weight: 600;
  padding: 1.2rem 0;
  z-index: 99;
  position: relative;
  color: #555;
}
.coin_wrap .act_bg {
  background: #ea5455;
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  transition: left 0.25s;
}

.calInnerWrap {
  background-color: #f7f8f8;
  padding: 3rem;
}
.flextwo {
  display: flex;
  justify-content: space-between;
}
.flextwo .item {
  width: 47%;
}
.calHeader {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  position: relative;
  background-color: #f7f8f8;
}
.calHeader button {
border: none;
background-color: transparent;
cursor: pointer;
margin-right: 10px;
display: flex;
align-items: center;
}
.calHeader h1 {
text-align: center;
margin: 0;
font-size: 1.8rem;
font-weight: 700;
color: #ea5455;
}
.calHeader .back img {
width: 1rem;
position: absolute;
left: 3%;
}
.calHeader .home img {
width: 2rem;
position: absolute;
right: 3%;
}

.result img {
  display: block;
  width: 3rem;
  margin: 1rem auto;
}
.container {
  padding: 3rem;
  background-color: #f9f5eb;
  margin-bottom: 3rem;
}
.redFont {
  font-size: 1.6rem;
  color: #ea4343;
  font-weight: 500;
}
.container h2 {
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 3rem;
}
.container h2 .redFont {
  font-size: 1.8rem;
}
.result-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.result-item div {
  font-size: 1.6rem;
  color: #595757;
}
.result-item div em {
  font-size: 1.6rem;
  color: #595757;
}
.content pre{
  font-size: 1.6rem;
  line-height: 1.3;
  margin-bottom: 2rem;
}

.content .title {
  font-size: 1.6rem;
  line-height: 1.3;
  color: #ea4343;
  font-weight: 700;
}
.content:first-child .title {
  margin-top: 2rem;
  margin-bottom: 2rem;
}
.bannerimg img {
  margin-bottom: 2rem;
}
.specialRed {
  font-size: 1.6rem;
  line-height: 1.3;
  color: red;
  font-weight: 700;
}
.minigray {
  text-align: center;
  font-size: 1.2rem;
  color: rgb(154, 153, 153);
  padding: 2rem 0;
  line-height: 1.3;
}