@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700;800;900&display=swap");

body {
    display: flex;
    align-items: center;
    min-height: 100vh;
    background-image: url('assets/background.jpg');
    font-size: 16px;
}

html {
    font-size: 62.5%;
}

body,
html {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    line-height: 1.4;
    scroll-behavior: smooth;
}

.calculator {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60rem;
    width: 40rem;
    margin-left: 160px;
    border: 2px solid rgba(59, 31, 31, 0.35);
    border-radius: 2rem;
    flex-wrap: wrap;
}

#heading {
    color: rgb(107, 44, 44);
}

.inputsection {
    color: rgb(107, 65, 43);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

#interest,
#capital,
#return_amount,
#date,
#type {
    width: 29rem;
    margin-bottom: 2rem;
}

#interest input {
    border-radius: 2rem;
}

#result {
    height: 5rem;
    width: 29rem;
    color: rgb(107, 65, 43);
    display: flex;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5rem;
}

.submitbtn button {
    background-color: #743f0a;
    color: white;
    font-size: 16px;
    height: 40px;
    width: 160px;
    border-radius: 20px;
    margin-left: 11px;
    justify-self: center;
}

.submitbtn button:hover{
    cursor: pointer;
    box-shadow:rgb(107, 65, 43);
    background-color: #532d07;
}

#interest,
#capital,
#return_amount,
#date,
#type {
    background-color: #eab09b;
    color: rgb(0, 0, 0);
    border-radius: 10px;
    border-color: black;
    border-width: 2px;
    padding: 3px;
    font-weight: 500;
}

::placeholder{
    color: black;
    padding: 3px;
}