	
	@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@100..900&display=swap');
	

html {
    height:100%;
}

body {
    margin:0;
    background-color: #f7f1d7;
	background-color: #EFF6EE;
	background-color: #E1EBF5;
    height:100%;
    font-family: "Roboto Slab", serif;
    line-height: 150%;
    font-size:12pt;
}

h1 {
	font-weight: normal;
}

a {
    color:dodgerblue;
    text-decoration: none;
    border-bottom: 1px solid #CBB8A9;
}

a.imagelink {
	border-bottom: unset;
}

.relative {
	position:relative;
}

a.anchor {
	position:absolute; top:-180px;
	}
	
.fixedbottom {
	position: fixed;
	bottom: 5px; right: 10px;
	text-align: right;
} 

.fixedbottom a {
	padding: 5px;
    background: #386FA4;
    color: white;
	margin: 3px 3px;
	font-size:1em;
	display: inline-block;
}

.fixedbottom img {
	height:12px;
	vertical-align: top;
}

.fixedtop {
	position: fixed;
	top: 5px; right: 10px;
	text-align: right;
} 

.fixedtop a {
	padding: 5px;
    background: #386FA4;
    color: white;
	margin: 3px 3px;
	font-size:1em;
	display: inline-block;
}

.fixedtop img {
	height:12px;
	vertical-align: top;
}

div.site {
    background-color: white;
    width:98%;
    margin: 0 auto;
    max-width: 1000px;
    
    
    -webkit-box-shadow: 0px 0px 25px 0px rgba(148,148,148,0.3);
    -moz-box-shadow: 0px 0px 25px 0px rgba(148,148,148,0.3);
    box-shadow: 0px 0px 25px 0px rgba(148,148,148,0.3);
}

.header {
    min-height:80vh;;
    text-align: center;
    padding:20px;
    margin-bottom: 20px;
}

.header {
	display: flex;
	flex-flow: column nowrap;
	justify-content: center;
	align-items: center;
}

.portfolio, .contacts {
	padding:0 20px 0 20px;
}

.logo img {
    width:160px;
    height:160px;
    vertical-align: middle;
	border-radius: 100px;
	-webkit-box-shadow: 0px 0px 10px 0px rgba(150, 150, 150, 0.95);
    -moz-box-shadow: 0px 0px 10px 0px rgba(150, 150, 150, 0.95);
    box-shadow: 0px 0px 10px 0px rgba(150, 150, 150, 0.95);
}

.logo {
    font-size: 70px;
    text-align: center;
    line-height: 100%;
	margin-top:20px;
}

h1 {
    line-height: 150%;
	font-size: 1.7em;
}

.phones {
    padding:20px;
    background-color: #77ACA2;
	background-color: #386FA4;
    color:white;
    text-align: center;
    line-height: 250%;
}

.phones img {
    height:0.8em;
    width: auto;
    vertical-align: top;
}

a.tel {
    color:white;
    text-decoration: none;
    /*border-bottom:1px solid rgba(255,255,255,0.6);*/
	border-bottom-color: #CBB8A9;
    font-size:1.4em;
}

.phones span {
    display: inline-block;
    padding:0 20px;
}

.text-highlight {
  font-style: normal;
  border-radius: 1em 0 1em 0;
  text-shadow: 1px 1px 1px #fff;
  background-image: 
    linear-gradient(-100deg, 
      rgba(255,250,150,0.15),
      rgba(255,250,150,0.8) 100%, 
      rgba(255,250,150,0.25)
    );
}



.footer {
    text-align: center;
    padding:20px 20px 20px 20px;
}

img.contact-img {
    height:1em;
    vertical-align: bottom;
    
}

span.chats {
font-size: 1.5em;
}

.chats a {
    /* border-bottom: none; */
}

.content {
    padding:20px 20px 0 20px;
}


/* Каталог flex */

div.catalog {
    display: flex;
    
    justify-content: center;
    align-items: stretch;
    flex-direction: row;
	flex-wrap: wrap;
    
}

.catalog div {
    padding:10px;
    margin:20px;
    width:256px;
    text-align:center;
    -webkit-box-shadow: 0px 0px 40px 0px rgba(200, 200, 200, 0.75);
    -moz-box-shadow: 0px 0px 40px 0px rgba(200, 200, 200, 0.75);
    box-shadow: 0px 0px 40px 0px rgba(200, 200, 200, 0.75);
    vertical-align: top;
	
	
}

/* Каталог flex */

div.portfolioworks {
    display: flex;
    
    justify-content: center;
    align-items: stretch;
    flex-direction: row;
	flex-wrap: wrap;
    
}

.portfolioworks div {
    padding:10px;
    margin:20px;
   max-width: 400px;
    text-align:center;
    -webkit-box-shadow: 0px 0px 40px 0px rgba(200, 200, 200, 0.75);
    -moz-box-shadow: 0px 0px 40px 0px rgba(200, 200, 200, 0.75);
    box-shadow: 0px 0px 40px 0px rgba(200, 200, 200, 0.75);
    vertical-align: top;
	
	
}

/* Каталог flex */

div.andmore {
    display: flex;
    
    justify-content: center;
    align-items: center;
    flex-direction: row;
	flex-wrap: wrap;
    
}

.andmore div.more {
    padding:10px;
    margin:20px;
    width:160px;
    text-align:center;
    -webkit-box-shadow: 0px 0px 40px 0px rgba(200, 200, 200, 0.75);
    -moz-box-shadow: 0px 0px 40px 0px rgba(200, 200, 200, 0.75);
    box-shadow: 0px 0px 40px 0px rgba(200, 200, 200, 0.75);
    vertical-align: top;
	
	
	}

h2 {
    text-align: center;
	line-height: 150%;
}

.price {
    font-weight: bold;
}

.price span.number {
    color: #2ea558;
}

.discount {
    vertical-align: super;
    font-size:0.8em;
    color:coral;
}

.center {
    text-align: center;
}

.andmore1 {
transform: rotate(15deg) translateY(-20px);
}

.andmore2 {
transform: rotate(5deg) translateY(20px);
}

.andmore3 {
transform: rotate(-5deg) translateY(20px);
}

.andmore4 {
transform: rotate(-15deg) translateY(-20px);
}

@media screen and (max-width:900px) {
.andmore1, .andmore2, .andmore3, .andmore4 {
	transform: none;
	}
}

/* форма */

div.formblock {
width:calc(70% - 40px);
max-width: 700px;
margin: 0 auto 40px auto;
background-color: #ECF8FE;
padding:20px;
}

input[type=text] {
    padding:10px; 
    border:1px solid #ccc; 
    -webkit-border-radius: 3px;
    border-radius: 3px;
	margin: 5px 0;
	font-size:1em;
	width:calc(100% - 20px);
	max-width: 700px;
	font-family: "Roboto Slab", serif;
}

input[type=text]:focus {
   /* border-color:#333; */
}

textarea {
	padding:10px; 
    border:1px solid #ccc; 
    -webkit-border-radius: 3px;
    border-radius: 3px;
	margin: 5px 0;
	font-size:1em;
	width:calc(100% - 20px);
	max-width: 700px;
	height: 4em;
	font-family: "Roboto Slab", serif;
}

input[type=submit] {
    padding:10px 25px; 
    background:#386FA4; 
	color:white;
    border:0 none;
    cursor:pointer;
    -webkit-border-radius: 3px;
    border-radius: 3px;
	font-size:1em;
	font-family: "Roboto Slab", serif;
	}
	
.pay img {
height:25px;
height:23px;
vertical-align: middle;
width:auto;
margin:5px;
}



	
/* change text */

/* change text animation */

.rotated {
    /*position:absolute;
    top:-53px;
    bottom:0;
    left:0;
    right:10px;
    margin:auto;
    height:100px; */
    text-align: center;
}

.rotated-text {
  color:#77ACA2;
  color:black;
    font-size:1em;
  display: inline-block;
  width:300px;
  text-align: center;
}
.rotated-text:after {
  content:"";
  animation: changeLetter 8s linear infinite alternate;
}

@keyframes changeLetter {
  0% {
    content: "разработки сайтов";
      opacity:1;
  }
  16.5% {
      opacity:0;
  }
  33% {
    content: "ведения рекламы";
      opacity:1;
  }
50% {
      opacity:0;
  }
  66% {
    content: "обновления сайтов";
      opacity:1;
  }
83.5% {
      opacity:0;
  }
  100% {
    content: "веб-консалтинга";
      opacity:1;
	  }  
  }
  
.less-900-show  {
display: none;
}
  
 @media screen and (max-width:900px) {
    span.less-900 {
		display: none;
    }
	
	span.less-900-show {
		display: inline;
    }
	
	.logo {
	font-size: 50px;
	}
	
	}
	
img.smallportfolio {
	height:50px;
	width:auto;
}

img.fullportfolio {
	width: 400px;
    height: 400px;
	max-width: 100%;
    object-fit: cover;
    object-position: center top;
}

.header_2_php {
	width:100%;
}

.rekv {
	color:#777777;
	font-size: 0.7em;
	text-align: left;
}

.rekv span {
	margin-right: 2em;
}