@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=IBM+Plex+Sans:ital,wght@0,100..700;1,100..700&family=Jost:ital,wght@0,100..900;1,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Onest:wght@100..900&display=swap');

html {
	font-size:14px;
	overflow-y: scroll;
}

* {
	box-sizing: border-box;
	-webkit-tap-highlight-color: transparent;
	margin:0;
	padding:0;
	overflow-x: hidden;
}

img {
	width:100%;
	object-fit: contain;
}

body {
	font-family: "Montserrat", sans-serif;
	width:100%;
	min-height: 100vh;
	background-color: #b843a4;	
}

body::-webkit-scrollbar { 
	display: none;
}

.centr {
	margin:0 auto;
}

.container {
	width:100%;
}

.about {
	font-size:1.65rem;
	text-align: center;	
	color:white;
	width:100%;
	padding:55px 0 45px;
	z-index: 100;
	overflow-y: hidden;	
}

.about h1 {
	font-size: 1.7em;
	font-weight: 400;
}

::-webkit-scrollbar {
  display: none;
} 


@keyframes  who {
0% { opacity: 0; }
15% { opacity: 0%; }
100% { opacity: 100%; }
} 

.who {
	width:70%;	
	animation: who 1s; 
}

#main-block {
	margin:90px 0 50px;	
	opacity: 0;
}

.wrapper {
	
}

.seeall {
	margin:0 auto;
	text-align:center;
	margin-bottom: 15px;
	animation: who 1s;
}

.seeall span {
  padding:8px 15px;
  border-radius:7px;
  border: 1px solid white;
  color:white;
  display: inline-block;
  transition: 0.35s;
  cursor:pointer;
}

.seeall span:hover {
	color:#4e4e4e;
	background-color: rgb(75, 75, 75);
	border: 1px solid rgb(75, 75, 75);
	background-color: white;
}

.buttons {
	position: relative;
	width:100%;
	margin:auto;
	z-index: 0;

}

button {
	position:absolute;
	z-index: 50;
	width:60px;
	height: 60px;
	border: none;
	border-radius: 50%;
    background-repeat: no-repeat;
	background-size: 80%;
	background-position: center;
	background-color: rgba(227, 227, 227, 0.8);
	top:40%;
	background-image: url('../img/arrow-next.png');
	cursor:pointer;
	transition: 0.3s; 
}

button:hover {
	scale:1.1;
}

button.dis {
	opacity: 0.3;
	cursor:default;
	transition: 0.3s;
	scale:1;
}

button.prev {
	transform: rotate(-180deg);
	left:65px;	
}

button.next {
	right:0;
	z-index:3;
	right:65px;
}

.mobview button.prev, .mobview button.next {
		display:none!important;
}

/* .mobview button {
	visibility:hidden;
	transition: 0;
} */

.templates {
	position: relative;
	overflow: hidden;
	white-space: nowrap;
	transition: all 0.2s;
	will-change: transform;
	user-select: none;
	/* cursor: pointer; */
   scrollbar-width: none;
   width:80%;
   /* border:1px solid #943939; */
   font-size:0;
   opacity: 0;
   border-radius: 6px;
   z-index: 1;
}

.tSlide {
	white-space: wrap;	
}

.tSlide .slide {
	margin-bottom: 25px;
}

.templates .slide {	
	position: relative;
	display: inline-flex;
	padding:0 15px;	
	left:0;
}

/* .templates > div div {
	display:none;
} */

.templates .slide2 {
	position: absolute;
	display:flex;
	flex-flow:column;
	align-items: center;
	justify-content: center;
	text-wrap: wrap;
	z-index: 3;
	-webkit-mask-image:linear-gradient(to right, #fff, #fff);
  	-webkit-mask-size: 0%;
  	-webkit-mask-repeat: no-repeat;
  	height: 100%;
	width:80%;	
	user-select:none;
	overflow-y: hidden;
	transition: 0.4s;
	background-color: rgba(75, 75, 75, 0.9);	
	
	border-radius: 0px 0 0 0px;
	text-decoration: none;
}

.templates .slide2:hover {
	-webkit-mask-size: 100%;
}

.mobview .templates {
	/* display:flex;  */
	flex-direction: row;
	overflow-x: scroll;
	text-align: center;
}

.mobview .templates .slide {
	display:inline-flex;
	flex-wrap: wrap;
	width:360px;
}

.mobview .templates .slide2 {
	-webkit-mask: none;
	position: relative;
	order:2;
	-webkit-mask:none;
  	width:100%;	
	text-decoration:underline;
	background: none;
}

.mobview .templates .slide2 img {
	order:1;
}

.templates a {
	display:block;
	transition:1s;
	font-size: 1.2rem;    
	width: 100%;	
	text-decoration: none;
	text-align: left;	
	padding:0 20px 0 20px;	
	color:#fff;
}

.templates a::after {
	content:'Смотреть';
	display: block;
	font-weight: bold;
	font-size: 1.4rem; 
	text-decoration: none;
	margin-top:10px;
	text-align: right;	
	transition:0.5s;	
}

.templates a:hover::after {
	text-decoration: underline;
	color:beige;
	transform:translate(-15px);
	font-size:1.4rem;
}

.mobview .templates .slide2 a {
	color: white;
	text-shadow: none;
	text-decoration: underline;
	padding:15px 5px;
	font-size:1.1rem;
}

.mobview .templates a::after {
	display:none;	
}

.templates > div img {
	object-fit: cover;
	height: 100%;
	border-radius: 6px;
	}

@keyframes rotate360 {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

#sun  {
    z-index: 1;
	position: absolute;
    top: -45px;
    left: -45px;
    background: url(../img/sun.svg) no-repeat;
	background-size:cover;
    width: 160px;
    height: 160px;
    animation-name: rotate360;
    animation-duration: 30000ms;
    animation-iteration-count: infinite;
}

#clouds {
	overflow: hidden;
	box-sizing: border-box;
	position: relative;
	z-index: 0;	
  }

  #clouds img {
	position: absolute;
	overflow-x: hidden;
	opacity: 0;
	width:auto;
	 transform:scale(1);
	/* filter: blur(0) hue-rotate(281deg) saturate(1.8) lightening(1); */
  }

  #smotrimF, #smotrimL, #smotrimLEnd, #smotrimTl, #smotrimTr, #smotrimW, #smotrimWs {
	margin:5px 50px 5px;
	font-size:16px;
}

  #smotrimF span, #smotrimL span, #smotrimLEnd span, #smotrimTl span, #smotrimTr span, #smotrimW span, #smotrimWs span {
	font-weight: bold;
  }

  @media screen and (max-width:1100px) {
	button.prev {
		left:45px;
	}
	button.next {
		right: 45px;	
	}

}

@media screen and (max-width:900px) {
	
.mobview .templates {
	width:100%;
	text-align: center;
	padding:0 5%;
}

.mobview .templates .slide {
	/* width:30%!important; */
}


}

@media screen and (max-width:500px) {

.about {
	font-size:1.3rem;
	padding:45px 0 35px;
}

#sun {
	width: 130px;
    height: 130px;
}

}

@media screen and (max-width:350px) {
	
.mobview .templates .slide {
	width:260px!important;
}

.about {
	font-size:1.2rem;
	padding:35px 0 25px;
}

#sun {
	width: 110px;
    height: 110px;
}

}