html {
    height: 100%;
}

body {
    min-height: 100%;
}

#emojicontainer{
    position:absolute;
    width:0;
    height:0;
    left:0;
    top:0;
}

body.playerview {

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;

    background-color: #000;
    padding: 0;
    margin: 0;

    background-image:url("/_/asset/no.hoier.pickme:1724183042336/img/pick-me.png");
    background-repeat: no-repeat;
    background-size: 75px;
    flex-wrap: wrap;
    height: 100%;

    font-size: 7vw;
    font-family: Geneva, Tahoma, Verdana, sans-serif;
    color: #fff;
    overflow: hidden;
}

#joinPanel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

#joinPanel > img {
    height: auto;
    width: 45vw;
    max-width: 300px;
    min-width: 200px;
    padding-bottom: 15px;
}

.joinPanelFields {
    border: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.joinElement {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding-bottom: 15px;
}

.joinElement > input, button {
    text-align: center;
    min-height: 27px;
    width: 45vw;
    min-width: 200px;
    max-width: 300px;
    font-size: 20px;
}

.joinElement input {
    border-radius: 4px;
    background: #fff;
    border: 1px solid #333;
}

.joinElement button {
    border-radius: 4px;
    font-weight: bold;
    color: #000;
    background: #fff;
    border: 1px solid #333;
}

#readyPanel {
    width: 80vw;
    font-size: 4vh;
    text-align: center;
}

#questStartPanel {
    flex-basis: 100%;
    height: 100%;
    text-align: center;
    display: flex;
}

/* answers */
.answer-grid-wrapper {
    width: 100%;
    height: 100%;
}

.answer-grid-wrapper > div {
    flex-basis: 100%;
    height: 100%;
    float: left;
}

.answer-grid-4 > div {
    width: 50%;
    height: 50%;
    float: left;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.answer-grid-3 > div {
    width: 33.33%;
    width: calc(100% / 3);
    height: 100%;
    float: left;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.answer-grid-2 > div {
    width: 50%;
    height: 100%;
    float: left;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.answerRed {
    background: firebrick;
}

.answerBlue {
    background: #51a8fa;
}

.answerGreen {
    background: #6fc040;
}

.answerYellow {
    background: #cdd422;
}

.answerImage {
    width: 25%
}

#correctAnswerPanel {
    flex-basis: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;

    color: lightgoldenrodyellow;
    background: #6fc040;
}

#wrongAnswerPanel {
    flex-basis: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;

    color: lightgoldenrodyellow;
    background: firebrick;
}

#message {
    font-size: 3vh;
    color: #ca3319;
}

#quizEndPanel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 50%;
}

#quizResultText {
    height: 30%;
    font-size: 8vw;
}

#quizResultPlace {
    height: 30%;
    font-size: 5vw;
}

.invalid {
    outline-color: #cb0300;
    animation-duration: 1s;
    animation-fill-mode: both;
    animation-name: shake;
}
#profileContainer, #welcome, #opinionContainer, #controls{
    padding:2rem;
}
#controls{
    width: 100%;
}
.pickmeButton{
    padding:0.5rem;
    width: 100%;
    max-width: unset;
    margin-top:2rem;
    font-size:2rem;
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
    overflow:hidden;
}
/*
.pickmeButton:after{
    content:"";
    background: #808080;
    display:block;
    position:absolute;
    padding-top:300%;
    padding-left:350%;
    margin-left:-20px!important;
    margin-top:-120%;
    opacity: 0;
    transition: all 0.8s;
    pointer-events: none;
}
.pickmeButton:active:after{
    padding: 0;
    margin: 0;
    opacity: 1;
    transition: 0;
} */

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-10px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(10px);
    }
}

#age{
    padding: 0.5rem;
    width: 100%;
    text-align: center;
    max-width: unset;
    margin-top: 2rem;
    font-size: 2rem;
    -webkit-transition-duration: 0.4s;
    transition-duration: 0.4s;
    overflow: hidden;
}

#leaveButton{
    position: absolute;
    top:15px;
    right: 15px;
    background-color:#ccc;
    background-image: url("/_/asset/no.hoier.pickme:1724183042336/img/noop.svg");
    border-radius: 50%;
    width: 50px;
    height: 50px;
    opacity: 0.3;
    z-index: 1000;
    background-size:50px;
    background-position: center;
}