/* CSS file for Tricky Trivia Game */

@font-face {
    font-family: "Sketchy";
    src: url("../fonts/Sketch\ Match.ttf");
}

* {
    font-family: "Sketchy" !important;
    box-sizing: border-box;
}

.opaque-element {
    background-color: rgba(255, 255, 255, 0.7);
}

body {
    background: url("../images/pop-culture.png") no-repeat center center fixed; 
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

h1 {
    font-size: 250%;
}

#trivia-header, #trivia-body, 
#answer-body, #timer-sec, 
#popup-card {
    background-color: rgba(255, 255, 255, 0.9);
    border: 2px solid black;
    border-radius: 5px;
    font-size: 150%;
    margin: auto;
}

#trivia-header {
    margin-top: 0.5em;
    text-align: center;
}

#timer-sec {
    margin-top: 1em;
    text-align: center;
    font-size: 175%;
}

#trivia-body {
    margin-top: 1em;
    width: 100%;
    padding: 1em;
    height: fit-content;
    text-align: center;
}

#answer-body {
    margin-top: 2em;
    width: 100%;
    text-align: center;
}

li {
    list-style: none;
    padding: 0.25em;
    transition: 0.5s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: fit-content;
    margin: auto;
}

li:hover {
    border: 1px solid black;
    border-radius: 5px;
    cursor: pointer;
}

#popup-card {
    position: absolute;
    text-align: center;
    overflow: hidden;
    z-index: 2;
    left: 0;
    right: 0;
    top: 10%;
    height: fit-content;
    width: 70%;
    padding: 2em;
    background-color: rgba(255, 255, 255, 1);
    display: none;
}

#popup-text {
    text-align: center;
    font-size: 120%;
}

#reaction-img {
    margin: auto;
    text-align: center;
    margin-bottom: 5%;
    margin-top: 5%;
}

#button-array {
    text-align: center;
}

#confirm-button {
    overflow: hidden;
    width: fit-content;
}

#continue-button, #reset-button {
    display: none;
    overflow: hidden;
    width: fit-content;
}

.menu-button-z:hover {
    cursor: pointer;
}
    