* {
    margin: 0px auto;
}

:root {
  --primary-color: royalblue;
  --secondary-color: orange;
  --background-color: #fff;
  --text-color: #000;
  --box-shadow-color: rgba(0, 0, 255, 0.7);

/*Dark mode variables*/
  --dark-background-color: #222;
  --dark-text-color: #fff;
}

body {
  margin: 50px auto;
  background-color: var(--background-color);
  color: var(--text-color);
  transition: background-color 0.5s, color 0.5s;
  width: 100%;
  height: 100%;
}

body.dark-mode {
  background-color: var(--dark-background-color);
  color: var(--dark-text-color);
}

.outer  {
	position: relative;
	top: 10vh;
  bottom: 50px;
	border: 4px solid var(--primary-color);
	width: 80vw;
	height: 80vw;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.inner {
	position: relative;
	justify-items: center;
	border: 4px solid var(--primary-color);
	width: 70vw;
	height: 70vw;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.square {
	position: relative;
	border: 4px solid var(--primary-color);
	width: 49vw;
	height: 49vw;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	animation: rotate-square 10s infinite linear;
	box-shadow: 0 0 20px 10px var(--box-shadow-color), 0 0 40px 20px var(--box-shadow-color);
}

.icons {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-content: center;
	justify-content: center;
	flex: 1;
	animation: rotate-icons 40s infinite linear reverse;	
}

.material-icons {
	font-size: 10vh;
	width: 10vh;
	height: 10vh;
	line-height: 1;
	color: var(--primary-color);
	transform: scale(1.5);
	transition: transform 0.4s ease-in-out;
	position: relative;
}

.material-icons:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  box-shadow: 0 0 10px 2px var(--box-shadow-color);
  opacity: 0;
  animation: glow-shadow 2s infinite;
}

.material-icons:hover {
	animation: bounce-fade 1.2s;
}

@keyframes rotate-square {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}


@keyframes rotate-icons {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-720deg);
  }
}

@keyframes bounce-fade {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.5;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes glow-shadow {
  0% {
    transform: scale(1);
    opacity: 0;
    box-shadow: 0 0 10px 2px var(--box-shadow-color);
  }
  25% {
    transform: scale(1.2);
    opacity: 0.8;
    box-shadow: 0 0 20px 4px var(--box-shadow-color);
  }
  50% {
    transform: scale(1.4);
    opacity: 1;
    box-shadow: 0 0 30px 6px var(--box-shadow-color);
  }
  75% {
    transform: scale(1.2);
    opacity: 0.8;
    box-shadow: 0 0 20px 4px var(--box-shadow-color);
  }
  100% {
    transform: scale(1);
    opacity: 0;
    box-shadow: 0 0 10px 2px var(--box-shadow-color);
  }
}

@keyframes bounce-glow-shadow {
  0% {
    box-shadow: 0 0 20px 10px rgba(135, 206, 250, 0.7);
  }
  50% {
    box-shadow: 0 0 40px 20px rgba(135, 206, 250, 0.7);
  }
  100% {
    box-shadow: 0 0 20px 10px rgba(135, 206, 250, 0.7);
  }
}

footer {
	display: flex;
  justify-content: space-evenly;
  align-items: center;
  position: relative;
  top: 50vh;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1rem;
  background: var(--primary-color);
  width: 100%;
  z-index: 9999;
}

footer a {
	text-decoration: none;
	color: var(--text-color);
	font-family: arial;
	font-size: 0.8em;
  height: 0.8rem;
}

footer a:hover {
	color: var(--secondary-color);
  text-decoration: overline;
}

footer button {
	background-color: var(--primary-color);
  border: 0;
  height: 1rem;
}









