body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
  }
  
  .video-container {
    background: #000;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    width: 60%;
    position: relative;
    display: flex;
    flex-direction: column;
  }
  
  .video-container.resized {
    width: 90%;
    max-height: 80vh;
  }
  
  .video-container.fullscreen video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: none;
  }
  
  video {
    width: 100%;
    border-radius: 8px;
    cursor: pointer;
    max-height: calc(80vh - 50px);
  }
  
  .controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 5px;
    border-radius: 5px;
    margin-top: auto;
    position: relative;
    z-index: 10;
  }
  
  button, select {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: white;
  }
  
  #speed {
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border: 1px solid white;
    border-radius: 5px;
    padding: 5px;
  }
  
  #progress {
    flex: 1;
    margin: 0 10px;
  }
  
  #volume {
    width: 80px;
  }
  
  .video-container.fullscreen .controls {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    z-index: 1000;
  }
  