/* latin-ext */
@font-face {
    font-family: 'Zilla Slab';
    src: url(https://fonts.gstatic.com/s/zillaslab/v11/dFanZfeM_74wlPZtksIFaj8CRHGZV3B3Taw.woff2) format('woff2');
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
  }
  /* latin */
  @font-face {
    font-family: 'Zilla Slab';
    src: url(https://fonts.gstatic.com/s/zillaslab/v11/dFanZfeM_74wlPZtksIFaj8CRHGZWXB3.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }


body
{
    margin-bottom: 150px;
}

.header 
{
    position: absolute;
    width: 100%;
    
    left: 0px;
    top: 0px;

    text-align: center;
    background-color: whitesmoke;

    border-bottom: solid 1px lightgray;

}

.title
{
    font-family: 'Zilla Slab', serif;
    font-size: x-large;
    color: rgb(32, 157, 207);

    text-decoration: none;

    a:link {color: rgb(32, 157, 207);;}      /* unvisited link */
    a:visited {color: rgb(32, 157, 207);;}   /* visited link */
    a:hover {color: rgb(32, 157, 207);;}     /* mouse over link */
    a:active {color: rgb(32, 157, 207);;}    /* selected link */
}

.subtitle
{
    font-family: Helvetica, sans-serif;
    font-size: large;
}

.home_screen
{
    user-select: none;
    position: relative;

    top: 60px;

    left: 15%;
    width: 70%;
    height: 50%;
    text-align: center;
}

img 
{
    pointer-events: none;
}

.ballot_gif
{
    position: absolute;
    width: 200px;
    margin: auto;
    left: 0;
    right: 0;
}

.home_screen_callout
{
    position: absolute;
    font-family: 'Zilla Slab', serif;
    font-size: 4em;

    width: 100%;
    text-align: center;
}

.moving_text_container
{
    position: absolute;
    width: 100%;
    top: 325px;
    height: 4em;

    overflow: hidden;
}

.moving_text
{
    margin-top: 0px;
    text-align: center;

    font-family: 'Zilla Slab', serif;
    font-size: 4em;

    color: rgb(32, 157, 207);

    margin: 0 auto;
    margin-top: 0px;

    overflow: hidden;
    animation-name: scroll;
    animation-duration: 15s;
    animation-iteration-count: infinite;
}

#first_line
{
    top: 200px;
}

#last_line
{
    top: 350px;
}

@keyframes scroll {
    0% {margin-top: -395px;}
    45% {margin-top: 0px;}
    55% {margin-top: 0px;}
    95% {margin-top: -395px;}
    100% {margin-top: -395px;}
}  

.button_box
{
    position: absolute;
    width: 100%;
    top: 500px;

    height: 100px;
}

a
{
    color: rgb(32, 157, 207);
}

a.button {
    -webkit-appearance: button;
    -moz-appearance: button;
    appearance: button;

    text-decoration: none;
    
    box-sizing: border-box;

    background-color: rgb(30, 116, 169);
    border: 2px solid rgb(51, 149, 182);
    border-radius: 5px;

    color: white;

    text-align: center;
    display: inline-block;

    line-height: 50px;

    font-family: 'Zilla Slab', serif;

    width: 150px;
    height: 50px;
    transition: all 2s ease-out;

    user-select: none;
}

a.button:hover
{
    background-color: rgb(82, 173, 229);
    border: 2px solid rgb(119, 193, 218);
    transition: all 0.3s ease-out;
}

.footer
{
    font-family: Lato, sans-serif;
    font-size:small;
    background-color: whitesmoke;
    color: black;

    border-top: solid 1px lightgray;

    position: fixed;
    left: 0px;
    bottom: 0px;
    width: 100%;
    height: 30px;

    margin-top: 10px;

    display: block;
}

.footer_text
{
    display: block;
    margin-top: -5px;
    text-align: center;
}

@media (min-width: 0px) and (max-width: 650px) 
{
    .home_screen_callout
    {
        font-size: 3em;
    }

    .moving_text
    {
        font-size: 3em;
    }

    .moving_text_container
    {
        top: 295px;
        height: 3em;
    }
    
    #first_line
    {
        top: 200px;
    }

    #last_line
    {
        top: 320px;
    }

    @keyframes scroll {
        0% {margin-top: -290px;}
        45% {margin-top: 0px;}
        55% {margin-top: 0px;}
        95% {margin-top: -290px;}
        100% {margin-top: -290px;}
    }  
}

.questionary
{
    position: relative;
    top: 70px; 
    width: 70%;
    margin: auto;

    display: block;
}

@media (min-width: 1200px)
{
    .questionary
    {
        width: 900px;
    }
}

.question_box
{
    position: relative;
    font-family: "Lato", sans-serif;
    border: solid 3px lightgray;
    border-radius: 5px;

    background-color: whitesmoke;

    padding-top: 10px;
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 25px;
}

.question_text
{
    font-family: 'Zilla Slab', serif;
    font-size: larger;
}

.question_answer
{
    font-family: 'Lato', sans-serif;
    margin-top: -10px;
}

.question_counter
{
    font-family: 'Zilla Slab', serif;
    size: x-small;
    color: rgb(32, 157, 207);
    position: absolute;
    top: -10px;
    left: 15px;
}

.info_icon
{
    position: absolute;
    top: 5px;
    right: 5px;
}


@media (min-width: 800px)
{
    .all_options
    {
        position: relative;
        border: none;
    
        height: 65px;
    }
    
    .single_option
    {
        position: absolute;
        display: inline-block;
        width: 20%;
        height: 100%;
    }
    
    .single_option.first
    {
        left: 0%;
    }
    
    .single_option.second
    {
        left: 20%;
    }
    
    .single_option.third
    {
        left: 40%;
    }
    
    .single_option.fourth
    {
        left: 60%;
    }
    
    .single_option.fifth
    {
        left: 80%;
    }
    
    .checkbox_option
    {
        display: block;
    
        position: relative;
        margin: auto;
        text-align: center;
        accent-color: rgb(32, 157, 207);

        width: 30px;
        height: 30px;
    
        top: -10px;
    }
    
    .checkbox_label
    {
        display: block;
        position: sticky;
        text-align: center;
        margin: auto;
    
        left: -10%;
    
        font-family: "Lato", sans-serif;
        font-size: small;
        
        width: 100%;
    }
}

@media (min-width: 0px) and (max-width: 800px) 
{
    .all_options
    {
        margin-top: -15px;
        border: none;
    }

    .single_option
    {
        position: relative;
    }

    .checkbox_option
    {
        width: 20px;
        height: 20px;
        accent-color: rgb(32, 157, 207);
    }

    .checkbox_label
    {
        position: absolute;
        top: 3px;
        left: 32.5px;
        font-family: "Lato", sans-serif;
    }
    
    .questionary
    {
        display: block;
        width: 90%;
    }
}


#results
{
    display: none;
}

.winning_text
{
    font-family: 'Lato', sans-serif;
    text-align: center;
    margin: auto;
    text-wrap: balance;
    width: 250px;
}


.winning_candidate
{
    font-family: 'Zilla Slab', serif;
    text-align: center;

    color: rgb(32, 157, 207);

    margin-bottom: 0px;
    margin-top: 0px;
}

.winning_picture
{
    margin-top: 10px;
    text-align: center;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    border: solid 3px rgb(32, 157, 207);
    border-radius: 3px;
}


@media (min-width: 0px) and (max-width: 650px)
{
    .winning_text
    {
        font-size: medium;
    }

    #grand_winning_text
    {
        font-size: large;

    }

    .winning_candidate
    {
        margin-top: 10px;
        margin-bottom: 10px;
        line-height: 45px;
        font-size: 3em;
    }
}

@media (min-width: 650.01px)
{
    .winning_candidate
    {
        font-size: 5em;

        margin-top: 15px;
        margin-bottom: 15px;
        line-height: 65px;
    }
}

.results_button
{
    box-sizing: border-box;

    background-color: rgb(30, 116, 169);
    border: 2px solid rgb(51, 149, 182);
    border-radius: 5px;

    color: white;

    text-align: center;
    padding: auto;

    font-family: 'Zilla Slab', serif;
    font-size: medium;

    width: 150px;
    height: 50px;
    transition: all 2s ease-out;

    position: absolute;
    left: 50%;
    margin-left: -75px;

    cursor: pointer;
}

.results_button:hover
{
    background-color: rgb(82, 173, 229);
    border: 2px solid rgb(119, 193, 218);
    transition: all 0.3s ease-out;
}

.results_button.copied_confirmation
{
    background-color: rgb(30, 169, 56) !important;
    border: 2px solid rgb(51, 182, 66) !important;
}


#results_button_box
{
    width: 100%;
    height: 50px;
}

#fake_wait
{
    display: none;
}

#fake_wait_box
{
    height: 200px;
}

.calculating_message
{
    text-align: center;
    font-family: 'Zilla Slab', serif;
    color: rgb(32, 157, 207);
}

.progress_bar_hull
{
    position: relative;
    margin: auto;

    width: 90%;
    height: 30px;


    background-color: lightblue;

    border-radius: 5px;

    content: "";
}

.progress_bar
{
    position: relative;
    margin: auto;

    margin-left: 2.5px;
    margin-right: 2.5px;
    height: 25px;
    width: 2%;
    top: 2.5px;

    border-radius: 4px;
    
    background-color: rgb(32, 157, 207);
    
    content: "";

    transition: all ease-in 0.75s;
}

#desktop_sharing
{
    position: relative; 
    margin: auto;
    left: 0%;
}


@media (min-width: 0px) and (max-width: 650px)
{
    #mobile_sharing
    {
        display: block;
    }

    #desktop_sharing
    {
        display: none;
    }
}

@media (min-width: 650.01px)
{
    #mobile_sharing
    {
        display: none;
    }

    #desktop_sharing
    {
        display: block;
    }
}

.question_box.mini{
    padding: 10px;
    position: relative;
}


.rankname
{
    display: inline-block;
    color: black;
    font-family: 'Zilla Slab';
    font-size: larger;
    margin: 0;  
    margin-right: 35px;
}

.rankpercent
{
    margin: 0;
    float: right;
    text-align: right;
    font-family: Lato;
    font-weight: bold;
    font-size: medium;

    position: absolute;
    right: 7px;
    top: 50%;
    transform: translateY(-50%);
    color: black;

    overflow: visible;
}

.answer_review_quick
{
    margin: 0;
    width: 30%;
    min-height: 100%;
    flex: 0 0 30%;
    border-radius: 4px 0px 0px 4px;
    padding: 5px;
}

.actual_name
{
    font-family: "Zilla Slab", serif;
    font-size: large;
}

.review_quick_name
{
    text-align: center;
}

.review_quick_container_img
{
    text-align: center;
    margin: auto;
    display: block;
}

.review_quick_img
{
    width: 25px;
    display: inline-block;
}

.review_quick_label
{
    text-align: center;
    font-size: small;
}

.explanation
{
    margin: 10px;

    font-size: small;
}