@font-face {
    font-family: taz;
    src: url(img/tazblack.otf);
}


@font-face {
    font-family: lab;
    src: url(img/LabGrotesque-Regular.woff2);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

.main {
    width: 100%;
    margin: 0 auto;

}

.block,
.header {
    width: 100%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    padding-top: 1rem;
    border-bottom: 1px solid #dcdcdc;
    padding-bottom: 1.2rem;
    background: #f2f2f2;
    transition: all .2s ease-in-out;
}

.header {
    flex-direction: column;
    cursor: auto;
}

.block:hover {
    background: #dcdcdc;
}

.smileys {
    padding-left: 2rem;
    display: flex;
    width: 70%;
}

.flag {
    width: 40px;
}

.countrywrap {
    display: flex;
    align-items: center;
    width: 100%;
}

.smiley,
.smileysec {
    width: 80px;
    font-size: 30px;
    cursor: pointer;
    transition: all .4s ease-in-out;
    text-align: center;
    position: relative;
    z-index: 10;
}

.smiley:hover {
    transform: rotate(16deg);
}

.smiley.clicked {
    transform: scale(1.3);
}

.smiley.clicked::after {
    content: '';
    position: absolute;
    top: 54%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 46px;
    height: 46px;
    background: linear-gradient(320deg, #fffa00, #ff5c00, #ff00ea);
    background-size: 600% 600%;
    z-index: -1;
    border-radius: 50%;
    animation: animacija 2s ease infinite;
}


@keyframes animacija {
    0% {
        background-position: 46% 0%
    }

    50% {
        background-position: 75% 100%
    }

    100% {
        background-position: 46% 0%
    }
}

.country {
    font-family: taz;
    font-size: 1.2rem;
    text-align: center;
    width: 100%;
}

.singer {
    display: block;
    font-family: lab;
    font-size: 1rem;
}

.button {
    width: 140px;
    background: #dcdcdc;
    font-family: taz;
    font-size: 1rem;
    text-align: center;
    padding: .6rem 0;
    border-radius: 10px;
    cursor: pointer;
}

.button:hover {
    background: linear-gradient(320deg, #fffa00, #ff5c00, #ff00ea);
    color: #fff;
}

.cro {
    background: rgb(255, 0, 0);
    background: linear-gradient(90deg, rgba(255, 0, 0, .4) 0%, rgba(242, 242, 242, 1) 60%);
}

.bttns {
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.sendblock {
    flex-direction: column;
}

.smiletxt {
    pointer-events: none;
    font-size: 18px;
    font-family: lab;
}

#rezgrid {
    display: none;
}

#responses {
    font-family: taz;
    font-size: 1.2rem;
    text-align: center;
    width: 100%;
    padding: 1rem 0;
}

.title {
    font-family: taz;
    font-weight: 400;
    font-size: 1.6rem;
}

.lead {
    font-family: taz;
    font-weight: 400;
    font-size: 1rem;
    padding-top: 1rem;
    text-align: center;
}

@media screen and (max-width: 480px) {
    .smileys {
        padding-left: 0;
    }

    .smiley,
    .smileysec {
        font-size: 20px;
    }

    .flag {
        width: 30px;
    }

    .country {
        padding-left: .4rem;
        font-size: 14px;
    }

    .singer {
        font-size: .8rem;
    }

    .smiletxt {
        font-size: 14px;
    }

    .countrywrap {
        padding-left: .6rem;
    }
}