
html {
    font-size: 12px;
    font-family: tahoma, helvetica, sans-serif;
    background: url("/slike/Casino3.jpg")no-repeat center center fixed;
    background-size: cover;
}

h1 {
    font-size: 1.2rem;
    line-height: 3rem;
}

h2 {
    font-size: 2.5rem;
    line-height: 4rem;
    color: rgb(228, 186, 139);
}

.karta {
    width: 160px;
    height: 235px;
}

#naslovnaSlika {
    display: block;
    margin: auto;
    width: 50%;
}

#dPozdravniEkran {
    margin: auto;
    display: flex;
    flex-direction: row;
    width: 1000px;
    height: 710px;
    border: 1rem solid  rgb(85, 38, 0);
    background: green;
    border-radius: 1.5rem;
    justify-content : center;
}

#dPodaci {
    width: 40%;
}

#dNaslovnaSlika {
    width: 60%;
}

#dPodaci  h2 {
    margin: auto;
    text-align: center;
}

#dPodaci  div {
    width: 52%;
    margin: auto;
    font-size: 1.2rem;
    line-height: 1.5rem;
    color: rgb(228, 186, 139);
}

#dPodaci  button {
    margin: 40px auto;
}

.polje {
    border-radius: 7px;
    border: 2px solid rgb(85, 38, 0);
    background-color: rgb(228, 186, 139);
    box-sizing: border-box;
    padding: 0.5rem;
    color: rgb(85, 38, 0);
    font-size: 1.3rem;
}

#dPodaci p {
    margin: 3px 0;
}

.brojaci {
    padding: 3px 0;
}

.brojaci p:nth-child(1) {
    font-size: 1.2rem;
    color: rgb(85, 38, 0);
    text-align: center;
    /* margin-top: 10px; */
}

.brojaci p:nth-child(2) {
    font-size: 2.1rem;
    font-weight: bold;
    color: rgb(85, 38, 0);
    text-align: center;
    margin: 0.3rem 0;
}

#dInfoIgre {
    font-size: 1.5rem;
    color: rgb(255, 223, 197);
    text-align: center;
    padding-bottom: 1rem;
}

#dHelp {
    margin:  auto;
    margin-top: 10px;
    width: 980px;
    height: 300px;
    padding: 10px;
    border: 1rem solid  rgb(85, 38, 0);
    background: rgb(188, 231, 188);
    border-radius: 1.5rem;
}

#dHelp::-webkit-scrollbar {
    background: rgb(188, 231, 188); 
    border-radius: 5px;
}
#dHelp::-webkit-scrollbar-track-piece {
    border: 1px solid rgb(85, 38, 0); 
    border-radius: 5px;
}
#dHelp::-webkit-scrollbar-thumb {
    background: green; 
    border-radius: 5px;
}

#dHelp p {
    line-height: 1.2rem;
    padding-bottom: 1rem;
}

#dIgra {
    margin: auto;
    display: flex;
    flex-direction: column;
    width: 1000px;
    border: 1rem solid  rgb(85, 38, 0);
    background: green;
    border-radius: 1.5rem;
}

#dStatistikaIgre,
#dTalon,
#dUlog,
#dKontrole {
    display: flex;
    flex-direction: row;
    padding: 0.5rem 0;
}

#dTalonKomp {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    flex: 1 1 0;
    padding: 1.5rem 0;
    border-top: 1px solid rgb(85, 38, 0);
    border-bottom: 1px solid rgb(85, 38, 0);
    border-right: 1px solid rgb(85, 38, 0);
}

#dTalonIgrac {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    flex: 1 1 0; /* Obezbeđuje da su prostori za karte za dStoSplit1 i dStoSplit2 jednaki */
    padding: 1.5rem 0;
    border-top: 1px solid rgb(85, 38, 0);
    border-bottom: 1px solid rgb(85, 38, 0);
}

#dTalonSplit1,
#dTalonSplit2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* justify-content: center; */
    margin: 0 10px;
}

/* #dStoSplit2 {
    display: none;
} */

#dStatistikaIgre > * {
    flex: 1 1 0;
}

#dZbirKomp, #dZbirSplit1, #dZbirSplit2 {
    margin-bottom: 1rem;
}

#dZetoni {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 3 1 0;
    padding-bottom: 0.5rem;
}

#dIznosUloga {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: 0.5rem;
}

.zeton {
    background: transparent url(/slike/MojaSlika50x50.png) no-repeat;
    font-size: 1.3rem;
    font-weight: bold;
    color: gold;
    height: 5rem;
    width: 5rem;
    margin: 0 2rem;
    border-radius: 50%;
    border: 5px solid red;
}

.zeton:hover {
    border-color: rgb(255, 223, 197);
}

#dIznosUloga {
    flex: 1 1 0;
}

#dKontrole {
    justify-content: center;
    
    text-align: center;
    border-top: 1px solid  rgb(85, 38, 0);
}

.dugme {
    font-size: 1.5rem;
    color: rgb(255, 223, 197);
    width: 7.5rem;
    height: 4rem;
    margin: 0 2rem;
    border-radius: 1.2rem;
    border: 3px solid  rgb(85, 38, 0);
    background: green;
}

.dugme:hover {
    border-color: rgb(255, 223, 197); 
}

#dTalon img {
    animation: fadein 3s;
}

@keyframes fadein {
    from {
        opacity: 0.8;
    }
    to {
        opacity: 1;
    }
}

@media (max-width: 1100px) {
    
    html {
        background: url("/slike/Casinomobilni.jpg") repeat;
    }

    h2 {
        font-size: 5rem;
        line-height: 10rem;
        color: rgb(85, 38, 0)
    }

    #dHelp {
        height: 600px;
    }

    #dPozdravniEkran {
        flex-direction: column;
        height: 1500px;
    }

    #dPodaci, #dNaslovnaSlika {
        width: 100%;
        
    }
    
    #dPodaci  h2 {
        margin: auto;
        text-align: center;
    }
    
    #dPodaci  div {
        width: 65%;
        margin: auto;
        font-size: 3rem;
        line-height: 3.5rem;
        color: rgb(85, 38, 0);
    }
    
    #dPodaci  button {
        margin: 60px auto;
    }
    
    .polje {
        border-radius: 7px;
        border: 2px solid rgb(85, 38, 0);
        background-color: rgb(188, 231, 188);
        box-sizing: border-box;
        padding: 0.5rem;
        color: rgb(85, 38, 0);
        font-size: 4rem;
    }
    
    #dPodaci p {
        margin: 3px 0;
    }

    #dInfoIgre {
        font-size: 4rem;
        color: rgb(136, 204, 136);
        text-align: center;
        padding: 10px 5px;
    }

    .brojaci p:nth-child(1) {
        font-size: 3.5rem;
    }
    
    .brojaci p:nth-child(2) {
        font-size: 4.5rem;
    }

    #dZbirKomp, #dZbirSplit1, #dZbirSplit2 {
        margin-bottom: 2rem;
    }
    
    #dTalon {
        flex-direction: column;
    }

    #dTalon img {
        transform: scale(1.2);
    }

    #dTalonKomp {
        flex: 1 1 auto;
        padding-bottom: 3.3rem;
    }

    #dTalonIgrac {
        flex: 1 1 auto;
        
    } 
    #dTalonSplit1, #dTalonSplit2 {
        padding-bottom: 2rem;
    }

    .zeton {
        background: transparent url(/slike/MojaSlika100x100.png) repeat;
        font-size: 3rem;
        height: 10rem;
        width: 10rem;
        margin: 0 1rem;
    }
    #dKontrole {
        padding: 1rem 0;
    }
    .dugme {
        font-size: 3rem;
        width: 14rem;
        height: 8rem;
        margin: auto;
    }
    
}