*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

h1{
    font-size: 48px;
    font-weight: 600;
    line-height: 58px;
    color: rgb(0, 0, 0);
    padding: 25px 10px 0 30px;
    margin-bottom: 35px;
    position: relative;
}
h2 {
   font-size: 30px;
   font-weight: 600;
   line-height: 40px;
   color: #444444;
   text-align: center;
   text-transform: uppercase;
}
h2 > span {
   position: relative;
}

h2 > span::after{
   content: "";
   height: 2px;
   background: #444444;
   width: 40%;
   margin-left: -20%;
   left: 50%;
   top:120%;
   position: absolute;
}
h3 {
   font-size: 24px;
   font-weight: 600;
}

.services, .works, .team, .slideshow-container, .contact, footer {
   padding: 60px 0;
   }

body{
    font-family:'Times New Roman', Times, serif;
}
header{
    height: 65px;
    background: #000000;
    position: sticky;
    top:0;
    z-index: 10;
}
.main-wrapper{
    margin: 0 auto;
    max-width: 1170px;
    padding:0 15px;
}
.main-menu > ul > li{
   display: inline-block;
}
header .main-wrapper {
    display:flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}
.logo {
    margin-right: 12px;
}
.main-menu > ul > li > a{
    color:white;
    text-decoration: none;
    font-weight: 400;
    letter-spacing: 1px;
    margin-right:15px;
    font-family: 'Times New Roman', Times, serif;
    font-size: 17px;
    position: relative;
}
.main-menu > ul > li:last-child > a {
    margin-right: 0px;
}
.main-menu > ul > li > a::after {
    content: "";
    width: 10%;
    height: 3px;
    background:#ff2907;
    position: absolute;
    left:0;
    right: 0px;
    margin: 0px auto;
    top:25px;
    transition-duration: 0.3s;
    opacity: 0;

}
.main-menu > ul > li > a:hover::after{
    width: 100%;
    opacity: 1;
}
.main-board .main-wrapper{
    display:flex;
    align-items: center;
    height: 100%;
    position: relative;
    z-index: 2;
   
}
.main-boardleftblock{
    width: 50%;
}
.main-board .main-wrapper > img{
    margin:auto;
    border: 3px solid #444444;
    border-radius: 300px;
    margin-right: 25px;
}
.main-board{
   height: 500px;
   background: url(src/bg.jpg) no-repeat fixed;
   background-size: cover;
   background-position: 50% -50px;
   position: relative;
}

.main-board h1::before{
    content: "";
    width: 115px;
    height: 5px;
    position: absolute;
    background:#ff2907;
    top:0;
    left:0;
}
.main-board h1::after{
    content: "";
    width: 5px;
    height: 115px;
    position: absolute;
    background: #ff2907;
    top:0;
    left:0;
}
.main-boardleftblock > div:first-of-type {
    color: #333;
    font-family: 'Times New Roman', Times, serif;
    font-weight: 400;
    font-size: 21px;
    margin-bottom: 45px;
    text-align: justify;
} 
.main-boardleftblock > div:last-of-type {
    display: flex;
}
.main-boardbuttonelnk:first-of-type {
    margin-right: 20px;
}
.main-boardbuttonelnk:last-of-type {
    margin-left: 20px;
    margin-right: 20px;
}
.main-boardbuttonelnk {
    display: flex;
    align-items: center;
    width: 165px;
    height: 50px;
    border: 1px solid #ff2907;
    font-size: 18px;
    border-radius: 0 5px 0 5px;
    text-decoration: none;
    color:#333;
    font-size: 12px;
    transition-duration: 0.3s;
}
.main-boardbuttonelnk > i {
    margin-left: 20px;
    margin-right: 15px;
    font-size: 30px;
    color: #ff2907;
    width: 26px;
    transition-duration: 0.3s;
}
.main-boardbuttonebold {
    font-size: 14px;
    font-weight: 600;
}
.main-boardbuttonelnk:hover{
    background: #ff2907;
}
.main-boardbuttonelnk:hover > i{
    color: #FFFFFF;
}
.img > img{
    border: 3px solid #444444;
    border-radius: 300px;
}
.mySlides {
    display:flex;
    margin-top: 26px;
}
.numbertext{
    margin-top: 26px;
}
.text {
    color: #ff2907;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
  }
  .numbertext {
    color: #ff2907;
    font-size: 34px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
  }
.slideshow-container {
    max-width: 700px;
    position: relative;
    margin: auto;
  }
.dot {
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
  }
.active {
    background-color: #717171;
  }
  .fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
  }
  
  @-webkit-keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
  }
  
  @keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
  }
  @media only screen and (max-width: 300px) {
    .text {font-size: 11px}
  }
.team-container {
    padding-top: 30px;
    padding-left: 10px;
    padding-right: 10px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.team-container__item {
    flex: 0 0 255px;
    display: flex;
    flex-direction: column;
}

.team-container__item-footer {
    box-shadow: 4px 4px 18px 0px #cccccc;
    padding: 20px;
}

.team-container__item-footer > span, .team-container__item-footer > h3 {
    display: block;
}

.team-container__item-footer > h3 {
    color: #666666;
}

.team-container__item-footer > span {
    font-size: 12px;
    color: #666666;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
}

.team-container__item > figure {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.team-container__item > figure  > figcaption {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(22, 28, 53, 0);
    display: flex;
    justify-content: center;
    transition-duration: 0.1s;
}

.team-container__item > figure  > figcaption > a {
    text-decoration: none;
    width: 50px;
    height: 50px;
    border: 1px solid #FFFFFF;
    margin: 10px;
    margin-top: auto;
    margin-bottom: 20px;
    color: white;
    line-height: 52px;
    text-align: center;
    transition-duration: 0.5s;
    border-radius: 0px 5px 0px 5px;
    font-size:25px;
   
}

.team-container__item > figure  > figcaption > a:nth-child(1) {
    transform: translateY(70px);
}

.team-container__item > figure  > figcaption > a:nth-child(2) {
    transform: translateY(110px);
}

.team-container__item > figure  > figcaption > a:nth-child(3) {
    transform: translateY(150px);
}

.team-container__item > figure  > figcaption > a:hover {
    color: #ff2907;
    background: white;
}

.team-container__item > figure > img {
    transition-duration: 1s;
} 

.team-container__item > figure:hover > img {
    transform: scale3d(1.5, 1.5, 1);
}
.team-container__item > figure:hover > figcaption > a {
    transform: translateY(0px);
}
.works {
    background: url(src/bgend.jpg) no-repeat fixed;
    background-size: cover;
    position: relative;
}
.works::after, .blog::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(252, 252, 252, 0.342);
    z-index: 1;
}
.works > .main-wrapper, .blog > .main-wrapper {
    position: relative;
    z-index: 2;
}

.works > .main-wrapper > div {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
}

.works h2, .blog h2{
    color: #444444;
}

.works h2 > span::after, .blog h2 > span::after {
    background: #444444;
}

.works__container {
    flex: 0 0 60%;
    margin-top: 30px;
    font-size: 20px;
    text-align: justify;
    font-weight: 400;
    font-family: 'Open Sans', sans-serif;
    line-height: 24px;
    color: #161c35;
}

.works__container > h3 {
    margin-bottom: 30px;
}

.works__container > ul {
    margin-top: 20px;
    list-style: none;
}

.works__container > ul > li {
    padding-left: 22px;
    position: relative;
    margin-bottom: 15px;
}

.works__container > ul > li::before {
    content: '\f1b0';
    position: absolute;
    left: 0;
    font-family: fontawesome;
    color: #ff2907;
    }
    .contact .map {
    margin-top: 30px;
}

.form {
    height: 200px;
    background: url(src/bgend.jpg) no-repeat fixed;
    background-position: 50% -50px;
    background-size: cover;
    position: relative;
}
.form::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(252, 252, 252, 0.342);
    z-index: 1;
}

.form > .main-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.form input[type="email"]{
    background:transparent ;
    border: 1px solid #444444;
    color: #444444;
    font-size: 18px;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    padding: 10px;
    width: 450px;
}

.form input[type="email"]:focus {
    border: 1px solid #FFFFFF;
    outline: none;
}

.form button {
    background: #FFFFFF;
    border: 1px solid #444444;
    color: #ff2907;
    font-size: 22px;
    width: 100px;
    transition-duration: 0.3s;
}

.form button:hover {
    background: #444444;
    border: 1px solid #FFFFFF;
    color: #FFFFFF;
    cursor: pointer;
}

.form__main-text {
    color: #ff2907;
    font-weight: 300;
    margin-bottom: 20px;
    font-size: 20px;
}

.form__main-text > span {
    color:#444444;
    font-weight: 600;
}

.form form {
    display: flex;
    justify-content: center;
}

.form input::-webkit-input-placeholder {
    color: rgba(73, 73, 73, 0.685);
}

footer > .main-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.social-cont {
    margin: 20px 0;
}

.social-cont > a {
    color: #ff2907;
    font-size: 16px;
    margin: 13px;
    text-decoration: none;
    position: relative;
    width: 20px;
    text-align: center;
    display: inline-block;
    transition-duration: 0.3s;
}

.social-cont > a::before {
    content: '';
    width: 30px;
    height: 30px;
    border: 1px solid #161C35;
    transform: rotate(45deg);
    position: absolute;
    left: -6px;
    top: -8px;
    transition-duration: 0.3s;
    z-index: -1;
}

.social-cont > a:hover {
    color: #FFFFFF;
}

.social-cont > a:hover::before {
     background: #444444;
}
.tel {
    color: #000000;
    font-family: 'Times New Roman', Times, serif;
    font-weight:bolder;
    font-size: 21px;
    text-decoration:none
}
.main-boardleftblock > span > .tel{
    color: #000000;
    font-family: 'Times New Roman', Times, serif;
    font-weight:bolder;
    font-size: 30px;
    text-decoration:none
}
.WhatsApp{
    color: #138b08e5;
    font-family: 'Times New Roman', Times, serif;
    font-weight: 500;
    font-size: 21px;
    text-decoration: none;
}
.viber{
    color: #8b088be5;
    font-family: 'Times New Roman', Times, serif;
    font-weight: 500;
    font-size: 21px;
    text-decoration: none;
}

@media  (max-width: 1100px) {    

    .team-container {
        overflow-y: scroll;
        padding-bottom: 20px;
    }

    .team-container__item {
        margin-right: 10px;
    }

    .team-container__item:last-of-type {
        margin-right: 0
    }
    }

@media  (max-width: 997px) {
    header > .main-wrapper {
        flex-wrap: wrap;
        justify-content: center;
    }
    .main-menu {
        margin: 10px 10px;
    }

    header {
        height: auto;
    }

    .logo {
        margin: 5px 0;
    }
    .services, .works, .team, .slideshow-container, .contact, footer {
        padding: 90px 0;
     }
}
@media  (max-width: 980px) {
    .works > .main-wrapper > div {
        flex-wrap: wrap;
        justify-content: space-around;
    }

    .works__container {
        flex-grow: 1;
    }

    .img > img {
       margin-top: 40px;

    }
}
@media  (max-width: 943px) {
    .main-board h1::before {
        margin-top: 24px;
        top: -6px;
    }
    .main-board h1::after {
        margin-top: 23px;
    }
    .main-boardleftblock > div:first-of-type {
        margin-bottom: 25px;
    }

}
@media  (max-width: 920px) {
    .main-boardleftblock {
        min-width: 450px;
        width: auto;
    }
    
    .elem {
        order: -1;
    }

    .main-board > .main-wrapper {
        flex-wrap: wrap;
    }

    .main-board {
        height: auto;
        padding: 30px 0;
        background: url(src/bg.jpg) no-repeat;
    }
    .main-boardleftblock > div:first-of-type {
        font-size: 28px;
        }


    .main-boardleftblock > div:last-of-type {
        display: flex;
        justify-content: center;
        margin-bottom: 20px;
    }
    .tel {
        font-size: 33px;
    }
    .WhatsApp {
        font-size: 33px;
    }
    .viber {
        font-size: 33px;
    }
    .works, .team, .contact, footer {
        padding: 30px 0;
    }
    .main-board .main-wrapper > img{
        margin-right: auto;
        margin-bottom: 10px;
    }
    .main-board h1::before {
        top: -27px;
    }
    .main-board h1::after {
        margin-top: 0px;
    }
}
@media (max-width:870px) {
    .main-boardleftblock > div:first-of-type{
        font-size: 27px;
    }
}
@media  (max-width: 780px) {
   
    .main-boardleftblock > div:first-of-type{
        font-size: 25px;
    }
    .main-menu {
        margin: 10px 0;
    }

    header {
        height: auto;
    }

    .logo {
        margin: 5px 0;
    }
    .works__container{
        font-size: 22px;;
    }
        
}
@media  (max-width: 755px){
    .main-menu > ul {
        text-align: center;
    }

    .main-menu {
        margin: 0;
        margin-top: 14px;
    }
    .main-menu > ul > li {
        padding-bottom: 22px;
    }
    .services, .works, .team, .slideshow-container, .contact, footer {
        padding: 150px 0;
     }
}
@media  (max-width: 720px) {
       .main-boardleftblock > div:first-of-type{
        font-size: 26px;
    }
}
@media  (max-width: 654px){
    .main-menu > ul > li {
        padding-bottom: 22px;
    }

    .main-menu > ul {
        text-align: center;
    }

    .main-menu {
        margin: 0;
        margin-top: 14px;
    }
}
@media  (max-width: 640px)  {
    h1 {
        font-size: 40px;
        line-height: unset;
    }

    .main-board h1 {
        padding: 12px 0 0 18px;
    }

    .main-board h1::before  {
        width: 75px;
        height: 4px;
    }

    .main-board h1::after {
        height: 75px;
        width: 4px;
    }
    
    .main-board__left-block {
        min-width: unset;
    }
    .main-boardleftblock > div:first-of-type {
        font-size: 27px;
    }
}

@media  (max-width: 580px)  {
    .form input[type="email"] {
        width: 80%;
    }
}
@media  (max-width: 581px) {
    .main-menu > ul > li {
        padding-bottom: 22px;
    }

    .main-menu > ul {
        text-align: center;
    }

    .main-menu {
        margin: 0;
        margin-top: 14px;
    }
    .services, .works, .team, .slideshow-container, .contact, footer {
        padding: 150px 0;
     }
}
@media  (max-width: 510px) {
    .main-menu > ul > li {
        padding-bottom: 22px;
    }

    .main-menu > ul {
        text-align: center;
    }

    .main-menu {
        margin: 0;
        margin-top: 14px;
    }
    .main-boardleftblock > div:first-of-type {
        font-size: 28px;
   }

}
@media (max-width:464px) {
    .main-boardleftblock {
        min-width: unset;
    }
    .main-boardleftblock > div:last-of-type {
        flex-wrap: wrap;
    }
    .main-boardbuttonelnk:last-of-type{
        margin-top: 20px;
    }
}
@media (max-width:414px){
    .main-boardleftblock > div:first-of-type {
        font-size: 26px;
   }
    .services, .works, .team, .slideshow-container, .contact, footer {
        padding: 190px 0;
 }
}
@media  (max-width: 412px) {
    .main-board__image, .works .img {
        width: 100%;
    }
    .main-boardleftblock {
         min-width: unset;
    }
    .main-boardleftblock > div:first-of-type {
        font-size: 30px;
    }
    }
@media  (max-width: 400px) {
    .logo {
        width: 375px;
    }
}
@media  (max-width: 398px) {
    .services, .works, .team, .slideshow-container, .contact, footer {
        padding: 190px 0;
     }
}
@media  (max-width: 379px) {
.main-boardbuttonelnk {
    margin-top: 20px;
}
.main-boardbuttonelnk:first-of-type {
    margin-left: 20px;
}
.main-boardleftblock > div:last-of-type {
    flex-wrap: wrap;
}
}
@media  (max-width: 375px) {
      
        .logo  {
        width: 350px;
    }
    .main-boardleftblock > div:first-of-type {
        font-size: 27px;
    }
    h1{
        margin-bottom: 17px;
        text-align: center;
    }
}
@media (max-width:360px) {
    .main-boardleftblock > div:first-of-type {
        font-size: 26px;
    }
    
}

@media  (max-width: 350px) {
    .logo {
        width: 320px;
    }
}
@media (max-width:320px) {
    .logo  {        
        width: 300px;
    }
    
    .main-boardleftblock > div:first-of-type {
        font-size: 21px;
    }
}