/*--- Roadsafe Home Style Sheet ---*/

.page {
	width:100%;
	max-width:900px;
	margin:auto;
}

h1 {
	font-size: min(max(14px, 4vw),25px);
	margin-top:5px;
	margin-bottom:5px;
	margin-right:5px;
}

h2 {
	text-align: center;
	color: black;
	font-size: min(max(20px, 7vw),30px);
}

h3 {
	font-size: min(max(12px, 3vw),22px);
	margin-top:5px;
	margin-bottom:5px;
	margin-right:5px;
	padding: 8px;
}
p {
	font-size: min(max(8px, 3vw),18px);
	padding:8px;
}

td {
	text-align:left;
}

button {
	padding:8px;
	border: none;
	box-shadow: 2px 2px grey;
	background-color: #4CAF50;
	color: white;
}

button:hover {
  background-color: white;
  color: red;
}

button:focus {
  border-style:solid;
  border-color:red;
  border-width:1px
}

div.stickyLogo {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  background-color: white;
  padding-bottom: 10px;
  box-shadow: -8px 6px 6px -1px rgba(255, 255, 255, 0.5), 15px 6px 6px -1px rgba(255, 255, 255, 0.5);
  z-index: 1;
}

.center-img-logo {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width:80%;
  animation-name: Logoanimation;
  animation-duration: 3s;
}

@keyframes Logoanimation {
  from {width:40%;}
  to {width:80%;}
}

/* unvisited link */
a:link {
  color: black;
  font-size: min(max(8px, 3vw),18px);
  text-decoration:none;
}

/* visited link */
a:visited {
  color: black;
}

/* mouse over link */
a:hover {
  color: red;
}

/* selected link */
a:active {
  color: blue;
}

/* Add a black background color to the top navigation */
.topnavigation {
  background-color: transparent;
  overflow: hidden;
}

/* Style the links inside the navigation bar */
.topnavigation a {
  float: left;
  color: black;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: min(max(8px, 3vw),18px);
  margin: 5px;
  background-color:#669900;
  border-style:solid;
  border-color:black;
  border-width:1px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  
}

/* Change the color of links on hover */
.topnavigation a:hover {
  background-color: #ddd;
  color: black;
}

/* Add a color to the active/current link */
.topnavigation a:active {
  background-color:#669900;
  color: black;
  margin: 5px;
  border-style:solid;
  border-color:black;
  border-width:1px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.main-full-content-container {
  width: 100%;
  float: left;
  margin-top: 10px;
  margin-bottom: 10px;
}

.main-full-content-container {
  width: 100%;
  margin-top: 10px;
  margin-bottom: 10px;
  display:table;
}

.main-heading-box {
  width: 100%;
  background-color:#669900;
  margin:auto;
  text-align:center;
  border-style:solid;
  border-width:1px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.container-right-70 {
  width: 70%;
  height: 400px;
  float: right;
  background-color: white;
  box-shadow: 10px 10px 5px grey;
  margin-left:0;
  transition: transform .5s;
}

.container-right-50 {
  width: 45%;
  float: right;
  text-align: center;
  border: thin solid black;
  padding: 15px;
  background-color: Lavender;
  height:
}

.container-left-30 {
  width: 30%;
  float: left;
  text-align: left;
}

.container-left-50 {
  display:block;
  width: 45%;
  float: left;
  text-align: center;
  border: thin solid black;
  padding: 15px;
  background-color: Lavender;
}

.full-img {
  display: block;
  margin-left: auto;
  margin-right: 0;
  height: 300px;
  position: static;
  transition: transform .5s;
}

/* Animation styles */

.center-img-animation {
  display: inline-block;
  margin-left:0;
  margin-top:155px;
  height:145px;
  /*animation: animation1 1.5s infinite ease-in-out;*/
}

@keyframes animation1 {
  from {height:0px;transform: translateY(20px);}
  to {height:145px;transform: translateY(0px);}
}

.boxes {
	background-color:red;
	width:100px;
	height:50px;
}

span {
  display: inline-block;
  margin-left:11px;
  margin-top:78px;
  height: 0px;
  width: 1px;
  background: red;
  animation-name: audio-wave;
  animation-duration: 2.5s;
  animation-iteration-count: infinite;
}

span:nth-child(2) {
margin-left: 11px;
animation-delay: 0.2s;
}

span:nth-child(3) {
margin-left: 11px;
animation-delay: 0.4s;
}

span:nth-child(4) {
margin-left: 11px;
animation-delay: 0.6s;
}

span:nth-child(5) {
margin-left: 11px;
animation-delay: 0.8s;
}

span:nth-child(6) {
margin-left: 11px;
animation-delay: 1.0s;
}

span:nth-child(7) {
margin-left: 11px;
animation-delay: 1.2s;
}

span:nth-child(8) {
margin-left: 11px;
animation-delay: 1.4s;
}

span:nth-child(9) {
margin-left: 11px;
animation-delay: 1.6s;
}

span:nth-child(10) {
margin-left: 11px;
animation-delay: 1.8s;
}

span:nth-child(11) {
margin-left: 11px;
animation-delay: 2.0s;
}

span:nth-child(12) {
margin-left: 11px;
animation-delay: 2.2s;
}

span:nth-child(13) {
margin-left: 11px;
animation-delay: 2.4s;
}

span:nth-child(14) {
margin-left: 11px;
animation-delay: 2.6s;
}

span:nth-child(15) {
margin-left: 11px;
animation-delay: 2.8s;
}

span:nth-child(16) {
margin-left: 11px;
animation-delay: 3.0s;
}

span:nth-child(17) {
margin-left: 11px;
animation-delay: 3.2s;
}

span:nth-child(18) {
margin-left: 11px;
animation-delay: 3.4s;
}

span:nth-child(19) {
margin-left: 11px;
animation-delay: 3.6s;
}

span:nth-child(20) {
margin-left: 11px;
animation-delay: 3.8s;
}

span:nth-child(21) {
margin-left: 11px;
animation-delay: 4.0s;
}

span:nth-child(22) {
margin-left: 11px;
animation-delay: 4.2s;
}

span:nth-child(23) {
margin-left: 11px;
animation-delay: 4.4s;
}

span:nth-child(24) {
margin-left: 11px;
animation-delay: 4.6s;
}

span:nth-child(25) {
margin-left: 11px;
animation-delay: 4.8s;
}

span:nth-child(26) {
margin-left: 11px;
animation-delay: 5.0s;
}

span:nth-child(27) {
margin-left: 11px;
animation-delay: 5.2s;
}

span:nth-child(28) {
margin-left: 11px;
animation-delay: 5.4s;
}

span:nth-child(29) {
margin-left: 11px;
animation-delay: 5.6s;
}

span:nth-child(30) {
margin-left: 11px;
animation-delay: 5.8s;
}

span:nth-child(31) {
margin-left: 11px;
animation-delay: 6.0s;
}

span:nth-child(32) {
margin-left: 11px;
animation-delay: 6.2s;
}

span:nth-child(33) {
margin-left: 11px;
animation-delay: 6.4s;
}

span:nth-child(34) {
margin-left: 11px;
animation-delay: 6.6s;
}

span:nth-child(35) {
margin-left: 11px;
animation-delay: 6.8s;
}

span:nth-child(36) {
margin-left: 11px;
animation-delay: 7.0s;
}

@keyframes audio-wave {
    0% {height:5px;transform: translateY(0px);}
    25% {height:150px;transform: translateY(75px);}
    50% {height:5px;transform: translateY(0px);}
    75% {height:5px;transform: translateY(0px);}
}