

/* 
for width of all content -make a class "width" and apply to every div/section to have the same padding/margin
+ have it flexible - less with small screen
*/
@import url(https://fonts.googleapis.com/css?family=BenchNine:700);

body {
    font-family:  'Open Sans', sans-serif;
    height: 100vh;
 }


 #anmatecss  {
	
	text-align: center;
	text-transform: uppercase;
	background: url(anmatecss.jpg);
	-webkit-background-clip: text;
	color: transparent;
	animation: text-background 30s linear infinite;
}

@keyframes text-background {

	from { background-position: 0 0 }

	to { background-position: 100% 100% }

} 


#balls {
	margin: 0;
	padding: 0;
	display: flex;
	border-bottom: solid 7px rgba(14, 10, 238, 0.582);
}

#balls li {
	list-style: none;
	width: 20px;
	height: 20px;
	background-color: rgba(31, 68, 168, 0.726);
	margin: 0 10px;
	border-radius: 50%;
	animation: jumping 1.0s linear infinite;
}

@keyframes jumping {
	0% { transform: translateY(0); }
	50% { transform: translateY(-150px); }
	100% { transform: translateY(0); }
}

#balls li:nth-child(1) {
	animation-delay: 0.45s;
}

#balls li:nth-child(2) {
	animation-delay: 0.6s;
}

#balls li:nth-child(3) {
	animation-delay: 0.3s;
}

#balls li:nth-child(4) {
	animation-delay: 0;
}

#balls li:nth-child(5) {
	animation-delay: 0.1s;
}

#idea {
	font-family: 'Dancing Script', cursive;
	display: flex;
	margin: 0;
	padding: 0;
	font-style: italic;
}

#idea li {
	list-style: none;
	color: #1b1a1a;
	font-size: 50px;
	letter-spacing: 5px;
	animation: idea 1.4s linear infinite;

}

@keyframes idea {
	0% {
		color: #484848;
		text-shadow: none;
	}

	90% {
		color: #484848;
		text-shadow: none;
	}

	100% {
		color: #fff900;
		text-shadow: 0 0 7px #fff900, 0 0 50px #ff6c00;
	}
}

#idea li:nth-child(1) {
	animation-delay: 0
}

#idea li:nth-child(2) {
	animation-delay: 0.1s
}

#idea li:nth-child(3) {
	animation-delay: 0.2s
}

#idea li:nth-child(4) {
	animation-delay: 0.3s
}

#idea li:nth-child(5) {
	animation-delay: 0.4s
}

#idea li:nth-child(6) {
	animation-delay: 0.5s
}

#idea li:nth-child(7) {
	animation-delay: 0.6s
}

#idea li:nth-child(8) {
	animation-delay: 0.7s
}


#csspage {
	/*margin: 0;
	padding: 0;*/
	display: flex;
	align-items: center;
    justify-content: center;
	overflow: hidden;

  }
  
  #csspage li {
	list-style-type: none;
	font-size: 40px;
	font-weight: bold;
	letter-spacing: 20px;
	animation: loading 3s linear infinite both
  }
  
  @keyframes loading {
	0% {
	  color: red;
	  transform: translateX(-70px);
	  letter-spacing: 20px;
	  opacity: 0;
	}
  
	10% {
	  opacity: 1;
	}
  
	50% {
	  letter-spacing: -20px;
	  opacity: 1;
	}
  
	100% {
	  color: blue;
	  transform: translateX(70px);
	  letter-spacing: 20px;
	  opacity: 0;
	}
  }
  
  #csspage li:nth-child(1) {
	animation-delay: 0s;
  }
  
  #csspage li:nth-child(2) {
	animation-delay: 0.2s;
  }
  
  #csspage li:nth-child(3) {
	animation-delay: 0.4s;
  }
  
  #csspage li:nth-child(4) {
	animation-delay: 0.6s;
  }
  
  #csspage li:nth-child(5) {
	animation-delay: 0.8s;
  }
  
  #csspage li:nth-child(6) {
	animation-delay: 1s;
  }
  
  #csspage li:nth-child(7) {
	animation-delay: 1.2s;
  }
  #csspage li:nth-child(8) {
	animation-delay: 1.3s;
  }
  #csspage li:nth-child(9) {
	animation-delay: 1.4s;
  }
  #csspage li:nth-child(10) {
	animation-delay: 1.5s;
  }
  #csspage li:nth-child(11) {
	animation-delay: 1.6s;
  }
  #csspage li:nth-child(12) {
	animation-delay: 1.7s;
  }
  #csspage li:nth-child(13) {
	animation-delay: 1.8s;
  }

  #w_square {
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: transparent; /* bg can be a color*/
	perspective: 200px;
  }
  .w_square {
	width: 100px;
	height: 100px;
	background: repeating-radial-gradient(whitesmoke, orange, red);
	border-radius: 12px;
	animation: threeD 2s linear infinite;
  }

  
@keyframes threeD {
	0% { transform: rotateX(0deg) rotateY(0deg); }

	50% { transform: rotateX(0deg) rotateY(180deg); }

	100% { transform: rotateX(180deg) rotateY(180deg); }
}

#icons {
	padding: 0;
	margin: 0;
	display: flex;
  }
  
  #icons li {
	list-style-type: none;
	width: 50px;
	height: 50px;
	margin: 0 5px;
	border:2px solid #0a3d62;
	border-radius: 50%;
	transition: all 0.5s;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
  }
  
  #icons li i {
	font-size: 20px;
	color: #0a3d62;
	transition: 0.5s;
  }
  
  #icons li:before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #0a3d62;
	border-radius: 50%;
	transition: all 0.5s;
	opacity: 0;
	z-index: -1;
  }
  
  #icons li:hover:before {
	opacity: 1;
	transform: scale(0.8);
  }
  
  #icons li:after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: transparent;
	border-radius: 50%;
	border:1px dashed #1d5a94;
	transition: all 0.5s;
	opacity: 0;
	z-index: -1;
	box-sizing: border-box;
  }
  
  #icons li:hover:after {
	opacity: 1;
	animation: rotating 10s linear infinite;
  }
  
  @keyframes rotating {
	0% { transform:scale(0.92) rotate(0deg); }
	100% { transform:scale(0.92) rotate(360deg); }
  }
  
  #icons li:hover i {
	color: white;
  }

 /* BUTTONS */

 
 .hoverbutton {
    font-family: 'Roboto', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;

    background-color: transparent;
}
 
#ibutton {
    font-family: 'Roboto', sans-serif;
    font-weight: bolder;
    font-size: 15px;
    /*display: flex;*/
    align-items: center;
    justify-content: center;
   color: rgb(231, 228, 6);
    background-color: #2d330fad;
    padding: 20px 40px;
    border-color: black ;
    border-radius: 25% 25% 25% 25%;
    letter-spacing: 1px;
    transition: all 0.5s;
    box-shadow:  -0.3em 0.4em 0.8em 0.2em  #0127229c;;
    
   
}

#ibutton:hover {
    font-family: 'Gabriela';
    background: none;
    color: tomato;
    border: 2px solid;
    padding: 1em 2em;
    font-size: 1em;
    border-radius: 0% 30%;
    box-shadow: none;
}


  #btn13 {
    width: 160px;
    height: 60px;
    text-decoration: none;
    text-transform: uppercase;
    background-color: transparent;
    text-align: center;
    line-height: 60px;
    font-weight: bold;
    letter-spacing: 2px;
    position: relative;
    transition: all 0.2s;
    color: white;
  }
  
  #btn13:before {
    content: "";
    position: absolute;
    top: -3px;
    left: -3px;
    width: 100%;
    height: 100%;
    background-color: #20caff;
    z-index: -1;
    mix-blend-mode: multiply;
    transition: all 0.2s;
    transform-origin: top;
  }
  
  #btn13:hover:before {
    top: -6px;
    left: 0;
    transform: perspective(1000px) rotateX(75deg);
  }
  
  #btn13:after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 100%;
    height: 100%;
    background-color: #ff7675;
    z-index: -1;
    mix-blend-mode: multiply;
    transition: all 0.2s;
    transform-origin: bottom;
  }
  
  #btn13:hover:after {
    top: 6px;
    left: 0;
    transform: perspective(1000px) rotateX(-75deg);
  }
  
  #btn13:hover {
    color: #272727;
  }

  
  #btn16 {
    border: none;
    padding: 12px 40px;
    background-color: #c47135;
    color: white;
    font-family: 'BenchNine';
    font-size: 22px;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
  }
  
  #btn16:before {
    content: "";
    position: absolute;
    width: 24px;
    height: 24px;
    top: -5px;
    left: -5px;
    border-top: 2px solid #c47135;
    border-left: 2px solid #c47135;
    transition: all 0.25s;
  }
  
  #btn16:hover:before,
  #btn16:hover:after {
    height: 100%;
    width: 100%;
  }
  
  #btn16:after {
    content: "";
    position: absolute;
    width: 24px;
    height: 24px;
    bottom: -5px;
    right: -5px;
    border-bottom: 2px solid #c47135;
    border-right: 2px solid #c47135;
    transition: all 0.25s;
  }

  #btn17 {
	text-decoration: none;
	width: 160px;
	height: 60px;
	color: black;
	border: 2px solid black;
	text-align: center;
	line-height: 60px;
    letter-spacing: 1px;
	font-size: 20px;
	position: relative;
	transition: all 0.2s;
}
#btn17:hover {
	color: white;
}

#btn17:before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: black;
	z-index: -1;
	opacity: 0;
	transition: all 0.8s;
}

#btn17:hover:before {
	opacity: 1;
	transform: rotate(15deg);
}

#btn17 span {
	color: transparent;
	position: relative;
}

#btn17 span:before {
	content: "B";
	position: absolute;
	color: black;
  
	transition: all 0.2s;
}

#btn17:hover span:before {
	color: white;
	font-size: 80px;
 
	transform:translate(-70%, -10%) rotate(360deg);
}
  
  #btn19 {
    text-decoration: none;
    padding: 15px 30px;
    color: #00aeff;
    font-size: 18px;
    letter-spacing: 3px;
    border: 2px solid #00aeff;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    transition: all 0.5s;
  }
  
  #btn19:hover {
    color: white;
  }
  
  .wave {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: calc(100% + 22px);
    background-color: #00aeff;
    transition: all 1s;
    z-index: -1;
  }
  
  #btn19:hover .wave {
    top: 0;
  }
  
  .wave:before {
    content: "";
    position: absolute;
    top: -22px;
    left: 0;
    width: 100%;
    height: 22px;
    background: url(wave.png);
    animation: wavy 0.5s linear infinite;
  }
  
  @keyframes wavy {
    0% { background-position-x: 0 }
    100% { background-position-x: 118px; }
  }

  
  #btn22 {
    position: absolute;
    text-decoration: none;
    text-transform: uppercase;
    padding: 25px 40px;
    background-color: white;
    color: #777;
    border-radius: 100px;
    font-size: 15px;
    transition: all 0.2s;
  }
  
  #btn22:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    border-radius: 100px;
    transition: all 0.4s;
    z-index: -1;
  }
  
  #btn22:hover:before {
    transform: scaleX(1.4) scaleY(1.6);
    opacity: 0;
  }
  
  #btn22:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  }
  
  #btn22:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  }

#btn1 {
    text-decoration: none;
	color: #032c06;
	font-family: sans-serif;
    font-weight: bold;
	font-size: 15px;
	border: 5px solid #f17807;
	padding: 20px 40px;
	position: relative;
	overflow: hidden; 
}
#btn1:before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	background-color: #ff9100;
	height: 100%;
	width: 101%;
	z-index: -1;
	transform-origin: top left;
 
	 transform-origin: top right;
 	transform: rotate(90deg);
	 transform: rotate(-90deg);
	transition: transform 0.5s;
}

#btn1:hover:before {
	transform: rotate(0deg);
}

#btn2 {
    text-decoration: none;
	color: #351435;
	font-family: sans-serif;
    font-weight: bolder;
	font-size: 15px;
	border: 3px solid #351435;
	padding: 20px 55px;
	position: relative;
	transition: all 1s;
	overflow: hidden;
}
#btn2:before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
	background-color: #351435;
	z-index: -1;
	transform: translateX(-100%);
	transition: all 1s;
}

#btn2:hover:before {
	transform: translateX(0);
}

#btn2:hover {
	color: white;
}

#btn3 {
	padding: 20px 40px;
	font-family: sans-serif;
	text-decoration: none;
	color: #262626;
	font-size: 15px;
	letter-spacing: 2px;
	border: 5px solid #262626;
	position: relative;
	transition: 1s;
}

#btn3:before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: red;
	transition: 1s;
	transform: rotateX(90deg);
	z-index: -1;
}

#btn3:after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: red;
	transition: 1s;
	transform: rotateY(90deg);
	z-index: -1;
}

#btn3:hover:before {
	transform: rotateX(0);
}

#btn3:hover:after {
	transform: rotateY(0);
}

#btn3:hover {
	color: white;
}

#btn4 {
	text-decoration: none;
	padding: 20px 40px;
	color: #064706;
	border: 3px solid #064706;
	text-transform: uppercase;
	font-size: 15px;
	font-family: 'roboto';
	font-weight: 300;
	letter-spacing: -2px;
	transition: all 0.5s
}

#btn4:hover {
	font-weight: 900;
	letter-spacing: 10px;
	border: 7px solid #064706;
}

#btn5 {
	text-decoration: none;
	color: #F44336;
	font-family: sans-serif;
    font-weight: bolder;
	font-size: 15px;
	border: 3px solid white;
	padding: 20px 40px;
	position: relative;
	transition: all 1s;
	overflow: hidden;
    
}

#btn5:before {
	content: 'YEAH!';
	color: white;
	background-color: #F44336;
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
	transform: translateY(-100%);
	transition:all .5s;
}

#btn5:hover:before {
	transform: translateY(0);
}

#btn6 {
	text-decoration: none;
	color: rgba(3, 16, 85, 0.938);
	font-family: sans-serif;
    font-weight: bolder;
	font-size: 15px;
	border: 3px solid #24f6fdee;
	padding: 20px 40px;
	transition: all 0.5s;
	position: relative;
	overflow: hidden;
}

#btn6:hover {
	background-color: #24f6fdee;
}

#btn6:before {
	content: '';
	background-color: white;
	top: 4;
	left: 0;
	width: 100%;
	height: 30px;
	position: absolute;
	transform: translateX(-100%) rotate(48deg);
	transition: all 0.5s;
}

#btn6:hover:before {
 	transform: translateX(100%) rotate(45deg);
}

#btn7 {
	text-decoration: none;
	background-color: #262626;
	font-family: sans-serif;
    font-weight: bold;
	font-size: 15px;
	border: 4px solid #262626;
	padding: 20px 40px;
	position: relative;
	color: transparent;
	overflow: hidden;
}

#btn7:before {
	content: 'BUTTON';
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background-color: #f7d308;
	color: white;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: all 0.5s;
}

#btn7:after {
	content: 'HELLO!';
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background-color: #f7d308;
	color: white;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: all 0.5s;
	transform: translate(-100%, 100%);
}

#btn7:hover:before {
	transform: translate(100%, -100%);
}

#btn7:hover:after {
	transform: translate(0, 0);
}