body, html, * {
    margin: 0;
    padding: 0;
    border: none;
}

body, html {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    color: #555555;
    line-height: 140%;
    background: #fff;
}

.cf {
    clear: both;
}

img {
    max-width: 100%;
    height: auto;
}

.wiersz {
    width: 1200px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

#game-wrapper {
    width: 100vw;
    max-height: 100vh;
    height: 56.25vw;
    background: #fff;

    max-width: 177.78vh; /* 16/9 = 1.778 */
    margin: auto;
    position: relative;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

#game-wrapper a.splash-screen {
    width: 100%;
    height: 100%;
}

.dflex {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: stretch;
    align-content: stretch;
}

button.btn-wmn, button.btn-man {
    background: transparent;
    width: 50%;
    box-sizing: border-box;

}

button.cliced-woman-btn {
    background: red;
}

button.btn-wmn:hover, button.btn-man:hover {
    cursor: pointer;
}

button.debug-btn {
    background: #ccc;
    color: #000;
    margin: 5px;
    padding: 3px 8px;
}

button.debug-btn:hover {
    background: #000;
    color: #fff;
}

#woman-btn-wrapper, #man-btn-wrapper {
    position: relative;
    background: #73a2c3;
    width: 26.86178481468154%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-right: 0.5%;
	z-index: 1;
}

#woman-btn-wrapper {
    background: #f4a5cb;
    padding-left: 0.5%;
}

#game {
    background: #fff;
    background-image: url("../images/game-bgr-1.jpg");
    background-size: cover;
    width: 46.2764303706369%;
    position: relative;
    display: block;
}

#game img {
    max-height: 100%;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

#game .woman-face,
#game .man-face,
#game .woman-item,
#game .man-item {
    position: absolute;
    z-index: 1;
    height: auto;
}

#game .woman-face {
width: 28%;
top: 15.1%;
left: 19.7%;
}

#game .man-face {
width: 26%;
top: 10.5%;
left: 46.7%;
}

#game .woman-item-0 {
width: 41.2%;
top: 35.2%;
left: 13.8%;
z-index: 2;
}

#game .woman-item-1 {
    width: 39.6%;
    top: 57.3%;
    left: 13.9%;
    z-index: 0;
}

#game .woman-item-2 {
	width: 35.7%;
	top: 35.8%;
	left: 18.9%;
    z-index: 2;
}

#game .woman-item-3 {
    width: 27%;
    top: 36.6%;
    left: 34%;
    z-index: 3;
}

#game .woman-item-4 {
    width: 14.3%;
    top: 60%;
    left: 28%;
    z-index: 0;
}

#game .woman-item-5 {
    width: 22%;
    top: 15%;
    left: 18.5%;
    z-index: 2;
}

#game .woman-item-6 {
    width: 32.9%;
    top: 57%;
    left: 17.7%;
    z-index: 1;
}

#game .woman-item-7 {
    width: 38%;
    top: 70%;
    left: 8%;
    z-index: 2;
}

#game .man-item-0 {
    width: 31.6%;
    top: 48.5%;
    left: 43%;
    z-index: 0;
	
}

#game .man-item-1 {
width: 32.1%;
top: 30.5%;
left: 42.4%;
	z-index: 2;
}

#game .man-item-2 {
width: 22%;
top: 29.9%;
left: 48%;
z-index: 3;
}

#game .man-item-3 {
    width: 31.6%;
	top: 26.7%;
	left: 42.4%;
    z-index: 1;
}

#game .man-item-4 {
    width: 12.4%;
    top: 38.4%;
    left: 56.5%;
    z-index: 4;
}

#game .man-item-5 {
	width: 30.7%;
	top: 30.6%;
	left: 42%;
	z-index: 1;
}

#game .man-item-6 {
    width: 11%;
    top: 31.1%;
    left: 54%;
    z-index: 1;
}

#game .man-item-7 {
    width: 30.8%;
    top: 49.7%;
    left: 44.9%;
    z-index: 1;
}

#game .woman-item img,
#game .man-item img {
    display: none;
}

.btn-wmn img, .btn-man img {
    width: 86%;
}

.btn-wmn img, .btn-man img {
    -moz-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    -webkit-box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 0.75);
    box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 0.75);
}

.btn-wmn:not(:disabled):hover img, .btn-man:not(:disabled):hover img {
    -moz-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
    -webkit-box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.75);
    box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.75);
}

.intro-msg {
    position: absolute;
    -webkit-animation: cloud-showing 1s ease-in-out 1 alternate;
    animation: cloud-showing 1s ease-in-out 1 alternate;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    width: 17%;
    height: auto;
    opacity: 0;
}

.msg-animation {
    -webkit-animation: cloud-showing 1s ease-in-out 1 alternate;
    animation: cloud-showing 1s ease-in-out 1 alternate;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes cloud-showing {
    0% {
        transform: scale(1.5);
        opacity: 0;
    }
    100% {
        transform: scale(1.0);
        opacity: 1;
    }
}

img#intro-msg-01 {
    top: 34%;
    left: 30%;
    animation-delay: 1s;
}

img#intro-msg-02 {
    top: 2.5%;
    left: 57%;
    animation-delay: 2s;
}

img#intro-msg-03 {
    top: 28.5%;
    left: 57%;
    animation-delay: 3s;
}

img#intro-msg-04 {
    top: 58.5%;
    left: 73%;
    animation-delay: 5s;
}

img#intro-msg-05 {
    top: 60%;
    left: 10%;
    animation-delay: 7s;
}

img#intro-msg-06 {
    top: 34%;
    left: 30%;
    animation-delay: 10s;
}

img#intro-msg-07 {
    top: 55%;
    left: 39%;
    position: absolute;
    -webkit-animation: cloud-start 1s ease-in-out 1 alternate;
    animation: cloud-start 1s ease-in-out 1 alternate;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    width: 17%;
    animation-delay: 10s;
    height: auto;
    opacity: 0;
}

img#intro-msg-07:hover {
    -moz-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

@keyframes cloud-start {
    0% {
        transform: scale(1.5);
        opacity: 0;
    }
    100% {
        transform: scale(1.0);
        opacity: 1;
    }
}

.hidden {
    display: none;
}

.msg-wrapper {
    transform-origin: 50% 50%;
    -webkit-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    position: absolute;
    opacity: 1;
    z-index: 4;
    top: 1%;
    width: 18%;
}

.msg-wrapper img {
    opacity: 0;
}

#msg-wrapper-man {
    left: 58%;
}

#msg-wrapper-wmn {
    left: 24.5%;;
}

#btn-woman-glossary{
    position: absolute;
    z-index: 1;
    height: auto;
    width: 35%;
    top: 52%;
    left: 33%;
}

#btn-man-glossary{
    position: absolute;
    z-index: 1;
    height: auto;
    width: 35%;
    top: 52%;
    left: 34%;
}

a#btn-one-more-time-woman,
a#btn-sto-lat-woman {
    position: absolute;
    z-index: 1;
    height: auto;
    width: 35%;
    top: 25%;
    left: 33%;
}

a#btn-one-more-time-man,
a#btn-sto-lat-man {
    position: absolute;
    z-index: 1;
    height: auto;
    width: 35%;
    top: 25%;
    left: 34%;
}

.finish-block {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    height: 100%;
    width: 100%;
}

.pink-bg {
    background: #f4a5cb;
}

.blue-bg {
    background: #73a2c3;
}

#win-msg {
    position: absolute;
    z-index: 1;
    height: auto;
    width: 100%;
    top: 65%;
    left: 0%;
}

.summary {
    position: absolute;
    z-index: 1;
    height: auto;
    width: 30.8%;
}

#woman-summary-wrong-2 {
    top: 30%;
    left: -10%;
}

#woman-summary-wrong-4 {
    top: 48%;
    left: -10%;
}

#woman-summary-wrong-7 {
    top: 65%;
    left: -10%;
}

#man-summary-wrong-2 {
    top: 30%;
    left: 71%;
}

#man-summary-wrong-3 {
    top: 48%;
    left: 71%;
}

#man-summary-wrong-7 {
    top: 65%;
    left: 71%;
}


@media (min-width: 1921px) and (min-height: 1081px) 
{
    #game-wrapper {width: 1920px; height: 1080px;}
}