.gameboard {
    width: calc(100% - 18px);
    height: 500px
}

#background {
    width: 100%;
    height: 100%;
    z-index: 2001;
    position: fixed;
    _opacity: .5;
    background-color: var(--background-color-main);
    top: 0;
}

body {
    background-color: var(--background-color-main);
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 21px;
    color: #34495e;
}

#storyteller {
    display: none;
    position: fixed;
    top: 0;
    height: 100%;
    width: 100%;
    z-index: 3002;
    background-color: var(--background-color-main);
}

#storyteller-speech-bubble {
    text-align: center;
    border-radius: 10px;
    margin-top: -10px;
    margin-left: 20px;
    padding: 30px;
    /* padding-top: 30px; */
    width: calc(100% - 100px);
    background-color: white;
}

#storyteller-image {
    text-align: center;
    margin-top: 100px;
}

#storyteller-helper-image {
    display: none;
    text-align: center;
    border-radius: 10px;
    margin-top: 40px;
    margin-left: 20px;
    padding: 30px;
    width: calc(100% - 100px);
    background-color: white;
}

#storyteller-helper-image img {
    width: calc(100% - 100px)
}

#storyteller-play {
    background-color: #3498db;
    color: white;
    margin-top: 30px;
    padding: 10px;
    border-radius: 10px;
}

#storyteller-helper-video {
    display: none;
    text-align: center;
    border-radius: 10px;
    margin-top: 40px;
    margin-left: 20px;
    padding: 30px;
    width: calc(100% - 100px);
    background-color: white;
}

#lost-image {

}

#gameBoardFront {
    position: absolute;
    user-select: none;
    left: 0;
}


#gameBoardBackFields {
    position: absolute;
    left: 0;
}

.center {
    margin: auto;
    padding: 10px;
}

.screen {
    z-index: 3001;
    position: fixed;
    width: 100%;
    display: none;
    top: 0;
}

#playButton {
    cursor: pointer;
    width: 100%;
    text-align: center;
    display: none;
    position: fixed;
    top: 696px;
    left: calc(100% - 394px);
}

#lost {
    display: none;
    position: fixed;
    top: 0;
    height: 100%;
    width: 100%;
    z-index: 3002;
    background-color: var(--background-color-main);
    text-align: center;
}

#lost img {
    text-align: center;
    margin-top: 100px;
    width: 50%;
}

#lost div {
    text-align: center;
    border-radius: 10px;
    margin-top: -20px;
    margin-left: 20px;
    padding: 30px;
    /* padding-top: 30px; */
    width: calc(100% - 100px);
    background-color: white;
}

#control {
    margin-left: 10px;
    height: 100px;
    display: none;
}

#control .banner-element {
    float: left;
    height: 100%;
}

#control .banner-main {
    background-image: url('../../images/main/banner_center.png');
    background-repeat: repeat-x;
    width: calc(100% - 145px);
    height: 100%
}

#info {
    display: none;
    height: 100px;
    margin-left: 80px;
    position: relative;
    width: calc(100% - 100px);
    top: -8px;
}

#info .info-element {
    float: left;
    background-repeat: no-repeat;
    width: 30px;
    height: 30px;
    background-size: cover
}

#info .info-main {
    width: calc(100% - 130px);
    background-image: url('../../images/main/info_middle.png');
    background-repeat: repeat-x;
    background-size: contain;
}

#info #season {
    position: absolute;
    margin-top: 5px;
    margin-left: 17px;
    font-size: 11px;
}

#info #level {
    position: absolute;
    margin-top: 5px;
    margin-left: 132px;
    font-size: 11px;
}

.screen-text {
    margin: 0 70px;
    line-height: 30px;
}

.highlight {
    background-color: #2ecc71;
    color: white;
    padding: 6px;
    border-radius: 10px;
}

#won-character {
    text-align: center;
    margin-top: 100px;
}

#won-character img {
    width: 190px;
}

#won-rating {
    margin-bottom: 20px;
}

#won-rating .rating {
    margin-right: 10px;
}

#won-rating .rating img {
    width: 50px;
}

#won-rating .rating:last-child {
    margin-right: 0;
}

#won-info {
    text-align: center;
    border-radius: 10px;
    margin-top: -10px;
    margin-left: 20px;
    padding: 30px;
    width: calc(100% - 100px);
    background-color: white;
}

#won-time {
    text-align: center;
}

#won {
    display: none;
    z-index: 100000;
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: var(--background-color-main);
}

#gameBoard {
    position: relative;
    margin-top: 75px;
    margin-left: 15px;
}

#gameBoardBackFields {
    position: absolute;
}

#log {
    margin: 20px;
    z-index: 1000000;
    position: fixed;
    background-color: yellow;
    width: calc(100% - 60px);
    word-break: break-all;
    padding: 10px;
}

#feedback-level {
    padding-top: 10px;
    text-align: center;
    border-radius: 10px;
    margin-top: 30px;
    margin-left: 20px;
    width: calc(100% - 40px);
    background-color: white;
    height: 90px;
}

#feedback-level h2 {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 20px;
}

#feedback-level .feedback-score {
    padding: 30px;
    margin-top: 20px;
}


.development-only {
    display: none;
}

.btn-warn {
    background-color: #e74c3c;
    border-radius: 10px;
    padding: 10px;
    margin: 0 35px;
    color: white;
}

.box-score {
    position: fixed;
    top: 40px;
    background-color: white;
    width: 60px;
    border-radius: 15px;
    padding: 10px;
    margin-left: calc(50% - 40px);
    margin-top: 20px;
}

.box-score img {
    width: 20px;
    margin-right: 5px;
    position: relative;
    top: 2px;
    text-align: center;
}
