/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : Apr 8, 2020, 8:20:41 PM
    Author     : Sasa
*/
@font-face {
    font-family: palace;
    src: url(PalaceScriptMT.ttf);
}html{
    overflow: visible;
    animation-name:overflow;
    animation-duration:2s;
    animation-fill-mode:forwards;
    animation-delay: 7s;
    
    -webkit-overflow: hidden;
    -webkit-animation-name:overflow;
    -webkit-animation-duration:2s;
    -webkit-animation-fill-mode:forwards;
    -webkit-animation-delay: 7s;
    
    -ms-overflow: hidden;
    -ms-animation-name:overflow;
    -ms-animation-duration:2s;
    -ms-animation-fill-mode:forwards;
    -ms-animation-delay: 7s;
    
    -moz-overflow: hidden;
    -moz-animation-name:overflow;
    -moz-animation-duration:2s;
    -moz-animation-fill-mode:forwards;
    -moz-animation-delay: 7s;
    
    -o-overflow: hidden;
    -o-animation-name:overflow;
    -o-animation-duration:2s;
    -o-animation-fill-mode:forwards;
    -o-animation-delay: 7s;
    
    
}
@keyframes overflow{
    0%{
    
        overflow: hidden;
        
        
    }
    100%{

        overflow: visible;
        
    }
}
#pocetna{
    
    background-color:rgba(0,0,0,0.95);
    animation-name:opacity;
    animation-duration:2s;
    animation-fill-mode:forwards;
    animation-delay: 5s;
    
    -webkit-animation-name:opacity;
    -webkit-animation-duration:2s;
    -webkit-animation-fill-mode:forwards;
    
    -ms-animation-name:opacity;
    -ms-animation-duration:2s;
    -ms-animation-fill-mode:forwards;
    
    -moz-animation-name:opacity;
    -moz-animation-duration:2s;
    -moz-animation-fill-mode:forwards;
    
    -o-animation-name:opacity;
    -o-animation-duration:2s;
    -o-animation-fill-mode:forwards
}
@keyframes opacity{
    100%{

        background-color:rgba(0,0,0,0);
        
    }
}

#sve{

    opacity: 0;
    animation-name: show;
    animation-iteration-count: 1;
    animation-duration: 1s;
    animation-delay: 5s;
    animation-fill-mode: forwards;
    
    -webkit-animation-name: show;
    -webkit-animation-iteration-count: 1;
    -webkit-animation-duration: 3s;
    -webkit-animation-delay: 5s;
    -webkit-animation-fill-mode: forwards;
    
    -ms-animation-name: show;
    -ms-animation-iteration-count: 1;
    -ms-animation-duration: 3s;
    -ms-animation-delay: 5s;
    -ms-animation-fill-mode: forwards;
    
    -o-animation-name: show;
    -o-animation-iteration-count: 1;
    -o-animation-duration: 3s;
    -o-animation-delay: 5s;
    -o-animation-fill-mode: forwards;
}
@keyframes show{
    0%{
        opacity:0;
    }
    100%{
        opacity:1;
    }
}
#wrapper{
    
    display: block;
    opacity: 1;
    width: 800px;
    height: 700px;

    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    
    animation-name: display;
    animation-delay: 4s;
    animation-iteration-count: 1;
    animation-duration: 2s;
    animation-fill-mode: forwards;
    
    -webkit-animation-name: display;
    -webkit-animation-delay: 4s;
    -webkit-animation-iteration-count: 1;
    -webkit-animation-duration: 2s;
    -webkit-animation-fill-mode: forwards;
    
    -ms-animation-name: display;
    -ms-animation-delay: 4s;
    -ms-animation-iteration-count: 1;
    -ms-animation-duration: 2s;
    -ms-animation-fill-mode: forwards;
    
    -moz-animation-name: display;
    -moz-animation-delay: 4s;
    -moz-animation-iteration-count: 1;
    -moz-animation-duration: 2s;
    -moz-animation-fill-mode: forwards;
    
    -o-animation-name: display;
    -o-animation-delay: 4s;
    -o-animation-iteration-count: 1;
    -o-animation-duration: 2s;
    -o-animation-fill-mode: forwards;

}
@keyframes display{
    100%{
        opacity: 0;
    }
}

#u h1{
    margin: 0;
    padding-left: 20px;
    font-family: palace;
    font-size: 35em;
    color: rgba(139,0,0,.1);
    background-image: url(slike/color.png);
    background-repeat: repeat-x;
    background-size: 100% 100%;
    background-position-y: 390px;
    -webkit-background-clip: text;

    animation-name: color;
    animation-duration: 3s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    

    -webkit-animation-name: color;
    -webkit-animation-duration: 3s;
    -webkit-animation-iteration-count: 1;
    -webkit-animation-fill-mode: forwards;

    -moz-animation-name: color;
    -moz-animation-duration: 3s;
    -moz-animation-iteration-count: 1;
    -moz-animation-fill-mode: forwards;

    -o-animation-name: color;
    -o-animation-duration: 3s;
    -o-animation-iteration-count: 1;
    -o-animation-fill-mode: forwards;

    -ms-animation-name: color;
    -ms-animation-duration: 3s;
    -ms-animation-iteration-count: 1;
    -ms-animation-fill-mode: forwards;


}

#k h1{
    margin-top: -400px;
    padding-left: 170px;
    font-family: palace;
    font-size: 35em;
    color: rgba(139,0,0,.1);
    background-image: url(slike/color.png);
    background-repeat: repeat-x;
    background-size: 100% 100%;
    background-position-y: 390px;
    -webkit-background-clip: text;

    animation-name: color;
    animation-duration: 3s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    

    -webkit-animation-name: color;
    -webkit-animation-duration: 3s;
    -webkit-animation-iteration-count: 1;
    -webkit-animation-fill-mode: forwards;

    -moz-animation-name: color;
    -moz-animation-duration: 3s;
    -moz-animation-iteration-count: 1;
    -moz-animation-fill-mode: forwards;

    -o-animation-name: color;
    -o-animation-duration: 3s;
    -o-animation-iteration-count: 1;
    -o-animation-fill-mode: forwards;

    -ms-animation-name: color;
    -ms-animation-duration: 3s;
    -ms-animation-iteration-count: 1;
    -ms-animation-fill-mode: forwards;


}

#natpis{
    margin-top: -80px;
    width: 100%;
    text-align: center;

}
#natpis h2{
    font-family: "Lucida Sans", sans-serif;
    font-size: 4rem;
    padding-right: 50px;
    color: transparent;
    background-image: url(slike/color2.png);
    background-repeat: repeat-x;
    background-size: 100% 100%;
    background-position-y: -350px;
    -webkit-background-clip: text;


    animation-name: natpis;
    animation-duration: 3s;
    animation-timing-function: linear;
    animation-delay: 0.4s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;

    -webkit-animation-name: natpis;
    -webkit-animation-duration: 3s;
    -webkit-animation-timing-function: linear;
    -webkit-animation-delay: 0.4s;
    -webkit-animation-iteration-count: 1;
    -webkit-animation-fill-mode: forwards;

    -moz-animation-name: natpis;
    -moz-animation-duration: 3s;
    -moz-animation-timing-function: linear;
    -moz-animation-delay: 0.4s;
    -moz-animation-iteration-count: 1;
    -moz-animation-fill-mode: forwards;

    -o-animation-name: natpis;
    -o-animation-duration: 3s;
    -o-animation-timing-function: linear;
    -o-animation-delay: 0.4s;
    -o-animation-iteration-count: 1;
    -o-animation-fill-mode: forwards;

    -ms-animation-name: natpis;
    -ms-animation-duration: 3s;
    -ms-animation-timing-function: linear;
    -ms-animation-delay: 0.4s;
    -ms-animation-iteration-count: 1;
    -ms-animation-fill-mode: forwards;
}
@keyframes color{
    0%{
        background-position-y: 390px;
    }
    20%{
        background-position-y: 350px;
    }

    80%{
        background-position-y: 0px;

    }
    100%{
        background-position-y: 0px;

    }
}

@keyframes natpis{
    0%{
        background-position-y: -350px;
    }

    100%{
        background-position-y: 0px;

    }

}

@keyframes over{
    100%{

        background-position-y: 0px;
    }
}

@media(max-width:1305px){
    #u h1{
        font-size: 32rem;
        padding-left: 70px;
    }
     #k h1{
        font-size: 32rem;
        margin-top: -350px;
        padding-left: 200px;
        
    }
    #natpis h2{
        font-size: 3.5rem;
        padding-right: 30px;
    }
}

@media(max-width:900px){
    #wrapper{

        width: 500px;
        height: auto;

    }


    #u h1{
        margin: 0;
        padding-left: 10px;
        font-size: 22rem;
    }

    #k h1{
        margin-top: -250px;
        padding-left: 110px;
        padding-right: 0px;
        font-size: 22em;



    }

    @keyframes color{
        0%{
            background-position-y: 250px;
        }
        20%{
            background-position-y: 210px;
        }

        80%{
            background-position-y: 0px;

        }
        100%{
            background-position-y: 0px;

        }
    }


    #natpis{
        margin-top: -60px;

        width: 100%;


    }
    #natpis h2{

        font-size: 2.7rem;


    }
    @keyframes natpis{
        0%{
            background-position-y: -200px;
        }

        100%{
            background-position-y: 0px;

        }

    }
}

@media(max-width:550px){
    #wrapper{



        width: 100%;
        height: auto;
        
        text-align: center;
            
        




    }


    #u h1{
        margin: 0;
        padding-right: 220px;

        font-size: 14rem;



    }

    #k h1{
        margin-top: -160px;
        padding-left: 0px;
        padding-right: 30px;
        font-size: 14em;



    }
    @keyframes color{
        0%{
            background-position-y: 170px;
        }
        20%{
            background-position-y: 130px;
        }

        80%{
            background-position-y: 0px;

        }
        100%{
            background-position-y: 0px;

        }
    }



    #natpis{
        margin-top: -20px;
         
    }
    #natpis h2{
        font-size: 1.8rem;
        animation-duration: 4s;
    }

    @keyframes natpis{
        0%{
            background-position-y: -150px;
        }

        100%{
            background-position-y: 0px;

        }

    }
}