@font-face {
    font-family: Kia;
    src: local("kia_medium.woff"), local("kia_medium.woff"), url(kia_medium.woff);
    font-weight: 700;
    font-style: normal
}

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background: #000;
    position: relative;
    width: 100%;
    height: 100vh;
    font-family: Kia, Helvetica, sans-serif
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0
}

main {
    height: 100vh
}

.rotate {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0;
    right: 0;
    background-repeat: no-repeat;
    background-position: top;
    background-size: cover;
    z-index: 50;
    visibility: visible;
    background-color: #000
}

.message {
    padding: 20px
}

.phone {
    margin-top: 50px;
    height: 50px;
    width: 100px;
    border: 3px solid #fff;
    border-radius: 10px;
    animation: rotate 1.5s ease-in-out infinite alternate
}

.message h3 {
    color: #fff;
    font-size: 1em;
    margin-top: 80px;
    text-align: center
}

@keyframes rotate {
    0% {
        transform: rotate(0)
    }

    50% {
        transform: rotate(-90deg)
    }

    100% {
        transform: rotate(-90deg)
    }
}

@keyframes rotarDado {
    0% {
        transform: rotate(0)
    }

    50% {
        transform: rotate(60deg)
    }

    100% {
        transform: rotate(-15deg)
    }
}

section {
    height: 100%;
}

.poster-image {
    background-image: url('../img/poster.webp');
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center
}

.poster-image .button {
    background-image: url('../img/poster.webp');
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 100%;
    transition: .3s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 95%;
    padding: 16px 0;
    color: #fff;
    position: absolute;
    left: 0%;
    right: 0%;
    top: 0%;
    bottom: 0%;
    margin: 0 auto;
}

.poster-image .button img.logo {
    filter: brightness(.9);
    transition: .3s ease-in-out;
    max-width: 284px;
    margin-bottom: 16px;
}

.poster-image .button img.dado {
    width: 116px;
    transition: .3s ease-in-out;
    animation: rotarDado 1.5s ease-in-out infinite alternate
}

.poster-image #counter hr {
    width: 100%;
    height: 1px;
    border: none;
    
}

.poster-image #counter .clock {
    padding:1.5em 0 .5em;
}

.poster-image #counter hr:first-of-type {
    background: linear-gradient(90deg, transparent 0%, #D10000 52.06%, transparent 98.96%);
}

.poster-image #counter hr:last-of-type {
    background: linear-gradient(90deg, transparent 0%, #BBBBBB 52.06%, transparent 98.96%);
    ;
}

.poster-image .button h4 {
    font-size: 20px;
    max-width: 240px;
    text-shadow: 1px 0 0 rgba(150, 150, 150, .5);
    transition: .3s ease-in-out
}

.poster-image #counter {
    margin-bottom: 24px;
}

.poster-image .button:focus,
.poster-image .button:focus-within,
.poster-image .button:hover {
    cursor: pointer
}

.poster-image img.dado:focus,
.poster-image img.dado:focus-within,
.poster-image img.dado:hover {
    transform: scale(1.1) rotate(10deg);
    filter: brightness(1)
}


@media screen and (max-width:480px) {
    .poster-image .button {
        padding-top: 20px
    }
}

@media only screen and (min-width:768px) {
    .phone {
        margin-top: 100px;
        height: 100px;
        width: 150px;
        border: 5px solid #fff
    }

   

    
}

@media only screen and (orientation:landscape) {
    .rotate {
        display: none
    }

    main {
        height: auto
    }

}

@media only screen and (min-width:768px) {

    .poster-image .button img.dado {
        max-width: 100%
    }

    .poster-image .button {
        height: 100%
    }

    body {
        display: flex;
        flex-direction: column;
        justify-content: center
    }

    .poster-image .button img.logo {
        width: auto;
    }

    .poster-image .button h4 {
        font-size: 24px
    }
}

@media only screen and (min-width:1280px) {
    .rotate {
        display: none
    }

    .poster-image .button img.dado {
        animation: none
    }
}