* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth; 
}

h1 {
    font-size: 42px;
    color: white;
    font-weight: 400;
    line-height: 48px;
    text-align: center;
}

h2 {
    font-size: 24px;
    line-height: 30px;
    font-weight: 600;
    color: #444444;
    text-align: center;
    margin: 20px 0 40px;
}

h2 span {
    position: relative;
}

h2 span::after {
    content: "";
    position: absolute;
    background: #4285f4;
    width: 95%;
    position: absolute;
    height: 3px;
    margin: 0 auto;
    left: 0;
    right: 0;
    top: 42px;

}

h3 {
    font-size: 18px;
    line-height: 24px;
    font-weight: 600;
    color: #444444;
    text-align: center;
}

h4 {
    font-weight: 400;
}

p {
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: #666666;
}

.bb {
    border: 0px solid red;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
}

header {
    position: sticky;
    top: 0;
    z-index: 3;
    opacity: 95%;
    background-color: #f7f7c5;
}

.slow {
    position: inherit;
    background-color: #2b2a28;
}

.main-wrapper {
    margin: 0 auto;
    max-width: 1170px;
    
}

.main-logo .main-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    
}

.main-logo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f7f7c5;
    height: 60px;
}



.main-logo > a > img {
    height: 50px;
}

.our-contacts {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 60px;
}

.opening_hours i {
    font-size: 18px;
    color: white;
}

.opening_hours > p {
    color: white;
    font-weight: 400;
}

.our-contacts-tel {
    color: white;
    font-size: 18px;
    font-weight: 400;
    text-decoration: none;
    opacity: 80%;
    transition-duration: 0.3s;
}

.our-contacts-tel:hover {
    opacity: 100%;
}



.list-menu > li > a::after {
    content: "";
    background: #2b2a28;
    width: 0%;
    position: absolute;
    height: 3px;
    margin: 0 auto;
    left: 0;
    right: 0;
    top: 23px;
    opacity: 0%;
    transition-duration: 0.3s;
}



.list-menu > li > a:hover:after {
    opacity: 95%;
    width: 80%;
}



.main-menu {
    background: #2b2a28;
}


.list-menu{
    display: flex;
    list-style: none;
  }


  .list-menu > li > a{
    position: relative;
    color: #2b2a28;
    font-weight: 600;
    font-size: 18px;
    font-style: italic;
    font-family: Georgia, 'Times New Roman', Times, serif;
    margin: 20px 17px;
    text-decoration: none;
    transition-duration: 0.3s;
  }

  #btn-menu{
    display: none;
  }
  #btn-menu + label{
    display: none; 
    position: relative;
    color: black; 
    height: 26px;
    z-index: 1;
    cursor: pointer;
  }
  #btn-menu + label:before{
    content: '\f0c9';  
    display: inline-block;
    font-family: 'Font Awesome 5 Free', 'Font Awesome 5 Brands';
    font-weight: 900;
    font-size: 30px;
  }

  #btn-menu:checked + label:before{
    content: '\f00d';
    color: #f00;
  }
  

.main-board {
    background: url(images/background.jpg) no-repeat fixed;
    background-size: cover;
    background-position: 50% 0px;
    position: relative;
}

.main-board::after {
    content: "";
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    position: absolute;
    background: #01010154;
}


.main-board > .main-wrapper {
    display: flex;
    height: 100%;
    justify-content: space-between ;
    position: relative;
    z-index: 2;
}

.main-board_right-block {
    position: relative;
    height: 100%;
    width: 53%;
    text-align: center;
}

.main-board_right-block > h1 {
    margin-top: 36px;
}

.main-board_right-block > h3 {
    color: white;
    margin-top: 30px;
    font-weight: 400;
}

.main-board_right-block > ul {
    margin-top: 30px;
}


.main-board > .main-wrapper > img {
    width: 35%;
    margin: 20px;
    
}


.main-board_right-block > ul > li {
    list-style-type: none;
    color: white;
    line-height: 36px;
}


.fa-check {
    color: #7fff00;
    
}



.main-logo > .main-wrapper > a:first-child {
    margin-right: 10px;
}


.services {
    background: white;
       
}


.servises_block-item {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    flex-wrap: wrap;
}

.services > .main-wrapper > h3 {
    text-align: center;
}

.servises_item {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    width: 23%;
    height: 400px;
    border-radius: 5px;
    box-shadow: 0px 0 10px 2px #4285f433;
    margin: 20px 0px;
    
}


.servises_item > p {
    padding: 0 5px;
    text-align: center;
    
}

.servises_item > img {
    width: 80%;  
}

.price {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.delimiter {
    position: relative;
    background: url(images/background.jpg) no-repeat fixed;
    background-size: cover;
    background-position: 50% 0px; 
}

.delimiter::after {
    content: "";
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    position: absolute;
    background: #01010154;
}

.block {
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.block h1 {
    margin: 0;
    z-index: 2;
}


.features {
    background: white;
}

.features_block-item {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.features_item {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    height: 450px;
    width: 23%;
    border-radius: 5px;
    box-shadow: 0px 0 10px 2px #4285f433;
    margin: 20px 0px;
    
}

.features_item > img {
    width: 70%;
    
}



.features > .main-wrapper > h3 {
    text-align: center;
}

.features_item > p {
    padding: 0 5px;
    text-align: center;
    margin-top: 15px;
}

.brends {
    background: white;
}


.flex_block {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 30px;
}

.brends_item {

    width: 16.6%;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.faq {
    background-color: white;
}

.tab input, .tab-content { display: none; }
   .tab {
    border: 2px solid #e8e8e8; /* Параметры рамки */
    border-radius: 3px; /* Скругляем уголки */
    margin-bottom: 20px; /* Расстояние между пунктами */
    background-color: #e8e8e8;
   }
   .tab-title {
    padding: 20px; /* Поля вокруг текста */
    display: block; /* Блочный элемент */
    /* text-transform: uppercase;  Все буквы заглавные */
    font-weight: bold; /* Жирное начертание */
    cursor: pointer; /* Вид курсора */
    
   }
   .tab-title::after {
    content: '\f107'; /* Выводим плюс */
    font-family: 'Font Awesome 5 Free', 'Font Awesome 5 Brands';
    float: right; /* Размещаем по правому краю */
   }
   .tab-content {
    padding: 10px 30px; /* Поля вокруг текста */
    line-height: 22px;
    background-color: white;
   }
   .tab :checked + .tab-title {
     /* Цвет фона */
    border-radius: 3px 3px 0 0; /* Скругляем уголки */
     /* Цвет текста */
   }
   .tab :checked + .tab-title::after {
    content: '\f106'; /* Выводим минус */
   }
   .tab :checked ~ .tab-content {
    display: block; /* Показываем содержимое */
   }




.our_work {
    background: white;
}

.our_work_block-item {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    flex-wrap: wrap;
}

.our_work_item {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    height: 400px;
    width: 22%;
    border-radius: 5px;
    box-shadow: 0px 0 10px 2px #4285f433;
    margin: 20px 0px;
    position: relative;
    
}

.our_work_item > img {
    width: 70%;
}


.our_work > .main-wrapper > h3 {
    text-align: center;
}

.our_work_item > p {
    padding: 0 5px;
    text-align: center;
    
    
}

.our_work_item::after {
    content: ''; 
    position: absolute;
    right: -49px; top: 220px;
    border: 28px solid transparent;
    border-left: 20px solid #4285f491;
   }

 

.our_work_block-item :last-child::after {
    display: none;
}

.contacts_block {
    display: flex;
    justify-content: space-between;
}

.contacts_left-block {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 50%;
    margin: 10px;
    font-weight: 600;
    box-shadow: 0px 0 10px 2px #4285f433;
}


.contacts_item {
    display: flex;
    align-items: center;
    justify-content: center;
}


.contacts_buttom-block {
    display: flex;
    justify-content: space-around;
    
}

.button {
    padding: 5px;
    color: blue;
    font-size: 18px;
    font-weight: 600;
    border-radius: 7px;
    text-decoration: none;
    opacity: 80%;
    transition-duration: 0.3s;
}

.button:hover {
    opacity: 100%;
}

.mail {
    text-decoration: none;
}

.whatsapp {
    color: white;
    background-color: chartreuse; 
}

.viber {
    color: white;
    background-color: blueviolet;
}



.maps {
    width: 50%;
    margin: 10px;
    box-shadow: 0px 0 10px 2px #4285f433;
}

i {
    font-size: 26px;
    font-weight: 400;
}
    
.fa-envelope {
    color: black;
}
   
#top, #services, #features, #our_work, #contacts, #blog, #faq {
	border-top: 60px solid transparent;
	margin-top: -60px;
	-moz-background-clip: padding;
	-webkit-background-clip: padding-box;
	background-clip: padding-box;
}

footer {
    height: 80px;
    background-color: #2b2a28;
}

footer> .main-wrapper{
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
    text-align: center;
}

footer> .main-wrapper > p{
    color: #777777;
}

.blog_item {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    border-radius: 5px;
    box-shadow: 0px 0 10px 2px #4285f433;
    margin: 20px 10px;
    padding: 0 10px
}

.blog_item > div {
    width: 100%;
    margin: 10px;
}

.blog_item > div > h3 {
    margin: 20px;
}

.blog_item > div > h3 > a {
    text-decoration: none ;
}

.blog_item > div > a {
    float: right;
    margin: 20px;
}

.blog_item > img {
    margin: 20px;
    width: 300px;
}



.blog_content > div {
    position: relative;
    margin: 20px 10px;
    min-height: 300px;
    box-shadow: 0px 0 10px 2px #4285f433;
}


.blog_content > div > h3> a {
    text-decoration: none;
}
.blog_content > div > h3 {
    margin-left: 300px;
    padding-top: 20px;
}

.blog_content > div > p {
    padding: 10px 10px 0 10px;
    margin-left: 320px;
    text-align: justify;
}

.blog_content > div > ul {
    margin-left: 360px;
}

.blog_content > div > ol {
    margin-left: 360px;
    line-height: 30px;
}

.blog_content > div > ul > li {
    margin: 10px;
}

.blog_content > div > p:first-child {
    padding-top: 3%;
}
.blog_content > div > img {
    position: absolute; 
    top: 0; 
    bottom: 0; 
    margin-top: auto; 
    margin-bottom: auto; 
    padding: 10px;
    width: 300px;
}

.blog-content-buttons {
    height: 100px;
}

.blog-content-buttons > .main-wrapper {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 100%;
}

.blog-content-buttons > .main-wrapper > a > i {
    font-size: 35px;
}


.blog-button {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 5px 10px;
    line-height: 25px;
    color: white;
    font-weight: 600;
    background-color: red;
    border-radius: 30px;
    text-decoration: none;
    opacity: 70%;
    transition-duration: 0.3s;
}

.blog-button:hover {
    opacity: 100%;
}



@media (max-width: 768px) {

    body {
        font-size: 18px;
    }

    h3 {
        font-size: 20px;
    }

    p {
        font-size: 18px;
    }

    .main-logo {
        display: flex;
        justify-content: space-around;
    }

    .list-menu > li {
        margin: 30px;
    }
 
    .list-menu > li > a{
        position: relative;
        color: #fff;
        text-decoration: none;
        transition-duration: 0.3s;
    }

    .list-menu > li > a::after {
        background-color: white;
    }
    
    #btn-menu + label {
        display: inline-block;
    }
    #btn-menu + label + .list-menu{
        display: none;
    }
    #btn-menu:checked + label + .list-menu{
        display: block;
        position: absolute;
        width: 100%;
        background-color: black;
        top: 60px;
        left: 0;
        text-align: center;
        border-bottom: solid 1px;
    }

    .our-contacts-tel {
        font-size: 22px;
    }

    .opening_hours i {
        font-size: 26px;
    }

    .opening_hours p:nth-child(2) {
        display: none;
    }

    .hidden {
       display: none;
    } 



    .main-board {
        background-position: 47% 0px;
    }

    .main-board > .main-wrapper {
        flex-direction: column-reverse;
    }

    .main-board_right-block {
        width: 100%;
    }   

    .main-board_right-block > h1 {
        margin-top: 10px;
        font-size: 32px;
    }

    h1 {
        font-size: 32px;
    }

    .main-board > .main-wrapper > img {
        width: 70%;
        margin: 70px auto 40px;
    }

    .servises_item {
        width: 45%;
        margin: 10px;
    }

    .features_block-item {
        justify-content: center;
    }    

    .features_item {
        width: 45%;
        margin: 10px;
    }

    .tab {
    margin: 10px 10px 20px 10px;
    }

    .our_work_block-item {
        margin-top: 0;
        justify-content: center;
    }

    .our_work_item {
        width: 45%;
        margin: 10px;
    }

    .contacts_block {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
    }
    
    .contacts_left-block {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 95%;
        height: 400px;
        font-weight: 600;
    }

    .contacts_buttom-block {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        height: 95px;
    }

    .maps {
        width: 95%;
        margin-top: 20px;
    }

    .brends_item {
        width: 50%;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 30px;
    }

    .blog_item {
        flex-direction: column;
    }

    .blog_item > img {
        width: 100%;
    }

    .blog_content > div > img {
        width: 100%;
        max-width: 450px;
        display: block;
        margin-left: auto;
        margin-right: auto;
        position: relative;
        left: 0;
    }

    .blog_content > div > p {
        width: 100%;
        margin: 0;
        padding: 10px;
    }

    .blog_content > div > ul {
        margin-left: 40px;
    }

    .blog_content > div > ol {
        margin-left: 40px;
    }

    .blog_content > div > h3 {
        margin: 20px;
    }

}

@media (max-width: 668px) {
    .hidden1 {
        display: none;
    }
}

@media (max-width: 568px) {
    .hidden2 {
        display: none;
    }
}

@media (max-width: 468px) {
    .opening_hours {
        display: none;
    }
}

@media (max-width: 420px) {
    .servises_item {
        width: 100%
    }

    .features_item {
        width: 100%;
    }

    .our_work_item {
        width: 100%;
    }

    .our_work_item::after {
        top: -20px;
        right: 160px;
        border: 30px solid transparent;
        border-top: 19px solid #4285f491;
    }

    .our_work_block-item :first-child::after {
        display: none;
    }

    .our_work_block-item :last-child::after {
        display: block;
    }
}