body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
#content {
  flex: 1;
  padding: 2rem;
  margin-top: 56px;
}
.webtools-menu-item {
  border: 1px solid #ddd;
  padding: 15px;
  height: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  color: black;
}
.webtools-menu-item:visited {
  color: green;
}
.webtools-menu-item:hover {
  background-color: #e2e8f0;
}
.webtools-menu-item img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  border-radius: 5px;
}
.webtools-menu-item h3 {
  margin-top: 15px;
}
#chartArea {
  max-width: 500px;
  width: 100%;
}
#pieChart {
  width: 100%;
  height: 400px;
}
#barChart {
  width: 100%;
  height: 300px;
}
@media (max-width: 768px) {
  #resultsContainer .row {
    flex-direction: column; /* Stack columns vertically for small screens */
  }
}
.step {
  display: none;
}
.active {
  display: block;
}
#drop-zone {
  width: 100%;
  height: 150px;
  border: 2px dashed #ccc;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  color: #888;
  margin-bottom: 20px;
  cursor: pointer;
}
#drop-zone.dragging {
  border-color: #666;
  color: #000;
}
#image-container {
  position: relative;
  width: 100%;
  padding-top: 100%; /* Makes the container a square */
  background-color: rgba(211, 211, 211, 0.5); /* Light gray with 50% opacity */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
#image-crop {
  display: block;
  width: 100%;
  height: auto;
}
#qrCodePreview {
  display: none;
}
#qrCodeImage {
  max-width: 500px;
  width: 100%;
  height: auto;
}
#downloadBtn {
  display: none;
}
#image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(0deg); /* 이미지 중앙 정렬 및 초기 회전 설정 */
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* 이미지가 컨테이너에 맞게 조정되면서 왜곡되지 않음 */
}
#canvas {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(0deg); /* 이미지 중앙 정렬 및 초기 회전 설정 */
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* 이미지가 컨테이너에 맞게 조정되면서 왜곡되지 않음 */
}
.button-group {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}
div h1.text-center {
  color: green;
}
h2.text-center {
  color: orange;
}
h4.text-center {
  color: #b0b0b0;
  margin-top: 3px;
  margin-bottom: 7px;
}
.dot-line {
  border-right: 3px dotted #b0b0b0;
  width: 2px;
  height: 25px;
  margin: 0 auto;
}
.slider-container {
  margin-top: 20px;
  text-align: center;
}
#resizeSlider {
  width: 90%;
  max-width: 500px;
}
#imageSize {
  font-size: 16px;
  margin-top: 10px;
}
.red {
  color: red;
}
.orange {
  color: orange;
}
.blue {
  color: blue;
}
.green {
  color: green;
}
.underweight {
  color: blue;
}
.normal {
  color: green;
}
.overweight {
  color: orange;
}
.obese {
  color: red;
}
#footer-text a {
  color: white;
  text-decoration: none;
}
#footer-text a:hover {
  color: white;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.navbar {
  width: 100%;
  position: sticky;
  top: 0px;
  z-index: 1;
  padding-left: 9px;
  padding-right: 9px;
}

.cropper-point {
    width: 5px !important;
    height: 5px !important;
}

.container-fluid {
  max-width: 1300px;
}

.icon.menu-webtools {
  width: 40px;
  height: 40px;
  z-index: 2;
}

.navbar-brand {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 8px;
}

#serviceGnb {
  position: relative;
  top: 0;
}

.background-white {
  width: 29px;
  height: 27px;
  position: absolute;
  background-color: #FFFFFF;
  left: 13px;
  top: 11px;
  z-index: 1;
}

@media (max-width: 1300px) {
  .navbar-brand {
    padding: initial;
  }
  .background-white {
    left: 5px;
  }
}

.gnb-right-button-wrap.regist-wrap,
.gnb-right-button-wrap.login-wrap {
  visibility: hidden !important;
}