.carter-one {
    font-family: 'Carter One', Arial;
}

.clear {
    clear: both;
}

.hide {
    display: none;
}

.left {
    float: left;
    width: auto;
}

.right {
    float: right;
}

.center {
    text-align: center;
}

.middle {
    vertical-align: middle;
}
.blue {
    color: #005dff;
}

.purple {
    color: #770103;
}

.yellow {
    color: #ffcc33;
}

.green1 {
    color: #336666;
}

.green {
    color: #390;
}

.red {
    color: #c00;
}

.green2 {
    color: #ccffcc;
}

.white {
    color: #fff;
}

.black {
    color: #000;
}

.bg_beige {
    background: #fef2c7;
}

.bg_green1 {
    background: #336666;
    overflow: hidden;
    padding: 15px;
}

.green_bg2 {
    background: #c0e2c8;
}

.bg_white {
    background: #fff;
}

.border_black {
    border: solid 3px #000;
    border-radius: 4px;
}

.btn:hover {
    cursor: pointer;
}

#firstwrapper {
    position: relative;
    background: #dceddd;
    font-size: 18px;
    line-height: 1.2;
    font-family: Arial, serif;
    text-align: center;
    width: 960px;
    height: 720px;
    overflow: hidden;
    margin: 0 auto;
    color: #336666;
    background: url('../images/mendelpark_blurry.jpg') no-repeat;
    background-size: 100%;
}

#rules {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    text-align: left;
    overflow: hidden;
    clear: both;
}

#rules .box,
#popup .box {
    position: relative;
    overflow: hidden;
    width: 800px;
    height: 530px;
    margin: 80px auto 0;
    padding: 20px;
}

.box_bot {
    width: 860px;
    height: 20px;
    margin: 0 auto;
    position: relative;
    z-index: 12;
}

#rules .bg_green1 {
    height: 500px;
}

#rules p {
    margin: 0;
}

#rules ol {
    padding: 0;
    margin: 0;
}

#rules li {
    padding: 0;
    margin: 25px 30px;
}

#play_btn {
    padding-left: 14px;
    width: 200px;
    height: auto;
}

#cafeteria {
    position: relative;
    width: 100%;
    height: auto;
    background-size: 100%;
}

#cafeteria a {
    position: absolute;
    z-index: 2;
    background-repeat: no-repeat;
    text-align: left;
    width: 40px;
    height: 40px;
}

#cafeteria #rules_btn {
    top: 20px;
    right: 0;
    width: auto;
    height: auto;
    max-width: 200px;
    padding: 5px 10px;
}

#sam {
    top: 35%;
    left: 12%;
}

#ryan {
    top: 41%;
    left: 34%;
}

#jenny {
    top: 24%;
    left: 45%;
}

#cora {
    top: 37%;
    left: 56%;
}

#kenny {
    top: 25%;
    left: 85%;
}

#melissa {
    top: 38%;
    left: 85%;
}

#frieda {
    top: 73%;
    left: 18%;
}

#mickey {
    top: 62%;
    left: 34%;
}

#jack {
    top: 77%;
    left: 35%;
}

#alice {
    top: 63%;
    left: 48%;
}

#lenny {
    top: 83%;
    left: 51%;
}

#enrico {
    top: 61%;
    left: 64%;
}

#gary {
    top: 77%;
    left: 73%;
}

#cafeteria a img {
    width: 100%;
    height: auto;
}

#popup {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    text-align: center;
    font-size: 20px;
}

#popup .mask {
    position: absolute;
    z-index: 11;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
}

#popup .box {
    position: relative;
    z-index: 12;
}

.close {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 35px;
    height: 35px;
    z-index: 13;
    text-align: right;
    color: #444;
}

.close img {
    width: 100%;
}

#popup .box .inner {
    padding: 10px 30px;
    max-width: 800px;
    margin: 0 auto;
}

#fact {
    font-weight: bold;
}

#fact .text div {
    padding: 0 40px 0 140px;
    min-height: 116px;
    overflow: hidden;
    text-align: left;
}

#question {
    font-weight: bold;
    font-size: 22px;
}

#question .text {
    margin: 10px auto;
    text-align: center;
    padding-right: 30px;
}

#question .btns {
    overflow: hidden;
    width: 70%;
    margin: 5px auto;
}

#question .btns a {
    display: inline-block;
    overflow: visible;
    height: 70px;
    line-height: 70px;
}

#question .btns a.yup {
    width: 39%;
    background: url('../images/button_nature.png') no-repeat 50% 50%;
    background-size: auto 70px;
}

#question .btns a.nope {
    width: 59%;
    background: url('../images/button_naturenurture.png') no-repeat 50% 50%;
    background-size: auto 70px;
}

#question .btns a.good {
    width: 100%;
    background: url('../images/good.png') no-repeat 50% 50%;
    background-size: 60px;
}

#question .btns a.bad {
    width: 100%;
    background: url('../images/bad.png') no-repeat 50% 50%;
    background-size: 60px;
}

#question .btns a.answer {
    float: none;
    background: none;
    width: 100%;
}

#reveal .text {
    margin: 5px 40px;
    font-size: 20px;
    font-weight: bold;
}

#riddle {
    font-size: 24px;
    text-align: center;
    padding: 0 30px;
}

.riddle {
    margin: 20px auto;
    text-align: center;
    padding: 15px 20px 20px;
    width: 550px;
    height: 90px;
    font-weight: bold;
    background: #fff;
    font-size: 24px;
    line-height: 1.3;
}

.letter {
    position: relative;
    display: inline-block;
    overflow: visible;
    font-weight: bold;
    letter-spacing: 2px;
    border-bottom: solid 3px #000;
    min-width: 20px;
    margin-bottom: 30px;
}

.letter .star {
    position: absolute;
    bottom: -25px;
    left: 0;
    width: 20px;
    height: 20px;
    background: url('../images/star_gray.gif') no-repeat 50% 50%;
    background-size: 20px;
}

.letter.good .star {
    background-image: url('../images/star_good.gif');
}

.letter.bad .star {
    background-image: url('../images/star_bad.gif');
}

#score_btn,
#reset_btn {
    width: 175px;
}

#final {
    font-weight: bold;
}

#score {
    font-size: 30px;
    font-style: italic;
}

/* EFFECTS */
#rules_btn {
    box-shadow: 3px 3px 10px 0 rgba(0, 0, 0, 0.4);
}
