html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
    font-family: 'Roboto';
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

button, input[type=submit], .button, select {
    padding:10px 20px;
    background-color:#d38034;
    border-radius: 5px;
    color:#ffffff;
    text-transform: uppercase;
    border:2px solid #d38034;
    transition:background-color 0.2s ease, color 0.2s ease, border 0.2s ease;
    -webkit-transition:background-color 0.2s ease, color 0.2s ease, border 0.2s ease;
    -moz-transition:background-color 0.2s ease, color 0.2s ease, border 0.2s ease;
    display: inline-block;
}

button:hover, input[type=submit]:hover, button:active, button:focus, input[type=submit]:active, input[type=submit]:focus, .button:hover, .button:focus, .button:active {
    cursor:pointer;
    background-color:transparent;
    color:#000000;
}

.button.new-room {
    margin-top:16px;
}

.content {
    width:1080px;
    margin: 0 auto;
}

h1 {
    font-size:24px;
    font-weight: bold;
    margin-bottom: 16px;
}

h2 {
    font-size:16px;
    font-weight: bold;
    margin-bottom: 16px;
}

a {
    text-decoration: none;
}

#header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

#title {
    font-size: 32px;
    font-weight: bold;
    display:flex;
    flex-direction: row;
    align-items: center;
    width: 265px;
    justify-content: space-between;
}

main > p {
    margin-top:16px;
    text-align: center;
}

main #title {
    margin: calc(16vh) auto 0;
}

#header #title {
    width: 216px;
    margin: 8px 0;
}

#header #title p {
    font-size: 24px;
}

#title img {
    width: 50px;
}

.smallcontent {
    width:350px;
    margin:40px auto 0;
    background-color: #e0e0e0;
    padding:20px;
    border:1px solid #121212;
    border-radius: 5px;
}

form {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

form label {
    margin: 16px 0;
    width: 100%;
    line-height: 30px;
}

form input {
    width:60%;
    float:right;
    box-sizing: border-box;
    padding: 5px;
    font-size: 14px;
    border-style:solid;
    border-width: 2px;
}

#login form input[type=submit] {
    width:100px;
}

#rooms {
    dispay:flex;
    flex-direction: column;
    align-items: center;
    border-top: 2px solid #e0e0e0;
}

.room {
    display:grid;
    grid-template-columns: 100px 150px 1fr 100px 100px;
    grid-template-rows:1fr;
    align-items: center;
    border-bottom: 2px solid #e0e0e0;
    padding:16px 0;
}

.room img {
    width: 50px;
    flex-grow: initial;
}

#add-room {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin:20px 0;
}

#join-room {
    display: flex;
    flex-direction: row;
    align-items: center;
}

#join-room p, #join-room form input[type=text] {
    margin-right: 20px;
}

#join-room form {
    display: flex;
    flex-direction: row;
    align-items: center;
}

#cookie h1 {
    margin:20px 0;
    font-size:32px;
    text-align: center;
}

#cookie img {
    width: 350px;
    margin: 0 auto;
    display: block;
    transition: transform 0.2s ease;
}

#cookie img:hover {
    cursor: pointer;
}

#cookie img:active {
    transform: scale(3, 3) rotate(3deg);
}

#count {
    margin-top: 40px;
}

#count h2 {
    text-align: center;
    font-size: 40px;
}

#back {
    text-align: right;
}

#user span {
    font-size:20px;
}

#user .button {
    margin-left:16px;
}