@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,700;1,100;1,300;1,400;1,700&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    font-family: 'Roboto', sans-serif;
    letter-spacing: 1px;
}

.tool-container{ 
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 950px;
    margin: 50px auto 0px auto;
}
.tool-container h1{
    display: block;
    text-align: center;
    margin: 20px 10px;
    text-transform: uppercase;
    font-style: italic;
    font-size: 40px;
    font-weight: 700;
}
.tool-container-feild-group{
    display: flex;
    width: 98%;
    justify-content: center;
}
.tool-container-feild{
    display: block;
    width: 50%;
    padding: 10px;
    margin: 5px;
    background: rgb(154, 197, 163);
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.tool-16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
}
.tool-input-group{
    display: flex;
    justify-items: center;
    justify-content: space-between;
    width: 100%;    
    margin: 5px;    
    padding: 10px 5px;
    border-bottom: 1px solid rgb(222, 228, 228);
}
.tool-input-group:last-child{
    border: none;
}
.tool-input-label{
    display: block;
    font-size: 20px;
    line-height: 40px;
}
.tool-input-feild{
    display: block;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
    width: 150px;
    height: 35px;
    border: None;
    border-radius: 5px;
    padding: 5px;
    margin: 5px;
}
.tool-error-message{
    display: block;
    color: red;
    font-size: 11px;
    font-style: italic;
    font-weight: 800;
    margin: 50px 5px 0 5px;
    position: absolute;
    bottom: 1px;
    right: 0px;
}
.tool-btn{
    border: none;
    cursor: pointer;
    min-width: 100px;
    margin: 5px;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 20px;
    color: aliceblue;    
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}
.tool-btn:hover{
    box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px inset, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px inset;
}
.tool-btn-reset{
    width: 150px;
    margin-left: 0px;
    background: rgb(199, 214, 63);
    color: rgb(58, 25, 25);
}
.tool-select-group{
    float: right;
    border: none;
    height: 35px;
    min-width: 100px;
    text-align: center;
    border-right:5px ;
    border-radius: 5px;
    font-weight: 700;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
    position: relative;
}
.tool-btn-calculate{
    width: 150px;
    background: rgb(33, 83, 219);
}
.tool-output-box{
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.tool-output-box ul{
    margin: 5px;
    margin-left: 25px;
}
.tool-output-box ul li{
    padding: 2px;
}  

#OutputInfo{
    display: flex;
}
.tool-output-box h2{
    text-align: center;
    margin-bottom: 10px;
    font-size: 30px;
}
.tool-output-box p{
    text-align: left;
    margin-top: 10px;
    font-size: 20px;
    align-self: flex-start;
}
.tool-output-box table tr{
    height: 30px;
}
.tool-output-table{
    width: 100%;
    font-size: 25px;
}
.tool-author-intro{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #5A5A5A;
}
.tool-author-intro p{
    margin: 5px;
}
.tool-author-intro a{
    text-decoration: none;
    color: rgb(154, 197, 163);
    transition: 0.5s;
}
.tool-author-intro a:hover{
    color: rgb(84, 134, 95);
}
.tool-error-border{
    border: 2px solid red;
}


@media only screen and (max-width: 700px) {
    .tool-container{
        width: 98%;
        margin: 10px;
        box-sizing: border-box;
        padding: 5px;
        align-items: center;
    }
    .tool-container h1{
        margin: 10px 5px;
        font-size: 25px;
    }
    .tool-container-feild-group{
        width: 98%;
        flex-direction: column;       
    }
    .tool-container-feild{
        width: 98%;
    }
}
@media screen and (max-width: 460px) {
    .tool-input-group{
        flex-direction: column;
    }
    .tool-input-feild{
        width: 100%;
    }
    .tool-select-group{
        width: 100%;
    }
    .tool-btn-reset{
        width: 100%;
    }
    .tool-btn-calculate{
        width: 100%;
    }
}