@charset "UTF-8";

/* Global Styles */
* {
  box-sizing: border-box;
}

article, aside, footer, header, main, nav, section {
  display: block;
}

/* Body Structure */
body {
  height: 100%;
  margin: 0;
  padding: 0;
  text-align: center;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Condensed', Helvetica, 'Helvetica Neue', Arial, sans-serif;
}

/* Header */
header {
  background-color: black;
  color: white;
  padding: 50px;
}

/* Navigation */
.sidenav {
  width: 175px;
  position: fixed;
  z-index: 1;
  top: 200px;
  left: 10px;
  background: lightgray;
  overflow-x: hidden;
  padding: 8px 0;
}

.sidenav a {
  padding: 6px 8px 6px 16px;
  text-decoration: none;
  font-size: 25px;
  color: #2196F3;
  display: block;
}

.sidenav a:hover {
  color: #064579;
}

/* Page Structure */
div {
  margin: auto;
}

/* Example 1 */
.example1 {
  width: 483px;
  height: 298px;
  background: #676470;
  color: #fff;
  font-family: Lato;
  font-weight: 900;
  font-size: 3.4em;
  text-align: center;
  line-height: 298px;
  transition: all 0.3s ease;
}

.example1:hover {
  background: #53a7ea;
}

/* Example 2 */
.circle {
	border-radius: 50%;
	left: calc(50% - 6.25em);
	top: calc(125% - 12.5em);
	transform-origin: 50% 12.5em;
	width: 12.5em;
	height: 12.5em;
	position: absolute;
	box-shadow: 0 1em 2em rgba(0, 0, 0, .5);
}

.one,
.three {
	background: rgba(142, 92, 205, .75);
	transition: background 1s ease-in;
}

.two,
.four {
	background: rgba(236, 252, 100, .75);
}

.one {
	transform: rotateZ(0);
}

.two {
	transform: rotateZ(90deg);
}

.three {
	transform: rotateZ(180deg);
}

.four {
	transform: rotateZ(-90deg);
}

.circle:hover {
  background: rgba(142, 92, 205, .25);
}

/* Example 3 */
.gradient {
  margin: 500px 300px 30px 300px;
  background: #e7e8e9;
  padding: 20px 0;
}

.btn {
	background-image: linear-gradient(to right, #006175 0%, #00a950 100%);
	border-radius: 40px;
  box-sizing: border-box;
	color: #00a84f;
	display: block;
	font: 1.125rem 'Oswald', Arial, sans-serif; /*18*/
	height: 80px;
	letter-spacing: 1px;
	margin: 0 auto;
	padding: 4px;
	position: relative;
  text-decoration: none;
	text-transform: uppercase;
	width: 264px;
	z-index: 2;
}

.btn:hover {
	color: #fff;
}

.btn span {
	align-items: center;
	background: #e7e8e9;
	border-radius: 40px;
	display: flex;
	justify-content: center;
	height: 100%;
	transition: background .5s ease;
	width: 100%;
}

.btn:hover span {
	background: transparent;
}

/* Example 4 */
.button {
  margin: 60px auto;
  display: block;
  position: relative;
  width: 150px;
  padding: 70px 10px;
  color: white;
  font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  font-weight: 300;
  font-size: 24px;
  text-shadow: 1px 1px 1px hsl(0deg 0% 0% / 50%);
  text-decoration: none;
  border: 5px solid #aefbae;
  background-image: -moz-linear-gradient(top, #5be93a, #278312);
  background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #5be93a),color-stop(1, #278312));
  -moz-border-radius: 25px;
  -webkit-border-radius: 25px;
  border-radius: 25px;
  -moz-background-clip: padding;
  -webkit-background-clip: padding;
  background-clip: padding-box;
  -webkit-transform: rotate(720deg) rotateY(0);
  -webkit-transition: all 0.5s;
  -webkit-transition-timing-function: cubic-bezier(1, 0.8, 0.5, 1);
  -webkit-transition-delay: 0.5s;
  z-index: 1;
  -webkit-box-shadow: inset 0 0 20px rgb(0 0 0 / 50%);
}

.button:hover {
  -webkit-transition: padding 0.2s, top 0.2s;
	-webkit-transform: rotate(0deg) rotateY(0);
	-webkit-transition-delay: 0;
	padding: 80px 20px;	
	top: -10px;		
	background-image: -moz-linear-gradient(top, #5be93a, #5be93a, #278312);
	background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #5be93a),color-stop(0.2, #5be93a),color-stop(1, #278312));
}

.button:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: url(noise.png) center center;
  z-index: -1;
}

.button:before {
  content: "";
  position: absolute;
  top: -30px;
  left: -30px;
  bottom: -30px;
  right: -30px;
  border-radius: 35px;
  z-index: -2;
  -webkit-transition: all 0.2s;
  -webkit-transform: rotate(0deg) rotateY(0);
  box-shadow: inset 0 0 100px rgb(0 0 0 / 10%);
}

.button:hover:before {
  -webkit-box-shadow: inset 0 0 100px rgba(0,0,0,0.2);
  box-shadow: inset 0 0 100px rgba(0,0,0,0.2);
  top: -20px;
  left: -20px;
  bottom: -20px;
  right: -20px;
}

.button:active {
  -webkit-box-shadow: inset 0 0 30px rgba(0,0,0,0.8);
  box-shadow: inset 0 0 30px rgba(0,0,0,0.8);
}

/* Example 5 */
.example5 {
  margin-bottom: 150px;
}

#box1 {
  width: 100px;
  height: 100px;
  background: red;
}

#box2 {
  width: 100px;
  height: 100px;
  position: absolute;
  left: 120px;
  background: blue;
  -webkit-transition: 1s ease-in-out;
  transition: 1s ease-in-out;
}
#box1:hover + #box2 {
  -webkit-transform: rotate(360deg);
  transform: rotate(360deg);
  left: calc(100% - 102px);
  background: yellow;
}

/* Footer */
footer {
  background-color: black;
  color: white;
  height: 80px;
  padding: 10px;
}