*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root{
    --orange-title: #F2A405;
    --grey-color: #A1A3A5;
    --white: #ffffff;
    --font-main: "Poppins", sans-serif;
}

html {
	font-size: 1px;
}


body{
    margin: 0;
    padding: 0;
    font-family: var(--font-main);
    font-size: 16rem;
    overflow-x: hidden;
}

ul{
    list-style-type: none;
}

h1, h2, h3, h4, h5, h6, div, section, button, span, p, a {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

.container{
    max-width: 1176px;
    margin: auto;
    padding: 0;
}

a{
    text-decoration: none;
}

li{
    list-style: none;
}

.close-btn,
.media-cursor{
    display: none;
}

.header{
    background: url(../images/header-bg.png) no-repeat center center/cover;
    height: auto;
    padding-bottom: 138px;
}

.header-navbar{
    padding: 56px 0;
    display: flex;
    justify-content: space-between;
}

.logo img{
   width: 230px;
}

.header-menu{
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.header-menu a{
    color: var(--white);
    font-size: 20rem;
    font-weight: 600;
}

.header-menu a:hover{
    color: var(--orange-title);
    transition: 1s all ease-out;
    -webkit-transition: 1s all ease-out;
    -moz-transition: 1s all ease-out;
    -ms-transition: 1s all ease-out;
    -o-transition: 1s all ease-out;
}

.header-menu a svg{
    margin: 0 7px -4px 0;
}

h1{
    padding: 85px 0 26px;
    font-size: 78rem;
    font-weight: 600;
    line-height: 104rem;
    color: var(--orange-title);
}

.header-title__text{
    font-size: 28px;
    color: var(--white);
}

.header-sq{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 25px;
    grid-row-gap: 25px;
    margin-top: 80px;
    max-width: 665px;
}

.sq1{
    height: 61px;
    width: 210px;
    font-size: 26rem;
    font-weight: 600;
    color: var(--orange-title);
    border: 1px solid var(--orange-title);
    padding: 8px 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.auto-line {
    padding: 32px 0;
    background: rgba(0, 0, 0, 0.43);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.43);
  }
  
  @-webkit-keyframes scroll {
    0% {
      -webkit-transform: translate(0, 0);
      transform: translate(0, 0);
    }
    100% {
      -webkit-transform: translate(-100%, 0);
      transform: translate(-100%, 0);
    }
  }
  
  @keyframes scroll {
    0% {
      -webkit-transform: translate(0, 0);
      transform: translate(0, 0);
    }
    100% {
      -webkit-transform: translate(-100%, 0);
      transform: translate(-100%, 0);
    }
  }
  
  .marquee {
    display: block;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
  }
  
  .line {
    display: inline-block;
    padding-left: 100%;
    -webkit-animation: scroll 14s infinite linear;
    animation: scroll 14s infinite linear;
}

.line img{
    margin: 0 38px;
}

h2{
    font-size: 60rem;
    color: var(--orange-title);
    text-align: center;
    padding-bottom: 80px;
}

.service{
    margin: 30px 0;
    padding: 80px 0 90px;
    background: url(../images/bg.jpg) no-repeat center center;
    width: 100%;
}

.service-flex{
    display: flex;
    justify-content: space-between;
}

.service-left,
.service-right{
    margin-top: 36px;
}

.service-left li,
.service-right li{
    margin-bottom: 26px;
    font-weight: 600;
    color: var(--grey-color);
    font-size: 20rem;
}

.service-left li img,
.service-right li img{
    margin: 0 8px -14px 0;
}

.service-img{
    margin-left: -60px;
}

.contacts{
    padding-bottom: 148px;
}

.contacts h3{
    font-size: 28rem;
    font-weight: 600;
    padding-bottom: 20px;
    color: var(--orange-title);
}

.contacts a{
    font-size: 20rem;
    font-weight: 500;
    color: var(--grey-color);
}

.contacts p{
    padding-bottom: 36px;
}

.contacts-flex{
    display: flex;
    justify-content: center;
    gap: 40px;
}

.footer{
    background: url(../images/bg-footer.jpg) no-repeat center center/cover;
    width: 100%;
    padding: 86px 0 56px;
    position: relative;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000000;
    opacity: .74;
  }

  .footer-flex{
    display: flex;
    justify-content: space-between;
    position: relative;
}

.footer-flex p{
    color: var(--orange-title);
    font-size: 24rem;
    font-weight: 500;
    line-height: 34rem;
    padding: 10px 0;
}

.footer-rights{
    color: var(--orange-title);
    font-size: 16rem;
    font-weight: 500;
}

.footer-content1{
    margin-right: 97px;
}

.footer-content2{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 25px;
    grid-row-gap: 37px;
}

.sq{
    height: 38px;
    color: var(--orange-title);
    border: 1px solid var(--orange-title);
    padding: 8px 16px;
    display: flex;
    justify-content: center;
}

.footer-nav{
    display: flex;
    justify-content: space-between;
    column-gap: 20px;
    margin-bottom:106px;
}

.footer-nav a{
    font-size: 16rem;
    font-weight: 500;
    color: var(--white);
}

.footer-nav a svg{
    margin: 0 6px -5px 0;
}

@media screen and (max-width: 1200px){
    .container{
        width: 90%;
    }

    .footer-nav{
        column-gap: 18px;
        margin-bottom: 86px;
    }
    
    .footer-nav a{
        font-size: 11rem;
    }

    .footer-nav a svg{
        margin: 0 4px -5px 0;
        width: 12px;
    }

    .footer-content1{
        margin-right: 47px;
    }

    .service-flex{
        display: flex;
        justify-content: space-around;
        flex-wrap: wrap;
        gap: 40px;
    }
    
    h2{
        padding-bottom: 40px;
    }

    .service h2{
        padding-bottom: 0;
    }

    .service{
        margin: 30px 0;
        padding: 60px 0 16px 0;
        
    }
}

@media screen and (max-width: 991px){
    .media-menu {
	    height: 0%;
	    width: 100%;
	    position: fixed;
	    z-index: 1;
	    top: 0;
	    left: 0;
	    background: rgba(76, 77, 94, .99);
	    overflow-y: hidden;
	    transition: 0.5s;
	}

	a.close-btn {
	    padding: 18px 8px;
	    text-decoration: none;
	    font-size: 20px;
	    color: var(--orange-title);
	    display: block;
	    transition: 0.3s;
	}

	.header-menu {
	    position: relative;
        display: flex;
        flex-direction: column;
	    top: 35%;
	    width: 100%;
	    text-align: center;
	    margin-bottom: 40px;
	}

	.media-menu a:hover, .media-menu a:focus {
   	 	color: var(--orange-title);
	}

	.media-menu .close-btn {
	    position: absolute;
	    top: 5px;
	    right: 45px;
	    font-size: 40px;
	}

	.media-cursor{
        display: flex;
        justify-content: end;
		font-size: 40px;
		color: var(--orange-title);
		cursor: pointer;
	}

	.media-cursor:hover{
		color: var(--white);
	}

	.header-menu a:hover{
		border-bottom: none;
		border-left: none;
		border-right: none;
		border-top: none;
	}

    .header-menu a{
		font-size: 22px;
	}

    .contacts-flex{
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }

    .contacts{
        padding: 58px 0 78px;
    }

    .footer-flex{
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 40px;
        text-align: center;
    }

    .footer-nav{
        margin-bottom: 36px;
    }

    .footer-flex p{
        font-size: 20rem;
        line-height: 28rem;
        padding: 0;
    }
}

@media screen and (max-width: 767px){
    h1{
        padding: 65px 0 26px;
        font-size: 58rem;
        font-weight: 600;
        line-height: 84rem;
        text-align: center;
    }
    
    .header-title__text{
        font-size: 24rem;
        text-align: center;
    }
    
    .header-sq{
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        align-items: center;
        gap: 25px;
        max-width: 220px;
        margin: 70px auto 0;
    }
    
    .sq1{
        height: 41px;
        width: 160px;
        font-size: 18rem;
        padding: 6px 10px;
    }

    h2{
        font-size: 48rem;
    }

    .contacts-flex img{
        max-width: 400px;
    }

    .service-img{
        margin-left: 0;
        max-width: 360px;
    }

    .service-right{
        margin-top: -30px;
    }
}

@media screen and (max-width: 586px){
    .contacts-flex img{
        max-width: 280px;
    }

    .service-left li img,
    .service-right li img{
        margin-right: 8px;
        margin-bottom: 0;
        width: 14px;
    }

    .contacts{
        padding: 28px 0 58px;
    }

    .service-img{
        max-width: 280px;
    }

    .logo img{
        width: 190px;
     }
}