html{
    display: flex;
    align-content: center;
    align-items: center;
    height:100%;
    margin: 0;
    padding: 30px;
    font-family: "Inter";
    font-size: 18px;
    font-weight: 400;
    }

#title{
     white-space: nowrap;
}

body{
    font-family: "Inter";
    margin: 0; 
    height: 100%; 
    width: 607px;
}

 h1{
        font-size: 36px;
        font-weight: 600;
        font-family: "Public Sans"; 
        color:  #1d1d1d;
        text-align: left;
    }

.container {
    border-radius: 8px;
    padding: 25px;
    background-color:#bababb;
    border-radius: 5px;
    margin: 10px;
    color: white;
    padding: 20px;
     width: 470px;
}

label {
    display: block;
    margin-bottom: 5px;
}
input, select {
    padding: 10px;
    
}
button {
    padding: 12px 20px;
}
.results {
    margin-top: 30px;
    display: none;
}
.results h2 {
    margin-bottom: 15px;
}
table {
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    padding: 12px;
    text-align: left;
}
.summary {
    margin-top: 20px;
    padding: 15px;
}

.distance{
    display:flex;
    margin-top: 20px;
    height: 43px;
    align-items: center;
}
#time{
    display:flex;
    height: 40px;
    align-items: center;
}
.hours{
    
    margin-bottom: 10px;
    align-items: center;
}

#distanceandunit{
    margin-top: 10px;
}
#distance{
    margin-left:10px;
    margin-right: 10px
}
#distance-unit{
    margin-left: 10px;

}
#calculate{
    font-family:"Inter";
    border-radius: 5px;
    color:white;
    height:45px;
    overflow:hidden;
    line-height:12px;
    padding: 5px 5px 5px 5px;
    background-color: #10A73D;
    width: 110px;
    
}
#calculate:hover{
    cursor:pointer;
    background-color: #0D772C;
    transform: scale(1.1);
}
#calcbtn{
    text-align: center;
    margin-top: 30px;
}
#clear{
    background-color: #bababb;
    border-radius: 5px;
    border-color: white;
    color:white;
    height:45px;
    width: 110px;
    line-height:12px;
    margin-left: 5px;
}
#clear:hover{
    background-color: #6C6C6D;
    transform: scale(1.1);
}
/*Mobile*/
@media(max-width: 600px){
    body{
        flex-direction: column;
        width: 280px;
    }
    .hours{
        flex-direction: column;
    }
    #distance{
        margin-left:10px;
    }
    #distance-unit{
        margin-left: 10px;
        margin-top: 10px;
    }
    #seconds{
        margin-left: 8px;
    }
    
}