.titillium-web-extralight {
  font-family: "Titillium Web", serif;
  font-weight: 200;
  font-style: normal;
}

.titillium-web-light {
  font-family: "Titillium Web", serif;
  font-weight: 300;
  font-style: normal;
}

.titillium-web-regular {
  font-family: "Titillium Web", serif;
  font-weight: 400;
  font-style: normal;
}

.titillium-web-semibold {
  font-family: "Titillium Web", serif;
  font-weight: 600;
  font-style: normal;
}

.titillium-web-bold {
  font-family: "Titillium Web", serif;
  font-weight: 700;
  font-style: normal;
}

.titillium-web-black {
  font-family: "Titillium Web", serif;
  font-weight: 900;
  font-style: normal;
}

.titillium-web-extralight-italic {
  font-family: "Titillium Web", serif;
  font-weight: 200;
  font-style: italic;
}

.titillium-web-light-italic {
  font-family: "Titillium Web", serif;
  font-weight: 300;
  font-style: italic;
}

.titillium-web-regular-italic {
  font-family: "Titillium Web", serif;
  font-weight: 400;
  font-style: italic;
}

.titillium-web-semibold-italic {
  font-family: "Titillium Web", serif;
  font-weight: 600;
  font-style: italic;
}

.titillium-web-bold-italic {
  font-family: "Titillium Web", serif;
  font-weight: 700;
  font-style: italic;
}

:root {
  --accent: #70c1ab;

  --white: #ffffff;
}

/* Navbar section */

.nav {
  width: 100%;

  position: fixed;
  line-height: 65px;
  text-align: center;
  background: var(--white);
}

.nav div.logo {
  float: left;
  width: auto;
  height: auto;
}

.nav div.logo a {
  text-decoration: none;
  color: #fff;
  font-size: 2.5rem;
}

.nav div.logo a:hover {
  color: #00e676;
}

.nav div.main_list {
  height: 65px;
  float: right;
}

.nav div.main_list ul {
  width: 100%;
  height: 65px;
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav div.main_list ul li {
  width: auto;
  height: 65px;
  padding: 0;
  padding-right: 3rem;
}

.nav div.main_list ul li a {
  text-decoration: none;
  font-size: 16px;
  color: #000;
}

.nav div.main_list ul li a:hover {
  color: var(--accent);
}

/* Home section */

.navTrigger {
  display: none;
}

.nav {
  padding-top: 15px;
  padding-bottom: 20px;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
}

/* Media qurey section */

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .container {
    margin: 0;
  }
}

@media screen and (max-width: 768px) {
  .navTrigger {
    display: block;
  }

  .nav div.main_list {
    width: 100%;
    height: 0;
    overflow: hidden;
  }
  .nav div.show_list {
    height: auto;
    display: none;
  }
  .nav div.main_list ul {
    flex-direction: column;
    width: 100%;
    height: 100vh;
    right: 0;
    left: 0;
    bottom: 0;
    background-color: #111;
    /*same background color of navbar*/
    background-position: center top;
  }
  .nav div.main_list ul li {
    width: 100%;
    text-align: right;
  }
  .nav div.main_list ul li a {
    text-align: center;
    width: 100%;
    color: var(--white);
    padding: 20px;
  }
  .nav div.media_button {
    display: block;
  }
}

/* Animation */
/* Inspiration taken from Dicson https://codemyui.com/simple-hamburger-menu-x-mark-animation/ */

.navTrigger {
  cursor: pointer;
  width: 30px;
  height: 20px;
  margin: auto;
  position: absolute;
  right: 40px;
  top: 40px;
  /* bottom: 0; */
}

.navTrigger i {
  background-color: var(--accent);
  border-radius: 2px;
  content: "";
  display: block;
  width: 100%;
  height: 4px;
}

.navTrigger i:nth-child(1) {
  -webkit-animation: outT 0.8s backwards;
  animation: outT 0.8s backwards;
  -webkit-animation-direction: reverse;
  animation-direction: reverse;
}

.navTrigger i:nth-child(2) {
  margin: 5px 0;
  -webkit-animation: outM 0.8s backwards;
  animation: outM 0.8s backwards;
  -webkit-animation-direction: reverse;
  animation-direction: reverse;
}

.navTrigger i:nth-child(3) {
  -webkit-animation: outBtm 0.8s backwards;
  animation: outBtm 0.8s backwards;
  -webkit-animation-direction: reverse;
  animation-direction: reverse;
}

.navTrigger.active i:nth-child(1) {
  -webkit-animation: inT 0.8s forwards;
  animation: inT 0.8s forwards;
}

.navTrigger.active i:nth-child(2) {
  -webkit-animation: inM 0.8s forwards;
  animation: inM 0.8s forwards;
}

.navTrigger.active i:nth-child(3) {
  -webkit-animation: inBtm 0.8s forwards;
  animation: inBtm 0.8s forwards;
}

@-webkit-keyframes inM {
  50% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(45deg);
  }
}

@keyframes inM {
  50% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(45deg);
  }
}

@-webkit-keyframes outM {
  50% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(45deg);
  }
}

@keyframes outM {
  50% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(45deg);
  }
}

@-webkit-keyframes inT {
  0% {
    -webkit-transform: translateY(0px) rotate(0deg);
  }
  50% {
    -webkit-transform: translateY(9px) rotate(0deg);
  }
  100% {
    -webkit-transform: translateY(9px) rotate(135deg);
  }
}

@keyframes inT {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(9px) rotate(0deg);
  }
  100% {
    transform: translateY(9px) rotate(135deg);
  }
}

@-webkit-keyframes outT {
  0% {
    -webkit-transform: translateY(0px) rotate(0deg);
  }
  50% {
    -webkit-transform: translateY(9px) rotate(0deg);
  }
  100% {
    -webkit-transform: translateY(9px) rotate(135deg);
  }
}

@keyframes outT {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(9px) rotate(0deg);
  }
  100% {
    transform: translateY(9px) rotate(135deg);
  }
}

@-webkit-keyframes inBtm {
  0% {
    -webkit-transform: translateY(0px) rotate(0deg);
  }
  50% {
    -webkit-transform: translateY(-9px) rotate(0deg);
  }
  100% {
    -webkit-transform: translateY(-9px) rotate(135deg);
  }
}

@keyframes inBtm {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-9px) rotate(0deg);
  }
  100% {
    transform: translateY(-9px) rotate(135deg);
  }
}

@-webkit-keyframes outBtm {
  0% {
    -webkit-transform: translateY(0px) rotate(0deg);
  }
  50% {
    -webkit-transform: translateY(-9px) rotate(0deg);
  }
  100% {
    -webkit-transform: translateY(-9px) rotate(135deg);
  }
}

@keyframes outBtm {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-9px) rotate(0deg);
  }
  100% {
    transform: translateY(-9px) rotate(135deg);
  }
}

.affix {
  padding: 15px;
  background-color: #fff;
}

/* hero */

.hero {
  height: 700px;
  background-image: url(../img/hero.jpg) !important;
  text-align: center;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  border-radius: 0px 0px 60px 60px;
}

.hero h1 {
  font-size: 48px;
  max-width: 500px;
  color: var(--white);
  text-shadow: 0px 3px 15px var(--accent);
  opacity: 1;
  padding-top: 70px;
}

.btn_services {
  box-shadow: 0px 3px 20px var(--accent);
  border: 1px solid var(--accent);
  border-radius: 36px;
  font-size: 16px;
  color: var(--white);
  background: #111519;
  transition: 0.8s;
  padding: 10px 30px;
}
.btn_services:hover {
  color: var(--accent);
}

@media (max-width: 767px) {
  .hero {
    height: 500px;
  }
  .hero h1 {
    font-size: 32px;
  }
}

/* company */

#company {
  margin-top: 150px;
}

.company_img img {
  max-width: 100%;
}

.company_p {
  color: var(--accent);
  font-size: 16px;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 10px;
  max-width: 500px;
}

.company_h2 {
  font-size: 35px;
  max-width: 315px;
  line-height: 45px;
  margin-bottom: 50px;
}

.company_second_p {
  font-size: 18px;
  max-width: 500px;
  line-height: 27px;
}

.btn_contact {
  box-shadow: 0px 3px 20px var(--accent);
  border: 1px solid var(--accent);
  border-radius: 36px;
  font-size: 16px;
  color: var(--accent);
  background: transparent;
  transition: 0.8s;
  padding: 10px 30px;
  line-height: normal;
}
.btn_contact:hover {
  color: var(--white);
  background: var(--accent);
}

@media (max-width: 767px) {
  .company_h2 {
    font-size: 28px;
    line-height: 38px;
    margin-bottom: 25px;
  }
  #company {
    margin-top: 50px;
  }
  .company_img img {
    margin-top: 35px;
  }
}

/* services */

#services {
  justify-content: center !important;
  scroll-margin-top: 200px;
}

#company {
  scroll-margin-top: 120px;
}

.services {
  background: #f8fafa;
  width: 1580px;
  border-radius: 55px;
  padding-top: 75px;
  padding-bottom: 75px;
  justify-content: center !important;
}

.services_img {
  text-align: center;
}

.services_img img {
  max-width: 100%;
}

.p_left {
  padding-left: 50px;
}

.services_p {
  color: var(--accent);
  font-size: 16px;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 10px;
  max-width: 500px;
  margin-top: 150px;
  margin-bottom: 50px;
}

.services_h2 {
  font-size: 35px;
  max-width: 315px;
  line-height: 45px;
  margin-bottom: 30px;
}

.services_second_p {
  font-size: 18px;
  max-width: 500px;
  line-height: 27px;
}

.m_top_75 {
  margin-top: 50px;
}

.row_2,
.row_3,
.row_4,
.row_5 {
  margin-top: 100px !important;
}

@media (max-width: 767px) {
  .services_h2 {
    font-size: 28px;
    line-height: 38px;
    margin-bottom: 25px;
    margin-top: 25px;
  }

  .services_p {
    margin-top: 50px;
  }

  
  .row_2,
  .row_3,
  .row_4,
  .row_5 {
    margin-top: 50px !important;
    flex-direction: column-reverse;
  }

  .row_3,
  .row_5 {
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 1440px) {
  .services {
    width: 100%;
  }
}

.footer {
  height: 529px;
    background-image: url(../img/stopka.jpg)!important;
   background-position: center;
   background-repeat: no-repeat!important;
   background-size: cover!important;

}

.line {
  border-top: 1px solid var(--accent);
}
.pt_100 {
  padding-top: 100px;
}

.contact_h3 {
  font-size:35px;
  max-width:315px;
  line-height: 45px;
  color: var(--white);
  padding-top: 125px;

}

.contact_p {
  font-size:18px;
  line-height: 28px;
  color:var(--white);
  padding-top: 110px;
}

.btn_footer {
  box-shadow: 0px 3px 20px var(--accent);
  border: 1px solid var(--accent);
  border-radius: 36px;
  font-size: 16px;
  color:var(--accent);
  background: transparent;
  transition:0.8s;
  padding:10px 30px;
}
.btn_footer:hover {
color: var(--white);
background: var(--accent);
}

.pt_125 {
  padding-top: 125px;
}

.copyright p {
  font-size:18px;
  line-height: 28px;
  color:var(--white);

}

.copyright p {
  margin-top: 85px;
}

@media (max-width: 767px) {
  .contact_h3 {
    font-size:28px;
    line-height: 38px;
    padding-top: 0px;
  }

  .footer {
    height: auto;
    background-position: right;

}

.line {
  border-top: none!important;

}

.contact_p {
 
  padding-top: 0px;
}

.pt_125 {
  padding-top: 10px;
}

.pt_100 {
  padding-top: 50px;
}




}
