
body {
  /* Location of the image */
  background-image: url(images/1.jpg);
  
  /* Background image is centered vertically and horizontally at all times */

  background-position: left;
  
  /* Background image doesn't tile */
  background-repeat: no-repeat;
  
  /* Set a background color that will be displayed
     while the background image is loading */
  background-color: #464646;

  min-height: 100vh;
  margin: 0;

}
.row-flex {
  display: flex;
  flex-direction: row;
}
.col-flex {
  display: flex;
  flex-direction: column;
}
.display-none {
  display: none !important;
}
.visibility-hidden {
  visibility: hidden !important;
}
.test-container {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: black;
  position: fixed;
  top: 50%;
  left: 50%;
  /* bring your own prefixes */
  transform: translate(-50%, -50%);
  border-radius: 5px;
  width: 1000px;
  height: 600px;
  box-shadow: 0 5px 5px rgba(0,0,0,0.12), 0 5px 5px rgba(0,0,0,0.24);
  border: 2px solid white;
  background-color: rgb(214, 214, 214);
  background-size: cover;
  background-repeat: no-repeat;
}
.test-container .test-title {
  position: absolute;
  font-size: 22px;
  padding: 8px 15px;
  top: 0;
  left: 20px;
  border-top: 0px !important;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  color: rgb(0, 0, 0);
  border: 2px solid white;
  box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
  white-space: nowrap;
  z-index: 2;
}

.site-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 12px;
  color: black;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 14px;
  text-align: center;
}
.test-container .test-intro
{
  width: 100%;
  height: 100%;
  align-items: center;
  transition: all 0.5s;
}
.test-container .test-intro video {
  margin-left: auto;
  margin-right: auto;
  cursor: pointer;
}
.test-container .test-intro #introvideo {
  width:600px;
}
.test-container .video-container .tesvideos {
  width:500px;
}


.test-container .test-intro button {
  position: absolute;
  font-size: 18px;
  right: 0;
  top: 450px;
  padding: 10px 10px;
  border: 0px;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  cursor: pointer;
  color: white;
  background-color: rgb(193, 13, 12);
  transition: all 0.25s;
}
.test-container .test-intro button:hover {
  background-color: rgb(131, 25, 25)
}
.test-container .hide-intro{
  transform: translateX(-100%);
}
.test-container .test {
  height: 100%;
  padding: 0px 100px;
  justify-content: space-between;
  align-items: center;
  transition: all 0.5s;
  transform: translateX(100%);
}
.test-container .show-test {
  transform: translateX(0%);
}
.test-container .test .video-status {
  margin-top: 30px;
  padding: 10px 5px;
  color: black;
  background-color: white;
  border-radius: 5px;
}
.test-container .emotion {
  padding: 10px;
  margin: 5px 0;
  border-radius: 25px;
  color: rgb(0, 0, 0);
  font-size: 15px;
  font-weight: medium;
  text-align: center;
  background-color: rgb(214, 214, 214);
  box-shadow: -7px -7px 20px 0 rgba(255,255,255,0.7), 7px 7px 20px 0 rgba(0,0,0,0.2);
  transition: all 0.25s;
  cursor: pointer;
}
.test-container .emotion:hover {
 box-shadow: inset -7px -7px 20px 0 rgba(255,255,255,0.7), inset 7px 7px 20px 0 rgba(0,0,0,0.2);
  background-color: rgb(214, 214, 214);
}
.test-container .next {
  border: 0px;
  font-size: 18px;
  color: white;
  background-color: rgb(193, 13, 12);
}
.test-container .next:hover {
  background-color: rgb(131, 25, 25);
}
button:disabled {
  cursor:not-allowed !important;
  background-color: rgb(153, 153, 153) !important;
}
.video-container {
  position: relative;
}
.video-container .overlay {
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  position: absolute;
  background-color: black;
}
.test-container .score {
  height: 100%;
  width: 100%;
  justify-content: center;
  align-items: center;
}
.btn-home {
  padding: 10px;
  margin: 5px 0;
  border-radius: 5px;
  text-align: center;
  transition: all 0.25s;
  cursor: pointer;
  color: white;
  background-color: rgb(255, 116, 116);
  border: 0px;
}
.btn-home:hover {
  background-color: rgb(252, 42, 42);
}
.wrong, .wrong:hover {
  background-color: rgb(255, 116, 116) !important;
  color: white !important;
}
.correct, .correct:hover {
  background-color: rgb(90, 214, 106) !important;
  color: white !important;
}

 .formbox
  {
    border: 5px solid white;
    border-radius:5px;
    position: relative;
    font-size:25px;
  }
  .test-container .score .emailtestresult
  {
    color:white;
  }

   .test-container .score .resultform
  {
    padding:10px 10px 10px 30px;
  }   
   .test-container .score .form-control
  {
    padding:10px 0 0 0;
  }
  .test-container .score .emailinput
  {
    margin-top: 3px;
    height: 35px;
    border: 1px solid black;
    width: 90%;
  }

  .test-container .score .formsubmitbutton
  {
    padding: 15px 30px 15px 30px;
    border-radius: 5px;
    background-color: #088a99;
    color: white;
    margin-bottom:1px;
  }






/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) and (orientation : portrait) {
  body
  {
    background-position: center;
  }
  .test-container 
  {
    width: 350px;
    height: 310px;
    background-position: center;
  }
  .test-container .test-title 
  {
    font-size: 12px;
    padding: 8px 15px;
  }
  .test-container .test-intro
  {
    padding: 0px 5px 15px 5px;
    width: 97%;
  }
  .test-container .test-intro video 
  {
    margin-left: 0px;
    margin-right: 0px;
    cursor: pointer;
    width: 340px;
    height: 210px;
  }
  .test-container .test-intro #introvideo
  {
    width:340px;
  }

  .test-container .test-intro button
  {
    font-size: 12px;
    right: 0;
    top: 276px;
    width: 100%;
    border-radius: 5px !important;
  }
  .video-container .overlay 
  {
    width: 300px;
    height: 150px;
    position: absolute;
    top: 60;
    left :-90;
  }
  .test-container .show-test
  {
    flex-wrap: wrap;
  }
  .test-container .test .video-status
  {
    position: relative;
    margin-top: 0px;
    padding: 5px 5px;
    color: black;
    background-color: white;
    border-radius: 2px;
    right: 90;
    width: 260;
    font-size: 10px;
    top: 105;
  }
 .test-container #test
  {
    right: 100;
    width: 100%;
    height:150px;
    font-size: 10px;
    top: 25;
    position:relative;
    right: 83px;
  }
  .test-container .test .emotions
  {
    display: flex;
    flex-direction: row;
    position: relative;
    right: 97;
    top: -21;
    margin-top: 7px;
  }
  .test-container .emotion 
  {
    padding:5px 5px 5px 3px;
    font-size: 8px;
    font-weight: 500;
    margin-right: 2px;
  }

  #next-question
  {
    position: relative;
    right: 45;
    top: 43;
  }
  .test-container .score
  {
    top: 50;
    position: relative;
    font-size: 13px;
  }
  #my-score
  {
    position: relative;
    top: -20;
  }
  .btn-home
  {
    position: relative;
    top: -40;
  }
  #st-1
  {
    position: relative;
    
  }
  .chellengeyourfriends
  {
    text-align: center;
    position: relative;
    top: -79;
  }
   .sharewithfriends
  {
    text-align: center;
    position: relative;
    top: -69;
  }
  .test-container .score .formbox
  {
    border: 5px solid white;
    border-radius:5px;
    position: relative;
    top: -50;
    margin:20px;
    font-size:13px;
  }
  .test-container .score .emailtestresult
  {
    color:white;
  }

   .test-container .score .resultform
  {
    padding:10px 10px 0px 30px;
  }   
   .test-container .score .form-control
  {
    padding:10px 0 0 0;
  }
  .test-container .score .emailinput
  {
    margin-top: 3px;
    height: 24px;
    border: 1px solid black;
  }

  .test-container .score .formsubmitbutton
  {
    padding: 5px;
    border-radius: 5px;
    background-color: #ED856F;
    color: white;
    margin-bottom:1px;
  }

}





/* Extra small devices (phones, 600px and down) */
@media only screen and (min-width: 600px) and (max-width: 768px) and (orientation: landscape) {
  body
  {
    background-position: center;
  }
  .test-container 
  {
    width: 500px;
    height: 250px;
    background-position: center;
  }
  .test-container .test-title 
  {
    font-size: 12px;
    padding: 8px 15px;
  }
  .test-container .test-intro
  {
    padding: 0px 5px 15px 5px;
    width: 97%;
  }
  .test-container .test-intro video 
  {
    margin-left: 0px;
    margin-right: 0px;
    cursor: pointer;
    width: 340px;
    height: 210px;
  }
  .test-container .test-intro #introvideo
  {
    width:100%;
    height:71%;
  }

  .test-container .test-intro button
  {
    font-size: 12px;
    right: 0;
    top: 220px;
    width: 100%;
    height:30px;
    border-radius: 5px !important;
  }
  .video-container .overlay 
  {
    width: 74%;
    height: 130px;
    position: absolute;
    top: 34;
    left :-65;
  }
  .test-container .show-test
  {
    flex-wrap: wrap;
  }
  .test-container .test .video-status
  {
    position: relative;
    margin-top: 0px;
    padding: 5px 5px;
    color: black;
    background-color: white;
    border-radius: 2px;
    right: 66;
    width: 360;
    top: 60;
    font-size:15px;
  }
 .test-container #test
  {
    height:138px;
    font-size: 10px;
    top: 25;
    position:relative;
    right: 83px;
  }
  .test-container .test .emotions
  {
    display: flex;
    flex-direction: row;
    position: relative;
    right: 89;
    top: -30;
  }
  .test-container .emotion 
  {
    padding:5px 5px 5px 3px;
    font-size: 12px;
    font-weight: 500;
    margin-right: 3px;
  }

  #next-question
  {
    position: relative;
    right: 55;
    top: 33;
  }
  .test-container .score
  {
    top: 50;
    position: relative;
    font-size: 13px;
  }
  #my-score
  {
    position: relative;
    top: -20;
  }
  .btn-home
  {
    position: relative;
    top: -40;
  }
  #st-1
  {
    position: relative;
  }
  .chellengeyourfriends
  {
    text-align: center;
    position: relative;
    top: -79;
  }
   .sharewithfriends
  {
    text-align: center;
    position: relative;
    top: -69;
  }
  .test-container .score .formbox
  {
    background-color: #d7d1c6;
    border: 5px solid white;
    border-radius:5px;
    position: relative;
    top:-44;
    margin:20px;
    font-size:13px;
  }
  .test-container .score .emailtestresult
  {
    color:black;
  }

   .test-container .score .resultform
  {
    padding:10px 10px 0px 30px;
  }   
   .test-container .score .form-control
  {
    padding:10px 0 0 0;
  }
  .test-container .score .emailinput
  {
    margin-top: 3px;
    height: 24px;
    border: 1px solid black;
  }

  .test-container .score .formsubmitbutton
  {
    padding: 5px;
    border-radius: 5px;
    background-color: #ED856F;
    color: white;
    margin-bottom:1px;
  }
}

@media only screen and (min-width : 767px) and (max-width : 1024px) {
 .test-container
 {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: black;
  position: fixed;
  top: 50%;
  left: 50%;
  /* bring your own prefixes */
  transform: translate(-50%, -50%);
  border-radius: 5px;
  width: 650px;
  height: 300px;
  box-shadow: 0 5px 5px rgba(0,0,0,0.12), 0 5px 5px rgba(0,0,0,0.24);
  border: 2px solid white;
  background: url(images/background.jpg);
  background-size: cover;
  background-repeat: no-repeat;
}
.video-container .overlay {
  height: 60%;
  top:98;
  left: -84;
  position: absolute;
  background-color: black;
}
.test-container .test-intro #introvideo {
    width: 400px;
    height:250px;
    position:relative;
    top:16;
    right:27;
}
.test-container .video-container .tesvideos {
    height: 300px;
    right: 85px;
    position: relative;
}
.test-container .test-intro button {
    position: absolute;
    font-size: 18px;
    right: 0;
    top:248px;
    padding: 10px 10px;
    border: 0px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    cursor: pointer;
    color: white;
    background-color: rgb(193, 13, 12);
    transition: all 0.25s;
}
.test-container .test .video-status {
    position:relative;
    left:-85;
    top:-43;
}
#test {
     width:400px !important;
}
.test-container .emotion {
    padding: 0;
    border-radius: 5px;
    color: rgb(0, 0, 0);
    text-align: center;
    background-color: rgb(114, 185, 195);
    transition: all 0.25s;
    cursor: pointer;
    position relative;
}

.test-container .score .formbox
  {
    border: 5px solid white;
    border-radius:5px;
    position: relative;
    top:20;
    font-size: 11px;
  }



  }
