body {
    background-color: #eee;
    height: auto /** 100vh*/;
    margin: 0;
    position: relative;
    overflow: hidden;
}

* {
    box-sizing: border-box;
}

.bg-primary{
    background-color: #243d84 !important;
}

.clone-container{
    background-color: #fff;
    border-radius: 15px;
}

main {
    height: 100%;
    display: flex;
    flex-direction: column;
    user-select: none;
}

#top-bar {
    background-color: #fff;
    height: auto;
}

#center-panel {
    width: 100%;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f0f0f0;
    height: 100%;
    background-position: center center;
    background-repeat: no-repeat;
}

#center-panel .letter-container{
    justify-content: center;
    display: flex !important;
    z-index: 2;
}


#center-panel .tile-wrapper {
    position: relative;
    z-index: 3!important;
}
#center-panel .tile-wrapper img,
#center-panel .tile-wrapper {
    /*width: 100% !important;*/
    /*height: 100% !important;*/
}


.content {
    flex: 1;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: center;
}


#bottom-panel {
    background: white;
    padding: 10px;
    display: block;
    min-height: 100px;
    margin: 10px;
}

#scroll-box {
    white-space: nowrap;
    overflow-x: scroll;
    display: flex;
    justify-content: start;
}

#scroll-box::-webkit-scrollbar {
    width: 12px;
}

#scroll-box::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    border-radius: 10px;
}

#scroll-box::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
}

#scroll-box .letter-container {
    display: inline-flex;
    flex-wrap: nowrap;
}

.letter-container {
    display: block;
    display: flex;
    flex-wrap: wrap;
}

.tile-wrapper{
    align-items: center;
    display: flex;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin: 15px;
}


#top-bar .tile-wrapper{
    position: relative;
    width: 120px;
    height: 150px;
    display: flex;
}

#top-bar .tile-wrapper{
    margin: 16px 8px;
}

.tile {
    /* background-color: mediumvioletred; */
    background-color: #fff;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 150px;
    position: relative;
     border-radius: 5%;
    /* border: 2px solid #243d84; */
    cursor: move;
    overflow: hidden;
}

.tile[clone] {
    position: absolute;
    visibility: hidden;
    opacity: 0;
}


.disclaimer{
    font-family: 'Montserrat', sans-serif;
    background: #243d84;
    color: #fff !important;
    font-size: 40px;
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 40px;
    text-align: center;
}

.legal{
    background-color: #fff;
}
.legal p{
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    line-height: 24px;
    color: #000;
    padding: 8px 16px;
    text-align: center;
}

@media only screen and (max-width: 765px) {
    .disclaimer{
        font-size: 14px;
        line-height: 20px;
    }
    #scroll-box {
        justify-content: start;
    }
    #center-panel{
        background-size: contain;
    }

    .legal p{
        font-size: 10px;
        line-height: 14px;
    }

    #center-panel .tile-wrapper img,
    #top-bar .tile-wrapper img,
    #top-bar .tile-wrapper{
        width: 60px;
        height: 75px;
    }

    .btn-lg{
        font-size: 2em !important;
        padding: 0.5em 1em !important;
    }

    .modal .modal-body p{
        font-size: 18px !important;
        line-height: 24px !important;
    }
}

.tile.bottom {
    background: cornflowerblue;
}

.tile.center {
    background-color: #fff;
}

.modal .modal-body p{
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    font-weight: 500;
    font-size: 20px;
    line-height: 28px;
    color: #202431;
}

.modal-footer{
    border-top:0;
    justify-content: center;
}

.modal-content{
    border-radius: 21px;
}

.modal-title{
    color: #243d84;
    font-size: 24px;
    font-weight: 700;
}

.btn-primary{
    font-family: 'Montserrat', sans-serif;
    background-color: #243d84;
    border-radius: 21px;
    font-weight: 500;
    font-size: 20px;
    padding: 16px;
    border:0;
    margin-bottom: 16px;
}

.btn-danger{
    font-family: 'Montserrat', sans-serif;
    background-color: #cc0630;
    border-radius: 21px;
    font-weight: 500;
    font-size: 20px;
    padding: 16px;
    border:0;
    margin-bottom: 16px;
}

.btn-lg{
    font-size: 4em;
    padding: 0.5em 1em;
}