 
html {
   
    min-height: 100%;
  
    
}
::-webkit-scrollbar {
    display: none;
}
body {
	    -ms-overflow-style: none;  /* Internet Explorer 10+ */
    scrollbar-width: none;
/*overflow: overlay;
     bottom = footer height */
    font-family: 'Golos Text', sans-serif;
    color: white;
	background: black;
	margin: 0;
	overflow-x: hidden;
	width:100%;
	
}

.lang{
	animation: fade-in2 2s forwards;
	    font-size: 1.5em;
    font-family: 'Zen Kurenaido', sans-serif;
    /* font-family: 'Golos Text', sans-serif; */
    padding: 10px 20px;
    right: 0;
    position: absolute;
    z-index: 2;
}

    
.main_img_container{
	width: 100%;
	position: absolute;
	display: flex;
	justify-content: space-around;
	z-index: -2;
}
    
.main_back_pic{
justify-content: center;
    display: flex;
    /* justify-self: auto; */
    font-size: 20vw;
    color: blue;
    width: 30%;
}

.full_w{
	width: 100%;
}

.main_centerText{
	align-items: center;
	text-transform: uppercase;
    flex-flow: column;
    display: flex;
	position: relative;
	width: 100%;
	background: rgba(0,0,0,0.85);
	
	font-family: 'Shippori Antique B1', sans-serif;
}


.main_menu{
	cursor: pointer;
	background: rgba(0,0,0,0.85);
	position: relative;
	flex-wrap: wrap;
	font-family: 'Zen Kurenaido', sans-serif;
	display: flex;
	justify-content: space-evenly;

   
}


.mm_item{
	display: flex;
    justify-content: center;
    height:15vh;
    width: 25%;
    flex-wrap: wrap;
	text-transform: uppercase;
	font-size: 3vw;
	transition: all 1s;
	padding: 2%;
	text-align: center;
	opacity: 0;
  	filter: blur(4px);
  	transform: scale(0.9);
  	animation: fade-in 2s forwards;
  	
}

.mm_item:hover{
	color:aqua;
}


.mm_item:nth-child(1){
	align-items: center;
    flex-direction: column;
	display: flex;
    justify-content: center;
    font-family: 'Shippori Antique B1', sans-serif;
    width: 100%;
    height:unset;
    flex-wrap: wrap;
	text-transform: uppercase;
	font-size: 5vw;
	padding: 1%;
	opacity: 0;
  	filter: blur(4px);
  	transform: scale(0.9);
  	animation: fade-in 2s 0.1s forwards;
}

.mm_item:nth-child(1).active{
 	padding: 4%;
 	top: 0vh;
 	color: white;
}

.active{
	color: red;
	animation: fade-in 2s forwards, glow 10s infinite linear;
	transition: all 1s;
}

.played{
    opacity: 1;
    filter: blur(0);
    transform: scale(1);	
}


.mm_item.active > .company_title{
	font-size: 15vw;
	transition: all 1s;
}
.mm_item.active > .company_subtitle{
	font-size: 3vw;
	transition: all 1s;
}
.company_subtitle{
	    font-size: 2vw;
	transition: all 1s;
}
.company_title{
	transition: all 1s;
}

.mm_subcont{
	display:flex;
	justify-content: space-around;
    width: 100%;
}

.mm_item:nth-child(3) {
	transition: all 1s;
	align-content: flex-end;
	padding-top: 7vw;
}



.regular_text{
    padding: 5vw;
    font-size: 2vw;
}

.regular_title{
	width: 80vw;
    clip-path: polygon(0% 0%, 75% 0%, 100% 50%, 75% 100%, 0% 100%);
    align-items: center;
    display: flex;
    color: black;
    text-align: center;
    padding: 5vw 4vw 5vw 2vw;
    font-size: 5vw;
    background: #8fbbff;
}
.central_block {
    background: #1345a1;
    display: flex;

}

.fa-backward{
	    font-size: 4em;
}

    /* Overlay styles */
    .overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.8);
      display: none;
      align-items: center;
      justify-content: center;
      z-index: 1000;
    }

    .overlay video {
      max-width: 90%;
      max-height: 80%;
      box-shadow: 0 0 20px rgba(0,0,0,0.5);
    }

    /* Close button */
    .close-btn {
      position: absolute;
      top: 20px;
      right: 30px;
      font-size: 32px;
      color: white;
      cursor: pointer;
      font-weight: bold;
    }
    
.content_box{
	width:100%;
	min-height: 50vh;
	background: rgba(0,0,0,0.85);
}

.lang-ru{
	letter-spacing: unset !important;
}

.shown{
	animation: fadeOutToNone 1s linear  ;
	animation-direction:reverse;
	display:flex!important;
}

.hidden{
	
	animation: fadeOutToNone 1s ;
	display:none !important;
}

.projects_block{
	padding-bottom: 10vh;
	
	width:100%;
	flex-wrap: wrap;
	background: #000c27db;
}
.prj_introtext{
    text-align: center;
    padding: 5% 15%;
    width: 100%;

}

.prj_item{
	    color: blanchedalmond;
    text-decoration: none;
	box-sizing: border-box;
	margin-right: auto;
    margin-left: auto;
	align-items: center;
	flex-direction: column;
	width:45%;
	display:flex;
	transition: all 1s, border 1ms;
	border: 3px solid transparent ; 
}
.p_item_year{
    font-size: 2vw;
    padding-top: 3vw;	
}



figure {

}

figure > img {
  grid-row: 1 / -1;
  grid-column: 1;
}

figure a {
  color: black;
  text-decoration: none;
}

figcaption {
  grid-row: 2;
  grid-column: 1;
  background-color: rgba(255,255,255,.5);
  padding: .2em .5em;
  justify-self: start;
}


.test_block {
  display: flex;

  flex-wrap: wrap; /* allows items to wrap to new lines */
 

  
}
.container > *:first-child {
  flex: 1 1 100%;
}
.placeholder {
	    width: 100%;
}
.test_item{
	order:0;
	      justify-content: center;

    align-items: anchor-center;

    margin: 1em;
    color: black;
    padding: 3em;
    background: antiquewhite;
transition: none;
  opacity: 1;

}

.test_item.Xhidden {
	height:0;
  opacity: 0;
  padding: 0;
  margin: 0;
  width: 0;
  flex-grow: 0;
  transition:
    opacity 0.4s ease 0s,
    padding 0.4s ease 0.4s,
    height 0.4s ease 0.4s,
    margin 0.4s ease 0.4s,
    width 0.4s ease 0.8s,
    flex-grow 0.4s ease 0.4s;
}
.test_block > .test_item.Xshowing:only-child {
	width: 80vw;
  transition:
  
    padding 0.4s ease 0s,
    height 0.4s ease 0s,
    margin 0.4s ease 0s,
    width 0.4s ease 0s,
    flex-grow 0.4s ease 0s,
    opacity 0.4s ease 0.4s;
}

.test_item.Xshowing {
  opacity: 1;
  padding: 2em;
  margin: 1em;
	width: 20vw;
  flex-grow: 5;
  transition:
  
    padding 0.4s ease 0s,
    height 0.4s ease 0s,
    margin 0.4s ease 0s,
    width 0.4s ease 0s,
    flex-grow 0.4s ease 0s,
    opacity 0.4s ease 0.4s;
}
/*.test_item.Xhidden {
  opacity: 0;
  padding: 0;
  margin: 0;
  width: 0;
  flex-grow: 0;
  transition:
    opacity 0.4s ease 0s,
    padding 0.4s ease 0.4s,
    margin 0.4s ease 0.4s,
    width 0.4s ease 0.4s,
    flex-grow 0.4s ease 0.4s;
}
.test_item.Xshowing {
  opacity: 1;
  padding: 7em;
  margin: 1em;
  width: 9%;
  flex-grow: 5;
  transition:
    padding 0.4s ease 0s,
    margin 0.4s ease 0s,
    width 0.4s ease 0s,
    flex-grow 0.4s ease 0s,
    opacity 0.4s ease 0.4s;
}
*/

.prj_item:hover{
	
	transform: scale(1.02, 1);
	filter: drop-shadow(0 0 0.75rem yellow);
	border: 3px solid white ;
	border-radius: 12px;
}

.p_link{
font-size: 4vh;
    padding: 5vh 10vh;
    justify-content: center;
    align-items: center;
    display: flex;
    border-radius: 30px;
    border: 5px solid #353327;

    color: white;
    text-decoration: none;

    margin-bottom: 5vh;
    margin-top: auto;
    background: black;
}

.p_item_pic{
	padding: 2vh;
    width: 29vw;
    filter: drop-shadow(0 0 0.75rem white);
}
.p_item_spic{
    object-fit: cover;
       height: 40vw;
    width: 100%;
        border-radius: 3vw;
}
.p_item_name{
	text-transform: uppercase;
	font-size: 3.5em;
    padding: 4vh;
}
.p_item_desc{
    text-align: justify;
    padding: 4vw;
    font-size: 2em;
    width: 80%;
}
.crew_block{
	flex-wrap: wrap;
}
.crew_cont{
display: flex;
background: #2e2e2e;
}
.crew_role{
	    color: whitesmoke;
font-family: 'Shippori Antique B1', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1vh;
    text-align: center;
    font-size: 4vw;
    padding: 3vh;
}  
.crew_item{
	margin-top: 2vw;
	background: #5e2828;
	color: black;
}
.crew_pic{
display: flex;
}    
.crew_spic{
	object-position: left;
	object-fit: cover;
	width: 30vw;
	clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
}


.crew_item:nth-of-type(3) > .crew_cont > .crew_pic > .crew_spic{
    
    object-position: left;
 }

.crew_text_cont{
display: flex;
    flex-flow: column;

}   
.crew_title {
text-align: center;
    padding: 3vw;
    font-size: 4vw;
    background: #a2a2a2;
    clip-path: polygon(0 0, 100% 0%, 100% 100%, 10% 100%);
}
.crew_text {
    color: white;
        padding: 8vw;
    font-size: 2vw;
}

.masonry-layout {
    justify-content: space-evenly;
    flex-wrap: wrap;
    display: flex;
}
.masonry-layout__panel {
	color: wheat;
    width: 32%;
  break-inside: avoid;
  padding: 5px;
}

.masonry-layout__panel .important{
background:#190d34 !important;
}

.masonry-layout__panel-content {
	    justify-content: space-between;
    flex-flow: column;
    display: flex
;
    min-height: 55em;
  padding: 10px;
  border-radius: 10px;
}

.masonry-layout__panel-content.important .mason_pic {
    object-fit: cover;
    max-height: 90vh;
    min-height: 50vh;
}

.masonry-layout__panel-content:hover .mason_pic,
.masonry-layout__panel-content:hover .mason_desc,
.masonry-layout__panel-content:hover .mason_title
{
	filter: drop-shadow(0 0 0.75rem yellow);
	transition: box-shadow 0.3s ease;
}

.masonry-layout__panel:nth-child(2n + 1) .masonry-layout__panel-content {
  background: #313152;   /* 1, 4, 7... */
}

.masonry-layout__panel:nth-child(2n) .masonry-layout__panel-content {
  background: #190d34;  /* 2, 5, 8... */
}


.mason_desc a {
    color: ghostwhite;
}
.mason_text_wrapper{
	    justify-content: center;
    flex-flow: column;
    display: flex;
    height: 13em;
    
}
.mason_pic{
	    object-position: top;
    object-fit: cover;
       height: 42em;
	width: 100%;
	border-radius: 10px;
}
.mason_pic_wrapper {
	width: 100%;
  position: relative;
  display: inline-block;
}
.mason_pic img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
}
.overlay_mason {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
}

.mason_link_overlay{
	position: absolute;
    inset: 0;

    border-radius: 10px;
}

.overlay_mason:hover {

    background: rgba(0, 0, 0, 0);

}

.overlay_mason:hover + .mason_icon{
	opacity: 100%;
    color:#ffff8b;

}

.mason_icon {
	padding-bottom: 0.5em;
	opacity: 40%;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: end;
  justify-content: center;
  font-size: 7rem;
  color: white; /* visible on grey */
  pointer-events: none; /* so clicks pass through if needed */
}

.mason_title{
	    font-weight: bold;
	    text-align: center;
    text-transform: uppercase;
    font-size: 1.8em;
    padding: 2vw;
	
}
.mason_desc{
	text-align: center;
    padding: 0vw 1vw 1vw 1vw;
     font-size: 1.5em;
	
}


.service_item_container {
    font-size: 1.5vw;
    justify-content: space-evenly;
    flex-wrap: wrap;
    text-align: justify;
}

.service_items {
	justify-content: space-evenly;
    flex-wrap: wrap;
    text-align: justify;
    display: flex;
    
    position: relative;
}


.example {
	max-width: 38%;
	width:auto !important;
	height: unset !important;
}

.noInvert{
	filter: unset !important;
}

.example .service_item_text {
	opacity: 1;
}
.example_vid {
	width:100%;
}


.example_vid video {
	width:100%;
	height: 15em;
  object-fit: cover; /* default state for poster */
  transition: object-fit 0.3s ease;
    display: block;
}
@supports (-moz-appearance: none) {
  .example_vid video {
    object-fit: contain;
  }
}
.example_vid video.playing {
  object-fit: contain;
}


.service_item:nth-of-type(even) {
    color: #32345c;
    background: #ffff8b;
}
.service_item:nth-of-type(even) > .service_item_nottxt > .service_item_title {
	color:black;
}
.service_item:nth-of-type(even) > .service_item_nottxt > .service_item_subtitle {
	background: white;
}

.service_item_sign {
    font-size: 600%;
    
    width: fit-content;
    filter: scale(1);
    opacity: 1;
    height: auto;
    
  
}
.service_item_title {
	    min-height: 2em;
    color: #80b6ff;
    letter-spacing: 0.4vw;
    font-weight: bolder;
    text-transform: uppercase;
    margin: 2vw;
    text-align: center;
    font-size: 2vw;
    
}

.service_item_subtitle {
    padding: 2vw;
    background: black;
    
}
.service_item_text {
	transition: opacity 0.5s linear;
	opacity: 0;
	margin-bottom: 1vw;
    text-align: center;
        font-size: 2vw;
}

.service_item_nottxt{
	align-items: center;
    flex-flow: column;
    display: flex;
	transition: opacity 0.5s linear;
	opacity: 1;
	justify-content: space-evenly;
    height: 100%;
}
.service_item {
	height: 22em;
	 position: relative;
    margin-bottom: 4%;
    padding: 3%;
    width: 22vw;;
    background: #575757bd;
	/*transition: all 0.5s linear;*/
    overflow: hidden;
    

    transition: all 0.5s ease;
    order: 0;
    flex-shrink: 0;
}

.service_item:hover{
	filter: invert(100%);
	
}

.service_item:hover > .visible_txt{
	opacity: 1 !important;
	
}

.service_item:hover > .service_item_nottxt{
	opacity: 0;
	
}

.service_item:hover > .service_item_text {
	opacity: 1;
	
}

.optrans {
	width: 80%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

}

.example_return{
    align-items: center;
    height: 100%;
    justify-self: center;
    /* clip-path: polygon(100% 0%, 95% 50%, 100% 100%, 5% 100%, 0% 50%, 5% 0); */
    font-size: 5em;
    display: flex
;
    justify-content: center;
    /* padding: 0.5em; */
    color: wheat;
    /* background: white; */
    width: 30%;
}

.example_return:hover{
    color: blue;


}


.covered{
    /*animation: fadeOutToNone 1s ;
	display:none;*/
	
	opacity: 0;
    pointer-events: none;
    transition: all 0.5s ease;
    position: absolute;
}

.wide_el {
	width:100% !important;
	transition: all 0.5s ease;
	height: 5em !important;
	padding-left: 0;
}

.covered2{
    animation: fadeOutToNone 0.5s forwards;
	display:none;
	
	opacity: 0;

}

.wide_el .service_item_nottxt{
	flex-flow: row !important;


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

.uncovered {
  display: flex; /* Set immediately */
  animation: fadeInFromNone 0.5s ease;
}
.wide_el .service_item_nottxt .service_item_title{
min-height: unset;

}


.content_examples{
	width: 90vw;
    margin: 1em;
    padding: 0.5em;
    background: #000fff94;
}

.error{
	align-items: center;
    justify-content: center;
    flex-flow: column;
    height: 100vh;
    background: grey;
    display: flex;
}

.checkout_text{
	font-size: 3vw;
    padding: 2em;
    text-align: center;
}

@keyframes switch {
 
    0%,
    5%,
    100% {
        filter: blur(0px);
        opacity: 1;
    }
 
    50%,
    80% {
        filter: blur(180px);
        opacity: 0;
    }
}

@keyframes fadeSof {
  0% {
    	display: block;
    	opacity: 1;
  }

  99% {
    	display: block;
    	opacity: 0;
  }

  100% {
       	display: none;
    	opacity: 0;
  }
}

@keyframes fade-in {

  100% {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
  }
}

@keyframes fade-in2 {
  0% {
     
    opacity: 0;
	filter: blur(1);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    
  }
}


@keyframes fadeOutToNone {
  0% {
     display: flex;
    opacity: 1;

  }

  99% {
    display: flex;
    opacity: 0;
  }

  100% {
       display: none;
    opacity: 0;
  }
}

@keyframes glow {
  0% {
    filter: hue-rotate(0deg);
  }
  25% {
    filter: hue-rotate(90deg);
  }
  50% {
    filter: hue-rotate(180deg);
  }
  75% {
    filter: hue-rotate(270deg);
  }
  100% {
    filter: hue-rotate(360deg);
  }
}
@media only screen and (max-width: 1100px) {
.p_item_desc {

    font-size: 1.5em;

}
.masonry-layout__panel {
	width: 48%;
}
.mason_title {
	font-size: 1.4em;
}
.mason_desc {
	font-size: 1.4em;
}
}

@media only screen and (max-width: 700px) {
	.mason_icon {
	padding-bottom: 0.5em;

  font-size: 4rem;

}
.masonry-layout__panel {
        width: 47%;
}
.mason_title {
	font-size: 1em;
}
.mason_desc {
	font-size: 1em;
}
.mason_text_wrapper{
	height: 10em;
}
.masonry-layout__panel-content {
     min-height: 30em;
}
.mason_pic {
    height: 20em;
}
.service_item {

    width: 40vw;
}
.example {
    
            min-width: 88vw;
    height: unset !important;
}
.service_item_title {
        padding: 0.5em;
        min-height: unset;
    font-size: 4vw;
}
.service_item_text {

        font-size: 3.5vw;
}
.regular_text {

    font-size: 3vw;
}
.service_item_container {
    font-size: 3vw;

}
.mm_item {
	    height: 2em;
    font-size: 5vw;


}
.crew_text {
   
    font-size: unset;
}
.crew_spic {
	object-position: top;
    margin-right: auto;
    margin-left: auto;
    clip-path: unset;
    width: 80%;
}
.crew_item:nth-of-type(3) > .crew_cont > .crew_pic > .crew_spic {
   	object-position: top;
    margin-right: auto;
    margin-left: auto;
    clip-path: unset;
}
.crew_pic {
    height: 40vh;
    width: 80%;

}
.crew_cont {
    align-items: center;
    flex-direction: column;
    display: flex;
    }
.p_item_name {
    font-size: 1.2em;

}
.p_item_desc {
padding-bottom: 6vh;
    font-size: 1em;
width: 90%;
}
.p_link {
    font-size: 2vh;
    padding: 2vh 3vh;
    }
}

.footer{
    justify-content: center;
	display: flex;
	letter-spacing: 2px;
}