html, body {
    font-family: 'Roboto', 'Helvetica', sans-serif;
}

.mdl-card {
    display: block;
}

/* Fixes an MDL bug where the header does not scroll on small devices */
.mdl-layout__content {
    overflow: visible;
    display: block;
}

.title{
    font-size: 30px;
}

.username {
    display: inline-block;
    line-height: 38px;
    vertical-align: top;
    width: calc(100% - 46px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
}

#sign-in-button {
    margin-left: 10px;
    color: inherit;
}

#sign-out-button {
    margin: 5px;
    color: inherit;
    right: 0;
    top: 0;
    position: absolute;
}


@media screen and (max-width: 479px) {
    .mdl-layout__drawer-button {
        display: block;
        top: 3px;
    }
}

/* New Post Page */

#page-add {
    display: block;
    text-align: center;
}
#page-add .mdl-cell {
    width: auto;
    min-width: 300px;
}

@media screen and (max-width: 479px) {
    .mdl-snackbar__action {
        margin-right: 60px;
    }
}

/* Post */

.mdl-card {
    height: 100%;
    top: 0;
    left: 0;
    min-height: 0;
}

.add-comment.mdl-textfield {
    width: 100%;
}

/* Splash Page */

#page-splash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #111114;
    background: radial-gradient(circle, #2d2d3b, #111114);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    flex-direction: column;
}

img {
    max-width: 100%;
    max-height: 100%;
}

.start-image {
    width: 150px;
    height: auto;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.splash-gif {
    width: 75%;
    height: auto;
    justify-content: center;
    align-items: center;
    margin-top: 60px;
    margin-bottom: 60px;
    align-items: center;
    text-align: center;
}

.welcome-text {
    width: 75%;
    text-align: center;
    margin-bottom: 15px;
}

.submit-form-container {
    padding-right: 0;
}
.submit-button-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

#header {
    box-sizing: border-box;
    margin: auto;
    display: inline-block;
    text-align: center;
    position:fixed;
    top:0;
    width:100%;
    height: 80px;
    z-index: 9000;
    background-color: #111114;
    background: radial-gradient(circle, #2d2d3b, #17171b);
}

.titlebar{
    padding: 8px;
    width: 100%;
    text-align: center;
    height: 80px;
    margin-bottom: 5px;
}

.sign-out-button {
    font-size: 14px;
}


#user-stats {
    text-align: center;
    padding-bottom: 0;
    padding-top: 0;
    margin: 0;
    font-size: 18px;
}

#main-container {
    display: inline-block;
    position: absolute;
    width: 100%;
    top: 80px;
    bottom: 65px;
    overflow: auto;
    padding: 0;
    margin: 0;
}

.user-post-list {
    padding-top: 0;
}

.team-info-container {
    min-height: 0;
    color: #444;
    margin: 8px auto;
}

.team-info-title-container {
    padding: 2px;
    height: 100%;
}

.team-info-title-text {
    font-size: 16px;
    font-weight: bold;
    margin: 2px;
}

.card-container{
    width: 100%;
}

.beer-count-text {
    font-size: 16px;
    font-weight: bold;
    margin: 2px;
    position: absolute;
    right: 10px;
    line-height: 100%;
    text-align: center;
}

.team-users-container {
    padding: 2px;
    margin: 0;
    text-align: center;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.user-info-tile {
    padding: 2px;
    margin: 0;
    text-align: center;
    min-height: 0;
    max-height: 20px;
    width: 100%;
}

.team-info-username {
    font-size: 14px;
    margin: 2px 2px 2px 5px;
    display: inline-block;
}

.team-info-user-beer-count {
    font-size: 14px;
    position: absolute;
    right: 12px;
    line-height: 100%;
    text-align: center;
    display: inline-block;
}

.join-or-leave-container {
    text-align: center;
}

#join {
    font-size: 12px;
    text-align: center;
    padding: 0;
    margin-bottom: 4px;
    width: 50px;
    height: 20px;
    line-height: 20px;
    min-width: initial;
}

#leave {
    font-size: 12px;
    text-align: center;
    padding: 0;
    margin-bottom: 4px;
    width: 50px;
    height: 20px;
    line-height: 20px;
    min-width: initial;
}

#footer {
    position:fixed;
    bottom:0;
    width:100%;
    z-index: 9000;
    background-color: #111114;
    background: radial-gradient(circle, #2d2d3b, #17171b);
    text-align: center;
    padding: 0;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#create-team{
    display: inline-block;
}

#up {
    display: inline-block;
    width: 45px;
    height: 45px;
    min-width: initial;
    margin: 0px;
}

#down {
    display: inline-block;
    width: 45px;
    height: 45px;
    min-width: initial;
    margin: 0px;
}

#user-beer-count {
    width: 80px;
    align-items: flex-start;
    display: inline-block;
}
