

body {
  margin: 0;
  
  /* background: url('noamBDAY.jpg') no-repeat center fixed;
  background-size: cover; */
  height: 100%;

}

.no-scroll{
  overflow: hidden;
}


*{
  font-family: 'Secular One', sans-serif;
    direction: rtl;
}

.bday-background{
  background: url("images/ants.jpg") no-repeat center fixed;
  background-size: cover;
  /* filter: opacity(0.05); */
  width: 100%;
  height: 100%;
  /* top: 50%; */
  z-index: -1;
  position: absolute;
}


.title{
  text-align: center;
  margin: auto;
  top: 5%;
font-size: 36px; /* Some tweener fallback that doesn't look awful */ 
  font-size: 6vw; 
  color: rgb(255, 251, 0);
  text-shadow: 1px 1px 2px #fb02f3, 0 0 1em blue, 0 0 0.2em blue;
  position: absolute;
  left: 15%;
}

header{

  text-align: center;
  font-size: 5vw;
}
.wrap{
  display: block;
  margin: 0 auto;
}
.bday{
  width:100%;
  
}

.face{
  width: 10.9%;
    /* top: 54%; */
    margin-top: 21.22%;
    left: 48.5%;
    position: absolute;
}
.face:hover {
  animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  perspective: 1000px;
}

@keyframes shake {
  10%, 90% {
    transform: translate3d(-1px, 0, 0);
  }
  
  20%, 80% {
    transform: translate3d(2px, 0, 0);
  }

  30%, 50%, 70% {
    transform: translate3d(-4px, 0, 0);
  }

  40%, 60% {
    transform: translate3d(4px, 0, 0);
  }
}



/* /////////trivia///////// */
.wrap-trivia{
  width: 100%;
  height: 100%;
  /* top: 50%; */
  position: absolute;
  
 
  
}


.img-background{
  background: url(images/XL.jpg) no-repeat center fixed;
  background-size: cover;
 filter: opacity(0.18);
 width: 100%;
  height: 100%;
  /* top: 50%; */
  position: absolute;
}

.video-background{
  background-color: #000;
  background-size: cover;
  /* filter: opacity(0.05); */
  width: 100%;
  height: 100%;
  /* top: 50%; */
  z-index: -1;
  position: absolute;
}

.center{
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

#response{
  font-size: 100px;
  width: 100%;
  top: 50%;
  
  text-align: center;
}



.question-title{
  font-size: 5vw;

}


p{
  font-size: 5vw;
}

#response{
  position: absolute;
 
}

.correct{
  background-color: rgb(47, 255, 109);
}

.wrong{
  background-color: red;
  

}


.video{
  margin-top: 8px;
  vertical-align: middle;
}



/* ============open img============ */


#myImg {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

#myImg:hover {opacity: 0.7;}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 3%; /* Location of the box */
  padding-left: 10%;
  padding-right: 10%;
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  /* center when rotate */
 
}

/* Caption of Modal Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  font-size: 1wv;
  color: #ccc;
  padding: 10px 0;
  height: 40px;
}

/* Add Animation */
.modal-content, #caption {    
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
  from {-webkit-transform:scale(0)} 
  to {-webkit-transform:scale(1)}
}

@keyframes zoom {
  from {transform:scale(0)} 
  to {transform:scale(1)}
}

/* The Close Button */
.close {
  position: absolute;
  /* top: 15px; */
  right: 14px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
  .modal-content {
      width: 100%;
  }
}

.hand {
  transform: scaleX(-1);
  position: relative;
  animation-name: example;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  width: 28.9%;
  margin-top: -70.78%;
  left: 20%;
}



/* Standard syntax */
@keyframes example {
  0%   {left:20%; top:20%;}
  25%  {left:30%; top:20%;}
  50%  {left:20%; top:20%;}
  75% {left:30%; top:20%;}
 
}