/* Copyright 2020 HelicopterTracker.com */
/* Last Updated 25.7.2020 */
/* Version 1.0 */
/* Stylesheet */

@charset "UTF-8";

*, *::before, *::after {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

body {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	background-color: #e9fafa;
	color: #333;
}

.container {
	height: 100%;
	width: 100%;
	overflow: hidden;
}

h1, h2, h3 {
	color: #333;
	font-family: "Orbitron", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

a {
	color: #0000ff;
}

a:hover {
	color: #6262ff;
}

p {
	padding: 0 10%;
}

/* IE Fix */
article, aside, dialog, figcaption, figure, footer, header, hgroup, main, nav, section, address {
	display: block;
}

time {
	display: inline;
}

/* Header */

header h1, header h2 {
	text-align: center;
}

header h1 a, header h2 a {
	color: #333;
	text-decoration: none;
}

header h1 a:hover, header h2 a:hover {
	color: #333;
}

header h1 {
	text-transform: uppercase;
	letter-spacing: 2px;
}

#main-header {
	
}

/* Main Text */

#main-text {
	float: none;
	display: block;
	text-align: center;
	width: 100%;
	margin-top: 25rem;
}

#main-text p {
	max-width: 768px;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

/* Error Message */
#error-message {
	float: none;
	display: block;
	text-align: center;
	width: 100%;
	margin-top: 4rem;
	margin-bottom: 22rem;
}

#error-message h1 {
	font-size: 3em;
}

#error-message p {
	max-width: 576px;
	text-align: center;
	padding: 0 10%;
	margin-left: auto;
	margin-right: auto;
}

/* Login Button */

#login-button {
	float: left;
	margin-left: calc(50% - 50px);
	height: 50px;
	width: 100px;
	background-color: #808080;
	color: #fff;
	font-size: 1.25em;
	outline: none;
}

#login-button:hover, #login-button:active {
	background-color: #ccc;
}

/* Radar */
	
.helicopter {
	position: absolute;
	top: 100px;
	left: 80px;
	height: 300px;
	width: 300px;
	background-image: url("../images/helicopter.png");
	background-repeat: no-repeat;
	background-size: 100%;
	opacity: 0.5;
}

.radar {
	z-index: -1;
	position: absolute;
	top: 320px;
	left: 50%;
	background: url("../images/radar.svg") no-repeat;
	width: 356px;
	opacity: .8;
	height: 356px;
	background-size: 356px 356px;
	transform:translate(-50%,-50%);
	-moz-transform:translate(-50%,-50%);
	-webkit-transform:translate(-50%,-50%);
}
.radar .pointer { position: absolute; z-index: 1024; left: 0%; right: 0%; top: 0%; bottom: 50%; will-change: transform; -webkit-transform-origin: 50% 100%; -moz-transform-origin: 50% 100%; transform-origin: 50% 100%; border-radius: 50% 50% 0 0 / 100% 100% 0 0; -moz-border-radius: 50% 50% 0 0 / 100% 100% 0 0; -webkit-border-radius: 50% 50% 0 0 / 100% 100% 0 0; background-image: linear-gradient(135deg, rgba(5, 162, 185, 0.2) 0%, rgba(255, 255, 255, 0.01) 70%, rgba(255, 255, 255, 0) 100%); -webkit-clip-path: polygon(100% 0, 100% 10%, 50% 100%, 0 100%, 0 0); -moz-clip-path: polygon(100% 0, 100% 10%, 50% 100%, 0 100%, 0 0); clip-path: polygon(100% 0, 100% 10%, 50% 100%, 0 100%, 0 0); -webkit-animation: rotate360 3s infinite linear; -moz-animation: rotate360 3s infinite linear; animation: rotate360 3s infinite linear; }
.radar .pointer:after { content: ""; position: absolute; width: 50%; bottom: -1px; border-top: 2px solid rgba(0, 231, 244, 0.2); box-shadow: 0 0 3px rgba(0, 231, 244, 0.3); -webkit-box-shadow: 0 0 3px rgba(0, 231, 244, 0.3); -moz-box-shadow: 0 0 3px rgba(0, 231, 244, 0.3); -webkit-border-radius: 9px; -moz-border-radius: 9px; -ms-border-radius: 9px; -o-border-radius: 9px; border-radius: 9px; }

@-moz-keyframes rotate360 {
  0% { -moz-transform: rotate(0deg); transform: rotate(0deg); }
  to { -moz-transform: rotate(-360deg); transform: rotate(-360deg); }
}
@-webkit-keyframes rotate360 {
  0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); }
  to { -webkit-transform: rotate(-360deg); transform: rotate(-360deg); }
}
@keyframes rotate360 {
  0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); }
  to { -webkit-transform: rotate(-360deg); transform: rotate(-360deg); }
}
.dot-zero {position: absolute; width: 25px;height: 25px; background: #A5BDD3; display: block; -webkit-border-radius: 100%; -moz-border-radius: 100%; -ms-border-radius: 100%; -o-border-radius: 100%; border-radius: 100%; 
	  animation-name: stretch;
	  animation-duration: 3s;
	  animation-timing-function: ease-out;
	  animation-delay: 0s;
	  animation-iteration-count: infinite;
	  animation-direction: normal;
	  animation-fill-mode: none;
	  animation-play-state: running;
}
.dot-zero {
	background: #00A0E2;
	width: 26px;
	height: 26px;
	right: 85px;
	bottom: 270px;
	animation-delay: 1.8s;}

@-moz-keyframes stretch {
  10%, 100% {
   -moz-transform: scale(1);
  }
  0% {
    -moz-transform: scale(1);
    
  }
  5% {
    -moz-transform: scale(1.3);
    
  }
}
@-webkit-keyframes stretch {
  10%, 100% {
   -webkit-transform: scale(1);
  }
  0% {
    -webkit-transform: scale(1);
    
  }
  5% {
    -webkit-transform: scale(1.3);
    
  }
}
@keyframes stretch {
  10%, 100% {
   transform: scale(1);
  }
  0% {
    transform: scale(1);
    
  }
  5% {
    transform: scale(1.3);
    
  }
}

/* Modal */

.modal {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.4);
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 50%;
  text-align: center;
  max-width: 400px;
}

/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

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

form {
	text-align: center;
}

#submit-button {
	height: 40px;
	width: 85px;
	background-color: #808080;
	color: #fff;
	font-size: 1em;
}

#submit-button:hover, #submit-button:active {
	background-color: #ccc;
}

/* Footer */

footer {
	float: left;
	width: 100%;
	text-align: center;
	font-size: 0.75em;
	margin-top: 2rem;
}

footer a {
	color: #333;
	text-decoration: none;
}

footer a:hover {
	color: #333;
}


/* Responsive Code */

@media (max-width: 480px) {
	
	.helicopter {
		top: 80px;
		left: 60px;
		height: 200px;
		width: 200px;
	}
	
	.radar {
		top: 340px;
		width: 267px;
		height: 267px;
		background-size: 267px 267px;
	}
	
	.dot-zero {
		width: 26px;
		height: 26px;
		right: 50px;
		bottom: 190px;
		animation-delay: 1.7s;
	}
	
	#main-text {
		float: left;
		margin-top: 17rem;
	}
}

/* End of Stylesheet */