@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200;300;400;500;600&display=swap');

:root {
    --linear-gradient: linear-gradient(90deg, #0A4D68, #088395, #05BFDB, #00FFCA);
}

* {
    font-family: 'Oswald', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

#container {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--linear-gradient);
    color:  #d1d5db;
}

#calculator {
    background-color: #262626;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 10px 10px 10px rgba(0,0,0,0.4 alpha);
    display: flex;
    flex-direction: column;
    gap: 25px;
}

#calculator h2 {
    font-size: 30px;
    position: relative;
}

#calculator h2::before {
    position: absolute;
    content: '';
    height: 3px;
    width: 150px;
    background: var(--linear-gradient);
    bottom: 5px;
}

#input-box {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.input-field {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.input-field label {
    font-size: 15px;
    color: #c8ced6;
    font-weight: 500;
}

.input-field input {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #4c1d95;
    color: white;
    padding: 5px;
}

.input-field input:focus {
    outline: none;
}

#result {
    text-align: center;
}

#total {
    font-size: 40px;
}

#calculate {
    background: var(--linear-gradient);
    border: none;
    padding: 10px;
    color: white;
    font-weight: 600;
    cursor: pointer;
}