﻿@import url("../../../css2");

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box
}

body,
html {
	scroll-behavior: smooth;
  margin: 0;
  padding: 0;
	box-sizing: border-box;
	  overflow-y: auto;
	    overflow-x: hidden;
		  overscroll-behavior: none;
}

:root {
	--body: #ffb000;
	--secondBG: #f3c684;
	--thirdBG: #ffc927;
	--text: #000;
	--red: #ed2b20;
	--widthMain: 1200px;
	--transition: 500ms
}
@font-face {
  font-family: 'Luckiest Guy';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(./LuckiestGuy-Regular.ttf) format('truetype');
}
body {
	background: var(--body);
	position: relative;
	font-family: 'Luckiest Guy', serif;
	min-height: 350px
}

a,
body {
	color: var(--text)
}

a {
	text-decoration: inherit
}

:focus,
:hover,
a {
	transition: var(--transition)
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
button,
h1,
h2,
h3,
h4,
h5,
h6,
input,
textarea {
	font-family: 'Luckiest Guy', serif;
	transition: var(--transition)
}

.JC-LoaderContent {
	position: relative
}
.JC-navBar {
	position: fixed;
	left: 0;
	margin: 0 auto;
	width: 100%;
	top: 0;
	border-bottom: 5px solid transparent
}

.JC-navBar,
.scrolled {
	transition: var(--transition)
}

.scrolled {
	border-bottom: 5px solid var(--text);
	-webkit-backdrop-filter: blur(5px);
	backdrop-filter: blur(5px);
	--webkit-backdrop-filter: blur(5px);
	background: rgba(227, 173, 51, .5)
}

.JC-navBar-width {
	width: var(--widthMain);
	margin: 0 auto;
	height: 100px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	transition: var(--transition)
}

.scrolled>.JC-navBar-width {
	height: 90px;
	transition: var(--transition)
}

.JC-LogoLink {
	gap: 20px
}

.JC-LogoLink,
.JC-LogoLink-text {
	display: flex;
	align-items: center;
	transition: var(--transition)
}

.JC-LogoLink-text {
	gap: 5px
}

.JC-LogoLink p {
	font-size: 34px
}

.JC-LogoLink p:nth-child(2n) {
	transform: translateY(-2px);
	transition: var(--transition)
}

.JC-LogoLink p:nth-child(odd) {
	transform: translateY(2px);
	transition: var(--transition)
}

.JC-Logo {
	filter: drop-shadow(-1px 4px 0 #bf9a3e);
	transition: var(--transition);
	width: 50px
}

.JC-LogoLink:hover p:nth-child(2n) {
	transform: translateY(2px);
	transition: var(--transition)
}

.JC-LogoLink:hover p:nth-child(odd) {
	transform: translateY(-2px);
	transition: var(--transition)
}

.JC-LogoLink:hover .JC-Logo {
	transform: rotate(300deg);
	transition: var(--transition)
}

.JC-navLink {
	font-size: 22px;
	background: var(--secondBG);
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-transform: uppercase;
	padding: 0 40px;
	border: 4px solid var(--text);
	letter-spacing: 2px;
	transition: var(--transition);
	box-shadow: 3px 4px 0 #bb891b
}

.JC-navLink:hover {
	background: var(--thirdBG);
	transition: var(--transition);
	box-shadow: 0 0 0 var(--text)
}

.JC-Container {
	padding-top: 100px
}

.JC-HomeContainer {
	position: relative
}

.JC-HomeCenter {
	flex-direction: column;
	min-height: 80vh;
	gap: 50px
}

.JC-HomeCenter,
.JC-HomeCenter-text {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center
}

.JC-HomeCenter-text {
	transition: var(--transition);
	font-size: 80px
}

.JC-HomeCenter-text p {
	transition: var(--transition);
	letter-spacing: 15px;
	text-shadow: 3px 4px 0 #bb891b
}

.JC-HomeCenter-text p:nth-child(2n) {
	animation: frameUp 5s linear 0s infinite forwards
}

@keyframes frameUp {
	0% {
		transform: translateY(-15px)
	}

	50% {
		transform: translateY(15px)
	}

	to {
		transform: translateY(-15px)
	}
}

.JC-Homerays {
	position: fixed;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	z-index: -1;
	animation: rotateRays 25s linear 0s infinite forwards;
	opacity: .4
}

@keyframes rotateRays {
	0% {
		transform: rotate(0deg)scale(2)
	}

	to {
		transform: rotate(1turn)scale(2)
	}
}

.JC-Homerays img {
	width: 100%;
	height: 100%
}

.JC-HomeBottom {
	display: flex;
	align-items: center;
	justify-content: center
}

.JC-HomeBottom-left {
	display: flex;
	align-items: center;
	gap: 10px
}

.JC-HomeBtn {
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px;
	cursor: pointer;
	background: var(--secondBG);
	border: 4px solid var(--text);
	transition: var(--transition);
	box-shadow: 3px 4px 0 #bb891b
}

.JC-HomeBtn:first-child {
	transform: rotate(-5deg)
}

.JC-HomeBtn:nth-child(2) {
	transform: rotate(5deg)
}

.JC-HomeBtn:hover {
	transform: rotate(0deg)scale(1.08)
}

.JC-HomeBtn svg {
	width: 100%;
	height: 100%
}

.JC-CopyBtn {
	background: var(--secondBG);
	border: 4px solid var(--text);
	transition: var(--transition);
	box-shadow: 3px 4px 0 #bb891b;
	height: 50px;
	padding: 0 25px;
	font-size: 1vw;
	position: relative;
	display: flex;
	cursor: pointer;
	align-items: center;
	justify-content: center;
	text-align: center;
	  -webkit-tap-highlight-color: transparent;
	color: black;
	margin-top: 20px;
}

.JC-CopyBtn:hover {
	transform: scale(1.08)
}

.JC-CopyBtn:after {
	content: "click to copy";
	position: absolute;
	bottom: -30px;
	font-size: 14px;
	transform: translateY(-30px);
	z-index: -1;
	transition: var(--transition);
	opacity: 0;
	visibility: hidden
}

.JC-CopyBtn:hover:after {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	transition: var(--transition)
}

.JC-CopyBtn span {
	position: absolute;
	top: -50px;
	font-size: 2vw
}
.JC-CopyBtn p {
	font-size: 1vw;
}
.dvd-container {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	overflow: hidden;
	background-color: transparent;
	z-index: -1;
	opacity: .6
}

.dvd-logo {
	position: absolute;
	width: 80px;
	height: 80px
}

.JC-LogoCenter {
	width: 220px;
	transition: transform .5s ease-out
}

.JC-LogoCenter:hover {
	animation: rotateLogo 1s linear infinite
}

.JC-LogoCenter:not(:hover) {
	animation: none;
	transform: rotate(1turn)
}

@keyframes rotateLogo {
	0% {
		transform: rotate(0deg)
	}

	to {
		transform: rotate(1turn)
	}
}

.JC-HomeBtn img {
	width: 100%;
	height: 100%
}

@media only screen and (max-width:1300px) {
	:root {
		--widthMain: 90%
	}
}

@media only screen and (max-width:550px) {
	.JC-LogoLink-text {
		display: none
	}
	.JC-CopyBtn span{
		font-size: 4vw;
	}
.JC-CopyBtn p {
	font-size: 2.5vw;
}
	.JC-HomeCenter-text {
		font-size: 58px
	}

	.JC-CopyBtn {
		width: 100%;
		height: 60px
	}

	.JC-HomeBottom {
		width: var(--widthMain);
		bottom: 40px
	}

	.JC-CopyBtn:after {
		display: none
	}
}

@media only screen and (max-width:450px) {
	.JC-HomeCenter-text {
		font-size: 42px
	}

	.JC-LogoCenter {
		width: 180px
	}

	.JC-CopyBtn {
		font-size: 12px
	}
}
canvas {
  position: relative;
  bottom: 0;
  left: 0;
      width: 100%;
  height: 600px;
  z-index: 1;
  display: inline-block;
  outline: none;
    touch-action: auto; 
}
#viewer-container canvas {
  transform: translateY(-9%);
}
    #score {
        position: absolute;
        top: 100px;
        left: 50%;
        transform: translateX(-50%);
        color: #c68700;
        font-size: 7rem;
        z-index: 0;
        pointer-events: none;
    }
    .JC-GameWrapper {
  width: 400px;
  max-width: var(--widthMain);
  margin-top: 60px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  margin-bottom: 60px;
}
  .responsive-block {
    width: 400px;
  }

  @media (max-width: 768px) {
    .responsive-block {
      width: 90vw;
    }
  }


.social-big {
    display: flex;
    justify-content: space-between;
    align-items: center;            
    width: 50%;                
    margin: 0 auto;            
    gap: 10px;               
}

.social-big img {
    width: 100%;
    height: auto;             
    flex: 1;                        
}
  @media (max-width: 768px) {
	.social-big {
		width: 90%;
	}
  }


  #viewer-container {
  overflow: hidden;
  position: relative;
  height: 75%; /* начальное значение */
}

.buttons-anim{
  transition: transform 0.3s ease;
}
.buttons-anim:hover{
	  transform: scale(1.2); 
}