* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
:root {
	--index: calc(1vw + 1vh);
	--transition: 1.5s cubic-bezier(.05, .5, 0, 1);

}

@font-face {
	font-family:shrift_header;
	src: url("fonts/ametist.woff2"); /* IE9 Compat Modes */
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family:shrift_1;
	src: url("fonts/BadScript-Regular.ttf"); /* IE9 Compat Modes */
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family:shrift_2;
	src: url("fonts/adana-script.woff2"); /* IE9 Compat Modes */
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family:shrift_3;
	src: url("fonts/philosopher-italic.woff2"); /* IE9 Compat Modes */
	font-weight: normal;
	font-style: normal;
}
body {

	font-family: raleway_f, sans-serif;
	line-height: 1.55; 
  overflow-x: hidden; 
    background-color: #000;
}   

 


/* HTML: <div class="loader"></div> */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #042927a1; 
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
  
 
  .spinner {
  width: 6em;
  height: em;
  
  
  }
  
.wrapper{
  display: flex;
  flex-direction: column;
  align-items:center;
  justify-content:space-between;
  width: 100vw;
  overflow-x: hidden;
  min-height: 100vh;
}
#js-particles{
  position: absolute;
  z-index: 100;
 width: 100%;
 height: 100;
}
header{ 
  display: flex;
  align-items:center;
  justify-content:space-around;
  width: 100vw;
  height: 23vh;
  position: absolute;
  padding-left: 2em;
  padding-right: 2em;
  z-index: 99;
background-color: rgba(78, 221, 221, 0.075);
  box-shadow: inset 0 0 6em rgb(27, 3, 46);
   overflow-x: hidden; 
   background-image: url(img/texture/arabesque.png);
}  
header p{
  text-align: center;
}
#menu{
  font-size: calc(var(--index) * 2);
  cursor: pointer;
 margin-left: 90%;
  display: none;
  position: absolute;
color: #e5d9eb;
border: 2px solid #e5d9eb;
border-radius: 50%;
padding-left: .4em;
padding-right: .4em;
  z-index: 100;
  background-color: #8a59c24f;
  margin-right: 2em;
}  
 
/* навигация==========*/
.navigation {
  width:100%;
  height:13vh;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding-top: 1.5em;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color:#c5afde5e;
  clip-path: polygon(100% 0%, 0% 0% , 0.00% 86.77%, 1.67% 83.62%, 3.33% 78.84%, 5.00% 72.93%, 6.67% 66.52%, 8.33% 60.26%, 10.00% 54.82%, 11.67% 50.76%, 13.33% 48.50%, 15.00% 48.29%, 16.67% 50.14%, 18.33% 53.86%, 20.00% 59.06%, 21.67% 65.20%, 23.33% 71.64%, 25.00% 77.70%, 26.67% 82.76%, 28.33% 86.28%, 30.00% 87.89%, 31.67% 87.43%, 33.33% 84.94%, 35.00% 80.69%, 36.67% 75.12%, 38.33% 68.81%, 40.00% 62.42%, 41.67% 56.62%, 43.33% 52.01%, 45.00% 49.07%, 46.67% 48.12%, 48.33% 49.25%, 50.00% 52.34%, 51.67% 57.08%, 53.33% 62.96%, 55.00% 69.37%, 56.67% 75.64%, 58.33% 81.12%, 60.00% 85.23%, 61.67% 87.55%, 63.33% 87.83%, 65.00% 86.04%, 66.67% 82.38%, 68.33% 77.21%, 70.00% 71.09%, 71.67% 64.65%, 73.33% 58.57%, 75.00% 53.47%, 76.67% 49.90%, 78.33% 48.22%, 80.00% 48.62%, 81.67% 51.04%, 83.33% 55.24%, 85.00% 60.78%, 86.67% 67.07%, 88.33% 73.47%, 90.00% 79.30%, 91.67% 83.96%, 93.33% 86.95%, 95.00% 87.97%, 96.67% 86.91%, 98.33% 83.87%, 100.00% 79.19%);
  

}
.menu_a1{
   
  height: auto;
    align-self: flex-end;
   
    text-decoration: none;
    width: 30%;
}




.social{
  width: 20vw;
  display: flex;
  align-items: center;
  justify-content: center;
  
}
.vk, .tg{
  width: calc(var(--index) * 3);
  cursor: pointer;
}

.logo{
  align-self: flex-end;
  font-size: calc(var(--index) * 1);
width: 15vw;
height: auto;
  font-family:shrift_header;
  color:transparent;
  background-image:url(https://media.giphy.com/media/v1.Y2lkPWVjZjA1ZTQ3NjM0dmJsM3RhMGg3cnQ4ZGh4bWNkem9wdDlqc2R4ZjEydXgxOWx3aiZlcD12MV9naWZzX3NlYXJjaCZjdD1n/WrmMDD4BpYSEjzQpJS/giphy.gif);
-webkit-background-clip: text;
}


a{
  text-decoration: none;
   z-index: 2;
}
a:hover {
transform: scale(1.1);
transition: all .1s ease;
filter: drop-shadow(15px 15px 10px #171713) ;
}





main{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  min-height: 100vh;
  background-color: #000;
  
}

main::after {
	content: '';
	position: absolute;
	z-index: 100;
	width: 100vw;
  height: 20vh;
	
	background-image: url(img/img27.png);
	background-size:contain;
background-repeat: repeat-x;
	background-position: center;
top: 83vh;
}

#gradient {
  background: radial-gradient(#864bb6, transparent 50%);
  width: 200px;
  height: 200px;
  position: absolute; 
  top: -100px;
  left: -100px;
  transform: translate(200px, 200px);
}
.layers {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
	perspective: 1000px;
	overflow: hidden;
  width: 100vw;
  height: 100vh;
 position: relative;
 
}
  
.layers__container {
	height: 100vh;
	width: 100vw;
 	transform-style: preserve-3d;
	transform: rotateX(var(--move-y)) rotateY(var(--move-x));
	will-change: transform;
	transition: transform var(--transition);
}
.layers__item {
	position: absolute;
  width: 100%;
  height: 100%;
  z-index: 3;
	inset: -5vw;
	background-size: contain;
	background-position: center;
	display: flex;
	align-items: center;
	justify-content: center;

}
.layer-1 {
  width: 140%;
  height: 120%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: inset 0 0 15em rgb(0, 15, 20);
	transform: translateZ(-80px) scale(1.1) ;
}
.layer-2 {

  width: 100%;
  height: 100%;
  align-self: center;
  margin-top: 1%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
	transform: translateZ(60px) scale() ;
 
 opacity: .9;
}
.layer-3 {
  width: 100%;
  height: 100%;
 
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  align-self: center;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  
	transform: translateZ(120px) scale()   ;
}
.layer-4{
  width: 120%;
  height: 125%;
  
  background-size: cover;
	transform: translateZ(230px) scale(.65) translateX(-130px);
  
} 
p{
  font-size: calc(var(--index) * 1);
  font-family:shrift_1;
  color: rgb(26, 17, 34);
  text-shadow:1px 1px 10px  rgb(217, 197, 236);
  letter-spacing: .05em;
  text-indent: 2em; 
  font-weight: bolder;
  width: 95%;
  padding: .2em;
  align-self: flex-end;
  margin-bottom: 1em;
}     
span{
  font-size: calc(var(--index) * 1);
  font-family:shrift_3;
  width: min-content;
  text-align: center;
  color: rgb(22, 4, 39);
  text-shadow:1px 1px 10px #f0ecf3;
  letter-spacing: .05em;
  text-indent: 2em;
  font-weight: bolder;
  z-index: 4;
  position: absolute;
  transition: .25s ease;
    align-self: center;
}

.p_nav{
  opacity: 1;
  font-size: calc(var(--index) * 1);
  font-family:shrift_header;
margin-bottom: 2em;
}
.menu_a{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30vw;
   transition: .25s ease;
  }

.main_menu{
display: flex;
flex-wrap: wrap;
width: 90vw;
min-height: 70vh;
align-self: center;
align-items: center;
justify-content: space-around;
margin-left: 7%;
margin-top: 7%;
}

.illustracia{
 width: calc(var(--index) * 4);
}
.video_menu1 {
  width: calc(var(--index) * 8);
border-radius: 50%;
z-index: 2;
transition: 1s ease;
position:absolute;
cursor: pointer;
filter: drop-shadow(1px 1px 5px #1a0920);
margin: .5em;
}
 
footer{
  display: flex;
 justify-content:center;
    align-items:center;
   
  width: 100vw;
  height: 15vh;
  background-color: #67b1b8;
   background-image: url(img/texture/brick-wall-dark.png);

   box-shadow: inset 0 0 6em rgb(27, 3, 46);
}
.footer_p{
 text-align: center;
 width: 40%;
 font-size: calc(var(--index) * .5);
 font-family:shrift_header;
 color: rgb(176, 135, 209);
letter-spacing: .2em;
font-size: calc(var(--index) * .6);
text-shadow:1px 1px 10px  rgb(20, 11, 29);

}  
 
  .audio1 img{
   width: calc(var(--index) * 2.5) ;
   align-self: flex-end;
   margin-right: 4em;
   margin-top: 5em;
   background-color: #200527b7;
   border-radius: 50%;
  }
  .soundbutton {
  cursor: pointer;
  filter: drop-shadow(1px 1px 5px #350635);
  transition: .25s ease;
  }
  .soundbutton.paused {
  opacity: .7;
  }
  
  footer img:hover{
  filter: drop-shadow(1px 1px 5px #aa2ddb);
 
}  
@media (max-width: 1000px) {
  .navigation{
    display: flex;
      flex-direction: column;
     justify-content: center;
      align-items:center;
      width: 100vw;
      height: auto;
      padding:.4em;
      top: 17%; 
      transform: scale(0);
      opacity: 0;
      transform-origin: top right;
      transition: none;
      clip-path: none;
      --mask: 
    linear-gradient(90deg,#0000 30px,#000 0),
    radial-gradient(30px,#000 calc(100% - 1px),#0000) left/60px 55.5px;
  -webkit-mask: var(--mask);
          mask: var(--mask);
  }
  .navigation.active{
      transform: scale(1);
      opacity: 1;
      transition: 1s ease-out;
  }
  .menu_a1{
   width: auto;
    height: auto;
    align-self: flex-end;
    margin-top: 1rem;
    padding-right: 2em;
    text-decoration: none;
  }
  #menu{
    display:initial;
    
}
.p_nav{
  opacity: 1;
  font-size: calc(var(--index) * 1);
  font-family:shrift_header;
  width: auto;
  height: auto;
}
header{ 
  display: flex;
  align-items:center;
  justify-content:space-around;
  width: 100vw;
  height: 15vh;
  position: absolute;
  padding-left: 2em;
  padding-right: 2em;
  z-index: 99;
background-color: rgba(78, 221, 221, 0.075);
  box-shadow: inset 0 0 6em rgb(27, 3, 46);
   overflow-x: hidden; 
   background-image: url(img/texture/arabesque.png);
}  

.layers{
  background-color: #92dadf;
  background-image: url(img/img24.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
footer{
  display: flex;
  flex-direction: column;
 justify-content:center;
    align-items:center;
  
  width: 100vw;
  height: 15vh;

}
}
