:root {
  --base-color: #9e5820;
  --white: white;
  --black: #16191c;
  --third: #fd3fb3;
  --second: #fd3f81;
}

body {
  color: #333;
  letter-spacing: .01em;
  font-family: Oswald, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

h1 {
  color: #fff;
  text-align: center;
  letter-spacing: .01em;
  text-transform: uppercase;
  margin-top: 20px;
  margin-bottom: 85px;
  font-size: 64px;
  font-weight: 600;
  line-height: 1.2;
}

h2 {
  color: #000;
  letter-spacing: .01em;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 80px;
  font-size: 40px;
  font-weight: 500;
  line-height: 45px;
}

h3 {
  letter-spacing: .02em;
  text-transform: uppercase;
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 24px;
  font-weight: 500;
  line-height: 30px;
}

h4 {
  margin-top: 0;
  margin-bottom: 10px;
  font-family: Poppins, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 24px;
}

h5 {
  color: #222;
  letter-spacing: .02em;
  text-transform: uppercase;
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 500;
  line-height: 25px;
}

p {
  margin-bottom: 10px;
}

.header-container {
  background-image: linear-gradient(#0009, #0009), url('../images/asfaltti-suojatie-opasteet.jpg');
  background-position: 0 0, 50%;
  background-repeat: repeat, no-repeat;
  background-size: auto, cover;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  padding-top: 60px;
  padding-left: 135px;
  padding-right: 135px;
  display: flex;
}

.btn {
  background-color: var(--base-color);
  background-image: linear-gradient(180deg, var(--base-color), #a15516);
  letter-spacing: .02em;
  text-transform: uppercase;
  border-radius: 50px;
  padding: 20px 50px;
  font-size: 16px;
  font-weight: 500;
  transition: background-color .3s;
}

.btn:hover {
  background-color: var(--white);
  color: var(--black);
  background-image: none;
}

.btn.submit-btn {
  margin-top: 10px;
}

.about-container {
  background-color: var(--black);
  flex-direction: column;
  align-items: flex-start;
  padding: 80px 135px;
  display: flex;
}

.about-container.with-line {
  border-bottom: 10px solid var(--base-color);
}

.reverse {
  color: #fff;
}

.p-large {
  color: #fff;
  margin-bottom: 30px;
  font-size: 35px;
  line-height: 50px;
}

.btn-second {
  float: right;
  color: #fff;
  letter-spacing: .02em;
  text-transform: uppercase;
  border: 2px solid #fff;
  border-radius: 50px;
  justify-content: space-between;
  align-self: flex-end;
  align-items: center;
  padding: 20px 30px;
  font-size: 20px;
  font-weight: 500;
  text-decoration: none;
  display: flex;
}

.rrow-img {
  margin-left: 20px;
}

.h3-sub {
  color: #fff;
  font-size: 25px;
  font-weight: 300;
}

.h3-number {
  z-index: 100;
  margin-bottom: 0;
  margin-left: 30px;
  font-family: Poppins, sans-serif;
  font-size: 50px;
  line-height: 60px;
  display: none;
  position: absolute;
  top: 50px;
  left: 0;
  right: 0;
}

.color-bg {
  z-index: 1;
  background-image: linear-gradient(45deg, var(--third), var(--second) 30%, var(--base-color) 70%, var(--base-color));
  display: none;
  position: absolute;
  inset: 0;
}

.content {
  z-index: 2;
  position: relative;
}

.team-container {
  flex-direction: column;
  align-items: stretch;
  padding: 80px 135px;
  display: flex;
}

.team-container.no-overflow {
  overflow: hidden;
}

.huge-number {
  color: #fd3e4f59;
  text-align: left;
  font-size: 120px;
  line-height: 120px;
  position: absolute;
  inset: 0;
}

.team-row {
  grid-column-gap: 2rem;
  grid-row-gap: 4rem;
  flex-flow: wrap;
  grid-template-rows: auto;
  grid-template-columns: 1fr 1fr 1fr;
  grid-auto-columns: 1fr;
  justify-content: flex-start;
  align-items: flex-start;
  display: grid;
}

.team-member {
  grid-column-gap: 10px;
  grid-row-gap: 10px;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  display: flex;
}

.avatar {
  z-index: 2;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding-top: 75%;
  display: flex;
  position: relative;
}

.avatar-img {
  z-index: 3;
  object-fit: cover;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.avatar-bg {
  z-index: 5;
  background-image: linear-gradient(45deg, #fd3fb3d9, #fd3f81d9 30%, #fd3e4fd9 70%, #fd3e4fd9);
  display: none;
  position: absolute;
  inset: 0;
}

.avatar-content {
  z-index: 10;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  display: none;
  position: relative;
}

.avatar-title {
  color: #fff;
  font-size: 16px;
}

.avatar-title.reverse {
  color: #333;
  font-size: 16px;
  line-height: 1.5;
}

.sub-content {
  z-index: 1;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  margin-top: 10px;
  display: flex;
  position: relative;
}

.heading {
  max-width: 771px;
}

.member-name {
  font-size: 24px;
  line-height: 1.2;
}

.features-title {
  margin-bottom: 60px;
  line-height: 50px;
}

.p-features {
  color: #717171;
  margin-bottom: 60px;
  font-size: 20px;
  line-height: 30px;
}

.services-container {
  background-color: var(--black);
  align-items: center;
  padding: 80px 135px;
  display: flex;
}

.services-container.with-line {
  border-bottom: 10px solid var(--base-color);
}

.services-intro {
  width: 35%;
}

.services {
  flex-flow: wrap;
  flex: 1;
  place-content: stretch space-between;
  margin-left: 60px;
  display: flex;
}

.services-p {
  color: #dfdfdf;
  font-size: 20px;
  line-height: 25px;
}

.services-block {
  width: 48%;
  margin-bottom: 20px;
}

.services-icon {
  width: 40px;
  height: 40px;
}

.services-p-small {
  color: #e1e1e1;
}

.h3-services {
  color: #fff;
  font-size: 20px;
  line-height: 25px;
}

.contact-container {
  background-image: linear-gradient(#16191cf2, #16191cf2), url('../images/pihakivet-asennus-tyo.jpg');
  background-position: 0 0, 50%;
  background-repeat: repeat, no-repeat;
  background-size: auto, cover;
  flex-direction: column;
  align-items: center;
  padding: 80px 135px 50px;
  display: flex;
}

.contact-about {
  flex-direction: column;
  flex: 1;
  justify-content: center;
  align-items: flex-start;
  margin-right: 80px;
  display: flex;
}

.contact-info {
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  display: flex;
}

.p-contact {
  color: var(--white);
  margin-top: 60px;
  margin-bottom: 25px;
  font-weight: 400;
  line-height: 26px;
}

.p-contact.large {
  color: var(--white);
  letter-spacing: .02em;
  text-transform: uppercase;
  font-weight: 500;
}

.p-contact.no-margin-top {
  margin-top: 10px;
}

.h5-copyright {
  color: var(--white);
  text-align: center;
  margin-top: 80px;
  margin-bottom: 0;
  font-size: 14px;
}

.contact-info-block {
  align-items: center;
  margin-bottom: 15px;
  display: flex;
}

.contact-info-icon {
  background-image: url('../images/sahkoposti-ikoni.svg');
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: contain;
  width: 24px;
  height: 24px;
  margin-right: 10px;
}

.contact-info-icon.phone {
  background-image: url('../images/puhelin-ikoni.svg');
  height: 20px;
}

.email-link {
  color: var(--white);
  font-size: 16px;
  text-decoration: none;
}

.navbar {
  background-color: #0000;
  justify-content: space-between;
  align-items: center;
  padding: 25px 135px;
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.nav-link {
  color: #fff;
  letter-spacing: .05em;
  text-transform: uppercase;
  flex: 0 auto;
  margin-left: 20px;
  margin-right: 20px;
  padding-bottom: 15px;
  padding-left: 0;
  padding-right: 0;
  font-size: 14px;
  font-weight: 400;
  transition: color .3s;
}

.nav-link:hover, .nav-link.w--current {
  color: var(--base-color);
}

.nav-menu {
  flex-direction: row;
  flex: 1;
  justify-content: center;
  align-items: stretch;
  display: flex;
}

.social-icon-block {
  flex: 0 auto;
  justify-content: flex-end;
  align-items: stretch;
  display: flex;
}

.social-icon {
  background-image: url('../images/whatsapp-ikoni.svg');
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: contain;
  width: 18px;
  height: 18px;
  margin-left: 10px;
}

.contact-first-row {
  justify-content: space-between;
  display: flex;
}

.logo-text-block {
  color: #f8f9fa;
  letter-spacing: .02em;
  text-transform: uppercase;
  font-family: Oswald, sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.logo-text-block.footer-version {
  color: var(--white);
  font-size: 46px;
  line-height: 1;
}

.text-span-2 {
  font-weight: 300;
}

.image {
  height: 100px;
  margin-top: 2rem;
}

.heading-2 {
  margin-bottom: 24px;
}

.code-embed-4 {
  color: #b86b25;
  width: 120px;
  margin-bottom: 10px;
}

.heading-3 {
  color: var(--white);
}

.field-label {
  color: var(--white);
  font-weight: 500;
}

.text-field {
  border-radius: 8px;
  height: 42px;
}

.text-field.is-area {
  height: 126px;
}

.heading-4 {
  color: var(--white);
  margin-bottom: 20px;
}

.og-image {
  display: none;
}

.parallax-image {
  object-fit: contain;
  width: 100%;
  height: 120%;
  display: block;
  position: relative;
}

.mask-2 {
  flex: none;
  width: 90%;
  height: auto;
  overflow: visible;
}

._16-9-image-wrap {
  aspect-ratio: 3 / 2;
  justify-content: center;
  align-items: center;
  width: 100%;
  display: flex;
  position: relative;
  overflow: hidden;
}

.left-arrow {
  justify-content: center;
  align-items: center;
  display: flex;
}

.slide-nav-2 {
  display: none;
  position: relative;
}

.image-overlay {
  background-image: radial-gradient(circle, #00000059, #00000026);
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0%;
}

.slider-2 {
  background-color: #0000;
  align-items: center;
  width: 100%;
  height: auto;
  display: flex;
}

.slide-2 {
  aspect-ratio: 3 / 2;
  width: 100%;
  margin-right: 1.25rem;
  overflow: hidden;
}

.slider-arrow {
  width: auto;
}

.right-arrow {
  justify-content: center;
  align-self: auto;
  align-items: center;
  height: auto;
  display: flex;
  position: absolute;
  bottom: 0;
}

.image-text-wrapper {
  z-index: 1;
  color: #fff;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  display: flex;
  position: absolute;
  inset: 0%;
}

.nav-logo {
  height: 21px;
}

.footer-logo {
  height: 32px;
}

.image-2 {
  width: 42px;
  height: 42px;
  margin-bottom: 1rem;
}

html.w-mod-js [data-ix="initial"] {
  opacity: 0;
  display: none;
  transform: translate(0, -5px);
}

html.w-mod-js [data-ix="initial-avatar-bg"] {
  opacity: 1;
  display: none;
}

html.w-mod-js [data-ix="initial-avatar-content"] {
  opacity: 0;
  display: none;
  transform: translate(0, 15px);
}

html.w-mod-js [data-ix="load-navigation"] {
  opacity: 0;
}

html.w-mod-js [data-ix="load-header"], html.w-mod-js [data-ix="load-header-slower"] {
  opacity: 0;
  transform: translate(0, -10px);
}

html.w-mod-js [data-ix="load-header-btn"], html.w-mod-js [data-ix="load-about-btn"] {
  opacity: 0;
  transform: translate(0, 10px);
}

@media screen and (max-width: 991px) {
  h1 {
    font-size: 54px;
  }

  h2 {
    margin-bottom: 60px;
    font-size: 28px;
    line-height: 30px;
  }

  .header-container {
    height: 90vh;
    padding-left: 80px;
    padding-right: 80px;
  }

  .btn {
    padding: 15px 40px;
    font-size: 14px;
  }

  .about-container {
    padding-left: 80px;
    padding-right: 80px;
  }

  .p-large {
    font-size: 18px;
    line-height: 24px;
  }

  .btn-second {
    padding: 15px 25px;
    font-size: 14px;
  }

  .h3-sub {
    font-size: 18px;
  }

  .h3-number {
    top: 20px;
  }

  .team-container {
    padding-left: 80px;
    padding-right: 80px;
  }

  .huge-number {
    font-size: 100px;
  }

  .team-row {
    grid-template-columns: 1fr 1fr;
  }

  .features-title {
    line-height: 40px;
  }

  .p-features {
    font-size: 16px;
  }

  .services-container {
    flex-direction: column;
    padding-left: 80px;
    padding-right: 80px;
  }

  .services-intro {
    width: 100%;
    margin-bottom: 60px;
  }

  .services {
    margin-left: 0;
  }

  .contact-container, .navbar {
    padding-left: 80px;
    padding-right: 80px;
  }

  .nav-link {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
  }

  .nav-menu {
    background-color: #000;
    padding-left: 80px;
  }

  .social-icon-block {
    display: none;
  }

  .brand-container {
    flex: 1;
  }

  .menu-icon {
    color: #fff;
    font-size: 40px;
  }

  .menu-icon-container {
    padding: 0;
  }

  .menu-icon-container.w--open {
    background-color: #0000;
  }

  .mask-2 {
    width: 80%;
  }
}

@media screen and (max-width: 767px) {
  h1 {
    margin-bottom: 60px;
  }

  .header-container {
    height: 80vh;
  }

  .team-row {
    flex-direction: column;
    grid-template-columns: 1fr 1fr;
  }

  .team-member {
    width: 100%;
    margin-bottom: 40px;
  }

  .avatar-img {
    background-position: 50% 0;
  }

  .contact-container {
    flex-direction: column;
  }

  .contact-info {
    margin-top: 4rem;
  }

  .contact-first-row {
    flex-direction: column;
  }

  ._16-9-image-wrap, .slide-2 {
    aspect-ratio: 3 / 2;
  }
}

@media screen and (max-width: 479px) {
  h1 {
    font-size: 48px;
  }

  h2 {
    margin-bottom: 30px;
  }

  .header-container {
    height: 75vh;
    padding-top: 0;
    padding-left: 20px;
    padding-right: 20px;
  }

  .about-container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .p-large {
    font-size: 14px;
  }

  .btn-second {
    margin-top: 2rem;
  }

  .h3-sub {
    font-size: 16px;
  }

  .team-container {
    padding: 60px 20px;
  }

  .team-row {
    grid-column-gap: 1rem;
    grid-row-gap: 1rem;
  }

  .team-member {
    margin-bottom: 0;
  }

  .avatar {
    padding-top: 60%;
  }

  .avatar-title, .avatar-title.reverse {
    font-size: 14px;
  }

  .member-name {
    font-size: 18px;
  }

  .features-title, .p-features {
    margin-bottom: 30px;
  }

  .services-container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .services {
    grid-column-gap: 16px;
    grid-row-gap: 16px;
    flex-flow: column;
    grid-template-rows: auto auto;
    grid-template-columns: 1fr 1fr;
    grid-auto-columns: 1fr;
    display: grid;
  }

  .services-block {
    width: 100%;
  }

  .contact-container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .contact-about {
    margin-bottom: 30px;
    margin-right: 0;
  }

  .contact-info {
    margin-top: 2rem;
  }

  .navbar {
    padding-left: 20px;
    padding-right: 20px;
  }

  .nav-menu {
    padding-left: 20px;
  }

  .mask-2 {
    width: 85%;
  }

  ._16-9-image-wrap {
    aspect-ratio: 5 / 6;
  }

  .left-arrow {
    width: 2rem;
  }

  .slide-2 {
    aspect-ratio: 5 / 6;
  }

  .right-arrow {
    width: 2rem;
    margin-right: 1rem;
  }

  .image-2 {
    width: 32px;
    height: 32px;
  }
}


