@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Lato:wght@400;600;700&display=swap");
@import url("https://fonts.googleapis.com/icon?family=Material+Icons");

html {
 margin: 0px;
 padding: 0px;
 font-size: 62.5%;
}
/* 
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
} */

body {
  padding: 0px;
  margin: 0px;
  font-family: "Inter", sans-serif;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: #1f2a58;
  background-size: cover;
  background-image: url('/images/HDD_Brochure_bg.jpg');
}

.display-date {
  text-align: center;
  font-size: 3.4rem;
  font-weight: 600;
  color: #ffffff;
}

.display-time {
  display: flex;
  font-size: 5rem;
  font-weight: bold;
  border-radius: 10px;
  transition: ease-in-out 0.1s;
  transition-property: background, box-shadow, color;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
}

/*.display-time:hover {
  background: #202a59;
  box-shadow: 0 0 30px#202a59;
  color: #ffffff;
  cursor: pointer;
}*/

div.homepage_section_block_2x {
	width: 400px;
	background-color: #0080b4;
	color: #ffffff;
	float: left;
	margin-right: 40px;
	box-sizing: border-box;
	height: 180px;
	margin-bottom: 45px;
    	border-radius: 10px;
    	padding: 0px;
}

div.homepage_section_block_inner { 
	padding: 45px;
	font-weight: 800;
   	text-align: center;
   	font-family: Inter;
}

div.homepage_section_block_2x a, div.homepage_section_block_2x span { 
	text-decoration: none;
	color: #ffffff;
	font-weight: bold;
	font-size: 28pt;
   	padding: auto;
   	
}

div.no_right_margin { 
	margin-right: 0px;
}


div.title {
    position: absolute;
    top: 180px;

    color: #ffffff;
    width: 100%;
    left: 0px;
    box-sizing: border-box;
    padding-left: 60px;
    height: 70px;
    padding-top: 20px;
    font-size: 30pt;
    font-weight: 600;
}

input{
    padding: 15px;
    margin-right: 10px;
    border: 1px solid #202a59;
    border-radius: 5px;
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 22px;
    float: left;
}


.key-pad {
    display: grid;
    grid-template-columns: auto auto auto;
    padding: 10px;
}

div.button {
    	position: absolute;
	width: 200px;
	background-color: #0080b4;
	color: #ffffff;
	left: 64px;
	box-sizing: border-box;
	height: 95px;
    	border-radius: 10px;
    	bottom: 50px;
    	color: #ffffff;
    	font-weight: bold;
    	text-align: center;
	font-size: 22pt;
	box-sizing: border-box;
	line-height: 95px;
	cursor: pointer;
}


div.webcam {
    position: absolute;
    width: 400px;
    height: 225px;
    overflow: hidden;
    right: 64px;
    top: 290px;
    border-radius: 10px;
}

video.video, video.video_staff_out, video.video_vis_in, video.video_vis_out {
	
}

div.webcam img {
    width: 450px;
    height: 250px;
    border-radius: 10px;
}

div.vis-text {
    position: absolute;
    left: 64px;
    top: 280px;
    width: 600px;
    font-size: 15pt;
    color: #ffffff;
    text-align: left;
    font-size: 18pt;
    font-weight: 600;
}

div.button2 {
    	position: absolute;
	width: 200px;
	background-color: #0080b4;
	color: #ffffff;
	right: 64px;
	box-sizing: border-box;
	height: 95px;
    	border-radius: 10px;
    	bottom: 50px;
    	color: #ffffff;
    	font-weight: bold;
    	text-align: center;
	font-size: 22pt;
	box-sizing: border-box;
	line-height: 95px;
	cursor: pointer;
}

div.button2 a { 
	text-decoration: none;
	color: #ffffff;
	font-weight: bold;
	font-size: 22pt;
    padding: auto;
}

div.vis-checkin {
    position: absolute;
    left: 64px;
    top: 370px;
}

label {
    font-size: 18pt;
    font-family: 'Inter';
}

#visitor_in_name {
    width: 425px;
    margin-bottom: 10px;
    text-align: left;
    padding: 15px;
}

#visitor_out_name {
    width: 425px;
    padding: 15px;
    margin-bottom: 10px;
}

#staff_list, #visitor_out_name, #staff_list_out {
    font-size: 18pt;
    padding: 15px;
    border-radius: 5px;
    min-width: 275px;
}

.complete {
    border-radius: 50%;
    width: 500px;
    height: 500px;
    background-color: #0080b4;
    margin-top: 100px;
}

.complete-out {
    border-radius: 50%;
    width: 450px;
    height: 450px;
    border: 5px solid #ffffff;
    margin-top: 40%;
}

.name {
    font-size: 20pt;
    padding-top: 70px;
    font-weight: 700;
    color: #ffffff;
    font-family: "Inter", sans-serif;
    text-align: center;
}

.checkin-time {
    font-size: 16pt;
    font-weight: 600;
    margin-top: 20px;
    color: #ffffff;
    font-family: "Inter", sans-serif;
    text-align: center;
}

.checkout-time {
    font-size: 18pt;
    font-weight: 600;
    color: #ffffff;
    font-family: "Inter", sans-serif;
    text-align: center;
}

.checkin-complete img {
    width: 60px;
    height: 60px;
}

.checkout-complete img {
    width: 60px;
    height: 60px;
}

div.pin-text {
    position: absolute;
    top: 300px;
    left: 60px;
    width: 300px;
    color: #ffffff;
    text-align: left;
    font-size: 18pt;
    font-weight: 600;
}

.pin-login {
    position: absolute;
    left: 35%;
    margin-top: -16%;
    display: inline-block;
    border-radius: 10px;
    padding: 5px;
    font-size: 24px;
    /*border: 1px solid #202a59;*/
    user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-select: none;
    font-family: sans-serif;
}
  
.pin-login__text {
    padding: 5px;
    display: block;
    width: 300px;
    font-size: 50px;
    text-align: center;
    letter-spacing: 0.2em;
    background: #0080b4;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    outline: none;
    cursor: default;
    margin-bottom: 20px;
}

.pin-login__text--correct {
    color: #ffffff;
    background: #00b33c;
    animation-name: loginError;
    animation-duration: 0.1s;
    animation-iteration-count: 2;
}
  
@keyframes loginCorrect {
    25% {
      transform: translateX(-3px);
    }
    75% {
      transform: translateX(3px);
    }
}
  
@-moz-keyframes loginCorrect {
    25% {
      transform: translateX(-3px);
    }
    75% {
      transform: translateX(3px);
    }
}
  
.pin-login__text--correct {
    color: #901818;
    background: #ffb3b3;
    animation-name: loginError;
    animation-duration: 0.1s;
    animation-iteration-count: 2;
}
  
@keyframes loginError {
    25% {
      transform: translateX(-3px);
    }
    75% {
      transform: translateX(3px);
    }
}
  
@-moz-keyframes loginError {
    25% {
      transform: translateX(-3px);
    }
    75% {
      transform: translateX(3px);
    }
}
  

.pin-login__key {
    width: 90px;
    height: 90px;
    margin: 8px;
    background: #0080b4;
    color: #ffffff;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    cursor: pointer;
    font-family: 'Inter', Roboto, sans-serif;
    font-size: 25pt;
    box-shadow: 2px 2px 15px -4px rgba(0,0,0,0.5);
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0); 
}

.pin-login_key1, .pin-login_key4, .pin-login_key7, .pin-login_keybackspace { 
	margin-left: 0px;
}

.pin-logout {
    position: absolute;
    left: 35%;
    margin-top: -16%;
    display: inline-block;
    border-radius: 10px;
    padding: 5px;
    font-size: 24px;
    /*border: 1px solid #202a59;*/
    user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-select: none;
    font-family: sans-serif;
}
  
.pin-logout__text {
    padding: 5px;
    display: block;
    width: 300px;
    font-size: 50px;
    text-align: center;
    letter-spacing: 0.2em;
    background: #0080b4;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    outline: none;
    cursor: default;
    margin-bottom: 20px;
}

.pin-logout__text--error {
    color: #901818;
    background: #ffb3b3;
    animation-name: loginError;
    animation-duration: 0.1s;
    animation-iteration-count: 2;
}
  
@keyframes logoutError {
    25% {
      transform: translateX(-3px);
    }
    75% {
      transform: translateX(3px);
    }
}
  
@-moz-keyframes logoutError {
    25% {
      transform: translateX(-3px);
    }
    75% {
      transform: translateX(3px);
    }
}
  
.pin-logout__key {
    width: 90px;
    height: 90px;
    margin: 8px;
    background: #0080b4;
    color: #ffffff;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    cursor: pointer;
    font-family: 'Inter', Roboto, sans-serif;
    font-size: 25pt;
    box-shadow: 2px 2px 15px -4px rgba(0,0,0,0.5);
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0); 
}

.pin-logout_key1, .pin-logout_key4, .pin-logout_key7, .pin-logout_keybackspace { 
	margin-left: 0px;
}
  

#get_staff {
    font-size: 18pt; 
    width: 115px;
    margin-left: 5%;
    background-color: #0080b4;
    color: #ffffff;
}

.visiting {
    text-align: center;
    font-size: 18pt;
    margin-top: 2%;
}

#name_out {
    width: 425px;
    height: 35px;
    margin-bottom: 10px;
    margin-left: 5%;
}

.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}

div.version { 
	color: #ffffff;
	position: absolute;
	bottom: 20px;
	right: 20px;
}




