/* Modern CSS Reset based on Josh W Comeau */
/* 1. Use a more-intuitive box-sizing model */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* 2. Remove default margin */
/* * {
  margin: 0;
} */

body {
  margin: 0;
}

/* 5. Improve media defaults */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/* 6. Inherit fonts for form controls */
input,
button,
textarea,
select {
  font: inherit;
}

/* 7. Avoid text overflows */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

/* 8. Improve line wrapping */
p {
  text-wrap: pretty;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}

body {
  /* 3. Add accessible line-height */
  line-height: 1.5;
  /* 4. Improve text rendering */
  -webkit-font-smoothing: antialiased;
  background-color: hsl(180, 100%, 99%);
}

.container {
  /* padding: 12px; */
  width: 1200px;
  margin: 0 auto;
  padding: 0 12px;

}

.footer {
  text-align: center;
  background-color: aquamarine;
  padding: 24px;
}

input {
  width: 280px;
  border-radius: 6px;
  border: 2px solid rgb(0, 153, 255);
  padding: 4px 6px;
}
/* view file */


#editor {
  position: absolute;
  width: 100vw;
  height: 90vh;
  font-size: 16px;
  /* margin-top: 16px; */

}
#editor > * {
   /* padding-top: 12px;  */
}

.button {
  padding: 8px 16px;
  background-color: hsl(160, 100%, 75%);
  color: hsl(160, 100%, 25%);
  border: hsl(160, 100%, 55%) 2px solid;
  border-radius: 4px;
  font-weight: 800;
  font-size: 1.2em;
}

.button:hover {
  background-color: hsl(160, 100%, 85%);
}

.titlebar {
  padding-left: 8px;
  display: flex;
  justify-content: flex-start;
  flex-direction: row;
  gap: 16px;
  background-color: rgb(241, 240, 240);
  align-items: center;
  font-size: 1.2em;
}