*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background: #e8e8e8;
    min-height: 100vh;
    padding: 20px
}
header {
    text-align: center;
    margin-bottom: 20px;
}
header h1{
    color: #333;
    font-size: 36px;
    margin-bottom: 10px;
}
header h2{
    color: #4db8ac;
    font-size: 20px;
    font-weight: normal;
}
nav{
    background: white;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
nav ul{
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
}
nav li a{
    text-decoration: none;
    color: #696565;
    font-size: 16px;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s;
}
nav li a:hover{
    background: #f0fffe;
    color: #4db8ac;
}
.container{
    max-width: 500px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}
.from {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}
label{
    font-weight: 600;
    color: #555;
    font-size: 14px;
}
input[type="number"]{
    padding: 15px;
    border: 2px solid #d4f4f0;
    border-radius: 10px;
    font-size: 18px;
    background: #f0fffe;
    transition: all 0.3s;
}
input[type="number"]:focus{
    outline: none;
    border-color: #4db8ac;
    box-shadow: 0 0 0 3px rgba(77, 184, 172, 0.1);
}
select{
    padding: 15px;
    border: 2px solid #d4f4f0;
    border-radius: 10px;
    font-size: 16px;
    background: #f0fffe;
    transition: all 0.3s;
}
.convert-btn{
    width: 100%;
    background: #4db8ac;
    color: white;
    border: none;
    padding: 12px;
    font-size: 18px;
    border-radius: 10px;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s;
    margin: 20px 0;
}
.convert-btn:hover{
    background: #3da699;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(77, 184, 172, 0.4);
}
.convert-btn{
    transform: translateY(0);
}
.result-box{
    background: #f0fffe;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    margin-top: 20px;
    border: 2px solid #d4f4f0;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.05);
}
.result-label{
    font-size: 14px;
    color: #696565;
    margin-bottom: 8px;
}
.result-value{
    font-size: 36px;
    color: #4db8ac;
    font-weight: bold;
}

@media (max-width: 600px){
    .container{
        padding: 25px;
    }
    nav ul{
        flex-direction: column;
        gap: 10px;
    }

    nav li a{
        display: block;
        text-align: center;
    }
}