/* Nova paleta de cores moderna e harmônica */
:root {
  --primary: #2c7a7b;
  --secondary: #6b46c1;
  --bg: #f7fafc;
  --text-main: #2d3748;
  --text-secondary: #4a5568;
  --border: #cbd5e0;
  --hover: #4c51bf;
  --white: #ffffff;
}

body {
  font-family: Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text-main);
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  min-height: 100vh;
  position: relative;
  text-align: center;
}

.title-container {
  text-align: center;
  margin-top: 20px;
}

#avallonTitle,
#help {
  color: var(--primary);
  cursor: pointer;
}

h1 {
  color: var(--secondary);
  margin: 10px 0;
  text-shadow: 0px 0px 1px #00000033;
}

p {
  text-shadow: 0px 0px 1px #00000033;
}

label {
  color: var(--primary);
  text-shadow: 0px 0px 1px #00000033;
  font-size: 1.2em;
}

form {
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  display: inline-block;
  padding: 20px;
  border: 1px solid var(--border);
}

input {
  padding: 10px;
  font-size: 16px;
  width: 100%;
  max-width: 300px;
  border: 2px solid var(--primary);
  border-radius: 4px;
  box-sizing: border-box;
  margin-top: 10px;
}

input:focus {
  border-color: var(--secondary);
  outline: none;
}

.file-input-container {
  position: relative;
  width: 100%;
  max-width: 250px;
}

.file-input {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.file-label {
  display: inline-block;
  padding: 10px;
  background-color: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  text-align: center;
  width: 150px;
  box-sizing: border-box;
}

.file-label:hover {
  background-color: var(--hover);
}

button {
  background-color: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 4px;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  margin-top: 10px;
  margin-bottom: 0px;
  transition: background-color 0.3s ease;
  max-width: 250px;
}

button:hover {
  background-color: var(--hover);
}

img {
  margin-top: 20px;
  border: 2px solid var(--primary);
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  max-width: 100%;
  height: auto;
}

.hidden {
  display: none;
}

@media (max-width: 300px) {
  .container {
    flex-direction: column;
    align-items: center;
  }
  form {
    padding: 15px;
    width: 90%;
  }
  input,
  button,
  .file-label {
    width: 100%;
  }
}

.container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.one,
.two {
  flex: 1;
  margin: 10px;
  min-width: 200px;
}

.help-section {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  width: 90%;
  max-width: 1200px;
}

.help-section p {
  color: var(--text-main);
  margin-bottom: 10px;
  font-size: 1.5em;
  text-decoration: underline solid var(--secondary);
}

.help-section ul {
  list-style: disc;
  padding-left: 20px;
  text-align: left;
}

.help-section ul li {
  margin-bottom: 10px;
  color: var(--text-secondary);
  font-weight: 600;
  text-align: justify;
}

.button-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 10px;
}

.button-container button,
.file-label {
  margin: 5px 0;
  width: 100%;
  max-width: 250px;
}

.button-container button {
  background-color: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 4px;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.button-container button:hover {
  background-color: var(--hover);
}

.colorfulSpan {
  color: var(--secondary);
  font-weight: bold;
}
