/* ============ Reset Part ============ */

/* http://meyerweb.com/eric/tools/css/reset/ */
/* v1.0 | 20080212 */

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, font, 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 {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

/* remember to define focus styles! */
:focus {
	outline: 0;
}

/* remember to highlight inserts somehow! */
ins {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}


/* ============ My Own ============ */

body {
	background-color: wheat;
	/*font-family: Ubuntu;*/
	font-weight: 400;
}

a, a:hover, a:visited, a:focus {
	color: #ff6666;
	text-decoration: none;
}

a:hover, a:focus {
	text-decoration: underline;
}

h1 {
	font-weight: 700;
	font-size: 1.4em;
	margin: 0 0 1em 0;
}

p {
	margin: .8em 0;
	line-height: 1.4em;
}

ol.dot-list {
	list-style: inherit;
	padding-left: 1.5em;
}

li {
	line-height: 1.4em;
}

#container {
	width: 100%;
	max-width: 720px;
	margin: 0 auto;
}

.article {
	margin: 45px 0;
	border: 1px solid rgba(99, 99, 99, 0.5);
	border-radius: 3px 3px;
	padding: 1.5em;
	background: #ffffff;
	background: rgba(255, 255, 255, 0.5);
	box-shadow: 0 0 5px #999;
}

.article:first-child {
    min-height: 128px;
}

.footer {
	border-top: 1px solid #aaa;
	text-align: center;
	font-size: 0.8em;
	color: #666;
}

.comment {
	font-size: 0.8em;
	color: darkgray;
}

.avator {
	float: right;
	border: 1px solid #999;
	box-shadow: 0 0 3px black;
	width: 128px;
	height: 128px;
	border-radius: 64px 64px;
	overflow: hidden;
}

@media only screen and (max-device-width: 480px) {
	.avator {
		width: 84px;
		height: 84px;
		border-radius: 42px 42px;
	}
}

.with-tooltip {
    position: relative;
    display: inline-block;
}

.with-tooltip label.mobile {
    display: none;
}

.with-tooltip input {
    display: none;
}

.with-tooltip .tooltip {
    display: none;
    background-color: black;
    color: #fff;
    text-align: center;
    padding: 3px;
    border-radius: 5px;
   
    position: absolute;
    z-index: 10;
}

.with-tooltip:hover .tooltip {
    display: block;
}

@media (pointer:coarse) {
    .with-tooltip label.mobile {
        display: block;
    }

    .with-tooltip label.mobile + label {
        display: none;
    }

    .with-tooltip input:checked ~ .tooltip {
        display:block;
    }
}







@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.fadeIn {
  -webkit-animation-name: fadeIn;
  animation-name: fadeIn;
  -webkit-animation-duration: .5s;
  animation-duration: .5s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}




@-webkit-keyframes avatorIn {
  0% {
    -webkit-transform-origin: center;
    -webkit-transform: rotate3d(0, 0, 1, -200deg) scale3d(.3, .3, .3);
  }

  100% {
    -webkit-transform-origin: center;
    -webkit-transform: none;
  }
}

@keyframes avatorIn {
  0% {
    transform-origin: center;
    transform: rotate3d(0, 0, 1, -200deg) scale3d(.3, .3, .3);
  }

  100% {
    transform-origin: center;
    transform: none;
  }
}

.avatorIn {
  -webkit-animation-name: avatorIn;
  animation-name: avatorIn;
  -webkit-animation-duration: .75s;
  animation-duration: .75s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}






@media (prefers-color-scheme: dark) {
  body {
    background: #131516;
  }
  .article {
    background: rgba(245, 222, 179, 0.65);
  }
  .article a, .article a:hover, .article a:visited, .article a:focus {
    color: #a33;
  }
}
