@charset "UTF-8";
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, 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, main, section, summary,
time, mark, audio, video, input, button, textarea {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 1rem;
  font-weight: normal;
  font: inherit;
  color: inherit;
  text-decoration: none;
  vertical-align: top;
  box-sizing: border-box; }

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; }

img {
  max-width: 100%; }

html {
  background: url("/fun/img/section-about.jpg") no-repeat top center/cover;
  background-attachment: fixed;
  font-size: 20px;
  font-family: Arial;
  color: #eee;
  min-height: 100vh; }

.nav {
  background: #111;
  width: 100%;
  padding: 1.5rem .5rem; }

.logo-icon {
  font-size: 1.3rem;
  display: inline-block;
  background: url("/img/logo.svg") no-repeat left center/1.3em;
  padding: .15em 0 .25em 1.5em; }

.box-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between; }

.box {
  display: inline-block;
  background: #111 no-repeat top center/contain;
  width: 100%;
  max-width: 15rem;
  height: 20rem;
  padding-top: 15rem;
  margin-top: 1.5rem;
  overflow: hidden;
  transition: .3s ease-out; }
  .box .box-tape {
    display: block;
    height: 15rem; }
  .box .box-title {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fa9113;
    text-transform: uppercase;
    height: 5rem;
    font-size: 1.15rem;
    font-weight: bold;
    padding: .5rem; }
    .box .box-title span {
      display: inline-block; }
  .box .box-description {
    text-align: left;
    background-color: #c53f04;
    height: 7.5rem;
    padding: .5rem; }
  .box .box-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    background: #fa9113;
    height: 2.5rem;
    width: 100%;
    padding: .5rem;
    cursor: pointer; }
  .box .box-button::before {
    content: 'Перейти';
    font-weight: bold; }
  .box .box-button::after {
    content: '';
    position: absolute;
    top: 0;
    right: -2.5rem;
    bottom: 0;
    width: 2.5rem;
    background: #c53f04 url("/img/icons/link-white.svg") no-repeat center center/1.5rem;
    transition: .3s ease-out; }
  .box .box-button:hover::after {
    right: 0; }

.box:hover {
  padding-top: 5rem; }

@media (max-width: 899px) {
  .box-container {
    justify-content: space-evenly; } }
/* Крутящийся логотип
<h1><div class="circular"><svg viewBox="0 0 100 100"><path d="M0,50 a50,50 0 1,1 0,1z" id="circle"></path><text><textPath xlink:href="#circle">
	<?=$title?>
</textPath></text></svg></div></h1>
.circular {
	background: url($path+'img/logo.svg') no-repeat center center / 6rem;
	width: 7rem;
	height: 7rem;
	margin: 0 auto;
	font-size: 0.975rem;

	svg {
		display: block;
		overflow: visible;
		transform: rotate(.02turn);
		animation: spin 10s linear infinite both;
	}
	text {
		fill: currentColor;
	}
	path {
		fill: none;
	}
}
@keyframes spin {
	0% { transform: rotate(.02turn); }
	100% { transform: rotate(-0.98turn); }
}
*/
.bg-generator-characters {
  background-image: url("/fun//img/projects/generator-characters.jpg"); }

.bg-generator-monsters {
  background-image: url("/fun//img/projects/generator-monsters.png"); }

.bg-generator-anime {
  background-image: url("/fun//img/projects/generator-anime.jpg"); }

.bg-generator-movie {
  background-image: url("/fun//img/projects/generator-movie.jpg"); }

.bg-generator-series {
  background-image: url("/fun//img/projects/generator-series.jpg"); }

.bg-generator-game {
  background-image: url("/fun//img/projects/generator-game.jpg"); }

.bg-generator-mult {
  background-image: url("/fun//img/projects/generator-mult.jpg"); }

.bg-generator-books {
  background-image: url("/fun//img/projects/generator-books.jpg"); }

.bg-game-your-dude {
  background-image: url("/fun//img/projects/game-your-dude.jpg"); }

.bg-trigrams {
  background-image: url("/fun//img/projects/trigrams.png"); }

.bg-pdd-tractor {
  background-image: url("/fun//img/projects/pdd-tractor.png"); }

.bg-hoh-lights-out {
  background-image: url("/fun//img/projects/hoh-lights-out.png"); }

.section {
  padding: 3rem .5rem; }

.wrapper {
  width: 100%;
  max-width: 48rem;
  margin: 0 auto; }

.separator {
  height: 1.5rem; }

.title {
  font-size: 1.3rem;
  font-weight: bold;
  text-align: center;
  background: #fa9113;
  padding: 1.5rem 0.5rem; }

/*
.hex {
	display: inline-flex;
		justify-content: center;
		align-items: center;
	background-color: $black;
	background-image: $gradient_main;
	background-repeat: no-repeat;
	background-position: top center;
	background-size: 110%;
	width: 15rem;
	min-height: 12.5rem;
	clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
	transition: .3s ease-in;
	cursor: pointer;

	.in-hex {
		font-size: 1.5rem;
		font-weight: bold;
		text-align: center;
		padding: 1.5rem 1.5rem;
		transition: .3s ease-in;
		text-shadow: 
			-0   -2px 0   #000,
			 0   -2px 0   #000,
			-0    2px 0   #000,
			 0    2px 0   #000,
			-2px -0   0   #000,
			 2px -0   0   #000,
			-2px  0   0   #000,
			 2px  0   0   #000,
			-1px -2px 0   #000,
			 1px -2px 0   #000,
			-1px  2px 0   #000,
			 1px  2px 0   #000,
			-2px -1px 0   #000,
			 2px -1px 0   #000,
			-2px  1px 0   #000,
			 2px  1px 0   #000,
			-2px -2px 0   #000,
			 2px -2px 0   #000,
			-2px  2px 0   #000,
			 2px  2px 0   #000,
			-2px -2px 0   #000,
			 2px -2px 0   #000,
			-2px  2px 0   #000,
			 2px  2px 0   #000;
	}
}
.hex:hover {
	background-size: 100%;
	box-shadow: inset 0 0 30px $white;
	.in-hex { transform: scale(.9); }
}
*/
.size0 {
  font-size: .8rem !important; }

.size1 {
  font-size: 1rem !important; }

.size2 {
  font-size: 1.25rem !important; }

.size3 {
  font-size: 1.5rem !important; }

.size4 {
  font-size: 1.75rem !important; }

.size5 {
  font-size: 2rem !important; }

.bold, .b {
  font-weight: bold; }

.italic, .i {
  font-style: italic; }

.underline, .u {
  text-decoration: underline; }

.small-text {
  font-size: .75em;
  vertical-align: baseline; }

.big-text {
  font-size: 1.25em;
  vertical-align: baseline; }

.sup,
.sub {
  font-size: .6em;
  line-height: .5; }

.sup {
  vertical-align: top; }

.sub {
  vertical-align: bottom; }

.link {
  position: relative;
  color: #ceb56d; }

/*
.link::after {
	content: '';
	display: inline-block;
	width: .7em;
	height: .7em;
	background: url('/img/icons/link.svg') top left / contain;
	margin-left: .25em;
}
*/
.overlay {
  visibility: hidden;
  background-color: rgba(0, 0, 0, 0.8);
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transition: .3s;
  opacity: 0;
  z-index: 998; }

.overlay.active {
  visibility: visible;
  opacity: 1; }

.hover-opacity {
  transition: .3s; }

.hover-opacity:hover {
  opacity: .7; }

.mt0 {
  margin-top: 0 !important; }

.mt1 {
  margin-top: .25rem !important; }

.mt2 {
  margin-top: .5rem !important; }

.mt3 {
  margin-top: .75rem !important; }

.mt4 {
  margin-top: 1rem !important; }

.mt5 {
  margin-top: 1.5rem !important; }

.mr0 {
  margin-right: 0 !important; }

.mr1 {
  margin-right: .25rem !important; }

.mr2 {
  margin-right: .5rem !important; }

.mr3 {
  margin-right: .75rem !important; }

.mr4 {
  margin-right: 1rem !important; }

.mr5 {
  margin-right: 1.5rem !important; }

.mb0 {
  margin-bottom: 0 !important; }

.mb1 {
  margin-bottom: .25rem !important; }

.mb2 {
  margin-bottom: .5rem !important; }

.mb3 {
  margin-bottom: .75rem !important; }

.mb4 {
  margin-bottom: 1rem !important; }

.mb5 {
  margin-bottom: 1.5rem !important; }

.ml0 {
  margin-left: 0 !important; }

.ml1 {
  margin-left: .25rem !important; }

.ml2 {
  margin-left: .5rem !important; }

.ml3 {
  margin-left: .75rem !important; }

.ml4 {
  margin-left: 1rem !important; }

.ml5 {
  margin-left: 1.5rem !important; }

.p0 {
  padding: 0 !important; }

.p1 {
  padding: .25rem !important; }

.p2 {
  padding: .5rem !important; }

.p3 {
  padding: .75rem !important; }

.p4 {
  padding: 1rem !important; }

.p5 {
  padding: 1.5rem !important; }

.pt0 {
  padding-top: 0 !important; }

.pt1 {
  padding-top: .25rem !important; }

.pt2 {
  padding-top: .5rem !important; }

.pt3 {
  padding-top: .75rem !important; }

.pt4 {
  padding-top: 1rem !important; }

.pt5 {
  padding-top: 1.5rem !important; }

.pr0 {
  padding-right: 0 !important; }

.pr1 {
  padding-right: .25rem !important; }

.pr2 {
  padding-right: .5rem !important; }

.pr3 {
  padding-right: .75rem !important; }

.pr4 {
  padding-right: 1rem !important; }

.pr5 {
  padding-right: 1.5rem !important; }

.pb0 {
  padding-bottom: 0 !important; }

.pb1 {
  padding-bottom: .25rem !important; }

.pb2 {
  padding-bottom: .5rem !important; }

.pb3 {
  padding-bottom: .75rem !important; }

.pb4 {
  padding-bottom: 1rem !important; }

.pb5 {
  padding-bottom: 1.5rem !important; }

.pl0 {
  padding-left: 0 !important; }

.pl1 {
  padding-left: .25rem !important; }

.pl2 {
  padding-left: .5rem !important; }

.pl3 {
  padding-left: .75rem !important; }

.pl4 {
  padding-left: 1rem !important; }

.pl5 {
  padding-left: 1.5rem !important; }

.separator {
  height: 30px; }

@media (min-width: 770px) {
  .mobile-visible {
    display: none !important; } }
@media (max-width: 769px) {
  .mobile-hidden {
    display: none !important; } }
.text-align-left {
  text-align: left !important; }

.text-align-right {
  text-align: right !important; }

.text-align-center {
  text-align: center !important; }

.text-align-justify {
  text-align: justify !important; }

.block-align-right {
  margin-left: auto; }

.block-align-center {
  margin-left: auto;
  margin-right: auto; }

.block-align-left {
  margin-right: auto; }

.main-text {
  color: #ceb56d; }

.main-bg {
  background-color: #ceb56d; }

.relative {
  position: relative; }

.hide {
  display: none !important; }

.overflow-hidden {
  overflow: hidden; }

.overflow-x-hidden {
  overflow-x: hidden; }

.flex {
  display: flex; }

.inline-flex {
  display: inline-flex; }

.flex-wrap {
  flex-wrap: wrap; }

.flex-between {
  justify-content: space-between; }

.flex-around {
  justify-content: space-around; }

.flex-center {
  justify-content: center; }

.flex-middle {
  align-items: center; }

.flex-bottom {
  align-items: flex-end; }

.grid {
  display: grid; }

.inlineGrid {
  display: inline-grid; }

.grid-1-1 {
  grid-template-columns: 1fr 1fr; }

.grid-2-3 {
  grid-template-columns: 2fr 3fr; }

.grid-x3 {
  grid-template-columns: 1fr 1fr 1fr; }

.grid-stretch {
  align-items: stretch; }

.grid-center {
  align-items: center; }

@media (max-width: 769px) {
  .grid-mobile-fold {
    grid-template-columns: 1fr; } }
.justifySelfRight {
  justify-self: right; }

.justifySelfLeft {
  justify-self: left; }

.clearfix {
  clear: both; }

.no-after::after {
  display: none !important; }

.no-before::before {
  display: none !important; }

.hover-transparent {
  transition: .3s ease; }

.hover-transparent:hover {
  opacity: .7; }

.cursor-pointer {
  cursor: pointer; }

.cursor-default {
  cursor: default; }
