html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

html {
    scroll-behavior:smooth;
    font-size: 10px;
}

*{
    box-sizing: border-box;   
    color: #4d4d4d;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}

body {
	line-height: 1;
    font-family: 'Asap', sans-serif;
}

ol, ul {
	list-style: none;
}

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

img{
    max-width: 100%;
    height: auto;
    border: none;
}

.main{
    padding-top: 14rem;
    text-align: center;
}

.service-line{
    margin:0 auto;
}

.gray-line{
    width: 6rem;
    height: 0.4rem;
    opacity: 0.6;
    background-color: #212121;
}

.background-gray{
    background-color: #f6f6f6;
}

.margin-bottom{
    padding-bottom: 8rem;
}

button{
    outline: none;
    cursor: pointer;
    background-color: transparent;
    border: none;
}

.header-text{
    font-size: 46px;
    font-weight: 700;
    letter-spacing: 0.12em;
    opacity: 0.8;
}

/*header*/

.header{
    background: url(app/img/background_header.png);
}

/*hero-button*/

.hero-button{
    display: block;
}

button.hero-button-link{
    margin-top: 3rem;
    width: 16rem;
    height: 5rem;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.06em;
}

button.hero-button-white{
    background-color: #ffff;
    box-shadow: 0px 18px 27px 2px rgba(0,0,0,0.1);
    margin: 1rem;
}

button.hero-button-white:hover{
    border:solid 1px black;
    transition: 2s;
}

button.hero-button-gray{
    border: 1px solid #4d4d4d;
    margin: 1em;
}

button.hero-button-gray:hover{
    background-color: #fff;
    
}

.hero-main{
    margin-top: 20rem;
}

.hero-img{
    margin-top: 6rem;
}

/*navbar*/

.navbar-list{
    padding-top: 3rem;
}

.navbar{
    align-items: center;
}

.navbar-link-item:not(:last-child){
    margin-right: 2rem;
}

a.navbar-link-item{
    text-align:right;
    font-size: 16px;
    font-weight: 500;
    color: #4d4d4d;
}

.navbar-link-item:hover{
    color:#4d4d4d;
}

/*hero*/

h1.hero-header{
    font-size: 8rem;
    font-weight: 600;
}

span.hero-text{
    opacity: 0.54;
    font-size: 22px;
    font-weight: 500;
}

/*about*/

.about-img{
    margin-top: 10rem;
}

.about-main{
    margin-top: 13rem;
}

span.about-text{
    font-size: 16px;
    font-weight: 400;
}

button.about-button{
    margin-top: 3.6rem;
    padding: 2rem 5rem;
    border: 1.5px solid #4d4d4d;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.06em;
}

button.about-button:hover{
    box-shadow: 0px 18px 27px 2px rgba(0,0,0,0.1);
}

/*service*/

.service{
    margin-top: 7rem;
    padding-top: 3rem;
}

.service-block{
    margin-top: 5rem;
}

.service-wrap{
    text-align: center;
}

.service-wrap-block{
    margin:0 auto 8rem;
}

/*my skills*/

.my-skills-img{
    text-align: center;
    margin-top: 6rem;
}

.my-skills{
    text-align: center;
}

/*portfolio*/

.portfolio{
    text-align: center;
}

.portfolio-block{
    margin-top: 4.5rem;
}

.portfolio-block img{
    margin-bottom: 30px;
}

/*TESTIMONIALS*/
.TESTIMONIALS h2{
    position: relativeй;
}

.wrapper {
	height: 35rem;
	margin: 0 auto;
	position: relative;
	width: 70rem;
}

.slider {
    margin-top: 6rem;
	border: 1px solid #212121;
	height: inherit;
	overflow: hidden;
	position: relative;
	width: inherit;
}

.wrapper > input {
	display: none;
}

.slides {
	height: inherit;
	position: relative;
	width: inherit;
}

.wrapper .controls {
	text-align: center;

}


.wrapper label:after {
	border: 2px solid #212121;
	content: " ";
	display: block;
	height: 15px;
	left: -4px;
	position: absolute;
	top: -4px;
	width: 15px;	
}

.wrapper label {
	cursor: pointer;
	display: inline-block;
	height: 7.5px;
	margin: 25px 12px 0 16px;
	position: relative;
	width: 8px;
	-webkit-transition: background ease-in-out .5s;
	-moz-transition: background ease-in-out .5s;
	-o-transition: background ease-in-out .5s;
	transition: background ease-in-out .5s;
}

.wrapper label:hover, 
#slide1:checked ~ .controls label:nth-of-type(1),
#slide2:checked ~ .controls label:nth-of-type(2),
#slide3:checked ~ .controls label:nth-of-type(3){
	background: #212121;
}

.slides {
	height: inherit;
	opacity: 0;
	position: absolute;
	width: inherit;
	z-index: 0;
	-webkit-transform: scale(1.5);
	-moz-transform: scale(1.5);
	-o-transform: scale(1.5);
	transform: scale(1.5);
	-webkit-transition: transform ease-in-out .5s, opacity ease-in-out .5s;
	-moz-transition: transform ease-in-out .5s, opacity ease-in-out .5s;
	-o-transition: transform ease-in-out .5s, opacity ease-in-out .5s;
	transition: transform ease-in-out .5s, opacity ease-in-out .5s;
}

#slide1:checked ~ .slider > .slide1,
#slide2:checked ~ .slider > .slide2,
#slide3:checked ~ .slider > .slide3 {
	opacity: 1;
	z-index: 1;
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-o-transform: scale(1);
	transform: scale(1);
}

.slides-content{
    margin: 8rem auto;
}

h3.slides-h3{
    opacity: 0.9;
    font-size: 30px;
    font-weight: 500;
    text-transform: uppercase;
    color: #212121;
}

span.slides-span{
    opacity: 0.9;
    font-size: 12px;
    font-weight: 400;
    font-style: italic;
    text-transform: uppercase;
    color: #212121;
}

p.p-slides{
    opacity: 0.6;
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
    color: #212121;
}

/*Funfact*/

.funfact{
    margin-top: 12rem;
    padding-bottom: 5rem;
    text-align: center;
}

.funfact-block{
    margin: 0 auto;
    margin-top: 5rem;
}

/*Footer*/

.footer{
    margin-top: 15rem;
    background: url(app/img/say_hello.png);
}

.footer-main h2{
    color:#ffffff
}

.footer-send{
    text-align: center;
}

.footer-input-block {
    margin-top: 7rem;
    height: 5.7rem;
}

.message{
    margin-top: 3rem;
    height: 20.7rem;
}

.footer-input-block-text{
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: #212121;
}

.footer-button button{
    margin-top: 3rem;
    width: 12.3rem;
    height: 5rem;
    background-color: #ffffff;
    box-shadow: 0px 18px 27px 2px rgba(0,0,0,0.1);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: #4d4d4d;
}

.white-text{
    color:white;
}

.footer-footer{
    margin-top: 1.5rem;
}

.white-footer-line{
    background-color: white;
    width: 6rem;
    height: 0.4rem;
}

.footer-line{
    margin-top: 6rem;
    height: 1px;
    background-color: #fff;
}

p.footer-p{
    margin-left: 3rem;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.06em;
    color: #ffffff;
}



