button {
    border: 0;
    color: inherit;
    cursor: pointer;
    font: inherit;
}

h1 {
    font-size: var(--font-size-h1);
    line-height: 1.2;
    margin-block: 0 1.5em;
}

h2 {
    font-size: var(--font-size-h2);
    line-height: 1.2;
    margin-block: 0 0.5em;
}

.button {
    align-items: center;
    background-color: #e96363;
    border-radius: 50px;
    color: #fff;
    display: flex;
    gap: 0.5em;
    justify-content: center;
    padding-block: 0.75em;
    padding-inline: 1em;
    transition: 0.3s;
    border: 1px solid #e96363;
}

.button:focus,
.button:hover {
    background-color: #ec5d5d;
}

.button--full {
    inline-size: 100%;
}

.form {
    display: grid;
    gap: 2em;
    margin-top: 50px;
}

.header {
    display: flex;
    justify-content: center;
    padding-block: 0.5em;
    padding-inline: 1em;
}

.icon {
    block-size: 1em;
    display: inline-block;
    fill: currentColor;
    inline-size: 1em;
    vertical-align: middle;
}

.iphone {
    background-color: #fafafaa6;
    border-radius: 2em;
    box-shadow: 0 0 1em rgba(0, 0, 0, 0.0625);
    inline-size: 375px;
    overflow: auto;
    padding: 2em;
    width: 60%;
    margin: 0 auto;
}

.input-item {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

h2 {
    margin-bottom: 30px;
}

.label {
    width: 35%;
}

.input,
#money {
    width: 100%;
    border: 1px solid #BFC7C9;
    font-size: 14px;
    position: relative;
    background-color: transparent;
    box-sizing: border-box;
    padding: 9px 16px;
    font-weight: normal;
    line-height: 2;
    text-align: left;
    color: #000000;
    outline: none !important;
    border-radius: 10px;
}

#bank-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

.money-item {
    display: flex;
    align-items: center;
    font-size: 16px;
}

#money-intro {
    font-weight: bold;
}

@media (max-width:640px) {
    .input-item {
        flex-direction: column;
    }
    .label {
        width: 100%;
        margin-bottom: 5px;
    }
    .input {
        width: 100%;
    }
    .iphone {
        width: 90%;
    }
}