* {
    box-sizing: border-box;
    font-family: Roboto, sans-serif
}

body {
    background-color: #034582;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
}

section {
    width: 100%;
}

.container {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#ticket-count-selector {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 0.5em;
}

#ticket-count-selector>div {
    background-color: gray;
}

.big-number {
    display: flex;
    font-size: 5em;
    align-items: center;
    justify-content: center;
}

#payment-total {
    background-color: white;
    border-radius: 0.5em;
    height: auto;
    padding: 5%;
    bottom: 1rem;
    left: 0;
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-areas: 'text total'
        'transaction-cost transaction-cost'
        'bank bank'
        'pay pay';
    grid-gap: 1rem;
    color: black;
}

#text {
    grid-area: text;
    color: black;
}

#total {
    text-align: right;
    grid-area: total
}

#transaction-cost {
    grid-area: transaction-cost;
    font-size: small;
    font-style: italic;
    color: black;
}

#bank-select {
    grid-area: bank;
}

.ticket-button {
    border-radius: 0.5em;
    background-color: white;
    border: none;
    padding: 1em;
}

.selected {
    background-color: #FFD61E;
    color: rgb(0, 0, 0);
}

#paynow {
    grid-area: pay;
    width: 100%;
    font-size: 1.5rem;
    color: rgb(0, 0, 0);
}

.custom-button {
    border: none;
    border-radius: 0.25em;
    background-color: #FFD61E;
    color: black;
    padding: 0.5rem;
    width: 100%;
    display: block;
    text-align: center;
}

.custom-button:disabled {
    background-color: gray;
}

#paynow:disabled {
    background-color: gray;
    color: darkgray;
}

option {
    padding-left: 10px;
}

.payedAmount {
    font-weight: bold;
}

#other-amount-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-gap: 1em;
}


.email-and-button {
    display: grid;    
    grid-template-columns: 3fr 1fr;
    grid-gap: 0.5em;
    grid-template-areas:    "email button";
}

@media only screen and (max-width: 420px) {
    .email-and-button {
        grid-template-rows: 1fr 1fr;
        grid-template-columns: 1fr;
        grid-gap: 0.5em;
        grid-template-areas:    "email"
                                "button";
    }
}

#email {
    grid-area: email;
}

#signup-button {
    grid-area: button
}


.image-container {
    width: 100%;
    padding: 20px 20%;
    background-color: white;
    border-radius: 0.5rem;
    color: black;
}

.email-container {
    width: 100%;
    padding: 20px 20px;
    margin-top: 20px;
    background-color: white;
    border-radius: 0.5rem;
    color: black;
}

#other-amount-section>span {
    font-size: 2em;
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

#other-amount-section>input {
    width: 3.5em;
}

input {
    font-size: 16px;
    border-radius: 4px;
    border: 1px solid #ccd5e0;
    background: #fff;
    color: #3b4858;
    padding: 8px 12px;
}

select {
    font-size: 16px;
    border-radius: 4px;
    border: 1px solid #ccd5e0;
    background: #fff;
    color: #3b4858;
    padding: 8px 12px;
}

.hidden {
    display: none;
}

.note {
    font-size: smaller;
    font-style: italic;
}

#success {
    text-align: center;
}

.link {
    color: rgb(175, 175, 175);
}


#storing {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #034582;
    color: #034582;
}

#storing {
    padding: 1em;
}
