﻿:root {
  --white-color: #d9d9d9;
  --white-color-hover: #ffffff;
  --black-color: #1e1e1e;
  --black-color-hover: #000000;
  --red-color: #ae4141;
  --red-color-hover: #963939;
  --font-family: 'Ubuntu', sans-serif;
  --box-shadow: 0 2px 5px 0 rgba(0,0,0,.2),0 4px 15px 0 rgba(0,0,0,.1);
  --box-shadow-big: 0 4px 8px 0 rgba(0,0,0,.2), 0 6px 20px 0 rgba(0,0,0,.19);
  --gray-color: #f3f3f394;
  --border-color: #d7d7d7;
  --red: #eb6060;
  --black: #000000;
  --white: #ffffff;
  --background: repeating-linear-gradient(23deg, #ffffff 1px, #ebf1f3 2px);
}

html, body {
  height: 100%;
}
body {
  display: flex;
  flex-direction: column;
}
.content {
  flex: 1 0 auto;
}
.footer {
  flex-shrink: 0;
  background: var(--black-color);
  color: var(--white-color);
}

.screensaver img, .screensaver video  {
  box-shadow: 0 4px 8px 0 rgb(0, 0, 0, 0.2), 0 6px 20px 0 rgb(0, 0, 0, 0.19);
}

.footer a {
  color: var(--white-color);
}

body {
  margin: 0;
  font-family: var(--font-family);
  font-weight: 300;
}

.advantages {
  /*background: #f2f8fd;*/
  background: var(--background);
  display: flex;
  flex-flow: row wrap;
  gap: 30px;
  justify-content: space-around;
  text-align: center;
  padding: 40px 30px 50px 30px;
  box-shadow: 0 4px 8px 0 rgb(0 0 0 / 20%), 0 6px 20px 0 rgb(0 0 0 / 19%);
}

.advantages > div {
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: 200px;
}

.advantages img {
  margin-bottom: 20px;
}

.services {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;
  gap: 30px;
  text-align: center;
  padding: 30px 30px 70px 30px;
}

.services > div {
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: 350px;
  box-shadow: 0 2px 5px 0 rgba(0,0,0,.2),0 4px 15px 0 rgba(0,0,0,.1);
}

@media (max-width: 1550px) {
  .services > div {
    flex-basis: 280px;
  }
}

@media (max-width: 1280px) {
  .services > div {
    flex-basis: 240px;
  }
}

.servicesImg img {
  opacity: .6;
  transition: opacity ease 2s;
  cursor: pointer;
}

.servicesImg img:hover {
  opacity: 1;
}

.question {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 30px;
  padding: 30px 30px 70px 30px;
}

.whom {
  display: flex;
  flex-flow: row wrap;
  gap: 50px;
  justify-content: space-around;
  text-align: center;
  padding: 30px 30px 70px 30px;
}

.whom > div {
  flex: 1 1 240px;
}

.howToBg {
  /*background: #f2f8fd;*/
  background: var(--background);
  box-shadow: 0 4px 8px 0 rgb(0 0 0 / 20%), 0 6px 20px 0 rgb(0 0 0 / 19%);
  padding: 30px 30px 70px 30px;
}

.howTo {
  display: flex;
  flex-flow: row wrap;
  gap: 30px;
  justify-content: space-around;
  text-align: center;
  margin-top: 50px;
}

.howTo > div {
  flex: 1 1 250px
}

.ourClientsBg {
  /*background: #f2f8fd;*/
  background: var(--background);
  box-shadow: 0 4px 8px 0 rgb(0 0 0 / 20%), 0 6px 20px 0 rgb(0 0 0 / 19%);
  padding: 30px 30px 70px 30px;
}

.ourClients {
  display: flex;
  flex-flow: row wrap;
  gap: 30px;
  justify-content: space-around;
  text-align: center;
  margin-top: 50px;
}

.stageHeader {
  font-size: 26px;
  margin-bottom: 30px;
}

.price {
  font-size: 24px;
  margin-bottom: 30px;
}

.serviceText {
  min-height: 58px;
}

h1 {
  color: #333;
  font-size: 50px;
  text-align: center;
  font-weight: 500;
}

h1.left {
  color: #333;
  font-size: 50px;
  text-align: left;
  font-weight: 500;
}

h2 {
  color: #333;
  font-size: 36px;
  text-align: center;
  font-weight: 500;
}

h2.left {
  color: #333;
  font-size: 36px;
  text-align: left;
  font-weight: 500;
}

h2.center {
  color: #333;
  font-size: 36px;
  text-align: center;
  font-weight: 500;
}

h3 {
  color: #333;
  font-size: 22px;
  text-align: center;
  font-weight: 200;
}

img {
  max-width: 100%;
  height: auto;
}

.logo a {
  font-size: 38px;
  color: #333333;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 500;
}

.logo a span {
  color: var(--red);
}

.logo-footer a {
  font-size: 38px;
  color: var(--white-color);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 500;
}

.logo-footer a span {
  color: var(--red);
}

.phone a {
  color: #333;
  font-size: 34px;
  text-decoration: none;
  font-weight: 400;
}

.phone-footer a {
  color: var(--white-color);
  font-size: 34px;
  text-decoration: none;
  font-weight: 400;
}

header {
  border-top: 5px solid #c0dbeb;
  background: #c0dbeb;
  box-shadow: 0 4px 8px 0 rgb(0 0 0 / 20%), 0 6px 20px 0 rgb(0 0 0 / 19%);
}

.headerContainer {
  display: flex;
  flex-flow: row wrap;
  min-height: 90px;
  align-items: center;
  justify-content: space-around;
  background: url(../img/snowBg.webp);
}

.headerContainer > div {
  margin: 10px;
}

.topFooterContainer {
  display: flex;
  flex-flow: row wrap;
  min-height: 90px;
  align-items: center;
  justify-content: space-around;
}

.topFooterContainer > div {
  margin: 10px;
}

.footerContainer {
  display: flex;
  flex-flow: row wrap;
  min-height: 70px;
  align-items: center;
  justify-content: space-around;
}

.footerContainer a {
  color: var(--white-color);
  text-decoration: none;
}

.footerContainer > div {
  margin: 10px;
}

.pergolaRight {
  position: relative;
  display: grid;
  grid-template-columns: 65% 35%;
  align-items: center;
  padding-bottom: 100px;
}

p {
  font-size: 25px;
  line-height: 40px;
  color: #6b6b6b;
}

.screensaver {
  position: relative;
  width: 100%;
  height: 726px;
}

.screensaver video {
  object-fit: cover;
  height: 100%;
  width: 100%;

  position: absolute;
  top: 0;
  left: 0;
}

.screensaver img {
  object-fit: cover;
  height: 100%;
  width: 100%;

  position: absolute;
  top: 0;
  left: 0;
}

.screensaverText {
  position: relative;
  padding: 5px 30px 1px 30px;
  text-align: right;
}

.pergolaLeft {
  position: relative;
  display: grid;
  grid-template-columns: 35% 65%;
  align-items: center;
  padding-bottom: 100px;
}

.screensaverTextLeft {
  position: relative;
  padding: 5px 30px 1px 30px;
  text-align: left;
}

.hidden {
  display: none;
}

.form-box input {
  padding: 20px;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #c2c2c2;
  border-radius: 10px;
  font-family: var(--font-family);
  font-weight: 300;
  font-size: 20px;
  margin-bottom: 20px;
}

.btn-submit {
  color: #ffffff;
  background-color: #e94f50;
  border-radius: 8px;
  box-shadow: 0 0 14px 0 rgb(0, 0, 0, 0.1);
  border: none;
  width: 100%;
  padding: 20px;
  font-family: var(--font-family);
  font-weight: 300;
  font-size: 20px;
}

.additionalForm {
  margin-top: 10px;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
}

#formMessageTop {
  margin-top: 60px;
  text-align: center;
}

.additionalForm > * {
  padding: 10px;
}

.additionalForm input {
  display: block;
  padding: 15px;
  border: 1px solid #dedede;
  border-radius: 5px;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 20px;
  font-family: var(--font-family);
  font-size: 16px;
}

.verticalForm {
  display: flex;
  flex-flow: column wrap;
  justify-content: center;
}

.verticalForm > * {
  padding: 10px;
}

.verticalForm input {
  display: block;
  padding: 15px;
  border: 1px solid #dedede;
  border-radius: 5px;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 20px;
  font-family: var(--font-family);
  font-size: 16px;
}

.yellowButton {
  color: #ffffff;
  background-color: #eb6c45;
  border: none;
  border-radius: 5px;
  padding: 15px 25px;
  font-family: var(--font-family);
  font-size: 16px;
  cursor: pointer;
}

#map {
  width: 100%;
  height: 700px;
  border: 8px solid #8cc157;
  box-sizing: border-box;
}

.contact {
  padding-bottom: 100px;
}

.contactInfo {
  text-align: center;
}

.contactInfo a {
  text-decoration: none;
  color: #6b6b6b;
}

.question li {
  margin-bottom: 10px;
}

@media (max-width: 1133px) {
  .pergolaRight {
    position: relative;
    display: grid;
    grid-template-columns: 100%;
    grid-gap: 30px;
    align-items: center;
    padding-bottom: 100px;
  }

  .pergolaLeft {
    position: relative;
    display: grid;
    grid-template-columns: 100%;
    grid-gap: 30px;
    align-items: center;
    padding-bottom: 100px;
  }

  .screensaver {
    position: relative;
    width: 100%;
    height: 500px;
  }
}

@media (max-width: 1008px) {
  .question {
    grid-template-columns: 1fr;
  }
}