@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css');

* {
    padding: 0;
    margin: 0;
}

body{
    padding: 0;
    margin: 0;
    font-size: 16px;
    font-family: sans-serif;
    font-weight: 400;
}
ul.nav__item {
    display: flex;
}
ul.nav__item li{
    padding: 0px 0px 0px 20px;
    list-style: none;
}
ul.nav__item a {
    text-decoration: none;
    font-weight: 500;
    font-size: 20px;
}
.header__logo img {
    width: 50%;
}
.header__block {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 20px 0px;
}
.header__number {
    display: flex;
}
.fa-solid.fa-phone {
    font-size: 25px;
    color: #0d4d7b;
}
.phone__number a {
    color: #0d4d7b;
    font-weight: 700;
    text-decoration: none;
    padding-left: 10px;
}
.phone__number a:hover {
    color: #0d4d7b;
    text-decoration: none;
}
.section__block {
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.section {
    width: 100%;
    height: 100%;
    background-image: url(../assets/img/slider-bg.jpg);
}
.gas__section__title h1 {
    color: #fff;
    font-weight: 700;
    line-height: 70px;
    font-size: 48px;
}


.logo,
.content {
  color: #fafafa;
}

.nav {
  width: 100%;
  background-color: #1a1a1a;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 3;
}

.logo,
#hamburger {
  margin: 2%;
}

#hamburger {
  opacity: 0.5;
  cursor: pointer;
  transition: opacity 0.25s linear;
  width: clamp(1.5rem, 2vw + 1.1rem, 6rem);
  height: clamp(2rem, 1.4vw + 1.7rem, 5rem);
  display: flex;
  align-items: center;
}

#hamburger:hover {
  opacity: 1;
}

#hamburger div,
#hamburger div:after,
#hamburger div:before {
  background-color: #fafafa;
  border-radius: 10px;
  width: clamp(1.5rem, 2vw + 1.1rem, 6rem);
  height: clamp(0.2rem, 0.3vw + 0.1rem, 0.8rem);
  transition: all 0.15s linear;
}

#hamburger div:before,
#hamburger div:after {
  content: "";
  position: absolute;
}

#hamburger div:before {
  transform: translateY(-200%);
}

#hamburger div:after {
  transform: translateY(200%);
}

#hamburger.open div {
  background: transparent;
}

#hamburger.open div:before {
  transform: rotate(45deg);
}

#hamburger.open div:after {
  transform: rotate(-45deg);
}
.mobile-menu {
    display: none;
}

#overlay {
  position: fixed;
  width: 100%;
  min-height: 100%;
  background-color: #1a1a1a;
  z-index: 1;
  transform: translateY(-100%);
  transition: all 0.5s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#overlay.menu {
  transform: translateY(0%);
}

#overlay a {
  text-decoration: none;
  color: #fafafa;
  font-size: clamp(1rem, 4.1vw + 0.2rem, 10rem);
  margin: 2%;
  opacity: 0.5;
  transition: opacity 0.2s linear;
}

#overlay a:hover {
  opacity: 1;
}


.gas__section__image {
    transform: translate(-300px, 0%);
    opacity: 0;
    transition: all 1.8s ease 0s;

}

.gas__section__image._active {
    transform: translate(0px, 0%);
    opacity: 1;
}

.portfolio__one {
    transform: translate(-300px, 0%);
    opacity: 0;
    transition: all 3s ease 0s;
}
.portfolio__one._active {
    transform: translate(0px, 0%);
    opacity: 1;
}

.portfolio__two {
    transform: translate(-300px, 0%);
    opacity: 0;
    transition: all 2.5s ease 0s;
}
.portfolio__two._active {
    transform: translate(0px, 0%);
    opacity: 1;
}

.portfolio__three {
    transform: translate(-300px, 0%);
    opacity: 0;
    transition: all 2s ease 0s;
}
.portfolio__three._active {
    transform: translate(0px, 0%);
    opacity: 1;
}

.portfolio__four {
    transform: translate(-300px, 0%);
    opacity: 0;
    transition: all 3s ease 0s;
}
.portfolio__four._active {
    transform: translate(0px, 0%);
    opacity: 1;
}

.portfolio__five {
    transform: translate(-300px, 0%);
    opacity: 0;
    transition: all 2.5s ease 0s;
}
.portfolio__five._active {
    transform: translate(0px, 0%);
    opacity: 1;
}

.portfolio__six {
    transform: translate(-300px, 0%);
    opacity: 0;
    transition: all 3s ease 0s;
}
.portfolio__six._active {
    transform: translate(0px, 0%);
    opacity: 1;
}

.gas__section__subtitle p {
    color: #fff;
    font-weight: 500;
    line-height: 40px;
    font-size: 22px;
    padding-top: 10px;
}
.slick-slide {
    margin: 0px 20px;
}

.slick-slide img {
    width: 100%;
}

.slick-slider {
    position: relative;
    display: block;
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
            user-select: none;
    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -ms-touch-action: pan-y;
        touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
    padding: 40px 0px;
}

.slick-list {
    position: relative;
    display: block;
    overflow: hidden;
    margin: 0;
    padding: 0;
}
.slick-list:focus {
    outline: none;
}
.slick-list.dragging {
    cursor: pointer;
    cursor: hand;
}

.slick-slider .slick-track,
.slick-slider .slick-list {
    -webkit-transform: translate3d(0, 0, 0);
       -moz-transform: translate3d(0, 0, 0);
        -ms-transform: translate3d(0, 0, 0);
         -o-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
}

.slick-track {
    position: relative;
    top: 0;
    left: 0;
    display: block;
}
.slick-track:before,
.slick-track:after {
    display: table;
    content: '';
}
.slick-track:after {
    clear: both;
}
.slick-loading .slick-track {
    visibility: hidden;
}

.slick-slide {
    display: none;
    float: left;
    height: 100%;
    min-height: 1px;
}
[dir='rtl'] .slick-slide {
    float: right;
}
.slick-slide img {
    display: block;
}
.slick-slide.slick-loading img {
    display: none;
}
.slick-slide.dragging img {
    pointer-events: none;
}
.slick-initialized .slick-slide {
    display: block;
}
.slick-loading .slick-slide {
    visibility: hidden;
}
.slick-vertical .slick-slide {
    display: block;
    height: auto;
    border: 1px solid transparent;
}
.slick-arrow.slick-hidden {
    display: none;
}
.slider__block {
    text-align: center;
    padding: 40px 0px;
}
.gas__portfolio {
    display: flex;
}
.protfolio__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 30px;
}
.portfolio__image img {
    width: 70%;
}
.portfolio__image {
    width: 50%;
}
.portfolio__subtitle h1 {
    font-size: 18px;
    font-weight: 700;
}
.portfolio__title h1 {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    padding: 0px 14px;
}
.portfolio__subtitle p {
    font-size: 16px;
    line-height: 30px;
    font-weight: 500;
    color: #acacac;
    padding: 0px 0px 0px 0px;
}
.portfolio__info {
    text-align: left;
}
.portfolio__section {
    padding: 10px 0px 40px 0px;
}
.gas__house__info {
    text-align: center;
}
.facts {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}
.gas__house__facts {
    width: 100%;
    height: 100%;
    background-image: url(img/remont-kotel-kolonka-plita-servis.jpg);
    background-position: 50% 100%;
    background-size: auto;
    background-repeat: no-repeat;
    padding-top: 50px;
    padding-bottom: 22.7em;
}

.goodwell {
    margin-top: 30px;
}
.facts-exile {
    color: #ffa500;
    font-size: 40px;
    font-weight: 700;
}
.facts-talk {
    color: #303b43;
    font-size: 0.94em;
    font-weight: 600;
    max-width: 9.5em;
}
.facts-title {
    font-size: 40px;
    font-weight: 700;
    padding-bottom: 10px;
}
.facts-shebang {
    text-align: center;
    color: #303b43;
    font-size:20;
    font-weight: 700;
}
.about__block {
    width: 100%;
    height: 100%;
    background-image: url(img/time-m-bg.jpg);
    background-repeat: no-repeat;
    padding: 40px 0px;
    background-size: cover;
}
.about__page {
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.about__items {
    width: 50%;
    text-align: center;
}

.about__items p {
    padding: 100px 0px;
    font-size: 20px;
    font-weight: 500;
    color: #fff;
    line-height: 35px;
}
.footer__btn a {
    text-decoration: none;
    padding: 12px 12px;
    background-color: #356b99;
    border-radius: 10px;
    color: #fff;
}
.footer__btn a:hover {
    background-color: #fff;
    color: #356b99;
    border: 1px solid #356b99;
    text-decoration: none;
    font-weight: 700;
}
.footer__block {
    background-color: #1f1f1f;
    padding: 20px 0px;
}
.footer__subtitle p {
    color: #fff;
    font-weight: 500;
}
.footer__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}



@media screen and (max-width: 468px) {
    body {
        padding: 0;
        margin: 0;
    }
    .header__block {
        display: none;
    }
    .mobile-menu {
        display: block;
    }
    .section__block {
        display: block;
    }
    .gas__section__image img {
        width: 100%;
    }
    #overlay {
        width: 100%;
    }
    .footer__item {
        display: block;
    }
    .gas__section__title h1 {
        font-size: 30px;
        line-height: 45px;
        padding-top: 10px;
    }
    .slider__block h2 {
        font-size: 22px;
        line-height: 40px;
    }
    .slider__block {
        padding: 20px 0px;
    }
    .portfolio__section {
        padding: 10px 0px;
    }
    .about__items {
        width: auto;
    }
    .gas__portfolio {
        display: block;
        padding-bottom: 50px;
        text-align: center;
    }
    .portfolio__image {
        width: 100%;
    }
    .portfolio__image img {
        width: 50%;
    }
    .portfolio__info {
        text-align: center;
    }
    .portfolio__subtitle {
        padding-top: 20px;
    }
    .portfolio__subtitle h1 {
    	font-size: 20px;
    }
    .protfolio-sm {
    	border-bottom: 1px solid #ccc;
    	margin-bottom: 10px;
	}
    .portfolio__subtitle p {
        font-size: 16px;
    }
    .about__block {
        background-position: 22%;
       -webkit-box-shadow: inset 200px -36px 18px 191px rgba(0,0,0,0.39);
		-moz-box-shadow: inset 200px -36px 18px 191px rgba(0,0,0,0.39);
		box-shadow: inset 200px -36px 18px 191px rgba(0,0,0,0.39);
    }
    .facts {
        display: block;
        text-align: center;
    }
    .facts-talk {
        max-width: 23.5em;
    }
    .footer__block {
        text-align: center;
    }
    .protfolio__grid {
        grid-template-columns: repeat(1, 1fr);
    }
    .mobile__phone__number a {
    	color: #fff !important;
    }
}

@media screen and (min-width: 468px) and (max-width: 768px) {
    .gas__section__image img {
        width: 100%;
    }
     .header__block {
        display: none;
    }
    .mobile-menu {
        display: block;
    }
    .gas__section__image img {
        width: 100%;
    }
    #overlay {
        width: 100%;
    }
    .gas__section__title h1 {
        font-size: 22px;
        line-height: 50px;
    }
    .gas__portfolio {
        display: block;
    }
    .portfolio__image {
        padding-bottom: 10px;
    }

}

@media screen and (min-width: 768px) and (max-width: 968px) {
    .gas__section__image img {
        width: 100%;
    }
    ul.nav__item a {
        font-size: 14px;
    }
    .phone__number a {
        padding-left: 5px;
    }
    .gas__section__title h1 {
        font-size: 30px;
        line-height: 50px;
    }
    .gas__portfolio {
        display: block;
    }
    .portfolio__image {
        padding-bottom: 10px;
    }
}
