.container {
    
    padding-top: 40px;
    padding-bottom: 10px;
    max-width: 700px;
    

}
#prijavniObrazec {
    width: 80%;
    border-radius: 8px;
    padding-top: 20px;
    padding-bottom: 40px;
}

#prijavniObrazec_U18 {
    width: 80%;
    border-radius: 8px;
    padding-top: 20px;
    padding-bottom: 40px;
}

.input-box {
    width: 100%;
    margin-top: 10px;
}

.input-box input {
    position: relative;
    width: 100%;
    height: 50px;
    padding: 0 10px;
    border-radius: 5px;
    border: 2px solid #ddd;
    margin-top: 5px;
}

.button-poslji {
    width: 100%;
    max-width: 100%;
    margin: 1px auto;
    padding: 10px;
    background-color: rgb(128, 0, 32);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    font-size: 16px;
}

/* Glavna razporeditev v vrstici za računalniške zaslone */
.row {
    display: flex;
    
}

/* Poskrbimo, da bosta Igralec 1 in Igralec 2 ter E-mail in Telefon v isti vrstici */
.col-sm-6 {
    flex: 1 1 48%; /* vsak element v vrstici zasede 48% širine */
}

/* Prekrivni element z nalagalno sliko */
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

#loading img {
    width: 400px;
}
#loading p {
    font-size: 50px;
    color: rgb(128, 0, 32);
}

#loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100px;
    width:100px;
    font-family: sans-serif;
  }

/* ---------------- MOBILNA PRILAGODITEV ---------------- */
@media (max-width: 600px) {
    /* Na telefonih želimo, da so vsi elementi v svoji vrstici */
    .row {
        flex-direction: column; /* zložimo vse elemente v stolpce */
    }

    .col-sm-6 {
        width: 100%; /* vsak element bo vzel 100% širine */
    }

    .button-poslji {
        width: 100%;
    }

    #loading img {
        width: 200px;
    }

    .container {
        max-width: 340px;
    }

    
}
