@import url('https://fonts.cdnfonts.com/css/hind');
body {
    font-family: 'Hind', sans-serif;
    background-color: #f3f3f9;
	background-image: url(https://cheese-or-energy.oathstudio.com/img/background.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 100vh;
}
h1, h2, h3, h4, h5, h6 { color: #247157;}
h1 {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.1em;
    letter-spacing: -0.02em;
    margin-bottom: 0.75em;
}
.introh1 {
    font-size:1.8rem;
}
#questions h1 {
    padding: 0px 10px 0px 10px;
}
#quiz-header {
    background: url('../img/header.jpg') ;
    background-position: 50% 100%;
}
#quiz-header-cheese {
    background: url('../img/header-cheese.jpg') ;
    display: none;
}
#quiz-header-energy {
    background: url('../img/header-energy.jpg') ;
    display: none;
}
#quiz-header-both  {
    background: url('../img/header-both.jpg') ;
    display: none;
}
#quiz-header  {
    background-size: 900px 400px;
    height: 250px;
}
#quiz-header-cheese,
#quiz-header-energy,
#quiz-header-both,
#quiz-start-header,
#quiz-round2-header  {
    background-repeat: no-repeat;
    background-size: 900px 445px;
    padding: 40px 50px 70px 50px;
    height: 250px;
    background-repeat: no-repeat;
}
#quiz-start-header,
#quiz-round2-header  {
    background-repeat: no-repeat;
    height: 250px;
}
#quiz-intro-screen {
    background-color: #ffffff;
    padding: 40px 50px 70px 50px;
}
#quiz-start-screen-container {
    background-color: #fabc57;
    color: white;
}
#quiz-start-header {
    background: url('../img/start-screen-1.png') ;
    background-size: 900px 250px;
    background-repeat: no-repeat;
}
#quiz-start-screen {
    padding: 40px 50px 70px 50px;
    height: 510px;
}
#quiz-start-screen h1 {
    color: white;
    border-top: 4px solid rgba(255, 255, 255, 0.5);
    padding-top: 1em;
}
#quiz-round2-screen-container {
    background-color: #38b188;
    color: white;
}
#quiz-round2-header {
    background: url('../img/start-screen-2.png') ;
    background-size: 900px 250px;
}
#quiz-round2-screen {
    padding: 40px 50px 70px 50px;
    height:510px;
}
#quiz-round2-screen h1 {
    color: white;
    border-top: 4px solid rgba(255, 255, 255, 0.5);
    padding-top: 1em;
}
#quiz-round2-screen h1 {
    color: white;
}
#quiz-end-screen {
    background-color: #eadcae;
    padding: 40px 50px 70px 50px;
}
#questions {
    background-color: #ffffff;
}
#questions h3 {
    font-size: 2.3em;
    font-weight: 700;
    margin-bottom: 20px;
}
#quiz-counter {
    background-color: transparent;
    position: absolute;
    top: 0px;
    width: 100%;
    max-width: 900px;
    text-align: left;
    font-size: 1.2em;
    text-transform: uppercase;
}
#quiz-counter h6 {
    text-align: left;
    font-size: 1.2em;
    color: white;
    padding: 0px 30px 0px 30px; 
}
#quiz-counter #progress {
    display: block;
    height: 10px;
    background-image: url(../img/progress-0.png);
    margin-bottom: 20px;
    background-size: 100% auto;
}
#quiz-results-screen {
    background-color: #fff;
    padding: 40px 30px 70px 30px; 
}
#quiz-gameover-screen {
    background-color: #eaacae;
    padding: 40px 30px 70px 30px; 
}
.question-container {
    background-color: #ffffff;
    padding: 40px 30px 0px 30px; 
}


.quiz-container {
    padding: 0px;
    max-width: 100%;
    margin: 0em auto;
    max-width: 900px;
    min-height: 760px;
    background: white;
}
#quiz-header p {
    margin-bottom: 0px;
    background: url('img/header.jpg')
}
#quiz-round1-screen,
#quiz-round2-screen,
#quiz-end-screen, 
#quiz-counter, 
#quiz-gameover-screen {
    text-align: center;
}
#quiz-start-screen,
#quiz-results-screen, 
#quiz-round2-screen {
    text-align: left;
}
#quiz-buttons a,
#quiz-home-btn,
.quiz-container .quiz-button,
#quiz-retry-btn,
#quiz-end-btn {
    display: inline-block;
    padding: 0.5em 1.5em 0.4em 1.5em;
    background: #fff;
    color: #247157;
    border: 2px solid #247157;
    border-radius: 30px;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 30px;
    font-size:1.2em;
}
#quiz-buttons a#quiz-next-btn {
	box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.5);
	transform: scale(1);
	animation: pulse 2s infinite;
}
#quiz-home-btn {
    font-size: 2.6em;
    line-height: 0em;
    padding: 0.5em 0.2em 0.5em 0.2em;
}
@keyframes pulse {
	0% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.3);
	}

	70% {
		transform: scale(1);
		box-shadow: 0 0 0 5px rgba(0, 0, 0, 0);
	}

	100% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
	}
}
#quiz-buttons a:hover,
#quiz-home-btn:hover,
.quiz-container .quiz-button:hover,
#quiz-retry-btn:hover,
#quiz-end-btn:hover {
    background: #247157;
    color: #fff;
    border: 2px solid #247157;
    cursor: pointer;
}
.quiz-container #quiz-start-screen-container .quiz-button,
.quiz-container #quiz-round2-screen-container .quiz-button {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}
.quiz-container #quiz-start-screen-container .quiz-button:hover {
    background: #fff;
    color: #fabc57;
    border: 2px solid #fff;
}
.quiz-container #quiz-round2-screen-container .quiz-button:hover {
    background: #fff;
    color: #38B188;
    border: 2px solid #fff;
}

#quiz-buttons {
    padding-bottom: 50px;
}

#quiz-controls {
    background: #fff;
    color: #000;
    padding-right: 40px;
    text-align: right;
    border-radius: 0px;
}
#quiz-response {
    display: none;
}
.quiz-results-state #quiz-controls {
    display: none !important;
}
#quiz-results {
    font-size: 1em;
}
#quiz-results-table {
    margin-bottom: 3em;
}
#quiz-results-cheese,
#quiz-results-energy  {
    padding-left: 80px;
    padding-top: 20px;
}
#quiz-results-icon-cheese {
    background: url('../img/icon-cheese.png') ;
    background-repeat: no-repeat;
    background-size: contain;
    height: 85px;
    padding-right:30px;
    display: inline-block;
    margin: 0px 0px 0px 0px;
    border-right: 3px solid #247157;
}
#quiz-results-icon-energy {
    background: url('../img/icon-energy.png') ;
    background-repeat: no-repeat;
    background-size: contain;
    height: 85px;
    display: inline-block;
    margin: 0px 30px 0px 30px;
}
#quiz-results-table > div > p {
    text-transform: uppercase;
    font-size: 1.4em;
    color: #247157;
}
#quiz-end-buttons {
}
#quiz-end-buttons > p {
    width: 49%;
    display: inline-block;
}
#quiz-end-buttons > p:nth-child(2) {
    text-align: right;
}

@media (max-width: 576px) {
    .answers{
    flex-direction: column;
    flex-wrap: wrap;
    }
    .answers li{
        margin-bottom:10px;
    }
    #quiz-results-cheese,
    #quiz-results-energy  {
        /* padding-top: 15px; */
    }
    #quiz-end-btn{
        font-size:1em;
    }
    #quiz-home-btn{
        font-size:2.2em;
    }
    #quiz-results-icon-cheese {
        border-right: 0px;
        width: 49%;
        margin: 0px 0px 0px 0px;
    }
    #quiz-results-icon-energy {
        width: 49%;
        margin: 0px 0px 0px 0px;
        padding-right: 0px;
    }
    #quiz-results-table > div > p {
        font-size: 1.25em;
    }
}
ul.answers {
    margin-top: 50px;
}
ul.answers li {
    margin-left: 10px;
    margin-right: 10px;
}
.answers {
    display:flex;
}
.answers li {
    flex: 1 1 0px;
    background:#247157;
}
.answers a {
    padding: 0.5em 0.2em 0.5em 0.7em;
    color: #fff;
    border-radius: 0px;
    font-size: 1.1em;
    text-align: left;
    padding-top: 11px;
}
.answers a:hover {
    /* background: #2d8165; */
    color: #ddd;
}
ul {
   list-style:none;
}
li {
    display: inline-block;
}


@media (max-width: 576px) { 
    h1 {
        font-size: 1.5rem;
    }
    .introh1 {
        font-size:1.5rem;
    }
    #quiz-header  {
        background-size: 562px 250px;
        height: 200px;
    }
    #quiz-header-cheese,
    #quiz-header-energy,
    #quiz-header-both  {
        background-repeat: no-repeat;
        background-size: cover;
        padding: 40px 50px 70px 50px;
        height: 190px;
    }
    #quiz-buttons a{
        font-size: 1em;
    }
    #quiz-intro-btn, #quiz-start-btn, #quiz-next-btn2, #quiz-end-btn {
        font-size: 1em;
    }
    #quiz-start-screen {
        padding: 0px 50px 70px 50px;
    }
    #quiz-round2-screen {
        padding: 0px 50px 70px 50px;
    }
    #quiz-start-header {
        background: url('../img/header-round1-mobile.png') ;
        background-size: 375px 500px;
        height: 250px;
        background-repeat: no-repeat;
    }
    #quiz-round2-header {
        background: url('../img/header-round2-mobile.png') ;
        background-size: 375px 500px;
        height: 250px;
        background-repeat: no-repeat;
    }
    #quiz-counter h6 {
        font-size: 1em;
        padding: 0px 30px 0px 30px; 
    }
    .question-container {
        padding-top: 30px;
        padding-bottom: 0px;
    }
    ul.answers {
        margin-top: 20px;
    }
    #quiz-counter #progress {
        height: 5px;
    }
    #quiz-buttons a, #quiz-home-btn, .quiz-container .quiz-button, #quiz-retry-btn, #quiz-end-btn {
        margin-top: 0px;
    }
    .answers a {
        font-size: 1em;
        padding-top: 9px;
    }
    #quiz-intro-screen {
        padding: 30px 50px 70px 50px;
    }
    #quiz-results-screen {
        padding: 30px 30px 70px 30px;
    }
}
@media (max-width: 388px) { 
    #quiz-results-icon-cheese,#quiz-results-icon-energy{
        width:100%;
    }
}
