:root{
    --cal1:rgba(10, 59, 25, 0.815);
    --cal2:rgba(255, 255, 255, 0.514);
}

body{
    background: url(apple.jpg); 
    background-size: cover;
}

.cal{
    width: 500px;
    height:250px;
    padding: 45px;
    background-color: var(--cal1);
    margin: auto;
    margin-top: 30px;
    display: flex;
    position: relative;
    box-sizing: border-box;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    border-radius: 10px;
    box-shadow: 0 0 5px var(--cal2);
}

.cal> h1{
    color: rgb(254, 254, 254);
}

.cal:hover{
    box-shadow: 0 0 100px var(--cal2);
    transition: 500ms;
}

.cal>.calori{
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin-top: 10px;
    position: absolute;
    bottom: -10px;
    right: -10px;    
    background-color: rgb(81, 100, 44);
    border: none;
    color: rgb(200, 202, 203);
    font-size: x-large;

}

.cal>.taken{
    width: 100px;
    height: 30px;
    font-size: larger;
}

.reset{
    color: rgb(114, 25, 25);
    right: 5vw;
}

.target,.reset,.newCalori{
    background-color: rgba(216, 255, 217, 0.395);
    padding: 15px;
    border-radius: 3px;
    position:absolute;
    top: 85vh; /*will be change for newCalori*/
}

.target{
    color: rgb(4, 14, 79);
    left: 5vw;
}

.reset:hover,#reset-icon:hover,#reset-label,.targetx,.calori,.customSubmit{
    cursor:pointer;
}

.reset:hover,.target:hover,.cal>.calori:hover{
    background-color: rgb(216, 255, 217);
    transition: 500ms;
}

.reset:hover{
    color: rgb(200, 2, 2);
}
.target:hover{
    color: rgb(13, 35, 177);
}
.cal>.calori:hover{
    color: green;
}

.newCalori{
    top: auto;
    bottom: 4vh;
    left: 4vw;
    display: flex;
    align-items: center;
}

#new-label{
    height: 80px;
    width: 250px;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.newCalori #newCal{
    height: 30px;
    width: 120px;
    font-size: larger;
    padding: 5px;
}

.newCalori .customSubmit{
    height: 40px;
    width: 90px;
    border: none;
    font-size: medium;
}