:root {
    --title: #00f;
    --form: #00ff00;
    --bg: #0ff;
    --white: #fff;
}

* {
    box-sizing: border-box;
}

html {
    color: var(--title);
    font-size: 16px;
}

body {
    background-color: var(--white);
    color: var(--title);
    font-family: Arial, sans-serif;
}

img,
video {
    max-width: 100%;
}

video:hover {
    cursor: pointer;
}

.form ul {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.form li,
.submit-block {
    list-style-type: none;
    padding: 0.6rem;
    width: 100%;
}

.submit-block {
    margin: auto;
    width: 100%;
}

@media (min-width: 992px) {
    .submit-block {
        width: 60%;
    }
}

.form label {
    display: none;
    font-size: 1.3rem;
}

::placeholder {
    color: var(--title);
}

.form ul input,
.form ul select {
    background-color: var(--white);
    border: 3px solid var(--title);
    box-shadow: none;
    color: var(--title);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 3rem;
    padding: 0 1rem;
    text-align: center;
    width: 100%;

    @media (min-width: 992px) {
        font-size: 2rem;
    }
}

.form ul input:disabled {
    background-color: var(--white);
}

.form ul select {
    min-height: 60px;
}

.form ul select option {
    background-color: var(--bg);
}

.form li:last-of-type {
    align-items: center;
    display: flex;
    justify-content: flex-end;
}

.form li:last-of-type label {
    display: block;
    padding-right: 1rem;
}

.form li:last-of-type select {
    padding: 0 0.5rem;
    width: 6rem;
}

@media (min-width: 992px) {
    .form li:nth-last-of-type(2) {
        width: 60%;
    }

    .form li:last-of-type {
        width: 40%;
    }
}

.form button[type="submit"] {
    background-color: var(--form);
    border: 3px solid var(--title);
    color: var(--title);
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 5rem;
    margin: 36px 0;
    text-transform: uppercase;
}

@media (min-width: 992px) {
    .form button[type="submit"] {
        font-size: 3rem;
    }
}

.form button[type="submit"].btn-danger {
    background-color: #e5e5e5;
    border: 3px solid var(--title);
    border-radius: 0;
    color: var(--title);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 3rem;
}

@media (min-width: 992px) {
    .form button[type="submit"].btn-danger {
        font-size: 2rem;
    }
}

select,
input[type="number"] {
    appearance: none;
}

.form .alert.alert-danger {
    margin: 0.6rem;
}

.form .alert.alert-danger li {
    justify-content: center;
}

@media (min-width: 992px) {
    .form .alert.alert-danger li {
        font-size: 1.3rem;
        justify-content: center;
        width: 100%;
    }
}

@media (min-width: 1200px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 1024px;
    }
}

label[for="id_invited_extra_guests"] {
    color: var(--title);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 3rem;
    padding: 0 1rem;
    width: 100%;

    @media (min-width: 992px) {
        font-size: 2rem;
    }
}

.alert-invite {
    background-color: var(--bg);
    border: 3px solid var(--title);
    border-radius: 0;
    color: var(--title);
    font-size: 1.4rem;
    font-weight: 700;
    padding: 2rem;
}

.alert-invite h1 {
    color: var(--title);
    font-weight: 700;
}

.alert-invite a {
    color: var(--title);
    text-decoration: underline;
}
