*{
    margin:0;
    padding: 0;
    box-sizing: border-box;
    word-break: break-word;
}

*:focus, button:focus{
    outline: none;
}

body {
    font-size: 16px;
    background-color: #7a6135;
	width: 100%;
}

main{
    position: relative;
}





.page-name{
    width: 34px;
    margin: 0 15px;
    margin-top: 5px;
    position: absolute;
	display: none;
}
.instruction-button {
	opacity: 0;
}

.content-body {
    margin-bottom: 50px;
}

.page-name h1{
    word-break: break-all;
    font-size: 37px;
}

.page-name span:first-child{
    margin-bottom: 18px;
    display: inline-block;
}

.header-game .game-type{
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    color: #fff;
    border: 2px solid #fff;
    height: fit-content;
    position: relative;
    padding: 5px 15px 5px 12px;
    border-radius: 8px;
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
}

img.img-responsive.type-img{
    /*width: 36px;*/
}

.header-game .game-type:before{
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 0;
    width: 64px;
    background: #fff;
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
    border-radius: 5px 0 0 5px;
}

.game-type span{
    margin-left: 15px;
}

.header-game .game-type:hover:before {
    width: 100%;
    border-radius: 8px;
}

.header-game  p.game-name{
    color: #ffffff;
    font-size: 24px;
    font-weight: 500;
}

.header-game .game-type .type-arrow{
    display: none;
   /* width: 36px;*/
    left: 10px;
}

.header-game .game-type:hover .type-arrow {
    display: inline-block;
}

.header-game .game-type:hover {
    color: #2c79c2;
	border: rgba(255, 255, 255, 0);
}

.header-game .game-type:hover .type-img{
    display: none;
}

a {
    color: #1874d3;
    text-decoration: none;
    outline: none;
}
a:hover,
a:focus,
a:active {
    text-decoration: none;
    outline: none;
}


.header {
    padding: 25px 0;
    background: #fff;
    margin-bottom: 75px;
}

.game-button{
    width: 185px;
    height: 70px;
    cursor: pointer;
    background-size: 100%;
    border: 0;
    background-color: transparent;
    margin:0 auto;
}

.instruction {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 3;
}

.instruction-pop-up-container, .sign-description-pop-up-container {
    z-index: 999;
    position: absolute;
    top: 50%;
    background: #549ade75;
    transform: translate(-50%,-50%);
    left: 50%;
    width: 60%;
    padding: 25px;
    border-radius: 50px;
}

.instruction-pop-up, .sign-description-pop-up {
    /*background-image: url(../../images/icons/window-instruction.png);*/
	background-size: 100% 100%;
    padding: 50px;
    background-color: #f0f9ff;
    border-radius: 30px;
}

.instruction-header{
	color: #d9feff;
    position: absolute;
    top: -6px;
    font-size: 45px;
    left: 50%;
    transform: translate(-50%);
    font-weight: bold;
    background-color: #2e8df0;
    border-radius: 15px;
    padding: 10px 20px;
    text-shadow: 2px 5px 5px #09407a;
}

.instruction-text{
    color: #003A71;
    font-size: 22px;
    font-weight: bold;
}

.begin-game{
    background-image: url(../../images/icons/btn_nachat.png);
}

.begin-game:hover{
    background-image: url(../../images/icons/btn_nachat_hover.png);
}

.begin-game{
    width: 214px;
    height: 79px;
    background-size: 100%;
    border: none;
    background-color: transparent;
    margin: 0 auto;
    display: block;
    cursor: pointer;
}

/* footer */

footer{
    background: #d78c09;
    padding: 15px 0;
    color: #fff;
    margin-top: 15px;
}

.block--bdd, .block--copy{
    font-size: 19px;
    font-weight: 600;
    text-transform: uppercase;
}

.block--bdd{
    text-align: right;
}

.well-done-content img {
    width: 50%;
}

.well-done {
    width: 70%;
    background-image: url(../../images/icons/bubble_win.png);
    background-size: 100%;
    padding: 47px;
    z-index: 2;
    position: absolute;
    left: 50%;
    transform: translate(-50%);
    bottom: 0;
	background-repeat: no-repeat;
    display: flex;
    justify-content: center;
}

.well-done-video-btn {
position: absolute;
    width: 261px !important;
    height: 115px !important;
    background-image: url(../../images/icons/video.png);
    background-repeat: no-repeat;
    background-size: 100%;
    top: -101px !important;
    cursor: pointer;
}

.video-modal {
    position: absolute;
    z-index: 999;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 77px;
    height: 77px;
    background-size: 77px;
    background-image: url(../../images/icons/play.png);
    z-index: 1;
    cursor: pointer;
}

.video-container {
    z-index: 999;
    position: absolute;
    top: 50%;
    background: #ffd233;
    border: 4px solid #cca829;
    transform: translate(-50%,-50%);
    left: 50%;
    width: 80%;
    border-radius: 6px;
}

.well-done-video-btn {
    font-family: 'Fredoka One', cursive;
    position: absolute;
    right: 20px;
    top: 4px;
    font-size: 51px;
    color: #BF0000;
    line-height: 50px;
    z-index: 4;
    font-weight: bold;
    opacity: 1;
    cursor: pointer;
	display: none !important;
}

.video {
    width: 100%;
    cursor: pointer;
}

.game-bg {
    height: max-content;
    overflow: hidden;
    background-repeat: round;
    min-height: 500px;
    border: 15px solid #ffffff;
    border-radius: 25px;
    position: relative;
}

.close{
    font-family: 'Fredoka One', cursive;
    position: absolute;
    right: 62px;
    top: 49px;
    font-size: 51px;
    color: #BF0000;
    z-index: 4;
    font-weight: bold;
    opacity: 1;
	    cursor: pointer;
}

.close:focus, .close:hover{
    color: #BF0000;
}

.music-icon,
.sound-icon {
    position: absolute;
    bottom: 0 !important;
    width: 60px;
    border: 5px solid #ffffff;
    border-radius: 50%;
    cursor: pointer;
	
}

.music-icon {
    left: 0 !important;
}

.sound-icon {
    right: 0 !important;
	z-index:10;
	display:none !important;
}
.game-type  img {height: 45px;}
.view-game {
	position:relative
}
.nameplate {
	margin-bottom: 0rem ;
    margin-top: 0rem;
}
.back-arrow  span{
    background-color: #d78c09;
    padding: 0 15px;
    border-radius: 15px;
}
.back-arrow  span:hover {
    background-color: #c1800d;
}
.block-category-info .d-flex {
    align-items: baseline;
}
.category-info-text {
    color: #7a6135;
    font-size: 21px;
    width: 55% !important;
    margin-left: 20px;
}

@media (max-width: 600px) {
  .header-game .d-flex {
    flex-direction: column;
	margin-top: 5px;
}
.nameplate {
    margin-bottom: 0rem;
    margin-top: 0rem;
}
.block-category-info .d-flex {
	    flex-wrap: wrap;
}
.category-info-img {display: none;}
.category-info-title {
    margin-left: 0px; 
    text-align: center;
}
.category-info-text {

width: 100%;
}

.close {
  
    right: 36px;
    top: 14px;
    font-size: 80px;
}

.instruction-pop-up-container, .sign-description-pop-up-container {

    width: 90%;
    padding: 25px;

}
.instruction-pop-up, .sign-description-pop-up {

    background-size: 100% 100%;
    padding: 12px;
    background-color: #f0f9ff;
    border-radius: 34px;
}

}


}
