html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
    margin: 0;
    background: #111;
    color: #fff;
    font-family: sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 12px;
}

#video, #previewImg {
    width: 100%;
    max-width: 640px;
    max-height: 65vh;
    object-fit: contain;
    border-radius: 8px;
    background: #000;
}

.preview-box {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 640px;
}

    .preview-box.visible {
        display: flex;
    }

.actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

button2 {
    padding: 12px 18px;
    font-size: 16px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
}