body {
  font-family: Arial, sans-serif;
  background-color: #f2f2f2;
  margin: 0;
  padding: 0;
}

.hidden {
  display: none;
}

.container {
  max-width: 600px;
  margin: 0 auto;
  background-color: #fff;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  text-align: center;
  font-size: 36px;
}


#input {
  outline: none;
  width: 100%;
  height: 200px;
  resize: vertical;
  margin-bottom: 10px;
  padding: 5px;
  border: 1px dashed #ccc;
  border-radius: 5px;
  box-sizing: border-box;
}

#input:focus, #output:focus {
  border: solid 2px #45a049;
}

#testBlock textarea {
  display: block;
  font-family: monospace;
  border: none;
  outline: none;
  padding: 20px;
  width: 97%;
  height: 210px;
  resize: none;
  white-space: nowrap;
}

#typographyButton {
  display: block;
  width: 100%;
  padding: 10px;
  background-color: #4caf50;
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 16px;
  font-weight: 700;
  font-size: 16px;
  font-family: 'Montserrat', Arial, sans-serif;
}

#toggleTestBlock:hover {
cursor: pointer;
color: #000;
}

#toggleTestBlock {
  border: 1px dashed grey;
  border-top: none;
  border-left: none;
  border-radius: 0 0 10px 0;
  background-color: transparent;
  color: darkslategray;
  font-family: 'Montserrat', Arial, sans-serif;
}

#copyButton {
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 10px;
  background-color: #4caf50;
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 16px;
  font-weight: 700;
  font-size: 16px;
  font-family: 'Montserrat', Arial, sans-serif;
}

#copyButton svg {
  margin-right: 10px;
  fill: #ffffff;
  width: 24px;
}

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

.general__input section {
  margin-bottom: 20px;
}

#output {
  outline: none;
  border: 1px dashed #ccc;
  border-radius: 5px;
  padding: 10px;
  box-sizing: border-box;
  /* overflow-x: auto; */
  width: 100%;
  height: 200px;
  resize: vertical;
  margin-bottom: 10px;
  border-radius: 5px;
  box-sizing: border-box;
}


/* Адаптивность для мобильных устройств */
@media (max-width: 480px) {
  .container {
    padding: 10px;
  }

  #input {
    height: 150px;
  }
}
