@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@400;600&display=swap');


body {
    font-family: 'Roboto', sans-serif;
}

.c2a a {
    font-weight:700;
    font-size:2.8rem;
    color:#0F7496;
}

.c2a a:hover {
    text-decoration:none;
    color:#222;
}

.answer_container {
    padding-left:5px;
    padding-right:5px;
    cursor:pointer;
}

.unselected {
    opacity:0.3;
}

.answer {
    width:100%;
    height:13rem;
    margin-bottom:10px;
    border-radius:5px;
    overflow:hidden;
    position:relative;
    z-index:1
}

.answer table {
    height:13rem;
}

.answer img {
    height:8rem;
    max-width:80%;
    object-fit: cover;
}

.bg_img {
    height: 100%;
    width: 100%;
    opacity: 0.2;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: absolute;
    z-index: 1;
    left: 0px;
    top: 0px;
    bottom: 0px;
    right: 0px;
}

.answer table {
    position:relative;
    z-index:2;
}

.answer td {
    padding: 0px 2rem;
}

.answer span {
    color:white;
    font-size:2.1rem;
    font-weight:bold;
    opacity:1;
    z-index:2;
    line-height:1.1;
}

.loading_content {
    display:    none;
    position:   fixed;
    z-index:    1000;
    top:        0;
    left:       0;
    height:     100%;
    width:      100%;
    background: rgba( 255, 255, 255, .9 )
    url('../images/loading.gif')
    50% 50%
    no-repeat;
}

#result {
    font-family: 'Roboto Slab', sans-serif;
}

#result .headline {
    background-size: cover;
    background-repeat: no-repeat;
    font-size: 2.5rem;
    color: white;
    text-align: center;
    padding: 4rem 1rem;
    border-radius: 5px;
    text-shadow: 2px 2px #222;
    font-weight: 700;
    border: 1px solid #ccc;
}

.result_text {
    font-size:1.1rem;
    line-height:1.6;
    color:#222;
}

body.loading .loading_content {
    overflow: hidden;
}

#buckets {
    margin-right:1.5rem;
    margin-bottom:1.5rem;
    float:left;
    width:300px;
}

@media only screen and (max-width: 600px) {
    .c2a a {
        font-size:2rem;
    }

    h1.question {
        font-size:2rem;
    }

    .answer {
        height: 8rem;
    }

    .answer table {
        height: 8rem;
    }

    .answer img {
        height:4rem;
        max-width:80%;
        object-fit: cover;
    }

    .answer span {
        font-size:1.3rem;
        font-weight:500;
    }

    #result .headline {
        font-size:1.8rem;
    }

    #buckets {
        margin:0;
        margin-bottom:1.5rem;
        float:none;
        width:100%;
    }
}