@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap');

* {
    margin: 0;
    padding: 0;
    font-family: 
    'Didact Gothic', sans-serif;
    
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    padding: 40px;
}

.main h1 {
    font-size: 40px;
    margin-bottom: 20px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.61);
}

.container {
    display: flex;
    width: 900px;
    height: 500px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.input-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 50%;
    height: 100%;
}

.result-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: rgb(255, 255, 255);
    background-color: #141318;
    width: 50%;
    height: 100%;
}

.input-group {
    display: flex;
    flex-direction: column;
    padding: 15px;
    margin: 0 30px;
}

.input-group input {
    border: none;
    outline: none;
    border-bottom: 1px solid rgb(200, 200, 200);
    font-size: 20px;
    padding: 5px;
}

.input-container button {
    padding:26px 48px 26px 48px;
    font-family: "Amiri", Sans-serif;
    font-size: 16px;
    font-weight:700;
    width: 80%;
    margin-top: 10px;
    align-self: center;
    background-color: #d28c0e;
    color: rgb(255, 255, 255);
    border: none;
    cursor: pointer;
    
}

.input-container button:hover {
    background-color: #000;
    border:2px solid #d28c0e;
    
    color:#d28c0e;
}

.monthly-payment {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 250px;
    width: 80%;
    margin: 30px;
    border-bottom: 1px solid rgb(200, 200, 200);
}

.monthly-payment h1 {
    font-size: 50px;
}

.total-interest, .total-principal, .total-amount {
    display: flex;
    margin: 2px;
    justify-content: space-between;
    width: 80%;
}