body {
    min-height: 100vh;
    background: linear-gradient(
        to top,
        #8a33ee 20%,
        #13049e 40%,
        #000000 100%
    );
    margin: 0;
     padding: 0;
      overflow-x: hidden;
}
html {
    scroll-behavior: smooth;
}
.logo-text {
  font-family: "Orbitron", sans-serif;
  font-weight: 400;
  font-style: normal;
  text-align: center;
    font-size: 32px;
    margin-top: 70px;
    color: white;
}
.container {
    max-width: 400px;
    min-height: 100px;
    max-height: 360px;
    left: 50px;
    margin: 70px;
    padding: 20px;
    background-color: rgb(255, 255, 255);
    border-radius: 25px;
    text-align: center;
}
.result-box {
    align-items: center;
    max-width: 550px;
    max-height: 400px;
    margin: 50px;
    padding: 20px;
    background-color: rgb(255, 255, 255);
    border-radius: 25px;
    text-align: center;
    z-index: 1;
}
button {
    min-width: 400px;
    padding: 10px 20px;
    font-size: 16px;
    background: linear-gradient(to right, #0004ff, #8400ff, #ff00ff);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    position: relative;
    top: -15px;
}
.input-box input {
  display: block;
  align-items: center;
  position: relative;
  top: -20px;
  margin-bottom: 25px;
  width: 95%;
  padding: 8px;
  gap: 10px;
  border-radius: 4px;
    border: 1px solid #999;
}
.input-box label{
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    font-weight: 600;
    gap: 10px;
    position: relative;
    left: -150px;
    top: -25px;
}
.description {
    font-size: 12px;
    font-weight: 600;
    gap: 10px;
    position: relative;
    left: -20px;
    top: -10px;
}
.main-content{
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.title {
    font-family: "Pliant", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
    position: relative;
    left: -30px;
    top: -30px;
}
.description {
    font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
    position: relative;
    left: 8px;
    top: -45px;
}
.title-result {
    font-family: "Pliant", sans-serif;
  font-optical-sizing: auto;
  font-size: 26px;
  font-weight: 600;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
    position: relative;
    left: -135px;
    top: -305px;
}
.deco {
    font-size: 40px;
  font-weight: bold;
  text-align: center;
  margin-top: -40px;

  background: linear-gradient(90deg, red, blue, purple, rgb(255, 166, 0));
    background-size: 200% 200%;
     background-clip: text;
  -webkit-text-fill-color: transparent;

   animation: decoMove 5s ease infinite;
}

@keyframes decoMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
/* Hide arrows in number input */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.category-text {
    font-family: "Open Sans", sans-serif;
    font-size: 18px;
    font-weight: 600;
    gap: 10px;
    position: relative;
    left: -80px;
    top: -290px;


}
.output {
    align-items: center;
    width: 500px;
     max-height: 55px;
    background:#fff7eb;
    border:2px solid #ffb74d;
    border-radius:15px;
    padding:20px;
    position: relative;
     top: -230px;
     left: 8px;
}
.result-text{    
    display: block;
    width: 80%;
     align-items: center;
    font-size: 18px;
    font-weight: 600;
    position: relative;
    left: 30px;
    top: -75px;
}
.result-container {
    display: flex;
    width: 200px;
     height: 55px;
     background:#ffffff;
    justify-content: center;
    align-items: center;
    position: relative;
    left: 95px;
    top: -300px;
}
.warning-icon {
    width: 50px;
    height: 50px;
    background: #FFD43B;
    border-radius: 50%;


    display: flex;
     position: relative;
    left: -210px;
    justify-content: center;

    font-size: 45px;
    font-weight: bold;
    color: white;

    margin: 0 auto 20px;
}
.bmi-description {
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    gap: 10px;
    position: relative;
    left: 60px;
    top: -15px;
    text-align: left;
}
#bmi-status {
    font-size: 24px;
    font-weight: 600;
    gap: 10px;
    text-align: left;
    position: relative;
    left: 60px;
}
.bmi-scale{
    width:55%;
    max-width:500px;
    margin:auto;
    position:relative;
    left: -110px;
    top: -260px;
}

.scale-bar{
    height:16px;
    display:flex;
    border-radius:20px;
    overflow:hidden;
}

.scale-bar div{
    flex:1;
}

.u  { background:#3B82F6; }
.n  { background:#22C55E; }
.ow { background:#EAB308; }
.o1 { background:#F97316; }
.o2 { background:#EF4444; }
.o3 { background:#991B1B; }

.pointer{
    position:absolute;
    top:-15px;
    left:0%;
    width:0;
    height:0;

    border-left:10px solid transparent;
    border-right:10px solid transparent;
    border-top:15px solid #6D28D9;

    transition:0.5s ease;
}

.scale-labels{
    display:flex;
    justify-content:space-between;
    gap:5px;
    margin-top:10px;
    font-size:12px;
}

#bmi-number {
    font-size: 56px;
    font-weight: 600;
    gap: 10px;
    text-align: left;
    position: relative;
}
.image-box {
    background-color: #000000;
    min-width: 10;
    min-height: 10;

}
.icon {
    font-size: 30px;
    color: #ffffff;
    position: relative;
}
.input-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    left: 10px;
    top: 33px;
    background: linear-gradient(to right, #5900ff, #8400ff, #ae00ff);
    width: 40px;
    height: 40px;
    border-radius: 20%;
}
.icon2 {
    font-size: 30px;
    color: #ffffff;
    position: relative;
}
.result.icon {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    left: 15px;
    top: -250px;
    background: linear-gradient(to right, #5900ff, #8400ff, #ae00ff);
    width: 40px;
    height: 40px;
    border-radius: 20%;
}
.image-box {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    left: 350px;
    top: 10px;
    background: linear-gradient(to right, #5900ff, #8400ff, #ae00ff);
    width: 200px;
    height: 260px;
    border-radius: 10%;
}
#bmiImage {
    width: 120px;
    height: auto;
    filter: brightness(0) invert(1);

}
.info-section {
    width: 490px;
    height: 320px;
    margin: 150px auto;
    padding: 20px;
    background-color: rgb(255, 255, 255);
    text-align: center;
    border-radius: 5%;
}
.targetbox {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    left: 310px;
    top: -280px;
    width: 170px;
    height: 220px;
    background: linear-gradient(to right, #5900ff, #8400ff, #ae00ff )
}
.targetbox {
    border-radius: 10%;
}
#target {
    width: 125px;
    height: auto;
    filter: brightness(0) invert(1);
}
.info-description {
    font-family: "Pliant";
    text-align: left;
    width: 100%;
    font-size: 14px;
    position: relative;
    top: -18px;
}
.info-title {
    font-family: "Pliant";
    font-size: 28px;
    position :relative;
    left: -130px;
    top: -145px;

}
.icon3{
    font-size: 30px;
    color: #ffffff;
    position: relative;
}
.target-icon {
     display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    left: 15px;
    top: 10px;
    background: linear-gradient(to right, #5900ff, #8400ff, #ae00ff);
    width: 40px;
    height: 40px;
    border-radius: 20%;
}
.target-output {
     display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    left: 55px;
    top: 25px;
    background: linear-gradient(to right, #ffffff, #ffffff, #ffffff);
    width: 180px;
    height: 60px;
    border-radius: 20px;
}
.section1 {
    position:relative;
    left: -100px;
    font-family: "Orbitron";
    font-size: 18px;
    top: 30px;
}
.target-weight {
    font-family: "Pliant";
    font-size: 48px;
    
}
.targetdescbox {
    width: 250px;
     height: 95px;
    background:#fff7eb;
    border:2px solid #ffb74d;
    border-radius:15px;
    padding:20px;
    position: relative;
    top: -35px;
    align-items: center;
    justify-content: center;
}
.diplay1 {
    display: flex;
    justify-content: center;
}
