html{
    scroll-behavior: smooth;
}
body{
    background: url("pozadina.jpg") no-repeat top right fixed;
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    color:white;
    overscroll-behavior: contain;
}

.container1{
    width: 95%;
    margin: auto;
}
.container{
    background-color: rgba(112, 112, 112, 0.384);
    border-radius: 25px;
}
.profile-info-panel{
    border-radius: 25px;
    background-color: rgba(29, 29, 29, 0.384);
}
#collapse_button{
    color:white;
}

#background-picker img{
    width: 40px;
    height: 30px;
    cursor: pointer;
    border-radius: 5px;
    box-shadow: 0px 0px 10px white;
}
#background-picker img:hover{
    box-shadow: 0px 0px 20px white;
    transition: 0.5s;
}
#clock{
    font-size: 20px;
    color: rgb(216, 216, 216);
}
#scroll-to-the-top{
    padding:7px 10px 7px 10px;
    color:white;
    position: fixed;
    top:90%;
    background-color: rgb(29, 29, 29);
    border:none;
    border-radius: 10px;
    outline:none;
}
#scroll-to-the-top:hover{
    background-color: rgba(112, 112, 112, 0.384);
}
#scroll-to-the-top:active{
    background-color: rgba(29, 29, 29, 0.384);
}
.active-background{
    box-shadow: 0px 0px 20px white;
}
.header-acc-panel a{
    color: white;
    margin-right: 10px;
    text-decoration: none;
}
.header-acc-panel a:hover{
    text-shadow: 0px 5px 5px white;
}

.navbar-brand{
    color:white;
    text-shadow: 0px 0px 20px white;
}
#brand{
    font-size: 32px;
}

.navbar-brand p{
    font-size: 15px;
}
.navbar-brand:hover{
    color:rgb(13, 13, 209);
    transition: 0.5s;
}


.profile img{
    max-width: 100%;
    margin: 20px;
    border-radius: 15px;
}
.profile p{
    margin-bottom: 2px;
    padding-left: 10px;
    padding-right: 10px;
}
.status-bar{
    border-radius: 15px;
    background-color:rgb(194, 194, 194);
    height: 10px;
    margin-bottom: 20px;
}
.progress-bar{
    border-radius: 15px;
    background-color: rgb(29, 29, 161);
    height: 10px;
}

.cards{
    max-width: 90%;
    margin:auto;
    text-align: center;
    border-radius:15px;
    padding: 10px;
    margin-bottom: 20px;
    background-color: rgba(29, 29, 29, 0.384);

}

.cards img{
    margin:0;
    max-height: 180px;
    opacity: 0.9;
    border-radius: 15px;
    
}

.cards img:hover{
    box-shadow: 0px 0px 20px white;
    opacity: 1;
    transition: 0.5s;
    
}
.cards a{
    color:red;
}

.cards h5{
    margin-top: 10px;
    margin-bottom: 15px;
}

footer p{
   padding-top: 5px;
   padding-right: 5px;
   margin-bottom: 0;
   color: grey;


}

/* ======================= */
/* CALCULATOR */
/* ======================= */

.calculator{
    box-shadow: 0px 0px 10px white;
    border-radius: 15px;
    margin:50px 0;
    padding:50px 0;
    background-color:rgba(255, 255, 255, 0.116);
}

.result{
    background-color:white;
    color:black;
    text-align: end;
    padding-right: 5px;
    width: 90%;
    height: 40px;
    opacity: 0.9;
    border-radius: 5px;
}

.buttons{
    margin-top:20px;
    
}

.buttons button{
    padding:3px 2px;
    margin:5px;
    width: 50px;
    border-radius: 5px;
    border:none
}
.buttons button:hover{
    background-color: rgb(161, 161, 161);
    border:none;
}

.clicked{
    background-color: grey;
    border:none;
    box-shadow: 0px 0px 5px white;
}


/* SNAKE GAME */

.snake-canvas{
    border-radius: 5px;
    margin-top:0px
}


.snake-game img{
    padding-bottom: 10px;
    height:45px ;
    margin:auto 0;
}
#score{
    padding:0;
    color: red;
    text-shadow: 0px 0px 20px white;
    font-size: 45px;
    font-weight: 700;
}

.snake-body{
    touch-action: none;
}

#snake{
    border:none;
    background-image: url(../images/Plazica2.png);
    background-size: cover;
    border-radius: 15px;
    box-shadow: 0px 0px 10px white;
}

.img_snake{
    display: none;
}

.snake-button-img{
max-height: 20px;
}


/* BRICKS GAME */
#bricks{
    background-color: white;
    border:1px solid black;
}
.img_bricks{
    display: none;
}

/* FIND PAIR */
.find-pair-body{
    width: 90%;
    margin:auto;
}
.find-pair-card{
    margin-bottom: 20px;
    max-width: 120px;
    background-color: transparent;
    border:none;
    border-radius: 10px;
    outline:none;
    width: 100%;
}
.find-pair-card:focus{
    outline:none;
}
.find-pair-card:hover{
    outline:solid 1px grey;
}
.find-pair-card img{
max-width: 100%;
max-height: 120px;
border-radius: 15px;
}





@media only screen and (max-width: 600px) {
    #scroll-to-the-top{
        padding:2px 5px 2px 5px;
        left:1%;
    }
  }

@media only screen and (max-width: 992px) {
    p{
        font-size: 12px;
    }
  }

