/* http://meyerweb.com/eric/tools/css/reset/ 
v2.0 | 20110126
License: none (public domain)
 */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

* {
  box-sizing: border-box;
}

:root {
  --dark: #111111;
  --gray: #EEEEEE;
  --yellow: #FFFFE0;
  --white: #FFFFFF;
  --light: rgba(17,17,17,0.4);

  --active: #6d8bf4;
  --hover: #ea74ac;
  --text: #fff;
  --background: #12121a;
}

sub, sup {
  font-size: 70%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

strong {
  color: var(--active);
  font-weight: bold;
}

html,
body {
  position: relative;
  height: 100%;
}

body {
  font-size: 1.4em;
  line-height: 145%;
  font-weight: normal;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";

  color: var(--text);
  background: var(--background);

  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  transition: font-size 200ms ease-in-out;
}

p {
  line-height: 145%;
}

a {
  color: var(--active);
  text-decoration: none;
  font-weight: 500;
  transition: color 200ms ease-in-out;
}

a:hover {
  cursor: pointer;
  color: var(--hover);
}

.Input__submit,
button {
  margin: 0;
  border: none;
  padding: 0;
  text-align: left;
  font-size: 1em;
  outline: none;
  background: transparent;
  text-decoration: none;
  box-shadow: none;
  -webkit-appearance: none;
}

.Input__submit,
button:hover {
  cursor: pointer;
}

.Content {
  padding: 2em;
  margin: auto;
  width: 800px;
}

.Texts {
  transition: opacity 250ms ease-in-out;
}

.is-hidden {
  opacity: 0;
}

.Text {
  margin: 0 0 1.4em;
  transition: opacity 250ms ease-in-out;
  padding: 0 0 1em;
  border-bottom: 1px solid rgba(109, 150, 244, 0.2);
}

.Text.is-hidden {
  display: none;
}

.Text:last-child {
  border-bottom: none;
}

.Text__footer {
  display: flex;
}

.Text__footer > * {
  margin: 0 0.4em 0 0;
}

.Text__delete {
  font-size: 0.9em;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: underline;
}

.Text__date {
  color: rgba(255, 255, 255, 0.5);
  font-size: .9em;
}

.Text__description {
  display: block;
  text-decoration: none;
  word-break: break-all;
  line-height: 145%;
  margin: 0 0 0.4em;
}

.Header {
  padding: 1em 2em;
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.Login {
  position: absolute;
  width: 300px;
  top: 2em;
  right: 2em;
  background: var(--white);
}
