body {
  margin: 0;
  padding: 0;
  background-color: #f0f0f0; /* Set your desired background color */
  overflow: hidden; /* Prevent scrolling when the modal is active */
}

.modal {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent background */
  z-index: 999; /* Ensure the modal appears above everything else */
}

.modal-content {
    background-color: #fff;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    max-width: 80%;
    margin: 0 auto; /* Center horizontally */
    position: absolute;
    top: 50%; /* Start 50% down the viewport */
    left: 50%; /* Start 50% from the left */
    transform: translate(-50%, -50%); /* Center both horizontally and vertically */
}

.modal-content h2 {
  font-size: 24px;
  margin-bottom: 15px;
}

.sidebar, .container {
  display: none; /* Hide the sidebar and container initially */
}

/* Styling for the sidebar buttons */
.sidebar button {
  display: none; /* Hide all buttons by default */
}

.sidebar {
  width: 20%; /* Set the width of the sidebar as per your preference */
  background-color: #333; /* Set the sidebar background color */
  padding: 20px;
  box-sizing: border-box;
  color: white; /* Set the text color in the sidebar */
  display: flex;
  flex-direction: column;
  align-items: center;
  position: fixed; /* Keep the sidebar fixed */
  top: 0; /* Position it at the top of the viewport */
  left: 0; /* Position it on the left side of the viewport */
  height: 100%; /* Make it the full height of the viewport */
}


img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto; /* Center horizontally within the container */
}

button {
  display: block;
  margin-top: 10px;
}

#replaceButton {
  display: block;
}

#passwordInput {
  margin: 10px 0;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  width: 100%;
  font-size: 16px;
  max-width: 100%; /* Limit the maximum width to match the modal content width */
}

#passwordSubmit {
  background-color: #007BFF;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s;
}

#passwordSubmit:hover {
  background-color: #0056b3;
}

.container {
  margin-left: 20%; /* Adjust this margin to match the width of the sidebar */
  padding: 20px;
  box-sizing: border-box;
}

#replaceButton {
  display: block;
  font-size: 18px;
  padding: 15px 30px; /* Adjust padding for button size */
  background-color: #007BFF; /* Button background color */
  color: white;
  border: none;
  border-radius: 10px; /* Rounded corners */
  cursor: pointer;
  transition: background-color 0.3s;
  margin-bottom: 15px; /* Spacing between buttons */
}

/* Hover effect for the "Replace GIF" button */
#replaceButton:hover {
  background-color: #0056b3;
}

/* Styling for the other buttons (hidden by default) */
.sidebar button {
  display: none;
  font-size: 18px;
  padding: 15px 30px; /* Adjust padding for button size */
  background-color: #333; /* Button background color */
  color: white;
  border: none;
  border-radius: 10px; /* Rounded corners */
  cursor: pointer;
  transition: background-color 0.3s;
  margin-bottom: 15px; /* Spacing between buttons */
}

/* Hover effect for the other buttons */
.sidebar button:hover {
  background-color: #555;
}