
/* Color overrides */
/* pink - ff66c4 */
/* blue - 0F2A62 */
/* 
.button.is-primary {
    background-color: #0F2A62;
    color: #ff66c4;
}

.button.is-primary:hover {
    background-color: #0F2A62;
    color: white;

} */


body {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

main {
    flex: 1;
}

.delete.is-danger {
    background-color: #f14668;
}

.icon.delete {
    max-width: none;
    max-height: none;
}


.navbar {
    background-color: #0F2A62;
    padding: .5em 1em;
    min-height: 0;
    height: auto;
    color: white;
}

.logo, .logo:after  {
    font-family: 'Shadows Into Light', cursive;
    text-transform: uppercase;
    font-size: 30px;
    white-space: nowrap;
}

.logo {
    position: relative;
}

.logo:after {
    position: absolute;
    top: -1px;
    left: 1px;
    content: 'Time\'s Up!';
    color: #ff66c4;
    pointer-events: none;
}

.round {
    font-size: 30px;
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;;
}

/* force nav content right on mobile */
.navbar {
    align-items: stretch;
    display: flex;
}
.navbar-start {
    justify-content: flex-start;
    margin-right: auto;
    align-items: stretch;
    display: flex;
}
.navbar-end {
    justify-content: flex-end;
    margin-left: auto;
    align-items: stretch;
    display: flex;
}

.doodle {
    height: 45px;
    margin-left: 1em;
}

.highscore-dropdown {
    position: fixed;
    top: 4rem;
    right: .2rem;
}

.highscore-dropdown .panel {
    max-height: calc(100vh - 5.5em);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

.panel-block {
    flex-wrap: wrap;
    overflow: auto;
    max-width: 100%;
}

.highscore-dropdown .dropdown-menu {
    z-index: 31;
}

.highscore-dropdown .dropdown-item {
    padding: 0;
}

.highscore-dropdown .panel-block {
    background: white;
}

.modal-background, .modal-card {
    z-index: 40;
}

.partner {
    min-height: 12em;
}
.partner.is-taken {
    opacity: .3;
    pointer-events: none;
}

.inherit-color {
    color: inherit;
}

.tile.is-multiline {
    flex-wrap: wrap;
}

.modal-card-body.is-loading {
    position: relative;
}
.modal-card-body.is-loading:before {
    animation: spinAround .5s infinite linear;
    border: 2px solid #dbdbdb;
    border-radius: 9999px;
    border-right-color: transparent;
    border-top-color: transparent;
    content: "";
    display: block;
    height: 3em;
    position: absolute;
    width: 3em;
    top: calc(50% - 1.5em);
    left: calc(50% - 1.5em);
}

.prompts {
    height: 250px;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.prompt {
    background-color: rgb(255, 242, 170);
    min-height: 100%;
    font-family: 'Shadows Into Light', cursive;
    font-weight: 400;
    font-size: 30px;

    position: absolute;
    top: 0;
    left: 0;
    width: 100%;

    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    text-align: center;
    justify-content: center;

    transition: transform .5s linear;
    transform: translateX(0%);
    width: 100%;
}

.prompt.is-out {
    transform: translateX(-100%) translateX(-30px);
}
.prompt.comes-in {
    transform: translateX(100%) translateX(30px);
}

.columns.is-fullwidth {
    width: 100%;
}

.tile.is-mobile {
    flex: none;
    display: flex;
}

.tile.is-mobile.is-4 {
    width: 33.33333%;
}

.panel-heading {
    background-color: #ff66c4;
}

.instruction {
    max-width: 400px;
    margin: auto;
    background: #0F2A62;
}

.winner {
    position: absolute;
    color: white;
    font-family: 'Oswald', sans-serif;
    transform-origin: left top;
    transform: rotate(-90deg) translateY(-50%);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.winner.is-1 {
    top: 63%;
    left: 50%;
    max-width: 63%;
    font-size: 2em;
}
.winner.is-2 {
    top: 70%;
    left: 29%;
    font-size: 1.5em;
    max-width: 70%;
}

.winner.is-3 {
    top: 74%;
    left: 70%;
    font-size: 1em;
    max-width: 74%;
}

.image img.instruction-img {
    height: auto;
    vertical-align: bottom;
    top: auto;
}

.image img.instruction-img.is-overlaid {
    width: 80%;
    bottom: 24%;
    right: 0;
    left: auto;
}

.log { 
    white-space: normal;
}


@media screen and (max-width: 767px) and (orientation: portrait) {
    html.force-landscape {
        transform: translateY(0%) rotate(-90deg);
        transform-origin: left top;
        position: absolute;
        left: 0;
        top: 100%;
        overflow-x: visible;
        overflow-y: hidden;
        height: auto;
        min-height: 100vw;
        width: 100vh;
    }

    html.force-landscape .navbar-end,
    html.force-landscape main,
    html.force-landscape .footer,
    html.force-landscape .modal-card {
        padding-right: 75px !important;
    }

    html.force-landscape .highscore-dropdown {
        right: calc(0.5rem + 75px);
    }

    html.force-landscape .modal {
        height: 100vw;
    }

    html.force-landscape .modal-card,
    html.force-landscape .modal-content {
        max-height: calc(100vw - 40px);
    }

}