@charset "UTF-8";

@font-face {
    font-family: 'Univers LT Std 55';
    src: url('../font/univers_lt_std_55_roman-webfont.woff2') format('woff2'),
         url('../font/univers_lt_std_55_roman-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Univers LT Std 55 Oblique';
    src: url('../font/univers_lt_std_55_oblique-webfont.woff2') format('woff2'),
         url('../font/univers_lt_std_55_oblique-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'Univers LT Std 65';
    src: url('../font/univers_lt_std_65_bold-webfont.woff2') format('woff2'),
         url('../font/univers_lt_std_65_bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Univers LT Std 67';
    src: url('../font/univers_lt_std_67_bold_condensed-webfont.woff2') format('woff2'),
         url('../font/univers_lt_std_67_bold_condensed-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Univers Next Pro Black Condensed';
    src: url('../font/univers_next_pro_black_condensed-webfont.woff2') format('woff2'),
         url('../font/univers_next_pro_black_condensed-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}


:root {
	
	/* Chota overrides */
	/*
	--bg-color: #ffffff;
	--bg-secondary-color: #f3f3f6;
	--color-primary: #14854F;
	--color-lightGrey: #d2d6dd;
	--color-grey: #747681;
	--color-darkGrey: #3f4144;
	--color-error: #d43939;
	--color-success: #28bd14;
	--grid-maxWidth: 120rem;
	--grid-gutter: 2rem;
	--font-size: 1.6rem;
	--font-color: #333333;
	--font-family-sans: sans-serif;
	--font-family-mono: monaco, "Consolas", "Lucida Console", monospace;
	*/
    
    --michigan-blue: rgba(0, 39, 76, 1);
    --michigan-yellow: rgba(255, 203, 5, 1);
    --michigan-teal: rgba(0, 178, 169, 1);
    --michigan-light-blue: rgba(47, 101, 167, 1);
    --michigan-purple: rgba(103, 80, 164, 1);
    --michigan-green: rgba(0, 189, 25, 1);
    --michigan-red: #FF2020;
    --michigan-error-red: rgba(255, 89, 89, 1);
    --michigan-grey: rgba(34, 34, 34, 1);
    --michigan-dark-grey: rgba(198, 198, 198, 1);
    --michigan-light-grey: rgba(218, 218, 218, 1);
}

html, body {
	box-sizing: border-box;
	width: 100%;
	min-height: 100%;
	padding: 0;
	margin: 0;
}

body {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

body::before {
    content: '';
    top: 0;
    left: 0;
    opacity: 1;
    width: 100vw;
    height: 100vh;
    z-index: 10000;
    position: absolute;
    transition: opacity .5s linear;
    background-color: rgba(0, 39, 76, 1);
}

body.ready::before {
    opacity: 0;
    pointer-events: none;
}

*, *:before, *:after {
	box-sizing: inherit;
	outline: none;
}

h1, h2, h3, h4, h5, h6 {
    text-align: center;
    text-transform: uppercase;
    font-family: 'Univers Next Pro Black Condensed';
}

h1 {
    font-size: 5.36vw;
    color: var(--michigan-yellow);
}

h2 {
    font-size: 1.77vw;
    line-height: 1.088;
    color: var(--michigan-blue);
}

h3 {
    margin: 0.5em 0 0.25em;
    font-size: 3.5vw;
    color: var(--michigan-yellow);
}

h4, h5, h6 {
    color: #FFF;
    margin: 0.5em auto;
    text-transform: none;
}

h4 {
    font-size: 3.385vw;
}

h5 {
    font-size: 3.17vw;
}

h6 {
    font-size: 2.5vw;
}

.t-teal {
    color: var(--michigan-teal);
}
.t-purple {
    color: var(--michigan-purple);
}
.t-yellow {
    color: var(--michigan-yellow);
}

span.universe-bold {
    display: contents;
    font-family: 'Univers LT Std 67';
}

#page-content {
    width: 100vw;
    height: 85vh;
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
}

.ftr,
#footer {
    width: 100vw;
    height: 15vh;
    padding: 0 4vw;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    background-color: var(--michigan-blue);
}

.button {
    color: var(--michigan-blue);
    text-transform: uppercase;
    border-radius: 0.78vw;
    line-height: 1;
    padding: .5em .85em;
    background-color: var(--michigan-yellow);
    border: 0.15em solid var(--michigan-yellow);
    font-family: 'Univers Next Pro Black Condensed';
}

.button.teal {
    border-color: var(--michigan-teal);
    background-color: var(--michigan-teal);
}
.button.purple {
    border-color: var(--michigan-purple);
    background-color: var(--michigan-purple);
}

.button.teal.active {
    color: var(--michigan-teal);
    background-color: #FFF;
}
.button.purple.active {
    color: var(--michigan-purple);
    background-color: #FFF;
}


.button.active:not(.purple) {
    /*
    color: var(--michigan-yellow);
    background-color: var(--michigan-blue);
    */
    border-color: var(--michigan-teal);
}

.large.button {
    font-size: 3.6vw;
}
.medium.button {
    font-size: 2.65vw;
}

#bg,
#overlay {
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    position: absolute;
}

#board {
    width: 100%;
    display: flex;
    margin: 0 1em;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: center;
}

#shimmer {
    top: 54.65%;
    position: absolute;
    height: 77.25%;
    width: 86.35%;
    transform: translateY(-50%);
    background: linear-gradient(-45deg, #eeeeee00 45%, #ffeb3bc4 50%, #eeeeee00 55%);
    background-size: 300%;
    background-position-x: 100%;
    animation: shimmer .75s 1 
linear;
    pointer-events: none;
    border-radius: .55vw;
}

@keyframes shimmer {
   to {
      background-position-x: 0%
   }
}

h2.category {
    width: 16.4vw;
    height: 2.5em;
    margin: 0 1.1vw;
    display: flex;
    align-items: center;
    justify-content: center;
}

#board .col:nth-child(2n) .category {
    margin: 0;
    margin-bottom: 1.1vw;
}

.block {
    color: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16.4vw;
    height: 11.574vh;
    margin: 1.1vw;
    font-size: 3.75vw;
    line-height: 1;
    border-radius: 0.14em;
    border: .125em solid transparent;
    background-color: var(--michigan-blue);
    font-family: 'Univers Next Pro Black Condensed';
}

.block.selected {
    border-color: var(--michigan-teal);
}

#board .block.complete {
    color: var(--michigan-dark-grey) !important;
    background-color: var(--michigan-light-grey) !important;
}

#board .col:nth-child(2n) .block {
    margin: 0;
    margin-bottom: 1.1vw;
    color: var(--michigan-blue);
    background-color: var(--michigan-yellow);
}

.copy, .blurb, .disclaimer {
    display: none;
}

#close {
    width: 5vw;
    height: 5vw;
    position: relative;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 96% center;
    background-image: url('../images/close.png');
}
#close.active::before {
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    border-radius: 20%;
    border: 0.4em solid var(--michigan-teal);
}
#close.hide {
    opacity: 0;
}


#overlay {
    color: #FFF;
    display: flex;
    width: 200vw;
    position: relative;
    flex-wrap: nowrap;
    flex-direction: row;
    background-color: rgba(0, 39, 76, 0.91);
}

.slide {
    width: 100vw;
}

#pages {
    width: 400vw;
    height: 85vh;
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: flex-start;
}

.page {
    height: 85vh;
    width: 100vw;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.ftr.center {
    justify-content: center;
}

.ftr img {
    height: auto;
}

.q-ma {
    width: 44vw;
}
.m-stkd {
    width: 7vw;
}

#player-scores {
    color: #FFF;
    width: 60vw;
    font-size: 1.77vw;
    text-align: center;
    text-transform: uppercase;
    display: flex;
    justify-content: space-between;
    font-family: 'Univers LT Std 55';
}

#player-scores.players-1 {
    justify-content: center;
}

.player-score.current {
    color: var(--michigan-yellow);
    font-family: 'Univers LT Std 65';
}


#question-overlay {
    width: 100vw;
    height: 100%;
    left: calc(100% + 60vh);
    bottom: 0;
    position: absolute;
    background-color: #FFF;
    color: var(--michigan-blue);
}

.triangle {
    width: 0px;
    height: 0px;
    left: 0;
    bottom: 0;
    position: absolute;
    transform: translateX(-50%);
    border-style: solid;
    border-width: 0 60vh 85vh 60vh;
    border-color: transparent transparent #FFF transparent;
}

.timer {
    width: 0px;
    height: 0px;
    left: 0;
    top: 36%;
    opacity: 1;
    position: absolute;
    border-style: solid;
    border-width: 10.2vw 0vw 10.2vw 14.17vw;
    border-color: transparent transparent transparent var(--michigan-blue);
    transform: translateY(-50%);
    transition: opacity 0.25s linear;
}
.timer.hide {
    opacity: 0;
}

.timer span {
    color: #FFF;
    top: -2.5vw;
    left: -11.5vw;
    position: absolute;
    font-size: 4vw;
    font-family: 'Univers Next Pro Black Condensed';
}

.q-content {
    width: 65.8vw;
    height: 86%;
    top: 10.7vh;
    left: 16.5625vw;
    position: absolute;
    transition: left 0.5s ease-in-out;
}

.q-category {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-size: 4.58vw;
    line-height: 1;
    opacity: 1;
    margin-bottom: .5em;
    text-transform: uppercase;
    font-family: 'Univers Next Pro Black Condensed';
    transition: opacity 0.25s linear;
}

.q-category.hide {
    opacity: 0;
}

.q-points {
    color: #FFF;
    width: 8vw;
    height: 4vw;
    font-size: 2.9vw;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 1em;
    border-radius: 0.15em;
    background-color: var(--michigan-blue);
}

#q-question {
    font-size: 2.08vw;
    font-family: 'Univers LT Std 65';
}

#blurb-disclaimer {
    opacity: 1;
    bottom: 0;
    height: 36%;
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: opacity 0.5s linear 1s;
}

#blurb-disclaimer.hide {
    opacity: 0;
    height: 2%;
}

#blurb-disclaimer .b {
    font-size: 1.82vw;
    font-family: 'Univers LT Std 65';
}

#blurb-disclaimer .d {
    font-size: 1.25vw;
    color: var(--michigan-grey);
    font-family: 'Univers LT Std 55 Oblique';
}

.q_img, .ans_img {
    display: none;
}

.q-content.q-image #question-image {
    width: 42vw;
    height: 39vh;
    display: none;
    left: 0;
    bottom: 2.5em;
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;
}

/* POPUP STYLES */

#popup {
    display: none;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1000;
    position: absolute;
    background-color: rgba(0, 39, 76, 0.91);
}

#popup-cont {
    color: #FFF;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.popup-page {
    display: none;
    text-align: center;
}

#popup .msg {
    font-size: 3vw;
    margin-bottom: 0.35em;
    font-family: 'Univers Next Pro Black Condensed';
}

#popup .sml-msg {
    font-size: 1.72vw;
    font-family: 'Univers LT Std 65';
}

.popup-buttons {
    display: flex;
    grid-gap: 2.5em;
    flex-direction: row;
    justify-content: center;
    margin-top: 3em;
}

.popup-buttons .button {
    width: 22vw;
    text-align: center;
}

.popup-buttons .resume.button {
    width: 24vw;
}

#player-ready .p-num {
    font-size: 2.1875vw;
    margin-bottom: 0;
    text-transform: uppercase;
    color: var(--michigan-yellow);
    font-family: 'Univers LT Std 67';
}

#player-ready h1 {
    margin: 0;
    color: #FFF;
    line-height: 1;
    font-size: 6.77vw;
}

#player-ready .sml-msg {
    font-size: 2.5vw;
    margin-bottom: 1.2em;
    font-family: 'Univers Next Pro Black Condensed';
}

/************************/