/* Header */

.w-header-container::after {
    left: 50%;
    animation: load-navbar 2s ease forwards;
}

h1 {
    animation: easeIn 1.5s ease forwards;
    opacity: 0;
    margin: 2em 0 0 0;
}

.subtitle {
    text-align: center;
    font-style: italic;
    font-weight: 100 !important;
    animation: easeIn 1.5s .2s ease forwards;
    opacity: 0;
}

.hero-logo {
    width: 20vw;
    display: block;
    animation: easeIn 1.5s .4s ease forwards;
    opacity: 0;
    margin: 5em auto 4em auto;
}

/* Dropdowns */

.add-person-form {
    margin-bottom: 2em !important;
}

.dropdowns {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.dropdown .dropdown {
    display: flex;
    flex-direction: column;
}

.dropdown .buyer-info {
    background-color: var(--secondary);
    display: flex;
    justify-content: space-between;
    padding: .5em 1em;
    border-top: 2px solid var(--light);
    cursor: pointer;
}

.dropdown .buyer-info .delete-person-form button {
    border: none;
    background-color: var(--secondary);
    color: var(--dark);
    font-size: 1.3em;
    cursor: pointer;
}

.dropdown .buyer-info p {
    margin: 0;
    color: var(--dark);
}

.dropdown .buyer-info p:first-child {
    width: 80%;
}

.dropdown .dropdown-tickets {
    height: 0;
    overflow: hidden;
    background-color: var(--tetriary);
}

.dropdown.dropdown-open .dropdown-tickets .dropdown-ticket:first-child {
    background: linear-gradient(180deg, var(--secondary) 0%, var(--tetriary) 20px);
    padding-top: 1em;
}

.dropdown.dropdown-open .dropdown-tickets .dropdown-ticket {
    padding: .2em 2em;
    display: flex;
    justify-content: space-between;
}

.dropdown.dropdown-open .dropdown-tickets .dropdown-ticket p:first-child {
    min-width: 50%;
}

.dropdown.dropdown-open .dropdown-tickets .dropdown-ticket p:last-child {
    min-width: 20%;
    text-align: left;
}

.dropdown.dropdown-open .dropdown-tickets .ticket-add-form {
    padding: 1.5em 2em 0 2em;
    box-sizing: border-box;
}

.dropdown.dropdown-open .dropdown-tickets p {
    margin: 0;
}

.dropdown.dropdown-open .dropdown-tickets {
    height: auto;
    overflow: hidden;
    padding-bottom: 1em;
}

.ticket-delete-button {
    width: 30px !important;
    background-color: var(--light);
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

@keyframes easeIn {
    0% { opacity: 0; transform: translateY(20px) scale(90%); }
    100% { opacity: 1; }
}

@keyframes load-navbar {
    0% {
        opacity: .1;
        width: 0;
    }
    100% {
        opacity: 1;
        width: 100%;
        left: 0;
    }
}