*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --ff-primary: 'Montserrat', sans-serif;

  --fw-reg:800;
  --fw-bold:900;

  --clr-red: #E83D31 ;
  --clr-blue: #1F2853 ;
  --clr-light: #212121 ;
  --clr-dark: #111111 ;

  --fs-h1:2.7rem;
  --fs-h2:2.9em;
  --fs-h3:1.4rem;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #141414;
  color: white;
  margin: 0;
  font-family: var(--ff-primary);
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3 {
  line-height: 1.1;
  margin: 0;
}

h1 {font-size: var(--fs-h1)}
h2 {font-size: var(--fs-h2)}
h3 {font-size: var(--fs-h3)}

section {
  padding: 3em 2em;
}




















.container {
  height: 100vh;
  background: url(img/pozadimobil.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  text-align: center;
}

.intro {
  position: relative;

}

.logo {
  max-width: 200px;
}

header {
  display: flex;
  justify-content: space-between;
  padding: 1em;
}

.nav {
  position: fixed;
  background: rgba(17, 17, 17, 1);
  color: white;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;

  transform: translateX(100%);
  transition: transform 250ms cubic-bezier(.5, 0, .5, 1);
}

.nav__list {
  list-style: none;
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav__link {
  color: inherit;
  font-weight: var(--fw-bold);
  font-size: var(--fs-h1);
  text-decoration: none;
}

.nav__link:hover {
  color: var(--clr-light)
}

.nav-toggle {
  padding: .5em;
  background: transparent;
  border: 0;
  cursor: pointer;
  position: absolute;
  right: 3.6em;
  top: 2em;
  z-index: 1000;
}

.nav-open .nav{
  transform: translateX(0);
}

.nav-open .nav-toggle {
  position: fixed;
}

.nav-open .hamburger {
  transform: rotate(.625turn);
}

.nav-open .hamburger::before {
  transform: rotate(90deg) translateX(-6px);
}

.nav-open .hamburger::after {
  opacity: 0;
}

.hamburger {
  display: block;
  position: fixed;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  background: white;
  width: 2em;
  height: 3px;
  border-radius: 1em;
  transition: transform 250ms ease-in-out;
}

.hamburger::before,
.hamburger::after {
  content:'';
  position: absolute;
  left: 0;
  right: 0;
}

.hamburger::before {
  top: 6px;
}

.hamburger::after {
  bottom: 6px;
}

.intro .btn {
  font-weight: 800;
  margin-top: 3.7em;
  display: inline-block;
  padding: 1.3em 2.1em;
  background: rgba(38, 73, 255, .3);
  color: white;
  opacity: .9;
  text-decoration: none;
  cursor: pointer;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: transform 150ms ease-in-out;
  border-radius: 30px;
}

.btn:hover {
  transform: scale(1.1);
}

.contain {
  text-align:center;
}

.category {
 position:relative;
 display: inline-block;
 padding:15px;
}

.category img {
 max-width: 100px;
}

@media (max-height: 900px){
  .section__title--intro {
    font-size: 58px;
    margin-top: .8em;
  }

  .contain {
    text-align:center;
    line-height: 1px;
  }

  .category {
   position:relative;
   display: inline-block;
   padding:10px;
  }

 .category img {
   max-width: 100px;
 }

 .intro .btn {
   margin-top: 6em;
 }
}

@media (max-height: 800px){
  .section__title--intro {
    margin-top: 0em;
    font-size: 55px;
  }

  .contain {
    text-align:center;
    line-height: 1px;
  }

  .category {
   position:relative;
   display: inline-block;
   padding:10px;
  }

 .category img {
   max-width: 100px;
 }

 .intro .btn {
   margin-top: 3em;
 }
}

@media (max-height: 700px){
  .section__title--intro {
    margin-top: 0em;
    font-size: 45px;
  }

  .contain {
    text-align:center;
    line-height: 1px;
  }

  .category {
   position:relative;
   display: inline-block;
   padding:10px;
  }

 .category img {
   max-width: 90px;
 }

 .intro .btn {
   margin-top: 3em;
 }
}


@media (min-width: 800px) {
  .section__title--intro {
    font-size:4.8em;
    margin-top: .1em;
  }

  .container {
    background: linear-gradient( rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15) ), url(img/pozadi.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto;
    background-attachment: fixed;
  }

  .logo {
    max-width: 230px;
    padding-left: 15px;
    padding-top: 5px;
  }

  .intro .btn {
    font-size: .9rem;
  }

  .contain {
    text-align:center;
  }

  .category {
   position:relative;
   display: inline-block;
   padding:20px;
  }

 .category img {
   max-width: 130px;
   transition: transform 150ms ease-in-out;
 }

 .category img:hover {
   transform: scale(1.3);
 }
}















.section__title--services{
  margin-bottom: 1em;
  text-align: center;
}


.service {
  margin-top: 1em;
  border-radius: 39px;
  padding: 21px 0 2px 0;
}

.service h3 {
  font-weight: var(--fw-bold);
  margin-left: 10px;
  line-height: 32px;
}

.service-1 h3 {
  margin: 0 20px 0 27px;
}

.service-2 h3 {
  margin: 0 15px 0 27px;
}

.service-1 {
  background-image: linear-gradient(#212121, #111111);
  color: #E83D31;
}

.service-2 {
  margin-top: 2em;
  background-image: linear-gradient(#E83D31, #a32b22);
  color: var(--clr-light);
}

@media (min-width: 700px) {
  .services {
    display: flex;
    max-width: 1100px;
    margin: 0 auto;
    margin-top: 5em;

  }

  .service {
    padding: 41px 20px 15px 20px;
  }

  .service-2,
  .service-1 {
    margin: 0 auto;
  }

  .service h3 {
    font-size: 29px;
    line-height: 40px;
  }
}











.about-me {
  background-image: linear-gradient(#0d0d0d, #141414);
}

.nabidka {
  letter-spacing: 2px;
  font-size: 1em;
  font-weight: 900;
  text-align: center;
}

.about-me img {
  margin: 0 auto;
}

.about-me h2 {
  font-weight: 900;
  font-size: 2em;
  margin-bottom: .9em;
}

.about-me p {
  margin-bottom: 1.8em;
}

.about-me__body {
  font-weight: 600;
  font-size: .9em;
}

.btn-center {
  text-align: center;
}

.about-me .btn {
  font-weight: 800;
  margin-bottom: 8em;
  margin-top: 3.5em;
  display: inline-block;
  padding: 1.3em 2.1em;
  background: rgba(38, 73, 255, .3);
  color: white;
  opacity: .9;
  text-decoration: none;
  cursor: pointer;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: transform 150ms ease-in-out;
  border-radius: 30px;
}

.btn:hover {
  transform: scale(1.1);
}

@media (min-width: 890px) {
  .nabidka-title {
    font-size: 80px;
    padding-top: 80px;
    padding-bottom: 50px;
  }

  .about-me {
    max-width: 1000px;
    margin: 0 auto;
    margin-bottom: 6em;
    border-radius: 60px;
    text-align: center;
    display: grid;
    grid-template-columns: 1fr 500px;
    grid-template-areas: "title img"
                         "subtitle img"
                         "text img";
    transition: transform 250ms ease-in-out;
  }

  .about-me__img {
    grid-area: img;
    max-height: 600px;
  }

  .about-me:hover {
  transform: scale(1.06);
}

  .ab-center {
    padding-left: 50px;
    padding-right: 20px;
  }

  .about-me .btn {
    font-size: .9rem;
  }

  .about-me h2 {
    font-size: 2.3em;
  }

  .about-me p {
    text-align: left;
    font-size: 1.1em;
    line-height: 25px;
  }


}










.ff {
  background-image: linear-gradient(#171717, #111111);
}

.kontakt {
  text-align: center;

}

.section__title-kontakt {
  margin-bottom: 1em;
}

.kontakt .btn {
  font-weight: 800;
  margin-top: 2.8em;
  display: inline-block;
  padding: 1.3em 2.1em;
  background: var(--clr-light);
  color: white;
  opacity: .9;
  text-decoration: none;
  cursor: pointer;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: transform 150ms ease-in-out;
  border-radius: 30px;
}

.btn:hover {
  transform: scale(1.1);
}

.section__title--kontakt {
  margin-bottom: 1em;
}










.footer {
  padding: .4em 2em;
  background: black;
  text-align: center;
}

.footer-p {
  font-size: 8px;
  color: grey;
}
