@font-face {
    font-family: "Vivo Type Light";
    src: url("VivoType/VivoTypeLight.otf") format("OpenType");
}

@font-face {
    font-family: "Vivo Type Regular";
    src: url("VivoType/VivoTypeRegular.otf") format("OpenType");
}

@font-face {
    font-family: "Vivo Type Bold";
    src: url("VivoType/VivoTypeBold.otf") format("OpenType");
}
html {
    min-height: 100%;
}
* {
    margin: 0 auto;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
}
body {
    width: 100%;
    min-height: 100%;
    position: relative;
    background: linear-gradient(to bottom, #2a0042 55%, #4c0074);
    background-image: url(../img/bg.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

#main {
    height: 100%;
    min-height: 100vh;
    display: block;
    position: relative;
    text-align: center;
    box-sizing: border-box;
    padding: 0 1rem;
    padding-bottom: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
}

#vivo {
    width: 100%;
    max-width: 500px;
    display: block;
    margin: 0;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 0;
}

#text {
    width: 100%;
    max-width: 350px;
    display: block;
    margin: 0 auto;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
    z-index: 2;
}

.screens {
    width: 100%;
    display: none;
}
.screens.active {
    display: block;
}

.card-question {
    width: 100%;
    max-width: 550px;
    min-width: 500px;
    height: auto;
    box-sizing: border-box;
    border: 3px solid #FFF;
    border-radius: 3rem;
    padding: 1.5rem;
    margin: 0 auto;
    min-height: 440px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
    position: relative;
    background-color: rgba(42, 0, 66, .8);
}


.alternatives {
    width: 100%;
    height: auto;
}

.container-question {
    box-sizing: border-box;
    padding: 0 1rem;
    min-height: 125px;
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.question {
    width: 100%;
    color: #FFF;
    margin: 0 auto;
    font-family: "Vivo Type Bold";
    font-size: 1rem;
    text-align: center;
}

.alternative {
    width: 100%;
    height: auto;
    min-height: 50px;
    background-color: #2a0042;
    border: 3px solid #FFF;
    border-radius: 7rem;
    font-size: 0.8rem;
    color: #FFF;
    display: flex;
    padding: 0.5rem;
    cursor: pointer;
    align-items: center;
    margin-bottom: 1rem;
    box-sizing: border-box;
    justify-content: center;
    font-family: 'Vivo Type Regular';
    transition: 0.1s all;
    -webkit-transition: 0.1s all;
}

.alternative:last-child {
    margin-bottom: 0;
}

.alternative:active {
    transform: scale(1.05);
    -webkit-transform: scale(1.05);
}

.alternative p {
    text-align: center;
}

.alternative.selected {
    border-color: #e93c7c;
}

.alternative.selected.correct {
    background-color: #e93c7c;
}

.alternative:not(.selected).show.correct {
    animation: blink 1.5s 0s forwards;
    webkit-animation:  blink 1.2s 0s forwards;
}

.final-result {
    color: #FFF;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-family: 'Vivo Type Bold';
}

.final-score {
    color: #FFF;
    font-size: 1.5rem;
    margin-bottom: 4rem;
    font-family: 'Vivo Type Regular';
}

#btn-play-again {
    width: auto;
    border-radius: 5rem;
    padding: 0.5rem 2rem;
    background-color: #e93c7c;
    font-size: 1.2rem;
    color: #FFF;
    font-family: 'Vivo Type Bold';
    border: 3px solid #FFF;
    transition: 0.1s all;
    -webkit-transition: 0.1s all;
}

#btn-play-again:active {
    transform: scale(1.05);
    -webkit-transform: scale(1.05);
}
.woman {
    width: 100%;
    max-width: 400px;
}

.man {
    width: 100%;
    max-width: 500px;
}

.woman, .man {    
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 1;
}

@keyframes blink {
    0%, 50%, 100% {
        transform: scale(1);
        -webkit-transform: scale(1);
        background-color: #e93c7c;
    }
    25%, 75% {
        transform: scale(1.06);
        -webkit-transform: scale(1.06);
        background-color: #2a0042;
    }
}

@media (max-width: 600px) {
    .card-question {
        min-width: 100px;
    }

    #vivo {
        max-width: 400px;
    }

    .woman {
        width: 100%;
        max-width: 350px;
    }
    
    .man {
        width: 100%;
        max-width: 400px;
    }

    
    #text {
        max-width: 300px;
    }
}