body {
background-image: url("pozadina.jpg");
background-size: cover;
}

.font-face {
  font-family: 'Frutiger';
  src: url(frutiger.ttf);
}

.background {
    filter: blur(8px);
  -webkit-filter: blur(8px);
}




















* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.container {
  width: 100%;
  min-height: 10vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav {
  min-width: 70px;
  width: 100%;
}

.nav--list {
  width: 100%;
  height: 10px;
  margin: auto 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.item,
.item--wrapper {
  height: 50px;
  width: 120px;
  margin: 1px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  transform-style: preserve-3d;
  transform-origin: top center;
  transform: translateY(0px) rotateX(0deg);
  transition: transform 300ms linear;
  box-shadow: rgba(255, 255, 255, 0.1) 0px 1px 1px 0px inset,
    rgba(50, 50, 93, 0.25) 0px 50px 100px -20px,
    rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
}

.item--wrapper::before,
.item--wrapper::after {
  content: attr(data-item);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0px;
  left: 0px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-shadow: 1px 1px 1px #666;
  color: #ffffff;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 2px;
  transform: translateY(0px) rotateX(0deg);
  transform-style: preserve-3d;
  transition: transform 300ms linear;
  background: #00524e;
}

.item--wrapper::before {
  background: #000;
  color: #f200ff;
  transform-origin: bottom center;
  transform: translateY(-50px) rotateX(-90deg);
}

.item:hover .item--wrapper {
  transform: translateY(50px) rotateX(90deg);
}





