html,
body {
    min-height: 100%;
    height: 100%;
}
body {
    width: 1080px;
    height: 1920px;
    margin: 0 auto;
    background-color: #181818;
    font-family: 'Fredoka One', cursive;
}

button {
    border: 0;
    margin: 0;
    padding: 0;
}

.container {
    width: 1080px;
    height: 1920px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    position: relative;
    background-size: cover;
    background-position: center;
    background-image: url("img/bg.png");
}

.title {
    margin-top: 50px;
    text-align: center;
    font-size: 24px;
    color: white;
}

.box-roulette {
    position: relative;
    margin: 0 auto;
    width: 900px;
    height: 900px;
    border: 10px solid #ccc;
    border-radius: 50%;
    background: #ccc;
    overflow: hidden;
}

.box-roulette .markers {
    position: absolute;
    left: 50%;
    top: 0;
    margin-left: -50px;
    width: 0;
    height: 0;
    border: 50px solid #fff;
    border-left-color: transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
    z-index: 9999;
}

.box-roulette .roulette {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.box-roulette .item {
    position: absolute;
    top: 0;
    width: 0;
    height: 0;
    border: 0 solid transparent;
    transform-origin: 0 100%;
}

.box-roulette .label {
    position: absolute;
    left: 110px;
    top: -220px;
    color: #fff;
    white-space: nowrap;
    transform-origin: 0 0;
}

.box-roulette .label .text {
    display: inline-block;
    font-size: 20px;
    font-weight: bold;
    line-height: 1;
    vertical-align: middle;
    max-width: 200px;
}

.btn-controls {
    display: none;
}
.btn-controls.show {
    display: block;
}
#btn-start,
#btn-reset {
    background: #014c8f;
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -100px 0 0 -100px;
    width: 200px;
    height: 200px;
    font-weight: bold;
    border-radius: 400px;
    z-index: 9999;
    cursor: pointer;
    outline: none;
    font-size: 30px;
    font-weight: 800;
    color: #FFF;
    box-shadow: 0 0 15px rgba(0, 0, 0, .2);
    font-family: 'Fredoka One', cursive;
}

#btn-start > img {
    max-width: 150px;
}

#btn-start:disabled,
#btn-reset:disabled {
    color: #A9A9A9;
    background: #708090;
} 


.logo {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    margin: 0 auto;
}

#container-premio {
    width: 100%;
    max-width: 1000px;
    height: 300px;
    position: absolute;
    bottom: 50px;
    left: 0;
    right: 0;
    margin: 0 auto;
    justify-content: center;
    font-size: 30px;
    color: #014c8f;
    align-items: center;
    font-family: 'Raleway', sans-serif;
    box-sizing: border-box;
    flex-direction: column;
    padding: 10px;
}

#container-premio > .titulo,
#container-premio > .premio {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #FFF;
}

#container-premio > .titulo {
    width: 100%;
    height: 60px;
    text-align: center;
    margin-bottom: 10px;
    border-radius: 10px;    
}

#container-premio > .premio {
    width: 100%;
    height: 210px;
}

#container-premio > div > p {
    margin: 0;
}

#container-premio > div > h1,
#container-premio > div > h2 {
    margin: 0;
    display: none;
    text-align: center;
    opacity: 0;
}

#container-premio > div > h1.show,
#container-premio > div > h2.show {
    display: block;
    animation: scale .5s forwards;
}

#container-premio > div > h1 {
    font-size: 120px;
}

#container-premio > div > h2 {
    font-size: 70px;
}

#container-premio > div {
}

#container-premio.loading::before {
    content: ' ';
    width: 5px;
    height: 100px;
    position: absolute;
    background-color: #fece17;
    margin: 0;
    border-radius: 10px;
    display: block;
    left: -2px;
    animation: letreiro 1.5s linear infinite;
}


@keyframes scale {
    0% {
        opacity: 0;
        transform: scale(.8);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes letreiro {
    0% {
        width: 10px;
        height: 10px;
        transform: translateY(-15px)  translateX(-5px);
    }
    15% {
        width: 200px;
        height: 10px;
        transform: translateY(-15px)  translateX(500px);
    }
    30% {
        width: 10px;
        height: 10px;
        transform: translateY(-15px)  translateX(1000px);
    }


    40% {
        width: 10px;
        height: 100px;
        transform: translateY(135px)  translateX(1000px);
    }

    50% {
        width: 10px;
        height: 10px;
        transform: translateY(285px)  translateX(1000px);
    }

    65% {
        width: 200px;
        height: 10px;
        transform: translateY(285px)  translateX(500px);
    }

    80% {
        width: 10px;
        height: 10px;
        transform: translateY(285px)  translateX(-5px);
    }

    90% {
        width: 10px;
        height: 100px;
        transform: translateY(135px)  translateX(-5px);
    }

    100% {
        width: 10px;
        height: 10px;
        transform: translateY(-15px)  translateX(-5px);
    } 
}