*{
    margin: 0px;
    padding: 0px;
}
body{
    margin: 0px;
    padding: 0px;
    background-color: rgb(79, 78, 78);
    color: #f2f2f2;
}
.logo{
    height: 40px;
    width: 40px;
    background-color: antiquewhite;
    background-image: url("logo_1.png");
    background-size: cover;
    border-radius: 50%;
    background-position: center;
    position: fixed;
    left: 12px;
    top: 0;
    z-index: 5;
}
.whole{
    height: 600px;
    width: 100%;
    border: 5px solid rgb(220, 90, 42);
    background-clip: border-box;
    box-sizing: border-box;
}
.time{
    height: 35px;
    width: 100px;
    background-color: #FF6B35;
    border-radius: 10px;
    position: absolute;
    top: 5px;
    right: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
}
video{
    clip-path: url(video_1.mp4);
}

.sideBox{
    height: 92%;
    width: 70px;
    background-color: rgba(0, 255, 255, 0.518);
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    padding-top: 25px;
}
.runBox{
    height: 50px;
    width: 50px;
    border: 2px solid goldenrod;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    border-radius: 50%;
}
.runBox:hover{
    background-color: black;
    font-size: 1.7em;
    border: 2px solid white;
    border-radius: 8px;
    cursor: grab;
    color: white;
}

.runbar{
    height: 40px;
    width: 100%;
    position: absolute;
    bottom: 5px;
    background-color: rgba(71, 216, 71, 0.491);
    display: flex;
    align-items: center;
    justify-content: space-around;
}
.run, .over{
    height: 95%;
    width: 40%;
    border: 3px solid white;
    box-sizing: border-box;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;

}
ul li{
    list-style-type:armenian;
}

.box{
    height: 500px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    box-sizing: border-box;
    border: 2px solid darkgray;
    justify-content: space-around;
    align-items: center;
    background-color: whitesmoke;
}
.button{
    height: 50px;
    width: 50px;
    border: 3px solid dimgray;
    border-radius: 4px;
    flex-grow: 0;
}
#grey{
    background-color: grey;
}
#white{
    background-color: white;
}
#yellow{
    background-color: yellow;
}
#blue{
    background-color: darkblue;
}
#green{
    background-color: lightgreen;
}

.BMI_calculator{
    height: 500px;
    border: 2px solid brown;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url("img9.jpg");
    background-size: cover;
    box-sizing: border-box;
    
}
.BMI_calculator_box{
    height: 80%;
    width: 30%;
    border-radius: 10px;
    border: 1px solid white;
    background-color: rgba(255, 255, 255, 0.559);
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    align-items: center;
    /* padding-left: 15px; */
}
form{
    height: 100%;
    width: 100%;
    /* align-self: center; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.bmi_heading{
    color: #FF6B35;
    flex-shrink: 1;
    /* margin-bottom: 20px; */
}
.BMI_input_bar{
    all: unset;
    height: 8%;
    width: 90%;
    display: flex;
    
    border-radius: 15px;
    /* font-size: 25px; */
    box-shadow: 0px 2px 1.6px 2px rgb(100, 100, 100);
    text-align: center;
    /* margin: 2px; */
}
.BMI_input_bar:required{
    border: 2px solid transparent;
}
/* .BMI_input_bar:required:invalid{
    border: 2px solid red;
} */

input:focus{
    /* border: 2px solid rgb(111, 240, 111); */
    border-color: #0a61b8;
    box-shadow: 0px 2px 2px 3px #0c71c47e;
}
input::placeholder{
    font-size: .9em;
    text-align: left;
    align-self: flex-start;
    /* margin-left: 8px; */
    padding-left: 8px;
}
label{
    font-size: 18px;
    color: #ff0000;
    align-self: flex-start;
    padding-left: 15px;
}
.result{
    background-color: rgba(255, 0, 0, 0.696);
    border: 1px solid white;
    border-radius: 8px;
    margin: 10px;
    font-size: 1.3em;
    flex-shrink: 2;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    text-align: center;
}
.form_button{
    height: 15%;
    width: 40%;
    align-self: center;
    border-radius: 8px;
    background-color: #4fb6fb;
    border: none;
    display: flex;
    position: relative;
    /* text-align: center; */
    justify-content: center;
    align-items: center;
}
.form_button::after{
    content: '';
    height: 105%;
    width: 105%;
    position: absolute;
    background-image: linear-gradient(to right bottom,skyblue,rgb(254, 84, 237),rgb(255, 55, 175));
    border-radius: 8px;
    z-index: -1;
}
.form_button:hover{
    z-index: 0;
    color: white;font-size: 1.2em;
}
@media(max-width:850px) {
    .BMI_calculator_box{
        width: 50%;
    }
}

@media(max-width:500px) {
    .BMI_calculator_box{
        width: 70%;
    }
}