body {
    background-image: url(background-desktop.png);
    position: relative;
}

#slika1 {
    position: relative;
    margin: 20px auto;
    width: 10%;
}

.pre {
    position: relative;
    margin: 20px auto;
    width: 50%;
    color: white;
}

.pre h1 {
    color: white;
    margin: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pre p {
    color: grey;
    margin: 20px;
    font-size: large;
    display: flex;
    justify-content: center;
}

input[type="file"] {
  display: none;
}

.custom-file-upload {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 10px 20px;
  color: white;
  border-radius: 5px;
  border-style: dashed;
  border-width: 1px;
  margin: 20px;
  margin-top: 0;
}

.custom-file-upload img {
    width: 30px;
    height: 30px;
    border: 1px;
    border-radius: 5px;
    border-style: solid;
    margin-left: 300px;
    margin-bottom: 5px;
    margin-top: 0;
}

form input, .custom-file-upload {
    background-color: #312164;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.5);
}

#info {
    display: flex;
    color: grey;
    font-size: smaller;
    margin: 20px;
    margin-top: 0;
}

form {
    display: flex;
    flex-direction: column;
    margin: 20px;
}

.pre form p{
    color: white;
    justify-content: flex-start;
}

form input {
    margin: 20px;
    margin-top: 5px;
    margin-bottom: 5px;
    height: 40px;
    border-radius: 5%;
}

form input:focus, form #submit:focus, .custom-file-upload:focus {
    border-width: 2px;
    border-color: white;
}

form input:hover, form #submit:hover, .custom-file-upload:hover {
    background-color: #6e58b7;
    cursor: pointer;
}

form #submit {
    color: blue;
    background-color: orange;
    border-radius: 5%;
    height: 40px;
    margin: 20px;
    font-weight: bold;
}

#info2 {
    color: red;
    margin-left: 20px;
    display: none;
}

#downP {
    display: none;
}

#dd {
    display: flex;
    justify-content: center;
}

#remove {
    text-decoration: underline;
}

#remove, #change {
    color: grey;
    border-radius: 5%;
    background-color: #6e58b7;
    margin: 5px;
    padding: 5px;
}

#karta {
    position: relative;
    display: none;
    justify-content: center;
    align-items: center;
    background-image: url(pattern-ticket.svg);
    background-repeat: no-repeat;
    background-position: center;
    height: 400px;
    color: grey;
}

#karta #a {
    position: absolute;
    top: 75px;
    left: 450px;
}

#karta #b {
    position: absolute;
    display: flex;
    top: 250px;
    left: 450px;
}

#b #drugi {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: 70px;
    top: -35px;
}


#b #prvi img {
    width: 50px;
    height: 50px;
    position: absolute;
    top: 5px;
}

#lines {
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    margin: 0;
}

#top {
    position: absolute;
    top: 0;
    right: 0;
    z-index: -1;
}

#leftB {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: -1;
}

#circle {
    position: absolute;
    top: -150px;
    left: 0;
    z-index: -1;
}

@media screen and (max-width: 750px) {
    .pre {
        width: 90vw;
    }
    #slika1 {
        position: relative;
        margin-left: 100px;
    }
    .custom-file-upload img {
        margin-left: 125px;
    }
    #karta{
        width: 80vw;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        margin: auto;
    }
    #karta #a {
        top: 120px;
        left: 5px;
    }
    #karta #b {
        left: 5px;
        top: 200px;
    }
}