/*--------- colors -------*/
:root {
    --gold: #ffc000;
    --gold-light: #ffe28a;
    --gold-2: #eca660;
    --white: rgb(241, 237, 237);
    --light-grey: rgb(173, 173, 173);
    --black: rgb(0, 0, 0);
    --dark-violet: #241849;
    --dark-blue: #0b002b;
    --light-violet: #612691;
    
}



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

html {
    scroll-behavior: smooth;
    
}

body {
    background-color: var(--black);
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

html {
    scroll-behavior: smooth;
    
}

/* SCROLLBAR */

::-webkit-scrollbar {
    display: none;
    
}

/*PRELOADER*/

.loader-container {
    width: 100%;
    height: 100vh;
    background-color: #241849;
    position: fixed;
    display: flex;
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid;
    color: var(--gold-2);
    border-radius: 50%;
    border-top-color: transparent ;
    animation: loader 1.2s linear infinite;
}

@keyframes loader {
    25%{
        color: #2c1d58;
    }
    50%{
        color: #03197c;
    }
    75%{
        color: #800360;
    }
    to{
        transform: rotate(360deg);
    }
}


/*PARTICLES BG*/

#bg {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: -1;
}


/*3D KOLOTOČ*/
.box {
    position: relative;
    width: 200px;
    height: 275px;
    transform-style: preserve-3d;
    animation: animate 35s linear infinite;
}

.box span {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-origin: center;
    transform-style: preserve-3d;
    transform: rotateY(calc(var(--i) * 45deg)) translateZ(400px);
    -webkit-box-reflect: below 0px linear-gradient(transparent,transparent,#0004) ;
}



.box span img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.box span img:hover {
    transform: translateZ(30px) scale(1.2);
    cursor: pointer;
}

@keyframes animate {
    0% {
        transform: perspective(1000px) rotateY(0deg);
    }
    100% {
        transform: perspective(1000px) rotateY(360deg);
    }
}