body, html {
  height: 100%;
  margin: 0;
  font-family: Arial, sans-serif;
  /* background-color: #f7f7f7; */
  background-image: url("background1.jpg");
  background-size: contain;

}

.container {
  display: flex;
  flex-wrap: wrap; /* Allows sidebar and content area to stack on smaller screens */
  height: 100%;
  
}

.sidebar {
  display: block;
  flex-direction: column;
  justify-content: space-between; /* Aligns children at the start and end */
  box-sizing: border-box;
  flex: 0 0 400px;
  padding-top: 10px;
  flex-wrap: wrap;
  width: 600px;
  
  /* Other styles */
}

/* Container for items to allow it to grow and push the footer down */
.sidebar-content {
  flex-grow: 1;
  display: flex;
  flex-wrap: wrap;
  padding: 10px; /* Adjust based on your design */
  max-height: 90vh;
  overflow-y: auto;

}

.sidebar-footer {
  position: fixed;
  /* Styles for your sidebar footer */
  padding: 10px; /* Adjust based on your design */
  bottom: 0px;
}

.sidebar-footer img{
  width: 20px;
border: 2px solid white;
height: 20px;
vertical-align: middle;
border-radius: 5px;
padding: 4px;
}


.content-area {
  box-sizing: border-box;
  flex-grow: 1;
  flex-basis: calc(100% - 400px); /* Occupies remaining width minus sidebar */
  max-width: calc(100% - 400px); /* Prevents growing beyond available space */
  height: 100vh; /* Fixed height for the content area */
  overflow: auto; /* Allows scrolling within the content area if content exceeds height */


  position: relative;
    /*Ensuressidebardoesnotgrowbeyond400px*/border: 1px solid grey;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}

.item {
  z-index: 9999;
  box-sizing: border-box;
  padding: 8px;
  background-color: #f7f7f7;
  text-align: center;
  cursor: move;
  margin: 5px; /* Spacing between items */
  height: 40px;
  border: 1px solid grey;
  border-radius: 5px;
width: auto;
}

.item:hover {
  background-color: rgb(220, 137, 54);
  cursor: grab;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
  .sidebar {
    flex-basis: 100%;
    max-width: 100%; 
    max-height: 40%;
    
  }
.sidebar-content{
  max-height: 65%;
  overflow-y: auto;

}
.sidebar-footer {
  position: fixed;
  /* Styles for your sidebar footer */
  padding: 10px; /* Adjust based on your design */
  bottom: 0px;
}

  .content-area {
    flex-basis: 100%; /* Content area takes full width below the sidebar */
    max-width: 100%; /* Adjusts max width for smaller screens */
    height: 60vh; /* Allows content area height to adjust based on content */
  }

  .item {
    padding: 5px;
  }

body{
  background-image: url("https://pokemoninfinitecraft.com/background11.jpg");
  background-size: contain;
}

}

@keyframes floatAnimation {
  0%, 100% {
      transform: translate(0, 0);
  }
  25% {
      transform: translate(-5px, 5px);
  }
  50% {
      transform: translate(5px, -5px);
  }
  75% {
      transform: translate(-5px, -5px);
  }
}

.content-area .item {
  animation: floatAnimation 10s ease-in-out infinite;
  
  -webkit-animation: floatAnimation 10s ease-in-out infinite;
}


.branding {
  position: absolute;
  box-sizing: border-box;
  color:#ffffff;
display: flex;
justify-content: space-between;
margin: 0 10px;
margin-top: 0px;
z-index:-0;

}

.footer{
  display: flex;
  justify-content: space-between;
  position: relative;
  bottom: 20px;
  margin: 10px;
}
.search {
  background-color: transparent;
  width: 150px;
  padding:10px;
  height: 10px;
  color:#ffffff;
  border:1px solid grey;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}
.branding input::placeholder{
  color:#f7f7f7
}

button {
  background-color: transparent;
  padding: 5px;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}

.change{
  background-color: transparent;
color: #f7f7f7;
padding: 6px;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}
.swal2-container {
  z-index: 99999 !important; /* Ensure it's higher than other elements */
}


.branding a {
  text-decoration: none;
  color: white !important;
 z-index: 99999999;
}