* {
    box-sizing: border-box;
}

h1 {
    font-size: 1.9em;
}

img{
    width: 100%;
}

body {
    /* counter-reset: game; */
    font-family: 'Open Sans', 'Helvetica', 'Arial', sans-serif;
    color: #fff;
    min-height: 100vh;
    background-image: url('../img/newImg/newBG.png');
    background-position: center;
    background-size: cover;
        overflow-x: hidden;
}


section{
    min-height: 100vh;
    /* background-color: #09CED3; */
    overflow: hidden;
}

.firstsection .habsimg {
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    min-width: 350px;
}



section#sec4 .win1 {
    /* z-index: 1;
    position: absolute;
    top: 50%;
    margin-top: -18%;
    width: auto;
    max-height: 98vh;
    display: block; */
}


.firstsection .footer {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    margin-bottom: -4px;
    justify-content: space-between;
    padding: 0 5%;
}

section.firstsection {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* .firstsection .hleftimg {
    width: 226px;
    max-width: 90%;
    padding-top: 40px;
    position: relative;
    left: 6%;
} */

.firstsection .hleftimg {
    /* margin-top: 40px; */
    /* position: relative; */
    /* left: 6%; */
    max-height: 17vh;
    /* height: 100px; */
}

.hleftimg img {
    max-height: 100%;
}

.firstsection .man {
    width: 140px;
    max-width: 20vw;
}

.firstsection .massage {
    width: 100px;
    max-width: 15vw;
}

.firstsection.third .bleftimg {
    margin: auto;
    width: 60vw;
    max-width: 600px;
    margin-top: 25px;
}

.firstsection.second .header2{
    top: 0;
    position: absolute;
    width: 10vw;
}

.header{
    position: relative;
    display: flex;
    justify-content: space-between;
}

.left_header{
    display: flex;
    align-items: center;
    height: 100px;
    width: 15vw;
    justify-content: space-evenly;
    
}
.left_header .score{
    color: #000;

}
.firstsection.third .header2 {
    top: 0;
    position: absolute;
    width: 4vw;
    min-width: 35px;
}

.firstsection.third .righttimg {
    position: absolute;
    right: 13vw;
    display: flex;
    flex-direction: row-reverse;
    width: 11vw;
    color: black;
    top: 2vh;
    min-width: 100px;
}

.firstsection.third .righttimg span {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    /* padding-left: 160px; */
    position: absolute;
    top: 50%;
    right: 12%;
    transform: translateY(-50%);
    font-family: "Conv_ArlaIF_Blk";
    color: #fff;
}

.firstsection.third .hleftimg {
    width: 30vw;
    /* background-image: url(/img//newImg/lives-bg.png); */
    background-size: 215px 57px;
    /* margin-bottom: 10px; */
    max-width: 150px;
    display: flex;
    justify-content: space-evenly;
}
.firstsection.third .hleftimg img {
    width: 25%;
}
.lives-bg{
    position: absolute;
    width: 6%;
}
/* 
.firstsection.third .maincontainer div {
    width: 20%;
} */

/* .firstsection.third .maincontainer div:nth-child(2){
    width: 60%;
} */

/* .firstsection.second .maincontainer > div {
    width: 20%;
} */

/* .firstsection.second .maincontainer > div:nth-child(2) {
    width: 60%;
} */


.firstsection .maincontainer {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    /* padding: 0 5%; */
    align-items: flex-start;
    max-width: 1400px;
    margin: auto;
    width: 100%;
    max-height: 600px;
}


#container{
    margin: 0 auto;
    background-image: url('../img/bg-02.jpg');
}

#index-container{
    margin: 0 auto;
    background-image: url('../img/index-bg-01.png');
}

.firstsection.second .start {
    width: 20vw;
    height: 20vw;
    background: url(../img/image/play.png);
    position: relative;
    left: 50%;
    bottom: 9%;
    transform: translate(-50%);
    cursor: pointer;
    background-size: contain;
    max-width: 150px;
    max-height: 150px;
    background-repeat: no-repeat;
    background-position: center center;
}

#index-right{
    width: 241px;
    height: 674px;
    float: left;
}

#logo-bg{
    margin-top: 81px;
    margin-left: 30px;
}

#left{
    width: 341px;
    height: 176px;
    float: left;  

}
#right{
    width: 341px;
    height: 176px;
    float: left; 
    text-align: center;
}
#center{
    width: 341px;
    height: 176px;
    float: left;  
}
#index-center{
    width: 561px;
    height: 674px;
    float: left;
    text-align: center;
}
#index-left{
    width: 221px;
    height: 674px;
    float: left;
}
#gsk-logo{
    float: right;
    margin-right: 50px;
    margin-top: 50px;

}
#main-logo{
    top: 263px;
    position: absolute;
    z-index: 5;
    margin-left: -36px;
}
#start{
    margin-left: 15px;
}

input:checked {
    counter-increment: game;
}

.total-count::after {
    content: counter(game);
}

h2 {
    font-size: 1em;
    margin: -.5em auto 3em;
    font-weight: 400;
}

.total-count {
    /*    font-size: 1.5em;*/

    width: 215px;
    height: 57px;
    text-align: center;
    z-index: 300;
    background-image: url(../img/items-06.png);
    background-repeat: no-repeat;
    background-size: 215px 57px;
    position: relative;
    top: -649px;
    left: 753px;
    /*    position: absolute;
        top: 72px;
        left: 750px;*/
}

.game-area {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-flow: wrap;
    flex-flow: wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    height: calc(50vw - 21px);
    max-height: 635px;
    width: 50vw;
    max-width: 650px;
    margin: 0 auto;
    padding-left: 0;
}

/* li {
    width: calc(34% - .5em);
    margin-bottom: 0em;
    height: 11em;
    list-style: none;
    position: relative;
    background-image: url(../img/li-07.png);

} */

li {
    width: 28%;
    height: 32%;
    list-style: none;
    position: relative;
    /* background-image: url(../img/newImg/box1.png);
    background-size: cover;
    background-repeat: no-repeat; */
    margin-bottom: 10px;
    overflow: hidden;
}


li:nth-child(1) input {
    /*    -webkit-filter: hue-rotate(358.80064deg) brightness(1.90784);
        filter: hue-rotate(358.80064deg) brightness(1.90784);*/
    -webkit-animation-duration: 4.15053s;
    animation-duration: 4.15053s;
}
li:nth-child(2) input {
    /*    -webkit-filter: hue-rotate(51.03337deg) brightness(1.36);
        filter: hue-rotate(51.03337deg) brightness(1.36);*/
    -webkit-animation-duration: 4.2876s;
    animation-duration: 4.2876s;
}
li:nth-child(3) input {
    /*    -webkit-filter: hue-rotate(58.2385deg) brightness(1.11913);
        filter: hue-rotate(58.2385deg) brightness(1.11913);*/
    -webkit-animation-duration: 2.06496s;
    animation-duration: 2.06496s;
}
li:nth-child(4) input {
    /*    -webkit-filter: hue-rotate(73.70016deg) brightness(1.47203);
        filter: hue-rotate(73.70016deg) brightness(1.47203);*/
    -webkit-animation-duration: 3.35751s;
    animation-duration: 3.35751s;
}
li:nth-child(5) input {
    /*    -webkit-filter: hue-rotate(259.98558deg) brightness(1.44459);
        filter: hue-rotate(259.98558deg) brightness(1.44459);*/
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
}
li:nth-child(6) input {
    /*    -webkit-filter: hue-rotate(15.13901deg) brightness(1.94033);
        filter: hue-rotate(15.13901deg) brightness(1.94033);*/
    -webkit-animation-duration: 1.81301s;
    animation-duration: 1.81301s;
}
li:nth-child(7) input {
    /*    -webkit-filter: hue-rotate(187.04772deg) brightness(1.17272);
        filter: hue-rotate(187.04772deg) brightness(1.17272);*/
    -webkit-animation-duration: 0.44835s;
    animation-duration: 0.44835s;
}
li:nth-child(8) input {
    /*    -webkit-filter: hue-rotate(204.71946deg) brightness(1.92488);
        filter: hue-rotate(204.71946deg) brightness(1.92488);*/
    -webkit-animation-duration: 1.90833s;
    animation-duration: 1.90833s;
}
li:nth-child(9) input {
    /*    -webkit-filter: hue-rotate(163.47098deg) brightness(1.57017);
        filter: hue-rotate(163.47098deg) brightness(1.57017);*/
    -webkit-animation-duration: 4.59319s;
    animation-duration: 4.59319s;
}

input[type="checkbox"] {
    width: 59%;
    height: 60%;
    position: absolute;
    cursor: crosshair;
    display: block;
    left: 0;
    right: 0;
    text-align: center;
    margin: 1% auto;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    /* border: 6px solid red; */
    -webkit-animation: hide-target infinite alternate ease-in-out;
    animation: hide-target infinite alternate ease-in-out;
    z-index: 1;
    background-color: transparent;
    border: none;
    outline: none;
    background-repeat: no-repeat;
    background-position: 30% 30%;
    background-size: 60%;
}

input[type="checkbox"]:before {
    content: '';
    display: block;
    /*    background-color: black;*/
    height: 50%;
    width: 6px;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    margin: 0 auto;
    z-index: -1;
    background-color: transparent;
    border: none;
    outline: none;
}
input[type="checkbox"]:focus {
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: transparent;
    border: none;
}

input[type="checkbox"]:checked {
    pointer-events: none;
    -webkit-filter: grayscale(1) opacity(0.75);
    filter: grayscale(1) opacity(0.75);
    -webkit-animation: none;
    animation: none;
    background-color: transparent;
    border: none;
    outline: none;
}
input[type="checkbox"]:checked:after {
    content: '+10!';
    padding: .5em;
    margin: 1em 0 0 1.5em;
    font-size: 1.5em;
    font-weight: 600;
    color: #b1a8a8;
    background-color: transparent;
    border: none;
    outline: none;
}

.shield {
    /* background-image: url(../img/newImg/box2.png); */
    width: 77%;
    height: 30%;
    bottom: 15px;
    right: 12%;
    position: absolute;
    pointer-events: all;
    z-index: 100;
    /* background-size: cover;
    background-repeat: no-repeat; */
}

@-webkit-keyframes hide-target {
    0% {
        top: 0%;
    }
    25% {
        top: 70%;
    }
    100% {
        top: 0%;
    }
}

@keyframes hide-target {
    0% {
        top: 0%;
    }
    25% {
        top: 70%;
    }
    100% {
        top: 0%;
    }
}

.game-over {
    display: block;
    margin: 0 auto;
    pointer-events: all;
    position: absolute;
    top: -120%;
    z-index: 200;
    -webkit-animation: appear .25s forwards;
    animation: appear .25s forwards;
    -webkit-animation-delay: 9s;
    animation-delay: 9s;
    background-image: url('../img/popup-bg-10-10.png');
    /*    background: -webkit-repeating-linear-gradient(135deg, #c9ff00 0, #c9ff00 5em, #20c0ff 5em, #20c0ff 10em);
        background: repeating-linear-gradient(-45deg, #c9ff00 0, #c9ff00 5em, #20c0ff 5em, #20c0ff 10em);*/
}
.game-over h1 {
    padding: 3.8em 0 0.5em;
    text-align: center;
    /*    background: white;*/
}

@-webkit-keyframes appear {
    from {
        top: -100vh;
        opacity: 0;
    }
    to {
        top: 0;
        opacity: 1;
    }
}

@keyframes appear {
    from {
        top: -100vh;
        opacity: 0;
    }
    to {
        top: 0;
        opacity: 1;
    }
}
.play-again {
    /* background: rgba(12, 82, 109, 0.28); */
    color: rgb(255, 255, 255);
    padding: .5em 1em;
    font-size: 1em;
    font-weight: 700;
    text-decoration: none;
}

small a {
    margin-bottom: 2em;
    display: block;
    color: #222;
}
.close {
    margin-top: 32.5em;
    position: absolute;
    margin-left: 3.2em;
}
#timer{
    width: 249px;
    margin-left: 50px;
    margin-top: 23px;
}
.size_sm {
    font-size: 20px;
    border-width: 3px;
    border-radius: 0px;
}

.colorDefinition {
    background: transparent !important;
    color: #FFFFFF !important;
    border-color: transparent !important;
}

.style {
    width: 100%;
    font-family: sans-serif;
    font-weight: bold;
    /* border-style: solid; */
}
#text-area{
    width: 77%;
    margin: 0px auto;
    padding: 15px;
    color: #333;
    height: 540px;
}

section.firstsection.four .maincontainer {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    /* padding: 0 5%; */
    max-width: 1400px;
    width: 100%;
    align-items: unset;
    margin: auto;
    margin-bottom: unset;
    max-height: unset;
}

section.firstsection.four.five .maincontainer {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    /* padding: 0 5%; */
    max-width: 1400px;
    width: 100%;
    align-items: unset;
    margin: auto;
    margin-bottom: unset;
}

.firstsection.message .maincontainer {
    position: relative;
    /* max-height: 80vh; */
    margin-top: 16vh;
}

.firstsection.message .massage {
    width: 143px;
    max-width: 23vw;
    margin-bottom: 10px;
}

.firstsection.message .maincontainer span {
    width: 13vw;
    height: 16vw;
    position: absolute;
    top: 72%;
    left: 46%;
    cursor: pointer;
    background: url(../img/image/again.png);
    background-size: contain;
    min-width: 80px;
    min-height: 92px;
    max-width: 150px;
    max-height: 180px;
    background-repeat: no-repeat;
}

/*rotateMessage*/
.rotateMessage{
    text-align: center;
    display: none;
    position: absolute;
    top: 0;
    background-color: #000000e3;
    width: 100%;
    height: 100vh;
    margin: 0 auto;
    z-index: 11;
    
}
.rotateMessage-container{
  width: 100%;
  height: 100%;
  position: relative;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;

}
.rotateMessage-content{
  position: relative;
  background-color: #FFF;
  width: 100%;
  max-width: 80%;
  height: 100%;
  max-height: 32%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 25px;
}
.rotateMessage-text{
  text-align: center;
  color: #01303f;
  font-family: 'Nexa Bold';
  font-size: 27px;
  line-height: 29px;
}

/* .win1 {
    z-index: 1;
    position: absolute;
    bottom: 0;
    width: auto;
    max-height: 98vh;
}
.win2 {
    position: absolute;
    bottom: 10%;
    z-index: 0;
    width: auto;
    max-height: 84vh;
} */

.maincontainer{
    min-width: 100vw;
    height: 100vh;
}
.maincontainer img{
    width: 100%;
    height: 100%;
}
.input-container{
    position: absolute;
    width: 100%;
    height: 80%;
    top: 10%;
    overflow: hidden;
}

.score span{
    position: absolute;
    top: 50%;
    right: 25%;
    transform: translateY(-50%);
    font-family: "Conv_ArlaIF_Blk";
    color: #fff;
}
.right-container .score{
    position: absolute;
    right: 1rem;
    display: flex;
    flex-direction: row-reverse;
    width: 11vw;
    color: black;
    top: 2vh;
    min-width: 100px;
    font-size: 1.5rem;
}
.portrait {

    position: absolute;
    
    top: 0;
    
    left: 0;
    
    width: 100%;
    
    height: 100%;
    
    display: none;
    
    min-height: 100vh;
    
    align-items: center;
    
    justify-content: center;
    
    width: 100%;
    
    background-image: url(../images/bg.png);
    
    background-repeat: no-repeat;
    
    background-position: center;
    
    background-size: cover;
    display: flex;
    height: 100vh;
    background-color: #000000db;
    z-index: 60;
    }
@media only screen and (max-width:860px) and (orientation:portrait){ 
  .rotateMessage-text{
    text-align: center;
    color: #01303f;
    font-family: 'Nexa Bold';
    font-size: 20px;
    line-height: 22px;
  }
}
@media only screen and (max-width:1100px) and (orientation:landscape){ 
    
    .lives-bg {
        position: absolute;
        width: 9%;
    }
    .firstsection.third .righttimg span {
        font-size: 1rem;
    }
  }
@media only screen and (max-width:920px) and (orientation:landscape){ 
    .firstsection.third .righttimg span {
        font-size: .9em;
    }
    .score span {
        font-size: 0.9em;
    }
    .firstsection.third .righttimg{
        /* min-width: 16vw; */
    }
    .header{
        max-height: 21vh;
    }
    .shield {
        /* background-image: url(../img/newImg/box2.png); */
        bottom: 7px;
    }
    .firstsection.third .hleftimg {
        width: 30vw;
        max-width: 19vw;
        margin-bottom: 0;
    }
    .firstsection .maincontainer {
        align-items: flex-start;
    }
    .game-area{
        height: calc(35vw - 21px);
        max-height: 635px;
        width: 36vw;
        max-width: 650px;
    }
    .firstsection.third .righttimg {
        right: 15vw;
    }
    .left_header{
        padding-left: 1.5rem;
    }
    .lives-bg{
        width: 10%;
    }
  }

  @media only screen and (max-width:768px) and (orientation:landscape){ 
    .firstsection.third .righttimg {
        right: 18vw;
    }
  }
  @media only screen and (max-width:600px) and (orientation:landscape){ 
    .firstsection.third .righttimg {
        right: 22vw;
    }
  }

  @media only screen and (max-width:500px) and (orientation:landscape){ 
    .game-area{
        height: calc(50vw - 21px);
        width: 50vw;
    }
  }

@media(min-width:1400px){
    section#sec4 .win1 {
        /* z-index: 1;
        position: absolute;
        top: 50%;
        margin-top: -30vh;
        width: auto;
        max-height: 98vh;
        display: block;
        max-width: 1300px; */
    }


    section#sec4 .bleftimg{
        margin:auto
    }
}
