body {
  font-family: "Poppins", sans-serif;
  text-align: center;
  margin: 0;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  background-color: black;
  color: white;
  background-image: url('/img/code.png');
  background-size: cover;
  background-position: center;
}

.container-principal {
  display: flex;
  justify-content: space-around;
  width: 100%;
  max-width: 1200px;
  margin: 50px auto;
}

.container-esquerdo,
.container-direito {
  width: 100%;
  max-width: 700px;
  border: 1px solid green;
  padding: 20px;
  box-sizing: border-box;
  margin-right: 20px;
  min-height: 300px;
  box-shadow: 9px -11px 10px rgb(0 255 104 / 12%);
}

.container-direito > button {
  margin-top: 20px;
}

.label-container {
  width: 100%;
  text-align: left;
  margin-bottom: 10px;
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

textarea {
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
  border: none;
  border-radius: 5px;
  background-color: #275b58ce;
  resize: vertical;
  color: white;
}

.buttons-container {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

button {
  background-color: #065f0bed;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  flex-grow: 1;
  margin: 0 5px;
  transition: background-color 0.3s ease;
}

.button_result {
  margin-top: 15px;
}

button:hover {
  background-color: #45a049;
}

#textoStatus {
  font-weight: bold;
}

.resultText {
  width: 100%;
  max-width: 700px;
  margin-top: 20px;
  padding: 15px;
  background-color: #275b58ce;
  border-radius: 5px;
  box-sizing: border-box;
  overflow: auto;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: white;
  resize: vertical;
  min-height: 200px;
  word-break: break-all;
}

.title-principal > h1 {
  color: #ebf5ec;
  font-weight: bold;
  
}

.title-principal{
  margin-top: 69px;
  height: 33px;
}

.footer {
  background-color: rgba(18, 206, 109, 0.667);
  color: white;
  padding: 10px;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  position: fixed;
  bottom: 0;
  max-height: 100px; 
  overflow: hidden;
  height: 50px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding-block-end: 15px;
}

.footer a {
  color: #eedb0e;
  text-decoration: none;
}

.footer a:hover {
  color: #171917;
}

.algorithm-container {
  margin-top: 20px;
  text-align: left; 
}

label[for="algorithmSelector"] {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: white;
}

#algorithmSelector {
  width:17%;
  padding: 8px;
  box-sizing: border-box;
  border: none;
  border-radius: 5px;
  background-color: #275b58;
  color: #49f550;
  outline: none;
}

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

  .container-esquerdo,
  .container-direito {
    width: 100%;
    max-width: none;
    border: none;
    padding: 20px;
    box-sizing: border-box;
    margin-right: 0;
    min-height: 300px;
    box-shadow: none;
  }

  button {
    padding: 8px 16px; 
  }

  .footer {
    gap: 10px; 
}
#algorithmSelector {
  width: 21%;
  
}
}