@tailwind base;
@tailwind components;
@tailwind utilities;

html,
input,
textarea {
    font-family: "Roboto", sans-serif;
    line-height: 1.4;
    background: #eee;
}

li {
    list-style-type: disc;
    margin-left: 2em;
}

h1 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

h2 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.75rem;
}

h4 {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

h5 {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
}

h6 {
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
}

body {
    margin: 0;
}

p {
    margin: 0;
}

pre {
    padding: 10px;
    background-color: #eee;
    white-space: pre-wrap;
}

:not(pre) > code {
    font-family: monospace;
    background-color: #eee;
    padding: 3px;
}

img {
    max-width: 100%;
    max-height: 20em;
}

blockquote {
    border-left: 2px solid #ddd;
    margin-left: 0;
    margin-right: 0;
    padding-left: 10px;
    color: #aaa;
    font-style: italic;
}

blockquote[dir="rtl"] {
    border-left: none;
    padding-left: 0;
    padding-right: 10px;
    border-right: 2px solid #ddd;
}

table {
    border-collapse: collapse;
}

td {
    padding: 10px;
    border: 2px solid #ddd;
}

/* input {
  box-sizing: border-box;
  font-size: 0.85em;
  width: 100%;
  padding: 0.5em;
  border: 2px solid #ddd;
  background: #fafafa;
}

input:focus {
  outline: 0;
  border-color: blue;
} */

iframe {
    width: 100%;
    border: 1px solid #eee;
}

[data-slate-editor] > * + * {
    margin-top: 1em;
}

.fancy {
    background-color: rgb(218, 225, 255);
    padding: 40px;
    font-size: 20px;
    min-height: 150px;
    outline: 3px dashed rgb(0, 94, 128);
    border-radius: 20px;
    outline-offset: -20px;
    white-space: pre-wrap;
}
