* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bgColor: #344E41;
    --contbgColor: #A3B18A;
    --white: #e9e9e9;
    --border1: 1px solid lightgray;
    --border2: 1px solid #3A5A40;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: var(--bgColor);
}

.container {
    background-color: var(--contbgColor);
    padding: 2rem;
    border-radius: 1rem;
    min-height: 45vh;
    width: 45vh;
}

/* heading */

h1 {
    color: #344E41;
}

/* form */

form {
    margin: 2.5rem 0 1rem 0;
}

form select,
button,
input {
    width: 100%;
    border: none;
    outline: none;
    border-radius: 0.7rem;
}

/* amount */

form .amount p {
    font-size: 1.2rem;
}


form input {
    border: var(--border);
    font-size: 1rem;
    height: 2.5rem;
    padding-left: 0.5rem;
    background-color: antiquewhite;
}

/* dropdown */

.dropdown {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2.5rem;
}

.dropdown .from,
.to p {
    font-size: 1.2rem;
}

.dropdown i {
    font-size: 1.5rem;
    margin-top: 1.8rem;
}

.select-container img {
    max-width: 2rem;
}

.select-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 6rem;
    border-radius: 0.5rem;
    border: var(--border2);
}

.select-container select {
    font-size: 1rem;
    width: auto;
    background-color: #3A5A40;
    color: var(--white);
}

/* msg */

.msg {
    margin: 2rem 0 2rem 0;
    padding: 0.5rem;
    border-radius: 0.7rem;
    background-color: antiquewhite;
}

/* button */

form button {
    height: 2.5rem;
    background-color: #3A5A40;
    color: var(--white);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

form button:hover {
    background-color: #117e25;
}

@media (max-width:450px) {

    .container {
        padding: 1rem;
        border-radius: 0.5rem;
        min-height: 60vh;
        width: 35vh;
    }
}