body {
    font-family: 'Kalam', cursive;
    font-size: 30px;
    margin: 0;
    background: #f8f8f8 url(img/background.jpg);
}

h1 {
    font-size: 100px;
    margin-bottom: 25px;
}

.top {
    margin: 20px auto;
}

.reroll {
    margin-right: 5rem;
    transition: 0.3s;
    cursor: pointer;
}

.category,
.new,
.time,
.reroll:hover {
    color: #ed0505;
}

.container {
    max-width: 900px;
    margin: 30px auto;
    display: block;
    text-align: center;
}

.string {
    letter-spacing: 10px;
    font-size: 40px;
    margin: 50px 0 20px;
    min-height: 60px;
}

.wrap-letters {
    width: 50%;
    float: left;
    text-align: center;
    min-height: 280px;
}

.gallows {
    float: left;
    width: 50%;
    text-align: center;
    min-height: 280px;
    margin-bottom: 50px;
}

ul {
    list-style: none;
    text-align: left;
}

li {
    width: 34px;
    background-color: white;
    display: inline-block;
    margin: 4px;
    font-size: 30px;
    padding: 10px 10px 3px;
    border-radius: 5px;
    border: 1px solid #666;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
}

li:hover {
    background-color: #666;
    color: white;
}

.clicked,
li.clicked:hover {
    cursor: default;
    color: black;
    background-color: #ddd;
}

.reset {
    text-align: center;
    margin: 20px auto;
    font-size: 1.5em;
}

.tryAgain {
    margin-top: 20px;
    -webkit-transition: -webkit-transform .8s ease-in-out;
    transition: transform .8s ease-in-out;
    width: 100px;
}

.tryAgain:hover {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
    cursor: pointer;
}

.github {
    position: absolute;
    top: 30px;
    right: 30px;
    display: inline-block;
}

.github a {
    background-color: #474747;
    font-family: 'Raleway', sans-serif;
    color: white;
    width: 160px;
    border-radius: 5px;
    padding: 16px;
    vertical-align: middle;
    font-size: 16px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: 0.3s;
}

.github a:hover,
.dropdown:hover .dropbtn {
    background-color: #727272;
}

.github i {
    font-size: 40px;
    margin-right: 10px;
    line-height: 50px;
    vertical-align: middle;
    height: 50px;
}
