/*
Website: akrobata.net
Author: Hadzic
*/


/* GENERAL STYLES
-------------------------------------------------*/

html, 
body{
margin: 0;
padding: 0;
background: #00B4FF;
}

#akro{
background: #314559;
width: 100%;
height: auto;
}



h1, h2, h3{
    text-align: center;

}

h1{
    font-family: 'Francois One', Arial, sans-serif;
    font-weight: 300;
    font-size: 52px;
    padding: 110px 0 20px 0;
    color: #fff;

}

h3{
    font-family: 'Lato', Arial, sans-serif;
    font-weight: 400;
    font-size: 23px;
    color: #9f9e9b;
    margin-bottom: 23px;
}

a.back{
  font-family: 'Lato', Arial, sans-serif;
    font-weight: 400;
    text-decoration: none;
    font-size: 16px;
  color: #fff;
  padding: 15px 10px;
  border: 1px solid #fff;
  text-transform: uppercase;
  text-align: center;
  margin: 20px auto;
  width: 15%;
  display: block;
}

a.back:hover{
background: #ffffff;
color: #fff;
}

/* CENTRAL TEXT
-------------------------------------------------*/

.bata{
  background: #00B4FF;
  padding: 6.04% 0 9% 0;
  margin-top: 250px;*
  height: auto;
  text-align: center;
}

i{ margin-right: 8px;}

nav { display: inline-block; }

nav a {
  position: relative;
  display: inline-block;
  margin: 12px 20px;
  color: #fff;
  text-decoration: none;
  font-weight: 400;
  font-size: 28px;
  font-family: 'Lato', Arial, sans-serif;
}

nav a:hover,
nav a:focus {
  outline: none;
}

/* SPAN STYLES
-------------------------------------------------*/

.akrobata {
  width: 210px;   
  background-color: transparent;    
  cursor: pointer;  
  border-color: #FFFFFF; 
}

.akrobata:hover {
  border-color: #FFFFFF/*#000000*/;  
}


.akrobata span:nth-child(1) {
  color: #FFFFFF; 
}


.akrobata span:nth-child(2) {
  color: /*#000000*/#FFFFFF; 
}


.akrobata span {
  font-family: 'Lato', sans-serif;
  font-size: 22px;
  letter-spacing: 3px;
}

.akrobata {
  position: relative;
  box-sizing: border-box;
  padding: 0;
  border-style: none;
  height: 65px;
  display: inline-block;
}


.akrobata span {
  position: absolute;
  box-sizing: border-box;
  display: block;
}


.akrobata>span>span:nth-child(3), .akrobata:before, .akrobata:after, .akrobata>:first-child, .akrobata>:first-child:before, .akrobata>:first-child:after {
  border-color: inherit;
  display: block;
  -moz-transition: border-color 0.3s ease;
  -webkit-transition: border-color 0.3s ease;
  transition: border-color 0.3s ease;
}


.akrobata:before, .akrobata:after, .akrobata>:first-child:before, .akrobata>:first-child:after {
  -webkit-animation-duration: 0.3s;
  animation-duration: 0.3s;
  position: absolute;
  box-sizing: border-box;
  content: ' ';
}

.akrobata>span>span:nth-child(3), .akrobata:before, .akrobata:after, .akrobata>:first-child:before, .akrobata>:first-child:after {
  border-width: 3px;
}
.akrobata>span>span:nth-child(3) {
  border-radius: 3px;
}
.akrobata:before {
  border-radius: 3px 0 0 3px;
}
.akrobata:after {
  border-radius: 0 3px 3px 0;
}
.akrobata>:first-child:before {
  border-radius: 3px 3px 0 0;
}
.akrobata>:first-child:after {
  border-radius: 0 0 3px 3px;
}

.akrobata>:first-child {
  top: 0;
  left: 0;
  width: inherit;
  height: inherit;
}
.akrobata>span span {
  width: inherit;
  text-align: center;
  -moz-transition: opacity 0.6s ease, top 0.5s ease;
  -webkit-transition: opacity 0.6s ease, top 0.5s ease;
  transition: opacity 0.6s ease, top 0.5s ease;
}
.akrobata>span>span:nth-child(1) {
  opacity: 1;
  top: 18px;
}
.akrobata>span>span:nth-child(2) {
  top: 37px;
  opacity: 0;
}
.akrobata:hover>span>span:nth-child(1) {
  opacity: 0;
  top: 2px;
}
.akrobata:hover>span>span:nth-child(2){
  opacity: 1;
  top: 18px;
}

.akrobata>span>span:nth-child(3) {
  top: 28%;
  height: 44%;
  width: inherit;
  border-style: none solid none solid;
}


.akrobata:before, .akrobata:after {
  top: 0;
  width: 0;
  height: inherit;
  border-style: solid none solid none;
}

.akrobata>:first-child:before, .akrobata>:first-child:after {
  left: 0;
  height: 0;
  width: inherit;
  border-style: none solid none solid;
}

.akrobata:before {
  -webkit-animation-name: left-center;
  animation-name: left-center;
}

.akrobata:after {
  -webkit-animation-name: right-center;
  animation-name: right-center;
}

.akrobata>:first-child:before {
  -webkit-animation-name: center-top;
  animation-name: center-top;
}

.akrobata>:first-child:after {
  -webkit-animation-name: center-bottom;
  animation-name: center-bottom;
}

.akrobata:hover:before {
  -webkit-animation-name: center-left;
  animation-name: center-left;
}

.akrobata:hover:after {
  -webkit-animation-name: center-right;
  animation-name: center-right;
}

.akrobata:hover>:first-child:before {
  -webkit-animation-name: top-center;
  animation-name: top-center;
}

.akrobata:hover>:first-child:after {
  -webkit-animation-name: bottom-center;
  animation-name: bottom-center;
}

@-webkit-keyframes center-left {
    0%   {left: 40%; width: 8%; opacity: 0.2;}
    25%  {left: 25%; width: 15%;}
    50%  {left: 0%; width: 30%;}
    80%  {left: 0%; width: 0%;}
    100% {left: 0%; width: 0%; opacity: 1;}
}

@-webkit-keyframes left-center {
    0%   {left: 0%; width: 0%; opacity: 1;}
    20%  {left: 0%; width: 0%;}
    50%  {left: 0%; width: 30%;}
    55%  {left: 40%; width: 11%;}
    100% {left: 43%; width: 8%; opacity: 0.2;}
}

@-webkit-keyframes center-right {
    0%   {left: 52%; width: 8%; opacity: 0.2;}
    25%  {left: 60%; width: 15%;}
    50%  {left: 70%; width: 30%;}
    80%  {left: 100%; width: 0%;}
    100% {left: 100%; width: 0%; opacity: 1;}
}

@-webkit-keyframes right-center {
    0%   {left: 100%; width: 0%; opacity: 1;}
    20%  {left: 100%; width: 0%;}
    50%  {left: 70%; width: 30%;}
    55%  {left: 49%; width: 11%;}
    100% {left: 49%; width: 8%; opacity: 0.2;}
}

@-webkit-keyframes top-center {
    0%   {top: 0%; height: 0%; opacity: 0.2;}
    50%  {top: 0%; height: 0%;}
    60%  {top: 0%; height: 20%;}
    80%  {top: 0%; height: 50%;}
    90%  {top: 25%; height: 25%;}
    100% {top: 50%; height: 0%; opacity: 1;}
}
@-webkit-keyframes center-top {
    0%   {top: 50%; height: 0%; opacity: 1;}
    10%  {top: 25%; height: 25%;}
    20%  {top: 0%; height: 50%;}
    40%  {top: 0%; height: 20%;}
    50%  {top: 0%; height: 0%;}
    100% {top: 0%; height: 0%; opacity: 0.2;}
}

@-webkit-keyframes bottom-center {
    0%   {top: 100%; height: 0%; opacity: 0.2;}
    50%  {top: 100%; height: 0%;}
    60%  {top: 80%; height: 20%;}
    80%  {top: 50%; height: 50%;}
    90%  {top: 50%; height: 25%;}
    100% {top: 50%; height: 0%; opacity: 1;}
}
@-webkit-keyframes center-bottom {
    0%   {top: 50%; height: 0%; opacity: 1;}
    10%  {top: 50%; height: 25%;}
    20%  {top: 50%; height: 50%;}
    40%  {top: 80%; height: 20%;}
    50%  {top: 100%; height: 0%;}
    100% {top: 100%; height: 0%; opacity: 0.2;}
}

@keyframes center-left {
    0%   {left: 40%; width: 8%; opacity: 0.2;}
    25%  {left: 25%; width: 15%;}
    50%  {left: 0%; width: 30%;}
    80%  {left: 0%; width: 0%;}
    100% {left: 0%; width: 0%; opacity: 1;}
}

@keyframes left-center {
    0%   {left: 0%; width: 0%; opacity: 1;}
    20%  {left: 0%; width: 0%;}
    50%  {left: 0%; width: 30%;}
    55%  {left: 40%; width: 11%;}
    100% {left: 43%; width: 8%; opacity: 0.2;}
}

@keyframes center-right {
    0%   {left: 52%; width: 8%; opacity: 0.2;}
    25%  {left: 60%; width: 15%;}
    50%  {left: 70%; width: 30%;}
    80%  {left: 100%; width: 0%;}
    100% {left: 100%; width: 0%; opacity: 1;}
}

@keyframes right-center {
    0%   {left: 100%; width: 0%; opacity: 1;}
    20%  {left: 100%; width: 0%;}
    50%  {left: 70%; width: 30%;}
    55%  {left: 49%; width: 11%;}
    100% {left: 49%; width: 8%; opacity: 0.2;}
}

@keyframes top-center {
    0%   {top: 0%; height: 0%; opacity: 0.2;}
    50%  {top: 0%; height: 0%;}
    60%  {top: 0%; height: 20%;}
    80%  {top: 0%; height: 50%;}
    90%  {top: 25%; height: 25%;}
    100% {top: 50%; height: 0%; opacity: 1;}
}
@keyframes center-top {
    0%   {top: 50%; height: 0%; opacity: 1;}
    10%  {top: 25%; height: 25%;}
    20%  {top: 0%; height: 50%;}
    40%  {top: 0%; height: 20%;}
    50%  {top: 0%; height: 0%;}
    100% {top: 0%; height: 0%; opacity: 0.2;}
}

@keyframes bottom-center {
    0%   {top: 100%; height: 0%; opacity: 0.2;}
    50%  {top: 100%; height: 0%;}
    60%  {top: 80%; height: 20%;}
    80%  {top: 50%; height: 50%;}
    90%  {top: 50%; height: 25%;}
    100% {top: 50%; height: 0%; opacity: 1;}
}
@keyframes center-bottom {
    0%   {top: 50%; height: 0%; opacity: 1;}
    10%  {top: 50%; height: 25%;}
    20%  {top: 50%; height: 50%;}
    40%  {top: 80%; height: 20%;}
    50%  {top: 100%; height: 0%;}
    100% {top: 100%; height: 0%; opacity: 0.2;}
}


/* RESPONSIVE MEDIA QUERIES
-------------------------------------------------*/

@media screen and (max-width: 768px) {
.akrobata a {
    margin-top:40px
}
}

@media screen and (max-width: 320px) {
h3 {
    font-size:20px
}

a.next {
    display:none
}

a.back {
    width:75%;
    text-align:center;
    padding:20px 0;
    display: block;
}
}

/* TOOLTIP STYLES
-------------------------------------------------*/

/* Add this attribute to the element that needs a tooltip */
[data-tooltip] {
  position: relative;
  z-index: 2;
  cursor: pointer;
}

/* Hide the tooltip content by default */
[data-tooltip]:before,
[data-tooltip]:after {
  visibility: hidden;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: progid: DXImageTransform.Microsoft.Alpha(Opacity=0);
  opacity: 0;
  pointer-events: none;
}

/* Position tooltip above the element */
[data-tooltip]:before {
  position: absolute;
  bottom: 125%;
  left: 50%;
  margin-bottom: 5px;
  margin-left: -80px;
  padding: 7px;
  width: 132px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  background-color: #000;
  background-color: hsla(0, 0%, 20%, 0.9);
  color: #fff;
  content: attr(data-tooltip);
  text-align: center;
  font-size: 14px;
  line-height: 1.2;
}

/* Triangle hack to make tooltip look like a speech bubble */
[data-tooltip]:after {
  position: absolute;
  bottom: 125%;
  left: 50%;
  margin-left: -5px;
  width: 0;
  border-top: 5px solid #000;
  border-top: 5px solid hsla(0, 0%, 20%, 0.9);
  border-right: 5px solid transparent;
  border-left: 5px solid transparent;
  content: " ";
  font-size: 0;
  line-height: 0;
}

/* Show tooltip content on hover */
[data-tooltip]:hover:before,
[data-tooltip]:hover:after {
  visibility: visible;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  filter: progid: DXImageTransform.Microsoft.Alpha(Opacity=100);
  opacity: 1;
}

/* EMAIL ICON - BOTTOM/RIGHT
-------------------------------------------------*/

#bottom{position: fixed; font-family: 'Lato', Arial, sans-serif; right:75px; bottom:25px;}