body {
	font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, DejaVu Sans, Arial, sans-serif;
	text-align: center;
	background-color: #f4f4f9;
	color: #000;
	padding: 20px 20px 0;
	margin: 0 auto;
	font-size: 16px;
	font-weight: 500;
	line-height: 150%;
	max-width: 600px
}

@media(max-width:640px) {
	body {
		font-size: 20px;
		line-height: 125%
	}
}

h1 {
	font-size: 200%;
	margin: 0 auto 8px
}

h2 {
	font-size: 100%;
	margin: 0
}

h3 {
	font-size: 100%;
	margin: 32px 0 17px
}

p {
	margin: 0;
	padding: 0
}

a {
	color: #d00;
	text-decoration: none
}

a:hover {
	text-decoration: underline
}

button {
	color: #000;
	margin: 16px;
	padding: 8px 32px;
	font-size: 100%
}

.joke {
	display: table;
	border: 2px dotted #bbb;
	padding: 20px 20px 30px 30px;
	text-align: left;
	max-width: 600px;
	background: #f8f8f8;
	position: relative;
	user-select: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none
}

.anum {
	position: absolute;
	bottom: 10px;
	right: 10px;
	font-size: 75%;
	color: #555;
	margin: 0;
	padding: 0;
	line-height: 12px
}

.anum:before {
	content: "sraka.in.ua";
	padding-right: 3px
}

.waiting-message-container {
	margin: auto;
	display: table;
	flex-direction: column;
	align-items: center;
	justify-content: center
}

.waiting-message {
	color: #333;
	text-align: center;
	margin: 0 auto;
	display: table
}

.share-message {
	color: #333;
	text-align: center;
	margin: 0 auto;
	display: table
}

.joke-image-wrapper {
	margin: 20px auto 0;
	max-width: 500px
}

.joke-image-container {
	position: relative;
	display: flex;
	min-height: 440px;
	align-items: center;
	justify-content: center
}

.joke-image {
	width: auto;
	max-width: 100% !important;
	height: auto;
	max-height: 440px;
	display: block;
	margin: 0
}

.joke-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	text-decoration: none;
	font-size: 100%;
	color: #333;
	font-weight: 100;
	line-height: 1;
	cursor: pointer;
	transition-duration: 1s
}

.joke-nav:hover {
	color: #f00;
	text-shadow: 0 0 2px #600;
	transition-duration: 0.5s
}

.joke-nav-prev {
	left: 0;
	padding: 200px 200px 200px 4px
}

.joke-nav-next {
	right: 0;
	padding: 200px 4px 200px 200px
}

.joke-nav,
.joke-nav:hover,
.joke-nav:focus,
.joke-nav:active,
.joke-nav:visited {
	text-decoration: none;
	background: none;
	outline: none;
	box-shadow: none
}

.social-buttons {
	margin: 0 auto
}

.social-icons-row {
	display: flex;
	justify-content: center;
	gap: 16px;
	margin: 0
}

.social-icon {
	border: 0;
	background: transparent;
	padding: 0;
	cursor: pointer
}

.social-icon svg,
.social-icon img {
	width: 32px;
	height: 32px;
	display: block
}

.joke-more-link {
	font-weight: 900;
	margin: 16px 0 38px
}

.joke-border {
	display: table;
	background: #fff;
	padding: 20px;
	margin: 50px auto
}

.num {
	color: #555;
	padding: 4px
}

@keyframes jIn {
	from {
		opacity: 0;
		filter: blur(40px)
	}

	to {
		opacity: 1;
		filter: blur(0)
	}
}

.joke-image {
	animation: jIn .2s ease both
}

@media(prefers-reduced-motion:reduce) {
	.joke-image {
		animation: none
	}
}

hr {
	margin: 0
}

a {
	-webkit-tap-highlight-color: transparent;
	outline: none;
	user-select: none;
	-webkit-user-select: none;
}

a::-moz-focus-inner {
	border: 0
}

.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

.joke-actions {
  text-align: right;
  margin-bottom: -20px;
  font-size: 12px;
}

.joke-actions a {
    padding: 8px 6px;
    text-decoration: none;
}

.joke-actions a img {
    margin: 6px 0 -6px;
}