body {
    background-image: url("../images/background.jpg");
    min-height: 60vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}
#mainBody {
    background-image: url("../images/backgroundV2.jpg");
    min-height: 60vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

#header {
    text-align: center;
}
#headerimage {
    margin-left: auto;
    margin-right: auto;

}
#body2 {
    margin-top: 20px;
}
#body3 {
    margin-top: 1rem;
}
#footer2 {
    margin-top: 2rem;
}
.card {
    border: 7px solid white!important;
}
#fullscreen {
    display: none;
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: white;
}
.main-content{
    height: 400px;
}
.main-content2 {
    height: 20%;
}
.loptice {
    margin: auto;
}
.lopte {
    margin: auto;
}
@media (min-width: 501px) and (max-width: 750px) {
    #headerimage {
        max-width: 30%;
    }
    .loptice {
        margin-bottom: 20px;
        width: 70%;
        margin-left: auto;
        margin-right: auto;

    }
    .lopte {
        margin-bottom: 20px;
        width: 70%;
        margin-left: auto;
        margin-right: auto;

    }
    #footer {
        padding-top: 6%;
    }
    #header {
        margin-bottom: 20px;
    }
    .main-content {
        height: 100%;
    }
    .slova {
        font-size: 0.9rem!important;
    }
    .slova2 {
        font-size: 0.7rem!important;
    }
    td {
        font-size: 0.6rem!important;
    }
    .naslov {
        font-size: 1.2rem!important;
    }
    .btn {
        padding: 0!important;
    }
    .card-body {
        padding: 0!important;
    }
}
@media (max-width: 500px) {
    #headerimage {
        max-width: 50%;
    }
    .loptice {
        margin: 20px;
    }
    .lopte {
        margin: 20px;
    }
    #body {
        height: 60vh;
    }
    .main-content2 {
        height: 500px;
    }
    .main-content3 {
        height: 400px;
    }
    .details {
        margin-left: auto;
        margin-right: auto;
        width: 60%;!important;
    }
    #footer {
        padding-top: 5%;
    }
    .kartaboja {
        width: 20%;
        height: 20%;
    }
    .slova2 {
        font-size: 0.9rem!important;
    }
    .slova {
        font-size: 1.2rem!important;
    }
    td {
        font-size: 0.8rem!important;
    }
    .btn {
        padding: 0!important;
    }
    .card-body {
        padding: 0!important;
    }
    .naslov {
        font-size: 1.7rem!important;
    }
}
@media (max-height: 570px) and (max-width: 400px) {
    #body {
        height: 90vh;
    }
}
@media (max-height: 740px) and (max-width: 400px) {
    #body {
        height: 75vh;
    }
}
@media (min-width: 751px) and (max-width: 900px) {
    .slova {
        font-size: 0.8rem!important;
    }
    .slova2 {
        font-size: 0.7rem!important;
    }
    td {
        font-size: 0.6rem!important;
    }
    .card-body {
        padding: 0!important;
    }
    .naslov {
        font-size: 1.2rem!important;
    }
}

@media (min-width: 901px) and (max-width: 1000px) {
    .slova {
        font-size: 0.9rem!important;
    }
    .slova2 {
        font-size: 0.8rem!important;
    }
    td {
        font-size: 0.7rem!important;
    }
    .naslov {
        font-size: 1.3rem!important;
    }
}
@media (min-width: 1001px) and (max-width: 1100px) {
    .slova {
        font-size: 0.9rem!important;
    }
    .slova2 {
        font-size: 0.7rem!important;
    }
    td {
        font-size: 0.6rem!important;
    }
    .naslov {
        font-size: 1.4rem!important;
    }
}
@media (min-width: 1101px) and (max-width: 1199px) {
    .slova {
        font-size: 1.0rem!important;
    }
    .slova2 {
        font-size: 0.8rem!important;
    }
    td {
        font-size: 0.7rem!important;
    }
    .naslov {
        font-size: 1.4rem!important;
    }
}
@media (min-width: 751px) and (max-width: 1299px) {
    .main-content{
        display: flex;
        justify-content: space-between;
        height: 250px;
    }
    #headerimage {
        max-width: 20%;
    }
    .main-content2 {
        display: flex;
        justify-content: space-between;
    }
    .main-content3 {
        display: flex;
        justify-content: space-around;
    }
    .main-content4 {
        display: flex;
        justify-content: space-evenly;
    }
    .loptice {
        width: 25%;
        margin: 5px;
    }
    .lopte {
        width: 30%;
        margin: 5px;
    }
    #footer {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1030;
        margin-top: 2rem;
    }
    .lead {
        font-size: 1.0rem!important;
    }
    .btn {
        padding: .100rem .50rem!important;
    }
    .card-body {
        padding: 0!important;
    }
}
@media (min-width: 992px) and (max-width: 1299px) {
    #headerimage {
        max-width: 15%;
    }
    .btn {
        padding: .150rem .60rem!important;
    }
}
@media (min-width: 1300px) {
    .main-content{
        display: flex;
        justify-content: space-between;
        height: 250px;
    }
    .main-content2 {
        display: flex;
        justify-content: space-between;
    }
    .main-content3 {
        display: flex;
        justify-content: space-around;
    }
    .main-content4 {
        display: flex;
        justify-content: space-evenly;
    }
    .loptice {
        width: 25%;
        margin: 10px;
    }
    .lopte {
        width: 30%;
        margin: 3px;
    }
    #footer {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1030;
    }
    #body {
        height: 50vh;
    }
    .details {
        margin-left: auto;
        margin-right: auto;
    }
    .dugme {
        width: 20%;
    }
    .kartaboja {
        height: 20%;
        width: 10%;
    }
}
@media (min-width: 1700px) {
    .main-content{
        height: 400px;
    }
}
@media (min-width: 1300px) and (max-width: 1700px) {
    .slova {
        font-size: 1.0rem!important;
    }
    .slova2 {
        font-size: 0.9rem!important;
    }
    td {
        font-size: 0.8rem!important;
    }
    .naslov {
        font-size: 1.6rem!important;
    }
}
@media (min-width: 1201px) and (max-width: 1299px) {
    .slova {
        font-size: 0.9rem!important;
    }
    .slova2 {
        font-size: 0.8rem!important;
    }
    td {
        font-size: 0.7rem!important;
    }
    .naslov {
        font-size: 1.5rem!important;
    }
}