
body {
  height: 100vh
}

main {
  font-family: 'Kanit', sans-serif;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Kanit', sans-serif;
}

body{
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url(pozadina.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}

.imgContainer{
    object-fit:fill;
}

#smbklogo{
    padding: 5px;
    box-shadow:
	inset #000000 0 0 0 1px, 
    inset #303030 0 0 0 2px, 
    inset #5e5e5e 0 0 0 3px, 
    inset #777777 0 0 0 4px, 
    inset #a0a0a0 0 0 0 5px, 
    inset #d7d7d7 0 0 0 6px, 
    inset #ededed 0 0 0 7px, 
    inset #ffffff 0 0 0 8px;
}

.container{
    transform-style: preserve-3d;
}

.container .box{
    position: relative;
    width: 500px;
    height: 300px;
    /* margin: 20px; */
    transform-style: preserve-3d;
    perspective: 1000px;
    cursor: pointer;
}

.container .box .body{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: 0.9s ease;
}

.container .box .body .imgContainer{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    background: white;
}

.imgContainer img{
    height: 100%;
    object-fit: contain;

}

@media only screen and (max-width: 768px) {
    .fs-6 {
        font-size: 0.9rem !important;
    }
  }


/* 
.container .box .body .imgContainer img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
} */

.container .box .body .content{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #333;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform-style: preserve-3d;
    transform: rotateY(180deg);
}

.container .box:hover .body{
    transform: rotateY(180deg);
}

.container .box .body .content div{
    transform-style: preserve-3d;
    padding: 30px;
    /* margin-top: 9px; */
    background: linear-gradient(45deg, #1f1f1f,#a5a4a4);
    transform: translateZ(100px);
}

.container .box .body .content div h3{
    letter-spacing: 1px;
}

