html {
    margin: 0;
    height: 100%;
    min-height: 100%;
}

body {
    background-image: url("background.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    height: 100%;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    min-height: 100%;
}

.content {
    flex-direction: column;
    align-items: stretch;
    margin-left: auto;
    margin-right: auto;
    max-width: 400px;
}

.ticket_block {
    background-color: rgba(255, 255, 255, 0.8);
    color: black;
    margin-bottom: 10px;
    border-radius: 4px;
}

.ticket_name {
    padding: 5px 15px;
    font-size: larger;
}

.ticket_description {
    color: rgba(0, 0, 0, 0.6);
    padding: 5px 15px;
}

.add_ticket_row {
    background-color: white;
    display: flex;
    flex-direction: row;
    align-items: center;
    border-radius: 4px;
    font-size: large;
    padding-left: 15px;
    padding-right: 5px;
}

.ticket_price {
    flex-grow: 1;
}

.plus_minus_button {
    color: #2C5DC1;
    border: 0;
    font-weight: bold;
    background: none;
    padding: 5px 10px;
    border: 0px;
    border-radius: 4px;
}

.plus_minus_button:active {
    cursor: pointer;
    background-color: lightgray;
}

.ticket_count {
    font-size: large;
    padding: 0px 10px;
    font-weight: 600;
}

.summary_row {
    background-color: white;
    display: flex;
    flex-direction: row;
    align-items: center;
    border-radius: 4px;
}

.summary_text {
    flex-grow: 1;
    text-align: end;
    margin-right: 15px;
}

.summary_value {
    font-weight: 700;
}

#buy_now_button {
    color: white;
    border: 0;
    background-color: #2C5DC1;
    margin: 5px;
    padding: 10px 20px;
    border: 0px;
    border-radius: 4px;
}

#buy_now_button:active {
    background-color: #1C3C7C;
}

#buy_now_button:disabled {
    opacity: 0.4;
    background-color: #2C5DC1;
}

.loader {
    border: 3px solid #f3f3f3;
    border-radius: 50%;
    border-top: 3px solid #3498db;
    display: none;
    width: 10px;
    height: 10px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

p {
    color: white;
    font-size: x-large;
    text-align: center;
    margin: 20px;
}

#footer {
    font-size: small;
    font-family: sans-serif;
    margin-top: 40px;
    align-self: center;
    text-align: center;
}

a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
}