.footer {
    font-size: 10pt;
    margin-top: 440px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin: 20px;
    text-align: center;
}

#burger-menu {
    position: absolute;
    left: 20px;
    top: 10px;
}

#burger-menu i {
    font-size: 24px;
}

#menu-options {
    display: none;
    position: absolute;
    left: -150px; /* Hide initially */
    background-color: #fff; /* Background color */
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); /* Add shadow */
    transition: left 0.3s ease; /* Smooth transition */
}

#menu-options li {
  font-size: 18px;
  margin-bottom: 5px;
  margin-top: 25px;
  border: 1px solid rgba(214, 217, 255, 1);
  background-color: rgba(219, 221, 246, 1)
}

#burger-menu:hover #menu-options {
    left: -15px; /* Expand when hovered */
    width: 355px;
    height: 70px;
}

#main-body.expanded{
  margin-top: 100px;
}

#burger-menu i:hover {
    background-color: #ccc; /* Background when pressed */
    border-radius: 50%; /* Rounded corners */
    transition: background-color 0.3s ease; /* Smooth transition */
}

/* Remove default list styles */
#menu-options {
    padding: 0;
    margin: 0;
    list-style: none;
}

/* Remove default anchor styles */
#menu-options li a {
    text-decoration: none;
    color: inherit; /* Preserve the inherited text color */
}

#loading-indicator {
    display: none;
    animation: pulse 1s infinite;
    margin-top: 10px;
    color: #4CAF50;
}

#loading-indicator.show {
    display: block;
}

#video-container {
    display: none;
    margin-top: 20px;
    max-width: 100%; /* Adjusted for responsiveness */
    overflow: hidden;
    position: relative;
    margin: auto;
}

video {
    width: 100%;
}

#generate-btn,
#full-screen-btn,
#download-btn {
    margin-top: 10px;
    color: white;
    padding: 10px;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    transition: transform 0.2s ease-in-out;
}

#generate-btn {
    background-color: #4CAF50;
}

#full-screen-btn {
    background-color: #3498db;
}

#download-btn {
    background-color: #f39c12;
    text-decoration: none;
}

#generate-btn:hover {
    animation: buttonScale 0.5s ease-in-out infinite, buttonRotate 0.5s ease-in-out infinite, buttonColorChange 2s ease-in-out infinite, buttonPulse 1s ease-in-out infinite;
}

#full-screen-btn:hover {
    animation: buttonScale 0.5s ease-in-out infinite, buttonRotate 0.5s ease-in-out infinite, buttonColorChange 2s ease-in-out infinite, buttonPulse 1s ease-in-out infinite;
}

#download-btn:hover {
    animation: buttonDownloadScale 0.5s ease-in-out infinite, buttonDownloadRotate 0.5s ease-in-out infinite, buttonColorChange 2s ease-in-out infinite, buttonPulse 1s ease-in-out infinite;
}

/* Responsive styles using media queries */
@media only screen and (max-width: 600px) {
    #video-container {
        max-width: 100%;
    }

    video {
        width: 100%;
    }
}

/* Adjust other content */
#video-history {
    margin-top: 20px;
    transition: top 0.3s ease; /* Smooth transition */
}

#burger-menu:hover ~ #video-history {
    top: 100px; /* Move down when burger menu is expanded */
  }
