* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #2c3e50;
  color: #ecf0f1;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
}

.editor-container {
  display: flex;
  width: 100%;
  gap: 50px;
}

.textareas-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

label {
  font-size: 16px;
  font-weight: bold;
  color: #f39c12;
  margin-bottom: 5px;
}

label i {
  margin-right: 8px;
}

textarea {
  width: 100%;
  height: 170px;
  background-color: #34495e;
  color: #ffffff;
  border: 2px solid #f39c12;
  padding: 10px;
  margin-top: 10px;
  font-size: 16px;
  border-radius: 5px;
  resize: vertical;
  outline: none;
}

textarea:focus {
  border-color: #e67e22;
  box-shadow: 0 0 10px rgba(230, 126, 34, 0.5);
}

.camera-container {
  width: 240px;
  height: 300px;
  margin: 0 auto 20px auto ;
  border: 2px solid #f39c12;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}


.output-container {
  width: 50%;
  display: flex;
  flex-direction: column;
}

.output-label {
  margin-top: 20px; 
}

iframe {
  width: 100%;
  height: 100%;
  background-color: #ecf0f1;
  border: 2px solid #f39c12;
  border-radius: 5px;
}

body::-webkit-scrollbar {
  width: 10px;
}

body::-webkit-scrollbar-thumb {
  background: #f39c12;
  border-radius: 5px;
}

@media (max-width: 768px) {
  .editor-container {
      flex-direction: column;
  }

  .output-container {
      width: 100%;
      margin-top: 20px;
  }

  iframe {
      height: 300px;
  }
}
