*, *::before, *::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;

}

.wrap {
    width: 100%;
    height: 100%;
    min-height: 100vh;
    background: url(img/bg.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.slide {
    width: 100%;
    height: 100%;
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.start {
    transition: all .6s ease-in-out;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    padding-bottom: 2rem;
}

.game {
    background: url(img/bg2.png);
    transform: translateX(100%);
    transition: all .6s ease-in-out;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.result {
    background: url(img/bg3.png);
    display: flex;
    flex-direction: column;
    position: relative;
    align-items: center;
    transition: all .4s linear;
    transform: translateY(-100%);
    justify-content: flex-start;
    padding-top: 4rem;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    padding-bottom: 2rem;
}

.overani {
    overflow: hidden;
}


.content {
    width: 90%;
    height: 100%;
    max-width: 1336px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.column {
    flex-direction: column;
}

.row {
    flex-direction: row;
    justify-content: center;
}

.lead {
    display: block;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
    padding: 1rem 0 1rem 0;
    font-family: benton-sans, sans-serif;
    font-size: 1.2rem;
}

.logo {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    padding-top: 3rem;
    padding: 1rem;
}

.logo img {
    width: 100%;
    padding: 1rem;
}

.gumb {
    margin: 0 auto;
    width: 100%;
    max-width: 400px;
    text-align: center;
    padding: 2rem 0 1rem 0;
}

.dobitnici{
    margin: 0 auto;
    width: 100%;
    max-width: 400px;
    text-align: center;
    padding: 1rem 0 2rem 0;
    font-family: benton-sans, sans-serif;
    text-transform: uppercase;
    font-weight: bold;
    color: #8B0E13;
}

.winners{
    text-align: center;
    font-family: benton-sans, sans-serif;
    padding-top: 6rem;
}

.winners h1{
    text-transform: uppercase;
    color: #8B0E13;
}

.pobjednici{
    padding-top: 2rem;
    font-size: 1.5rem;
}

.pobjednici span{
    font-weight: bold;
    margin-left: 1rem;
   
}

.pobjednici li{
    padding-bottom: .5rem;
}

.btn {
    background: #8B0E13;
    border: 4px solid #FFFFFF;
    box-shadow: 0px 6px 6px #E79985;
    border-radius: 15px;
    font-family: benton-sans, sans-serif;
    font-style: normal;
    font-weight: bold;
    font-size: 1.4rem;
    line-height: 1.1;
    text-align: center;
    text-transform: uppercase;
    color: #FFFFFF;
    padding: 1.6rem 4rem;
    font-style: normal;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    outline: none;
    cursor: pointer;
}

.sponsor {
    width: 100%;
    max-width: 1336px;
    margin: 0 auto;
    text-align: center;
    padding: 8rem 0 2rem 0;
    display: flex;
    align-items: center;
    justify-content:space-around;
}

.link{
    font-family: benton-sans, sans-serif;
font-style: normal;
font-weight: normal;
font-size: 1rem;
text-align: center;
text-transform: uppercase;
padding-right: 1rem;
color: #000000;
}

.guide {
    width: 50%;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-around;
    flex-direction: column;
}

.jiggy {
    width: 50%;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-around;
    flex-direction: column;
}

.guidepic {
    display: block;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    border: 6px solid #fff
}

.timer {
    width: 100%;
    max-width: 180px;
    margin: 0 auto;
}

#time {
    background: #8B0E13;
    border-radius: 50px;
    color: #fff;
    text-align: center;
    width: 100%;
    border: none;
    padding: 1rem;
    font-family: benton-sans, sans-serif;
    font-weight: 700;
    outline: none;
    pointer-events: none;
    font-size: 1.2rem;
}

.cta {
    font-family: benton-sans, sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 1.6rem;
    text-align: center;
    color: #454545;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

canvas {
    width: 100%;
    background: rgba(246, 191, 175, 0.2);
    border: 6px solid #FFFFFF;
}

.newgame {
    margin: 0 auto;
    display: flex;
    align-items: center;
    font-family: benton-sans, sans-serif;
    font-weight: 700;
    font-size: .8rem;
    text-transform: uppercase;
    cursor: pointer;
    padding-bottom: 1rem;
    padding-top: .5rem;
}

.run {
    padding-right: .5rem;
    max-width: 1.5rem;
}

.forma {
    margin: 0 auto;
    width: 80%;
    max-width: 560px;
}

.text-field {
    width: 100%;
    display: block;
    margin-bottom: .2rem;
    padding: 1rem;
    border-radius: 15px;
    height: 50px;
    color: #000;
    outline: none;

    background: #F6BFAF;
border: 2px solid #8B0E13;
border-radius: 5px;
}

.labela {
    font-family: benton-sans, sans-serif;
    font-style: normal;
    font-weight: bold;
    font-size: .7rem;
    line-height: 1;
    text-transform: uppercase;
    color: #454545;
    padding: 1rem;
    display: block;
    text-align: left;
}

.uvjeti {
    font-family: benton-sans, sans-serif;
font-style: normal;
font-weight: normal;
font-size: .8rem;
padding: 1rem;
color: #3D3C3C;
}

.mauto {
    margin: 0 auto;
    padding: 1rem 0 2rem 0;
}

.error {
    color: firebrick;
    font-family: benton-sans, sans-serif;
    font-size: 1.2rem;
}

.success {
    color: green;
    font-family: benton-sans, sans-serif;
    font-size: 2rem;
}

input[type=checkbox] {
    display: block;
    margin-top: .2rem;
    transform: scale(2);
}

.checker {
    display: flex;
    align-items: center;
    border-radius: 15px;
}

.grats {
    font-family: adage-script-jf, sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 4rem;
    text-align: center;
    color: #8B0E13;
}

.winlead {
    font-style: normal;
    font-weight: normal;
    font-size: 1rem;
    text-align: center;
    font-family: benton-sans, sans-serif;
    color: #454545;
    font-weight: 600;
    width: 100%;
    max-width: 400px;
    padding: .4rem;
}

#greska{
    text-align: center;
}

.your{
    font-style: normal;
font-weight: 600;
font-size: .9rem;
text-align: center;
text-transform: uppercase;
font-family: benton-sans, sans-serif;
color: #454545;
padding-top: 1rem;
}

.timeres{
    font-family: benton-sans, sans-serif;
font-style: normal;
font-weight: bold;
font-size: 2rem;
text-align: center;
text-transform: uppercase;
color: #8B0E13;
}

#send{
    background: #8B0E13;
border-radius: 20px;
font-family: benton-sans, sans-serif;
font-style: normal;
font-weight: bold;
font-size: 1.2rem;
text-align: center;
text-transform: uppercase;
display: block;
color: #FFFFFF;
margin: 0 auto;
border: none;
outline: none;
padding: 1rem 3rem;
margin-bottom: 2rem;
cursor: pointer;
}


.animatein {
    opacity: 1;
    transform: translateX(0);
}

.animateoutop {
    opacity: 0;
    transform: translateX(-100%);
}

.animateinfromtop {
    transform: translateY(0);
}

.animateopa {
    opacity: 0;
}

.hidden {
    display: none !important;
}


.text-bad {
    border: 2px solid red !important;
}

a{
    color: #3D3C3C;
    text-decoration: none;
}

.none {
    display: none;
}

@media screen and (max-width: 769px) {
    .content,
    .wrap {
        height: auto;
        min-height: 100vh;
    }
    .guide, .jiggy {
        width: 100%;
    }
    .game {
        height: auto;
    }
    .row {
        flex-direction: column;
    }
    .cta{
        font-size: 1rem;
    }
    .lead{
        font-size: .8rem;
    }
    .btn{
        padding: 1rem 2rem;
    }
    .sponsor{
        max-width: 300px;
        flex-wrap: wrap;
        padding-top: 2rem;
    }
    .linkovi{
        padding-top: 1rem;
    }
    .link{
        display: block;
        margin-top: 1rem;
    }
    .timer{
        margin-bottom: 2rem;
    }
    .newgame{
        padding-top: 2rem;
    }
    .guidepic{
        max-width: 180px;
    }
    .content{
        width: 100%;
        padding: .5rem 1rem;
    }
    #time{
        font-size: .7rem;
        padding: .5rem;
    }
    .timer{
        margin-bottom: 1rem;
    }
    .newgame{
        font-size: .8rem;
    }
    .run{
        max-width: 1.6rem;
        padding-right: .5rem;
    }
}

