@import url('https://fonts.googleapis.com/css?family=Exo:400,700');

* { 
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -moz-tap-highlight-color: rgba(0, 0, 0, 0);
}

*{
    margin: 0px;
    padding: 0px;
}

html {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

button,
textarea,
input,
select,
a{
 -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
 -webkit-tap-highlight-color: transparent;
 -webkit-user-select: none;
 -moz-user-select: none;
 -ms-user-select: none;
  user-select: none;
}

body{
font-family: 'Exo', sans-serif;
overflow: hidden;
    background: url("./Back_2.png"), #3e3e3e;
    background-size: 50px;
    background-attachment: fixed;
    width: 100%;
    height: 100vh;
}

footer{
    bottom: 1em;
    position: absolute;
    color: #717577;
    text-align: center;
    width: 100%;
}

.context {
	position:fixed;
    top: calc(40% - 125px);
    left: calc(50% - 125px);
    width: 250px;
}

.context h1{
    text-align: center;
    color: #fff;
    font-size: 2em;
}


.circles{position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden;}

.circles li{
    position: absolute;
    display: block;
    list-style: none;
    width: 80px;
    height: 80px;
	text-align: center;
	line-height: 80px;
    background: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease-in-out;
    animation: animate 25s linear infinite;
    bottom: -150px;
}

.circles li:nth-child(1){ left: 10%; width: 100px; height: 100px; line-height: 100px;  background: rgb(108, 109, 110); animation-delay: 0s;}
.circles li:nth-child(2){ left: 30%; width: 60px;  height: 60px;  line-height: 60px;   background: rgb(69, 68, 68); animation-delay: 2s; animation-duration: 12s;}
.circles li:nth-child(3){ left: 70%; width: 100px; height: 100px; line-height: 100px;  background: rgb(196, 198, 198); animation-delay: 4s;}
.circles li:nth-child(4){ left: 40%; width: 60px;  height: 60px;  line-height: 60px;   background: rgb(223, 223, 237); animation-delay: 0s; animation-duration: 18s;}
.circles li:nth-child(5){ left: 65%; width: 80px;  height: 80px;  line-height: 80px;   background: rgb(225, 242, 250); animation-delay: 0s;}
.circles li:nth-child(6){ left: 85%; width: 110px; height: 110px; line-height: 110px;  background: rgb(48, 48, 48); animation-delay: 3s;}
.circles li:nth-child(7){ left: 35%; width: 150px; height: 150px; line-height: 150px;  background: rgb(54, 54, 55); animation-delay: 7s;}
.circles li:nth-child(8){ left: 50%; width: 50px;  height: 50px;  line-height: 50px;   background: rgb(132, 136, 136);animation-delay: 15s; animation-duration: 45s;}
.circles li:nth-child(9){ left: 20%; width: 80px;  height: 80px;  line-height: 80px;   background: rgb(188, 190, 190);animation-delay: 2s;  animation-duration: 35s;}
.circles li:nth-child(10){left: 90%; width: 150px; height: 150px; line-height: 150px;  background: rgb(62, 65, 65); animation-delay: 0s;animation-duration: 11s;}

.circles li:hover{
    background: rgba(255, 255, 255, 0);
    transition: all 0.3s ease-in-out;
}

@keyframes animate {
    0%{
        transform: translateY(0) rotate(0deg);
        opacity: 0.5;
        border-radius: 0;
    }

    100%{
        transform: translateY(-900px) rotate(720deg);
        opacity: 0;
        border-radius: 50%;
    }

}
.menu {
  position: absolute;
  display: block;
  top: -10%;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  width: 460px;
  height: 440px;
  border-radius: 5%;
  box-shadow: -10px 45px 10px rgba(0,0,0,0.3);
  transform: perspective(1500px) rotateY(17deg) rotateX(30deg);
    transition: all 0.3s ease-in-out;
    backdrop-filter: blur(10px) saturate(100%) contrast(90%) brightness(150%);
    -webkit-backdrop-filter: blur(10px) saturate(100%) contrast(90%) brightness(150%);
}

.menu:hover {
	transform: none;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 10px 10px rgba(0,0,0,0.3);
}

.menu-toggler {
  position: absolute;
  display: block;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  width: 250px;
  height: 250px;
  z-index: 2;
  opacity:0;
  cursor: pointer;
}

.menu-toggler + label {
  position: absolute;
  display: block;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  width: 250px;
  height: 250px;
  z-index: 1;
  border-radius: 50%;
  box-shadow: 0 0 0 0 #d1d1d1, 0 0 5px 1px #000;
  background-image: url("./semir3.png");
  background-size: 100%;
  }

.menu-toggler:checked + label {
    box-shadow: 0 0 0 0 #ffffff, 0 0 5px 1px #fff;
}

.menu-toggler:checked ~ ul .menu-item {
  opacity: 1;
}
.menu-toggler:checked ~ ul .menu-item:nth-child(1) {
  transform: rotate(0deg) translateX(-180px);
}
.menu-toggler:checked ~ ul .menu-item:nth-child(2) {
  transform: rotate(60deg) translateX(-180px);
}
.menu-toggler:checked ~ ul .menu-item:nth-child(3) {
  transform: rotate(120deg) translateX(-180px);
}
.menu-toggler:checked ~ ul .menu-item:nth-child(4) {
  transform: rotate(180deg) translateX(-180px);
}
.menu-toggler:checked ~ ul .menu-item:nth-child(5) {
  transform: rotate(240deg) translateX(-180px);
}
.menu-toggler:checked ~ ul .menu-item:nth-child(6) {
  transform: rotate(300deg) translateX(-180px);
}
.menu-toggler:checked ~ ul .menu-item a {
  pointer-events: auto;
}

.menu-item:nth-child(1) a {transform: rotate(0deg);}
.menu-item:nth-child(2) a {transform: rotate(-60deg);}
.menu-item:nth-child(3) a {transform: rotate(-120deg);}
.menu-item:nth-child(4) a {transform: rotate(-180deg);}
.menu-item:nth-child(5) a {transform: rotate(-240deg);}
.menu-item:nth-child(6) a {transform: rotate(-300deg);}

.menu-item {
  position: absolute;
  display: block;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  width: 80px;
  height: 80px;
  opacity: 0;
  transition: 0.5s;
}

.menu-item a {
  display: block;
  width: inherit;
  height: inherit;
  line-height: 80px;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  text-align: center;
  text-decoration: none;
  font-size: 40px;
  pointer-events: none;
  transition: 0.2s;
}

.menu-item a:hover {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
  color: white;
  background: rgba(255, 255, 255, 0.3);
  font-size: 44.4444444444px;
}

.name,
.portfolio,
.dreamstime,
.linkedin,
.biography,
.soundcloud,
.tehnika {bottom: -2em; position: absolute; color: white;  font-size: 1em;  opacity: 0;}
.name {opacity: 0.5; right: 0;}

ul .menu-item:nth-child(1):hover ~ .portfolio {opacity: .5; transition: 0.2s;}
ul .menu-item:nth-child(2):hover ~ .biography {opacity: .5; transition: 0.2s;}
ul .menu-item:nth-child(3):hover ~ .tehnika {opacity: .5; transition: 0.2s;}
ul .menu-item:nth-child(4):hover ~ .soundcloud {opacity: .5; transition: 0.2s;}
ul .menu-item:nth-child(5):hover ~ .linkedin {opacity: .5; transition: 0.2s;}
ul .menu-item:nth-child(6):hover ~ .dreamstime {opacity: .5;transition: 0.2s;}


/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 37.5em) {
@keyframes animate {
    0%{transform: translateY(0) rotate(0deg); opacity: 0.2; border-radius: 0;}
    100%{transform: translateY(-2000px) rotate(720deg); opacity: 0; border-radius: 50%;}
    }

    .menu {width: 265px; height: 265px;}
    .menu-toggler {width: 115px; height: 115px;}
    .menu-toggler + label {width: 115px; height: 115px;}
    .menu-toggler:checked ~ ul .menu-item:nth-child(1) {
        transform: rotate(0deg) translateX(-95px);
    }
    .menu-toggler:checked ~ ul .menu-item:nth-child(2) {
        transform: rotate(60deg) translateX(-95px);
    }
    .menu-toggler:checked ~ ul .menu-item:nth-child(3) {
        transform: rotate(120deg) translateX(-95px);
    }
    .menu-toggler:checked ~ ul .menu-item:nth-child(4) {
        transform: rotate(180deg) translateX(-95px);
    }
    .menu-toggler:checked ~ ul .menu-item:nth-child(5) {
        transform: rotate(240deg) translateX(-95px);
    }
    .menu-toggler:checked ~ ul .menu-item:nth-child(6) {
        transform: rotate(300deg) translateX(-95px);
    }
    .menu-item {width: 60px; height: 60px;}
    .menu-item a {font-size: 32px; line-height: 60px;}
}
/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 37.5em) {
    @keyframes animate {
        0%{transform: translateY(0) rotate(0deg); opacity: 0.2; border-radius: 0;}
        100%{transform: translateY(-2000px) rotate(720deg); opacity: 0; border-radius: 50%;}
    }

    .menu {width: 305px; height: 305px;}
    .menu-toggler {width: 145px; height: 145px;}
    .menu-toggler + label {width: 145px; height: 145px;}
    .menu-toggler:checked ~ ul .menu-item:nth-child(1) {
        transform: rotate(0deg) translateX(-113px);
    }
    .menu-toggler:checked ~ ul .menu-item:nth-child(2) {
        transform: rotate(60deg) translateX(-113px);
    }
    .menu-toggler:checked ~ ul .menu-item:nth-child(3) {
        transform: rotate(120deg) translateX(-113px);
    }
    .menu-toggler:checked ~ ul .menu-item:nth-child(4) {
        transform: rotate(180deg) translateX(-113px);
    }
    .menu-toggler:checked ~ ul .menu-item:nth-child(5) {
        transform: rotate(240deg) translateX(-113px);
    }
    .menu-toggler:checked ~ ul .menu-item:nth-child(6) {
        transform: rotate(300deg) translateX(-113px);
    }
    .menu-item {width: 60px; height: 60px;}
    .menu-item a {font-size: 32px; line-height: 60px;}
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 48em) {
    @keyframes animate {
        0%{transform: translateY(0) rotate(0deg); opacity: 0.2; border-radius: 0;}
        100%{transform: translateY(-2000px) rotate(720deg); opacity: 0; border-radius: 50%;}
    }

    .menu {width: 406px; height: 406px;}
    .menu-toggler {width: 225px; height: 225px;}
    .menu-toggler + label {width: 225px; height: 225px;}
    .menu-toggler:checked ~ ul .menu-item:nth-child(1) {
        transform: rotate(0deg) translateX(-160px);
    }
    .menu-toggler:checked ~ ul .menu-item:nth-child(2) {
        transform: rotate(60deg) translateX(-160px);
    }
    .menu-toggler:checked ~ ul .menu-item:nth-child(3) {
        transform: rotate(120deg) translateX(-160px);
    }
    .menu-toggler:checked ~ ul .menu-item:nth-child(4) {
        transform: rotate(180deg) translateX(-160px);
    }
    .menu-toggler:checked ~ ul .menu-item:nth-child(5) {
        transform: rotate(240deg) translateX(-160px);
    }
    .menu-toggler:checked ~ ul .menu-item:nth-child(6) {
        transform: rotate(300deg) translateX(-160px);
    }
    .menu-item {width: 70px; height: 70px;}
    .menu-item a {font-size: 34px; line-height: 70px;}
}
/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 62em) {
    @keyframes animate {
        0%{transform: translateY(0) rotate(0deg); opacity: 0.2; border-radius: 0;}
        100%{transform: translateY(-2000px) rotate(720deg); opacity: 0; border-radius: 50%;}
    }

    .menu {width: 470px; height: 470px;}
    .menu-toggler {width: 250px; height: 250px;}
    .menu-toggler + label {width: 250px; height: 250px;}
    .menu-toggler:checked ~ ul .menu-item:nth-child(1) {
        transform: rotate(0deg) translateX(-182px);
    }
    .menu-toggler:checked ~ ul .menu-item:nth-child(2) {
        transform: rotate(60deg) translateX(-182px);
    }
    .menu-toggler:checked ~ ul .menu-item:nth-child(3) {
        transform: rotate(120deg) translateX(-182px);
    }
    .menu-toggler:checked ~ ul .menu-item:nth-child(4) {
        transform: rotate(180deg) translateX(-182px);
    }
    .menu-toggler:checked ~ ul .menu-item:nth-child(5) {
        transform: rotate(240deg) translateX(-182px);
    }
    .menu-toggler:checked ~ ul .menu-item:nth-child(6) {
        transform: rotate(300deg) translateX(-182px);
    }
    .menu-item {width: 76px; height: 76px;}
    .menu-item a {font-size: 40px; line-height: 76px;}
}
/* Extra large devices (large laptops and desktops, 1600px and up) */
@media only screen and (min-width: 100em) {
    @keyframes animate {
        0%{transform: translateY(0) rotate(0deg); opacity: 0.2; border-radius: 0;}
        100%{transform: translateY(-2000px) rotate(720deg); opacity: 0; border-radius: 50%;}
    }

    .menu {width: 640px; height: 640px;}
    .menu-toggler {width: 300px; height: 300px;}
    .menu-toggler + label {width: 300px; height: 300px;}
    .menu-toggler:checked ~ ul .menu-item:nth-child(1) {
        transform: rotate(0deg) translateX(-230px);
    }
    .menu-toggler:checked ~ ul .menu-item:nth-child(2) {
        transform: rotate(60deg) translateX(-230px);
    }
    .menu-toggler:checked ~ ul .menu-item:nth-child(3) {
        transform: rotate(120deg) translateX(-230px);
    }
    .menu-toggler:checked ~ ul .menu-item:nth-child(4) {
        transform: rotate(180deg) translateX(-230px);
    }
    .menu-toggler:checked ~ ul .menu-item:nth-child(5) {
        transform: rotate(240deg) translateX(-230px);
    }
    .menu-toggler:checked ~ ul .menu-item:nth-child(6) {
        transform: rotate(300deg) translateX(-230px);
    }
    .menu-item {width: 130px; height: 130px;}
    .menu-item a {font-size: 75px; line-height: 130px;}
}