body {
    margin: 0;
    padding: 0;
    overflow: hidden;
}
.okvir {
    background: url(../img/bg.jpg) no-repeat;
    background-size: 100vw 93vh;

}

.tabla {
    position: relative;
    top: 10vh;
    left: 10vw;
    width: 15vw;
}

.piratka {
    position: absolute;
    bottom: 0;
    right: 5vw;
    width: 30vw;
    height: 80vh;
    z-index: 1;
}


.wrapper {
    position: absolute;
    display: flex;
    width: 100vw;
    height: 88vh;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    perspective: 600px;
}

.outer {
    position: absolute;
    top: 5vh;
    background: repeating-radial-gradient(rgba(0, 1, 1, 1) 0%,        
    rgba(0, 24, 51, 0.8) 1%,        
    rgba(32, 71, 138, 1) 5%,        
    rgba(0, 24, 51, 1) 15%, 
    rgba(0, 0, 0, 1) 17%);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40vmin;
    height: 40vmin;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
}

.inner {
    display: flex;
    color: white;
    align-items: center;
    justify-content: center;
    align-content: center;
    background-blend-mode: multiply;
    width: 40vmin;
    height: 40vmin;
    margin: auto auto;
    perspective: 800px;
    transform-style: preserve-3d;
    z-index: 300;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    animation: none;
    -webkit-animation: none;
}

#render {
    display: flex;
    align-self: center;
    margin: 0 auto;
    position: absolute;
    top: 5vmin;
    left: 5vmin;
    width: 30vmin;
    height: 30vmin;
    border: 2px solid black;
    opacity: 0;
    z-index: -1;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    transform: scale(1.7);
    -webkit-transform: scale(1.7);
    -moz-transform: scale(1.7);
    -ms-transform: scale(1.7);
    -o-transform: scale(1.7);
}

.iris {
    background: #527297;
    cursor: pointer;
    position: relative;
    margin: 0 auto;
    width: 31vmin;
    height: 31vmin;
    overflow: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transition: box-shadow 2s ease-in-out;
    -webkit-transition: box-shadow 2s ease-in-out;
    -moz-transition: box-shadow 2s ease-in-out;
    -ms-transition: box-shadow 2s ease-in-out;
    -o-transition: box-shadow 2s ease-in-out;
    border-radius: 100%;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    -ms-border-radius: 100%;
    -o-border-radius: 100%;
}


.iris:before,
.iris:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: inherit;
    height: inherit;
    box-shadow: inset 34.9vmin 0 0 hsla(225, 17%, 5%, 0.8), 
    inset 0 34.9vmin 0 hsla(225, 17%, 5%, 0.8), 
    inset -34.9vmin 0 0 hsla(225, 17%, 5%, 0.8), 
    inset 0 -34.9vmin hsla(225, 17%, 5%, 0.8);
    transition: box-shadow 2s;
    -webkit-transition: box-shadow 2s;
    -moz-transition: box-shadow 2s;
    -ms-transition: box-shadow 2s;
    -o-transition: box-shadow 2s;
    border-radius: 100%;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    -ms-border-radius: 100%;
    -o-border-radius: 100%;
}

.iris:after {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
}

.irison:before,
.irison:after {
    box-shadow: inset 0 0 0 hsla(223, 14%, 26%, 0.2), 
    inset 0 0 0 hsla(223, 14%, 26%, 0.2), 
    inset 0 0 0 hsla(223, 14%, 26%, 0.2), 
    inset 0 0 hsla(223, 14%, 26%, 0.2);
    border-radius: 33.3333%;
    -webkit-border-radius: 33.3333%;
    -moz-border-radius: 33.3333%;
    -ms-border-radius: 33.3333%;
    -o-border-radius: 33.3333%;
}

.irison>#render {
    opacity: 1;
}