body {
    background-color: rgb(0, 39, 39);
    display: grid;
    overflow: hidden;
}

a {
    margin-left: auto; margin-right: auto; 
}

.banner {
    border: solid #faebd7 1vh;
    margin-left: auto; margin-right: auto;    
    margin-top: 2vh;
    height: 20vh;
    width: 70vh;
    border-radius: 3%/10%;
}

#uporabnik {
    background-color: #faebd7;
    position: absolute;
    height: 6vh;
    width: 30vh;
    top: 3vh;
    right: 11vh;
    border-radius: 6%/30%;
    border: rgb(0, 99, 99) solid 0.5vh;
    display: none;
}

#uporabnikField {
    color: rgb(0, 65, 65);
    font-size: 1.7em;
    font-family: sans-serif;
    font-weight: bold;
    margin: auto;
}

#logout {
    background-color: #ff5555;
    position: absolute;
    height: 7vh;
    width: 7vh;
    top: -2vh;
    right: 3vh;
    border-radius: 7%;
    border: rgb(0, 99, 99) solid 0.5vh;
    display: none;
    background-image: url("slike/logout.webp");
    background-size: contain;
}

#logout:hover {
    background-color: #7e2b2b;
}

button {
    margin-top: 5vh;
}

#leaderBoard {
    background-color: #faebd7;
    position: absolute;
    height: 10vh;
    width: 10vh;
    top: -2vh;
    left: 4vh;
    background-image: url("indexslike/leaderboard.webp");
    background-size: contain;
    border-radius: 10%;
    border: rgb(0, 99, 99) solid 0.5vh;
    
}

#leaderBoard:hover {
    background-color: #aaa6a0;
}

#play {
    height: 15vh;
    width: 40vh;
    border-radius: 10%/25%;
    background-color: rgb(97, 252, 223) ;
    font-size: 8vh;
    color: rgb(0, 12, 12);
}

#play:hover {
    background-color: #00695a;
    color: #faebd7 ;
}

#login {
    height: 15vh;
    width: 30vh;
    border-radius: 10%/20%;
    background-color: rgb(3, 155, 127) ;
    font-size: 6vh;
    color: #faebd7;
}

#login:hover {
    background-color: #14584e;
}

#signup {
    height: 15vh;
    width: 30vh;
    border-radius: 10%/20%;
    background-color: rgb(0, 99, 81) ;
    color:#faebd7;
    font-size: 6vh;
}

#signup:hover {
    background-color: #005245;
}

#navodila {
    background-color: #faebd7;
    position: absolute;
    height: 8vh;
    width: 20vh;
    bottom: 4vh;
    left: 4vh;
    background-size: contain;
    border-radius: 6%/12%;
    border: rgb(0, 99, 99) solid 0.5vh;
    color: rgb(0, 65, 65);
    font-size: 2vh;
}

#navodila:hover {
    background-color: #aaa6a0;
}

#credits {
    background-color: #faebd7;
    position: absolute;
    height: 6vh;
    width: 14vh;
    bottom: 4vh;
    left: 25vh;
    background-size: contain;
    border-radius: 6%/12%;
    border: rgb(0, 99, 99) solid 0.5vh;
    color: rgb(0, 65, 65);
    font-size: 2vh;
}

#credits:hover {
    background-color: #aaa6a0;
}

p {
    margin-bottom: -2vh;
    text-align: center;
    color: rgb(217, 255, 252);
    font-size: 1.4em
}

.container {
    z-index: -1;
    width: 100%;
    height: 100%;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 80px;
    animation: zooming 10s ease-in-out infinite;
}

.frame {
    width: 180vh;
    height: 180vh;
    position: absolute;
    border-radius: 50px;
    border:  5px rgb(176, 255, 255) solid;
    box-shadow: 0px 0px 20px rgb(0, 136, 125),
    inset 0px 0px 20px rgb(0, 136, 125),
    0px 0px 60px rgb(0, 255, 234),
    inset 0px 0px 60px rgb(0, 255, 234);
    filter: brightness(1.5) contrast(2);
    animation: breathing 3s ease-out infinite;
}

.frame:nth-child(1) {
    transform: rotate(45deg) translateZ(0px);
    opacity: 1.00;
    animation-delay: 0.1s;
}

.frame:nth-child(2) {
    transform: rotate(45deg)  translateZ(-10px);
    opacity: 0.9;
    animation-delay: 0.3s;
}

.frame:nth-child(3) {
    transform: rotate(45deg)  translateZ(-20px);
    opacity: 0.8;
    animation-delay: 0.5s;
}

.frame:nth-child(4) {
    transform: rotate(45deg)  translateZ(-30px);
    opacity: 0.6;
    animation-delay: 0.7s;
}

.frame:nth-child(5) {
    transform: rotate(45deg)  translateZ(-40px);
    opacity: 0.4;
    animation-delay: 0.9s;
}

.frame:nth-child(6) {
    transform: rotate(45deg)  translateZ(-50px);
    opacity: 0.2;
    animation-delay: 1.1s;
}

@keyframes breathing {
    0% {filter: brightness(1.5) contrast(3);}
    50% {filter: brightness(1) contrast(2);}
    100% {filter: brightness(0.8) contrast(1);}
}

@keyframes zooming {
    0% {perspective: 45px;}
    50% {perspective: 50px;}
    100% {perspective: 45px;}
}

audio{
    display: none;
}