html {
    height: 100%;
    padding: 0;
    margin: 0;
    background-color: #fafafa;
}

body {
    height: 100%;
    margin: 0;
    background-color: #fafafa;
    padding: 0;

    font-size: 18px;

    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, Liberation Sans, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", Segoe UI Symbol, "Noto Color Emoji";

    max-width: 800px;
    margin: 0 auto;
}


/*.tile2 {*/
/*    height: 3rem;*/
/*    min-height: 3rem;*/

/*    padding-top: 1rem;*/
/*    padding-bottom: 1rem;*/

/*    display: flex;*/
/*    flex-direction: row;*/
/*    align-items: center;*/

/*    padding-left: 1.5rem;*/
/*    padding-right: 1.5rem;*/
/*}*/

.alert {
    /*z-index: 10;*/
    /*background: purple;*/
    background: lightgoldenrodyellow;
    /*color: white;*/
    /*font-weight: bold;*/
    /*position: sticky;*/
    /*top: 3rem;*/
}

/** -- MAIN BUTTON -- **/
.main-button {
    display: flex;
}

.main-button > div {
    display: flex;
}

/*.main-button > div,*/
.main-button > div > button {

    user-select: none;

    background: seagreen;
    color: white;
    cursor: pointer;

    transition: all linear 150ms;
    opacity: 1;

    flex: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 24px;
    border: none;
    border-radius: 0.25rem;
    border-radius: 0.375rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;

    padding-left: 1.0rem;
    padding-right: 1.0rem;

    white-space: nowrap;

    padding-top: 1.0rem;
    padding-bottom: 1.0rem;
}

/*.main-button.danger > div,*/
.main-button.danger > div > button {
    background: #f94338;
}

.main-button.busy > div > button {
    opacity: 0.5;
    background-color: #aaaaaa;
    pointer-events: none;
    cursor: default;
}

.main-button .icon {
    display: none;
}



.h-6 {
    width: 1.5rem;
}

.w-6 {
    width: 1.5rem;
}

.trailing-buttons {
    display: flex;
    margin: -1rem 0;
    padding: 1rem 0;
}

button.yesno {
    display: none;
}

.responded-yes {
    /*background: rgba(46, 139, 87, 0.05);*/
}
.responded-no {
    /*background: rgba(139, 0, 0, 0.05);*/
}

.dot::before {
    color: #444;
    content: '•';
}

.tile.grayed-out {
    background: #eee;
}

.tile.grayed-out .title, .tile.grayed-out .dot::before, .tile.grayed-out .leading {
    color: #777;
}

.tile.grayed-out .title {
    color: #777;
    user-select: none;
    text-decoration: line-through;
}

.tile.grayed-out button.yesno {
    color: #777;
    background: #eee !important;
    outline: none !important;
    display: none;
}

@media (hover: hover) {
    
    .swipe-tutorial {
        display: none;
    }
     
    button.yesno {
        display: block;
        
        font-size: 16pt;
        min-width: 5rem;

        border: 0;
        border-radius: 0.5rem;

        background: seagreen !important;
        color: white;

        cursor: pointer;

        opacity: 0.7;

        border: 4px solid white;
        outline: 3px solid transparent;

    }
    
    button.yesno.button-yes.rsvp-yes, 
    button.yesno.button-no.rsvp-no {
        outline: 3px solid black;
        opacity: 1;
    }
    
    button.yesno:hover {
        opacity: 1;
        outline: 3px solid black;
    }

    button.yesno + button.yesno {
        margin-left: 1rem;
        background: red !important;
    }
}

.list-of-rsvps > :nth-child(1) { --nth-child: 1s; }
.list-of-rsvps > :nth-child(2) { --nth-child: 1.1s; }
.list-of-rsvps > :nth-child(3) { --nth-child: 1.2s }
.list-of-rsvps > :nth-child(4) { --nth-child: 1.3s }
.list-of-rsvps > :nth-child(5) { --nth-child: 1.4s }

.list-of-rsvps .swipe-element {
    animation: animation3 8s ease-in-out var(--nth-child) 1 normal none;
}

@media (hover: hover) {
    .list-of-rsvps .swipe-element {
        animation: none;
    }
}

/****/

/*.swipe-tutorial:before {*/
/*    content: '';*/
/*    background-color: seagreen;*/
/*    position: absolute;*/
/*    width: 50%;*/
/*    left: 0px;*/
/*    height: 100%;*/
/*    z-index: 0;*/
/*}*/

.swipe-tutorial {
    position: relative;
    width: 100%;
}

.tutorial-swipe-right {
    /*background-color: white;*/
    max-width: 100%;
    overflow: hidden;

    /*position: absolute;*/
    /*top: 0;*/
    
}

.tutorial-swipe-right .swipe-element {
    animation: animation1 10s ease-in-out 3s infinite normal none;
}

.tutorial-swipe-right > div,
.tutorial-swipe-left > div {
    display: flex;
}

.tutorial-swipe-left {
    max-width: 100%;
    /*background-color: white;*/
    overflow: hidden;

    display: flex;

    animation: animation2 10s ease-in-out 5s infinite normal none;
}

@keyframes animation1 {
    0% {
        animation-timing-function: ease-in;
        opacity: 1;
        transform: translateX(0px);
    }

    30% {
        animation-timing-function: ease-in;
        opacity: 1;
        transform: translateX(0px);
    }

    35% {
        animation-timing-function: ease-out;
        opacity: 1;
        transform: translateX(2rem);
    }

    40% {
        animation-timing-function: ease-in;
        opacity: 1;
        transform: translateX(0px);
    }

    100% {
        animation-timing-function: ease-in;
        opacity: 1;
        transform: translateX(0px);
    }
}

@keyframes animation2 {
    0% {
        animation-timing-function: ease-in;
        opacity: 1;
        transform: translateX(0px);
    }

    30% {
        animation-timing-function: ease-in;
        opacity: 1;
        transform: translateX(0px);
    }

    35% {
        animation-timing-function: ease-out;
        opacity: 1;
        transform: translateX(-2rem);
    }

    40% {
        animation-timing-function: ease-in;
        opacity: 1;
        transform: translateX(0px);
    }

    100% {
        animation-timing-function: ease-in;
        opacity: 1;
        transform: translateX(0px);
    }
}

@keyframes animation3 {
    0% {
        animation-timing-function: ease-in;
        opacity: 1;
        transform: translateX(0px);
    }

    30% {
        animation-timing-function: ease-in;
        opacity: 1;
        transform: translateX(0px);
    }

    35% {
        animation-timing-function: ease-out;
        opacity: 1;
        transform: translateX(3.5rem);
    }

    40% {
        animation-timing-function: ease-in;
        opacity: 1;
        transform: translateX(-3.5rem);
    }

    45% {
        animation-timing-function: ease-in;
        opacity: 1;
        transform: translateX(0px);
    }

    100% {
        animation-timing-function: ease-in;
        opacity: 1;
        transform: translateX(0px);
    }
}

button.std-button {
    background: green;
}