@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;600&display=swap');
* {
    font-family: 'Rubik', sans-serif;
}
body {
    background: url("../img/5397807.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
.overlay {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #ffffeeee;
    display: none;
}

nav.navbar {
    /* background: linear-gradient(135deg, rgba(45,35,231,1) 0%, rgba(9,9,121,1) 35%, rgba(143,236,255,1) 100%); */
    background: rgb(255,0,0);
background: linear-gradient(135deg, rgba(255,0,0,1) 0%, rgba(139,0,0,1) 35%, rgba(255,39,47,1) 100%);
}

a.navbar-brand {
    font-size: 1.75rem;
    color: white;
    font-weight: 600;
}

a {
    text-decoration: none;
}

a.nav-link {
    color: white; text-decoration:none; font-weight: 500;
}

#periode {
    text-align: right;
}

#frm div#question {
    display: none;
}

.qItem span {
    font-size: 10px;
    color: black;
}

.row {
    margin: 10px -15px;
}

.qHead {
    font-size: 1.2rem;
    font-weight: 600;
}
.qHead span:nth-child(2) {
    font-size: 0.75rem;
    font-weight: 400;
}

.qTitle span:nth-child(even) {
    font-size: 0.75rem;
    font-weight: 400;
}

.question:nth-child(odd) {
    background: rgba(0,0,0,.05);
}

.question {
    padding: 8px 0;
}

#question > .row {
    margin: 10px 0px;
}

.btn-group-toggle {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 10px 0px;
    flex-wrap: wrap;
}

/* .qItem {
    width: 23%;    
} */

table {
    border-collapse: separate;
    border-radius: 5px;
    border-spacing: 0px;
}

.table {
    margin-bottom: 0px;
}

.table td {
    padding: .375rem .75rem;
    width: 33% !important;
}

hr {
    border-top: 2px solid rgba(0,0,0,.55);
}

pre {
    font-size: 65%;
    margin-top: 5px;
    margin-bottom: 0rem;
    line-height: .8rem;
    font-weight: 400;
}

@media only screen and (max-width: 648px) {
    .qItem {
        width: 100%;
        margin: 5px 0px;
    }
    #periode {
        text-align: left;
    }
    #hasil {
        margin-top: 5px;
    }

    #total, #periode {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .table {
        margin-top: 15px;
    }
}

@keyframes animPoster{
    0% {
        opacity: 0;
    }
    3%,17% {
        opacity: 1;
    }
    20% {
        opacity: 0;
    }

}