@import "fonts.css";

html 
  {
  background-image: none !important;
  background-color: #000 !important;  
  }

body 
  {
  font-family: 'Inter';
  font-size: 16px;  
  padding:0;
  margin: 0;
  box-sizing: border-box;
  min-height: 100vh;
  background-color: #333;
  overflow-x: hidden;
  }

*:fullscreen, 
*:-ms-fullscreen,
  *:-webkit-full-screen,
  *:-moz-full-screen {
     overflow: auto !important;
  }

textarea:focus, input:focus
  {
  outline: none;
  }

section.swapContent
  {
  transition: all 1s ease-in-out;  
  }
  
section.swapContent.blur
  {
  filter: blur(6px);
  }

#code-form
  {
  width: 100%;
  min-height: 100vh;
  background-image: url(/images/intercompliance-bg.jpg);
  background-repeat: repeat-y;
  background-position: 50% 0;    
  background-size: cover;  
  padding-top: 40vh;
  }

#code-form .logo
  {
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  top: 100px;
  max-width: 300px;    
  }

.code-container
  {
  background-color: rgba(255,255,255,0.65);
  padding: 20px;
  font-size: 22px;
  font-size: 1.6vw;
  line-height: 1.7;
  color: #333;
  font-weight: bold;
  border-top: 1px solid white;
  border-bottom: 1px solid white;
  }

.code-container .feedback
  {
  margin-top: 20px;
  font-size: 18px;
  font-weight: 400;  
  }

.code-container .feedback.error
  {
  color: #cc0000;  
  }

.code-container p
  {
  font-size: 20px;
  font-weight: normal;
  }

.code-container input[type=text]
  {  
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 3px;
  border: 1px solid black;
  background-color: #ddd;
  font-weight: bold;
  border-radius: 5px;
  caret-color: transparent;
  }

.code-container input[type=text]:focus
  {
  background-color: #fff;  
  }

[data-page]
  {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100vh;
  transform: translate3d(100%, 0, 0);
  opacity: 0;
  transition: transform 2s ease-in, opacity 1.5s ease-in; 
  z-index: 10;
  }
  
[data-page="home"]
  {
  /*
  background-color: hsl(90, 70%, 20%);
  color: hsl(90, 90%, 90%);
  */
  }
  
[data-page="other"]
  {
  /*
  background-color: hsl(270, 70%, 20%);
  color: hsl(270, 90%, 90%);
  */
  }
  
[data-page].active
  {
  transform: translate3d(0, 0, 0);
  opacity: 1;
  /**
  left: 0;
  **/
  z-index: 100;
  }

body.course-title [data-page]
  {
  transform: none !important;  
  }
  
[data-role="link"]
  {
  color: white;
  }
  
i.fullscreen 
  {
  position: fixed;
  bottom: 20px;
  right: 20px;
  font-size: 30px; 
  z-index: 100;
  color: #fff; 
  }