* {
    box-sizing: border-box;
    font-family: "Noto Sans", "Noto Sans KR", sans-serif;
}


body{
	margin:0;
	padding:0;
    background-color: #ffffd1;
    transition:0.3s ease;
}


button {
    border:none;
}

small {
    display: block;
    text-align: center;
    font-weight: 500;
}

header {
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom:30px;
    border-bottom: 2px solid black;
  }
  
  .header-container {
    width: 900px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .header-left {
    display: flex;
    align-items: center;
  }
  
  .title {
    font-size: 24px;
    font-weight: 500;
    line-height: 130px;
  }
  
  .header-right {
    width:50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s ease;
    cursor: pointer;
  }
  
  .header-right i {
    font-size: 24px;
  }

  .header-right:hover {
    background-color: rgba(245, 216, 216, 0.3);
  }

  .header-right:active {
    transform: scale(0.95);
  }


.calculator {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}


#i_content {
    width:100%;
    max-width: 900px;
    height:400px;
    padding:20px;
    border:none;
    border-radius: 20px 20px 0px 0px;
    display: block;
    overflow-y: scroll;
    font-size: 14px;
    letter-spacing: -1px;
    line-height: 22px;
    word-break: break-all;
    resize: none;
    outline: none;
}

#i_content::-webkit-scrollbar {
    width: 15px;
  }

#i_content::-webkit-scrollbar-thumb {
    border-radius: 0px 20px 0px 0px;
    background-color: #c0aeae;
}

#i_content::-webkit-scrollbar-track {
    background-color: #e6e2e2;
    border-radius: 0px 20px 0px 0px;
}

.clear_btn {
    width:100%;
    height:40px;
    background-color: #e6e2e2;
    color:#000;
    cursor:pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
}


.calculator .info_box_container {
    width:100%;
    max-width: 900px;
    height:150px;
    margin:0 auto;
    background-color:#e6e2e2;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    border-radius: 0px 0px 20px 20px;
}

.info_box_container .info_box {
    width: 200px;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0 10px;
    background-color:#fff;
    border-radius: 20px;
  }
  
  .info_box span {
    font-size: 24px;
    font-weight: bold;
    margin-top: 10px;
  }

#r_box{
    width:100%;
    max-width: 900px;
    margin:0 auto;
    margin-top:20px;
}

#r_box_inner {
    max-width: 900px;
    margin:0 auto;
}

#keyword_btn {
    width:200px;
    height:50px;
    line-height: 40px;
    padding: 0px 10px;
    margin: 0 auto;
    background-color: #fff;
    border:solid 3px #000;
    border-radius: 30px;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    cursor:pointer;
    transition: 0.3s ease;
}

#keyword_btn:hover {
    transform: translateY(-5px) scale(1.03);
}

#keyword_btn:active {
    transform: translateY(7px);
}

#keyword_box {
    width: 100%;
    height: fit-content;
    margin-top: 20px;
    padding: 10px;
    background-color: #fff;
    border: solid 3px #000;
    border-radius: 30px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    grid-gap: 10px;
    justify-content: center;
    align-items: center;
  }
  
  #keyword_box .keyword {
    font-weight: 500;
    padding: 10px 20px;
    border-bottom:solid 2px #374251;
    border-radius: 20px;
    text-align: center;
  }

#keyword_box span {
    font-weight: 500;
}


footer {
  
  width: 100%;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top:50px;
  border-top: 2px solid black;
  
}