body {
  margin: 0;
  padding:  0;
  background: #fff;
  font-family: tahoma;
}

.bar-text{ text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}
textarea {
    border: none;
}

.mytext {
   
   
    box-sizing: border-box;
}

.vote-p{    margin-left: -55%;}
.container {
  width: 98%;
  margin: auto;
}
 
.rotate-scale-up {
  
	-webkit-animation: rotate-scale-up 0.65s linear both;
	        animation: rotate-scale-up 0.65s linear both;
}


/**
 * ----------------------------------------
 * animation rotate-scale-up
 * ----------------------------------------
 */
@-webkit-keyframes rotate-scale-up {
  0% {
    -webkit-transform: scale(1) rotateZ(0);
            transform: scale(1) rotateZ(0);
  }
  50% {
    -webkit-transform: scale(1.3) rotateZ(180deg);
            transform: scale(1.3) rotateZ(180deg);
  }
  100% {
    -webkit-transform: scale(1) rotateZ(360deg);
            transform: scale(1) rotateZ(360deg);
  }
}
@keyframes rotate-scale-up {
  0% {
    -webkit-transform: scale(1) rotateZ(0);
            transform: scale(1) rotateZ(0);
  }
  50% {
    -webkit-transform: scale(1.3) rotateZ(180deg);
            transform: scale(1.3) rotateZ(180deg);
  }
  100% {
    -webkit-transform: scale(1) rotateZ(360deg);
            transform: scale(1) rotateZ(360deg);
  }
}

#main_bar{ position:relative; margin:auto;}

.barchart-area .bar{position:absolute;bottom:0;}

ul {
  margin: 0;
  padding: 0;
  text-align: center
}

ul li {
  list-style: none;
  display: inline-block;
}

ul li a {
  text-decoration: none;
}

.main-body {
  width: 90%;
  height: 100vh;
  box-sizing: border-box;
  margin: auto;
  padding: 50px 0;
  border:2px solid #eee;
  position: relative;
  border-top:1px solid #eee;
  background-color: #fff;
  background-size: 100% 1.2em;
  background-image: -webkit-linear-gradient(0deg, transparent 79px, #abced4 79px, #abced4 81px, transparent 81px),
    -webkit-linear-gradient(#eee .05em, transparent .05em);
  background-image: -moz-linear-gradient(0deg, transparent 79px, #abced4 79px, #abced4 81px, transparent 81px),
    -moz-linear-gradient(#eee .05em, transparent .05em);
  background-image: -ms-linear-gradient(0deg, transparent 79px, #abced4 79px, #abced4 81px, transparent 81px),
    -ms-linear-gradient(#eee .05em, transparent .05em);
  background-image: -o-linear-gradient(0deg, transparent 79px, #abced4 79px, #abced4 81px, transparent 81px),
    -o-linear-gradient(#eee .05em, transparent .05em);
  background-image: linear-gradient(0deg, transparent 79px, #abced4 79px, #abced4 81px, transparent 81px),
    linear-gradient(#eee .05em, transparent .05em);
  -pie-background: linear-gradient(0deg, transparent 79px, #abced4 79px, #abced4 81px, transparent 81px) 0 0 / 100% 1.2em,
    linear-gradient(#eee .05em, transparent .05em) 0 0 / 100% 1.2em #fff;
/*  behavior: url(/PIE.htc);*/

}

.header-area {
  width: 100%;
  overflow: hidden;
}

.logo,
.vote-count,
.top-menu {
  width: 30%;
  overflow: hidden;
  float: left;
}

.top-menu {
  width: 40%;
}

.logo img {
  width: 200px;
  height: auto;
  display: block;
}

.vote-count h3 {
  font-size: 25px;
  text-align: center;
  margin-top: 12px;
  margin-bottom: 0;
}

.top-menu ul #closed-eye, .top-menu ul #numeric, .top-menu ul .active-smiley{
  display: none;
}
.top-menu ul #numeric a{
  font-weight: bold;
}
.top-menu ul #fullscreen a i{
  transform: rotate(45deg);
}
.top-menu ul {
  float: right;
}
.top-menu ul li{
  float: left;
}

.top-menu ul li a {
  padding: 3px;
  font-size: 25px;
  display: block;
  border-radius: 50%;
  margin-right: 5px;
  background: #333;
  color: #fff;
  width: 35px;
  height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.top-menu ul li:last-child a{
  margin-right: 0;
}
.top-menu ul .sm-icon img{
  width: 42px;
  height: 42px;
  display: block;
}
.top-menu ul .sm-icon a{
  padding: 0px;
  width: auto;
  height: auto;
}
.question-area {
  width: 100%;
  height: 250px;
  overflow: hidden;
  padding: 50px 0;
}

.question {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.question img{
  width: 90%;
  height: 250px;
}

#question {
  color: #fff;
  font-size: 45px;
  background: transparent;
 
  font-family: 'Kalam', cursive;
  position: absolute;
  width: 75%;
  line-height: 1.3;
}

#question::placeholder {
  color: #fff;
  opacity: 1;
}

#question:-ms-input-placeholder {
  color: #fff;
}

#question::-ms-input-placeholder {
  color: #fff;
}

.barchart-area {
  width: 100%;
  overflow: hidden;
  position: absolute;
  bottom: 10px;
  left: 0;
  z-index: 9999;
}

.barchart-area ul li {
  margin-right: 20px;
 
}

.barchart-area ul li:last-child {
  margin-right: 0;
}

.barchart-area .bar {
  background: #eee;
  width: 90px;
  height: 205px;
  margin: auto;
  margin-bottom: 50px;
  position: absolute;
}

.smiley img {
  width: 120px;
  height: 120px;
  display: block;
  transition: 0.3s;
  border: 2px solid transparent;
  border-radius: 50%;
  padding: 5px;
  box-sizing: border-box;
}

.smiley img:hover {
  transform: scale(0.9);
  /*border: 2px solid #000;
  box-shadow: inset 0 0 3px 2px #000;*/
}

.barchart-area .bar .bar-text {
  position: absolute;
  bottom: 10px;
  left: 50%;
  width: 30px;
  height: 30px;
  margin-left: -15px;
  text-align: center;
}

.barchart-area .bar .bar-text .vote-n,
.barchart-area .bar .bar-text .vote-p {
  font-size: 25px;
  color: #fff;
  font-weight: bold;
}

.barchart-area #bar1 {
  background: #FF0606;
  height: 80px;
}

.barchart-area #bar2 {
  background: #FFA617;
  height: 50px;
}

.barchart-area #bar3 {
  background: #FFD81A;
  height: 30px;
}

.barchart-area #bar4 {
  background: #91C600;
  height: 150px;
}

.barchart-area #bar5 {
  background: #0AC600;
  height: 350px;
}

/*********************
****START MEDIA QUERIES***
**********************/

/****MAXIMUM WIDTH 768px***/

@media only screen and (max-width:768px){
  .main-body{
    padding: 10px 0;
  }
  .logo,
  .vote-count {
    width: 50%;
  }
  .top-menu {
    width: 100%;
    float: none;
    padding-top: 8px;
  }
  .logo img {
    width: 130px;
  }
  .vote-count h3 {
    font-size: 16px;
    margin-top: 10px;
    text-align: right
  }
  .top-menu ul {
    float: none;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .top-menu ul .sm-icon img{
    width: 30px;
    height: 30px;
   }
  .top-menu ul li a {
    padding: 2px;
    font-size: 19px;
    width: 25px;
    height: 25px;
  }
  .question-area{
    height: 150px;
    padding: 40px 0;
  }
  .question img{
    height: 150px;
  }
  #question {
    font-size: 20px;
  }
  .barchart-area ul li {
    margin-right: 0px;
  }
  .barchart-area .bar {
    width: 40px;
    margin-bottom: 10px;
  }
  
  #main_bar{ width: 40px;}
  .smiley img{
    width: 50px;
    height: 50px;
  }
  
.barchart-area .bar .bar-text .vote-p{font-size: 12px;
 color: #fff;
    font-weight: bold;margin-left: -24%;}
  .barchart-area .bar .bar-text .vote-n  {
    font-size: 18px;
    color: #fff;
    font-weight: bold;
  }
  .barchart-area .bar .bar-text {
    bottom: 5px;
    left: 50%;
    width: 24px;
    height: 24px;
    margin-left: -11px;
  }
  .smiley img:hover {
    transform: scale(0.9);
   
  }
}

/****MINIMUM WIDTH 768px***/

@media only screen and (min-width:768px){
  .main-body{
    padding: 20px 0;
  }
  .logo,
  .vote-count {
    width: 30%;
    float: left;
  }
  .vote-count {
    width: 20%;
  }
  .top-menu {
    width: 50%;
    float: left;
    padding-top: 8px;
  }
  .logo img {
    width: 160px;
  }
  .vote-count h3 {
    font-size: 18px;
    margin-top: 18px;
    text-align: right;
  }
  .top-menu ul {
    float: right;
  }
  .top-menu ul .sm-icon img{
    width: 30px;
    height: 30px;
   }
  .top-menu ul li a {
    padding: 2px;
    font-size: 19px;
    width: 25px;
    height: 25px;
  }
  .question-area{
    padding: 40px 0;
  }
  .question {
    height: 160px;
  }
  #question {
    font-size: 25px;
    
  }
  .barchart-area ul li {
    margin-right: 10px;
  }
  .barchart-area .bar {
    width: 70px;
    margin-bottom: 25px;
  }
   #main_bar{ width: 70px;}
  .smiley img{
    width: 100px;
    height: 100px;
  }
  
  .barchart-area .bar .bar-text .vote-p{font-size: 18px;
 color: #fff;
    font-weight: bold;}

  .barchart-area .bar .bar-text .vote-n {
    font-size: 20px;
    color: #fff;
    font-weight: bold;
  }
  .barchart-area .bar .bar-text {
    bottom: 5px;
    left: 50%;
    width: 24px;
    height: 24px;
    margin-left: -11px;
  }
  .smiley img:hover {
    transform: scale(0.9);
   
  }
}

/****MINIMUM WIDTH 1024px***/

@media only screen and (min-width:1024px){
  .main-body{
    padding: 10px 0;
  }
  
  .top-menu {
    padding-top: 8px;
  }
  .logo img {
    width: 200px;
  }
  .vote-count h3 {
    font-size: 25px;
  }
  
  .top-menu ul .sm-icon img{
    width: 40px;
    height: 40px;
   }
  .top-menu ul li a {
    padding: 2px;
    font-size: 25px;
    width: 36px;
    height: 36px;
  }
  .question-area{
    padding: 26px  0;
  }
  .question {
    height: 250px;
  }
  #question {
    font-size: 40px;
    
  }
  .barchart-area ul li {
    margin-right: 15px;
  }
  .barchart-area .bar {
	   
    width: 80px;
    margin-bottom: 30px;
  }
   #main_bar{ width: 80px;}
  .smiley img{
    width: 120px;
    height: 120px;
  }
 
 .barchart-area .bar .bar-text .vote-p{font-size: 23px;
}
 
  .barchart-area .bar .bar-text .vote-n{
    font-size: 25px;
  }
  .barchart-area .bar .bar-text {
    bottom: 20px;
    left: 50%;
    width: 24px;
    height: 24px;
    margin-left: -13px;
  }
  .smiley img:hover {
    transform: scale(0.9);
   
  }
}

/****MINIMUM WIDTH 1366px***/

@media only screen and (min-width:1366px){
  .main-body{
    padding: 10px 0;
  }
  
  .logo img {
    width: 200px;
  }
  .vote-count h3 {
    font-size: 25px;
  }
  
  .top-menu ul .sm-icon img{
    width: 40px;
    height: 40px;
   }
  .top-menu ul li a {
    padding: 2px;
    font-size: 25px;
    width: 35px;
    height: 35px;
  }
  .question-area{
    height: 230px;
    padding: 44px 0;
  }
  .question {
    height: 230px;
  }
  .question img{
    height: 230px;
  }
  #question {
    font-size: 45px;
    
  }
  .barchart-area ul li {
    margin-right: 20px;
  }
  .barchart-area .bar {
    width: 70px;
    margin-bottom: 15px;
  }
   #main_bar{ width: 70px;}
  .smiley img{
    width: 110px;
    height: 110px;
  }
  
  .barchart-area .bar .bar-text .vote-p{font-size: 26px;
}

  .barchart-area .bar .bar-text .vote-n {
    font-size: 28px;
  }
  .barchart-area .bar .bar-text {
    bottom: 15px;
    left: 50%;
    width: 30px;
    height: 30px;
    margin-left: -15px;
  }
  .smiley img:hover {
  
  }
}

/****MINIMUM WIDTH 1900px***/

@media only screen and (min-width:1900px){
  .main-body{
    padding: 20px 0;
  }
  
  .logo img {
    width: 320px;
  }
  .vote-count h3 {
    font-size: 40px;
  }
  
  .top-menu ul .sm-icon img{
    width: 70px;
    height: 70px;
   }
  .top-menu ul li a {
    font-size: 38px;
    width: 65px;
    height: 65px;
  }
  .question-area{
    height: 350px;
    padding:  20px 0;
  }
  .question {
    height: 350px;
  }
  #question {
    font-size: 70px;
    
  }
  .question img {
    width: 90%;
    height: 380px;
  }
  .barchart-area ul li {
    margin-right: 25px;
  }
  .barchart-area .bar {
    width: 150px;
    margin-bottom: 50px;
  }
   #main_bar{ width: 150px;}
  .smiley img{
    width: 200px;
    height: 200px;
  }
.barchart-area .bar .bar-text .vote-p{font-size: 38px;
}
  .barchart-area .bar .bar-text .vote-n {
    font-size: 40px;
  }
  .barchart-area .bar .bar-text {
    bottom: 30px;
    left: 50%;
    width: 50px;
    height: 50px;
    margin-left: -25px;
  }
  .smiley img:hover {
    
  }
}

/****MINIMUM WIDTH 2500px***/

@media only screen and (min-width:2500px){
  .main-body{
    padding: 50px 0;
  }
  
  .logo img {
    width: 380px;
  }
  .vote-count h3 {
    font-size: 50px;
  }
  
  .top-menu ul .sm-icon img{
    width: 90px;
    height: 90px;
   }
  .top-menu ul li a {
    font-size: 55px;
    width: 85px;
    height: 85px;
  }
  .question-area{
    height: 500px;
    padding: 77px 0 20px;
  }
  .question {
    height: 500px;
  }
  #question {
    font-size: 90px;
  }
  .question img {
    width: 90%;
    height: 500px;
  }
  .barchart-area ul li {
    margin-right: 40px;
  }
  .barchart-area .bar {
    width: 200px;
    margin-bottom: 50px;
  }
   #main_bar{ width: 200px;}
  .smiley img{
    width: 250px;
    height: 250px;
  }
  
  .barchart-area .bar .bar-text .vote-p{font-size: 48px;
}

  .barchart-area .bar .bar-text .vote-n {
    font-size: 50px;
  }
  .barchart-area .bar .bar-text {
    bottom: 30px;
    left: 50%;
    width: 50px;
    height: 50px;
    margin-left: -25px;
  }
  .smiley img:hover {
   
  }
}


/****MINIMUM WIDTH 3800px***/

@media only screen and (min-width:3800px){
  .main-body{
    padding: 50px 0;
  }
  
  .logo img {
    width: 480px;
  }
  .vote-count h3 {
    font-size: 80px;
  }
  
  .top-menu ul .sm-icon img{
    width: 130px;
    height: 130px;
   }
  .top-menu ul li{
    margin-right: 20px;
  }
  .top-menu ul li a {
    font-size: 85px;
    width: 125px;
    height: 125px;
  }
  .question-area{
    height: 650px;
    padding: 140px 0;
  }
  .question {
    height: 650px;
  }
  .question img{
    height: 680px;
  }
  #question {
    font-size: 124px;
  }
  .barchart-area ul li {
    margin-right: 40px;
  }
  .barchart-area .bar {
    width: 250px;
    margin-bottom: 70px;
  }
   #main_bar{ width: 250px;}
  .smiley img{
    width: 330px;
    height: 330px;
  }
  
  .barchart-area .bar .bar-text .vote-p{font-size: 68px;
}

  .barchart-area .bar .bar-text .vote-n {
    font-size: 70px;
  }
  .barchart-area .bar .bar-text {
    bottom: 70px;
    left: 50%;
    width: 70px;
    height: 60px;
    margin-left: -35px;
  }
  .smiley img{
    padding: 15px;
  }
  .smiley img:hover {
   
  }
}