body {
background-image: url("./resources/bg.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    }
    
    .levelcard {
    display: block;
    position: relative;
    background: rgba(255, 255, 255, 0.2); /* background */
  backdrop-filter: blur(5px); /* blurs the content behind this element */
  -webkit-backdrop-filter: blur(5px);
    width: 75%;
    height: 16rem;
    margin: 0 auto;
    font-family: "Ubuntu", sans-serif;
    border-radius: 10px;
    }
    
    .levelinfodiv .img {
        width: 50%;
        height: 10rem;
        border-radius: 10px;
        margin-left: 15px;
        margin-top: 2px;
    }
    
    .cardheader {
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        padding: 0;
        margin: 0;
        background-color: #77039aff;
        color: #fff;
        height: 25%;
        font-family: "Ubuntu", sans-serif;
        }
    
    .cardheader h1 {
        font-weight: 700;
        font-size: 25px;
        margin-bottom: -15px;
        }
    
    .cardheader h2 {
        font-weight: normal;
        margin-top: 10px;
        font-size: 20px;
        }
        
    .levelinfodiv {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 30%;
        }
        
    .victordiv {
        position: absolute;
        top: 28.5%;
        right: 1%;
        }
        
    .victordiv button {
        height: 25px;
        width: 25px;
        font-size: 100%;
        border-radius: 100%;
        background-color: #9212c9;
        color: white;
        border-style: solid;
        border-color: black;
        cursor: pointer;
        }

    .victordiv button:hover, input[type="submit"]:hover, .back:hover {
        animation-fill-mode: forwards;
        animation: buttonFadeIn 0.5s ease-out 0s forwards;
        }

    .victordiv button:not(:hover), input[type="submit"]:not(:hover), .back:not(:hover) {
        animation-fill-mode: forwards;
        animation: buttonFadeOut 0.5s ease-out 0s forwards;
        }
        
    .victorpanel {
        background-color: #fff;
        height: auto;
        width: 150px;
        border-radius: 10px;
        position: absolute;
        top: 35.5%;
        right: 2.5%;
        text-align: center;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
        opacity: 0;
        animation-fill-mode: forwards;
        z-index: 50;
        overflow: auto;
        }
        
    @keyframes victorFadeIn {
        from {
            opacity: 0;
            } to {
            opacity: 1;
                }
        }
        
        @keyframes victorFadeOut {
        from {
            opacity: 1;
            } to {
            opacity: 0;
                }
        }

        @keyframes buttonFadeIn {
        from {
            background-color: #9212c9;
            } to {
            background-color: #a323da;
                }
        }
        
        @keyframes buttonFadeOut {
        from {
            background-color: #a323da;
            } to {
            background-color: #9212c9;
                }
        }
        
    .levelinfodiv {
        display: flex;
        flex-direction: row;
        }
        
    footer {
        position: absolute;
        bottom: 2%;
        left: 2%;
        color: #999;
        }
        
    table {
          font-family: "Ubuntu", sans-serif;
          border-collapse: collapse;
          width: 100%;
          border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
        }
        
    td, th {
        border: 1px solid #ddd;
        text-align: left;
        padding: 8px;
        }
        
        tr:nth-child(odd) {
            background: rgba(255, 255, 255, 0.2); /* background */
  backdrop-filter: blur(10px); /* blurs the content behind this element */
  -webkit-backdrop-filter: blur(10px);
            }
            
    tr:nth-child(even) {
        background: rgba(255, 255, 255, 0.3); /* background */
  backdrop-filter: blur(10px); /* blurs the content behind this element */
  -webkit-backdrop-filter: blur(10px);
        }
        
    .info {
        margin-left: 15px;
        margin-top: 15px;
        }
        
    input[type="number"], input[name="youtube"], .getid input {
        height: 40px;
        width: 50%;
        border-radius: 10px;
        border-style: solid;
        border-color: #222;
        border-width: 3px;
        }
        
    .formcontent {
        height: 350px;
        display: flex;
          font-family: "Ubuntu", sans-serif;
          color: white;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 20px;
        background: rgba(255, 255, 255, 0.2); /* background */
  backdrop-filter: blur(5px); /* blurs the content behind this element */
  -webkit-backdrop-filter: blur(5px);
        }
        
    label {
        margin-right: 10px;
        }
        
        .formheader, .infoheader {
            border-top-left-radius: 10px;
        border-top-right-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        padding: 0;
        margin: 0;
        background-color: #77039aff;
        color: #fff;
        height: 25%;
        font-family: "Ubuntu", sans-serif;
            }
            
            .errorheader {
            border-top-left-radius: 10px;
        border-top-right-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        padding: 0;
        margin: 0;
        background-color: #f00;
        color: #fff;
        height: 25%;
        font-family: "Ubuntu", sans-serif;
            }
            
        .red {
            color: red;
            }
            
        input[type="submit"], .back {
            margin: 0 auto;
            background-color: #77039aff;
            color: white;
            border: none;
            border-radius: 10px;
            height: 40px;
            width: 50%;
            position: relative;
            left: 25%;
            margin-top: 20px;
            cursor: pointer;
            animation-fill-mode: forwards;
            }
            
            .content {
            height: 100px;
        display: flex;
          font-family: "Ubuntu", sans-serif;
          color: white;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.2); /* background */
  backdrop-filter: blur(5px); /* blurs the content behind this element */
  -webkit-backdrop-filter: blur(5px);
  }
  
  .getid {
      position: relative;
      display: flex;
      justify-content: center;
      align-items: center;
      top: -200px;
      right: -150px;
      height: 150px;
      width: 50%;
      background-color: #fff;
      border-radius: 10px;
      box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
      opacity: 0;
      pointer-events: none;
      }

    .pok-edit-button {
        font-family: "Ubuntu", sans-serif;
        display: block;
        background-color: #6face6; 
        margin: 0 auto;
        width: 75%;
        height: 60px;
        border-style: solid;
        border-radius: 10px;
        }
        
        .pok-exit-button {
            font-family: "Ubuntu", sans-serif;
        display: block;
        background-color: #f00; 
        margin: 0 auto;
        width: 75%;
        height: 60px;
        border-style: solid;
        border-radius: 10px;
        }
        
        a {
            text-decoration: none;
            }
        
    .gradient-container {
  height: 200px; /* Example height */
  background-image: linear-gradient(to top, rgba(95, 164, 237, 0), rgba(95, 164, 237, 1));
  position: fixed;
  top: 0;
  text-align: center;
  font-size: 25px;
  font-weight: bold;
  color: #fff;
  font-family: "Ubuntu", sans-serif;
  width: 100%;
  right: 0;
  opacity: 0;
  pointer-events: none;
  }
  
  .edit-card {
      width: 75%;
      display: block;
      margin: 0 auto;
      }

.edit-level {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.2); /* background */
  backdrop-filter: blur(5px); /* blurs the content behind this element */
  -webkit-backdrop-filter: blur(5px);
   font-weight: bold;
  color: #fff;
  font-family: "Ubuntu", sans-serif;
  width: 100%;
  height: 100px;
  border-radius: 10px;
    }
    
.edit-buttons {
    height: 50px;
    border-radius: 100%;
    border-style: solid;
    border-color: black;
    width: 50px;
    color: white;
    }
    
.edit-level-settings {
    position: absolute;
    right: 150px;
    background-color: #6face6;
    }
    
.remove-level {
    position: absolute;
    right: 75px;
    background-color: #f00;
    font-size: 30px;
    font-weight: bold;
    }

.move-buttons {
    height: 25px;
    border-radius: 100%;
    border-style: solid;
    border-color: black;
    width: 25px;
    color: white;
    background-color: #4db478ff;
    font-size: 15px;
    font-weight: bold;
    }

.move {
    position: absolute;
    right: 25px;
    display: flex;
    flex-direction: column;
}
    
    
.a {
    display: flex;
    align-items: center;
    }

button {
cursor: pointer;
}


input:invalid {
  border-color: red;
}


.error-message {
  color: red;
  font-size: 0.9em;
  margin-top: 5px;
  display: block; 
}


.error-message:empty {
  display: none;
}

.diff {
    height: 30px;
    width: 30px;
    }

.add {
    border: none;
    background-color: greenyellow;
    border-radius: 10px;
    height: 50px;
    width: 75%;
    margin: 0 auto;
    margin-left: 12.5%;
}
    