@media only screen and (max-width: 1280px) {
  section#start .background {
    background-size: auto 100% !important;
  }
}

@media only screen and (max-width: 1100px) {
  section#contacts .phoneNumber img {
    width: 90% !important;
  }
}

@media only screen and (max-width: 900px) {
  nav .right {
    display: none !important;
  }

  nav .left {
    width: 100%;
    justify-content: space-between;
  }

  .buttonMock {
    margin: 0 30vw !important;
  }

  section#contacts .phoneNumber {
    font-size: 12vmin !important;
  }
}

@media only screen and (max-width: 800px) {
  header h1 {
    font-size: 3em !important;
  }

  header p {
    font-size: 1.5em !important;
  }

  footer {
    flex-wrap: wrap !important;
  }

  footer span {
    width: 100%;
    margin-bottom: 8px !important;
  }
}

@media only screen and (max-width: 550px) {
  nav {
    position: absolute !important;
    height: 72px !important;
  }

  nav .left {
    justify-content: center !important;
  }

  nav .left img {
    width: 60% !important;
  }

  nav .left .contacts {
    display: none !important;
  }

  section#start header {
    margin-top: 80px !important;
  }

  section#start header h1 {
    padding: 0 !important;
  }
}

.shadow-low:after,
.shadow:after {
  position: absolute;
  height: 30%;
  width: 80%;
  bottom: 10%;
  left: 10%;
  z-index: -1;
  background: radial-gradient(50% 50% at 50% 50%, rgba(30, 45, 47, 0.42) 0%, rgba(30, 45, 47, 0) 100%);
}

* {
  margin: 0;
  padding: 0;
  font-family: "DM Sans", "Open Sans", sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  box-sizing: border-box;
}

html {
  background: #F6F6F6;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  overflow-x: hidden;
}

h1 {
  margin: 0 8px;
}

a {
  text-decoration: none;
  color: white;
}

span {
  color: white;
}

.shadow {
  position: relative;
}

.shadow:after {
  content: "";
}

.shadow-low {
  position: relative;
}

.shadow-low:after {
  content: "";
  bottom: -10%;
}

nav {
  position: absolute;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  padding: 16px;
  width: 100%;
  height: 116px;
  z-index: 2;
  transition: 0.4s ease all;
}

nav .left {
  display: flex;
  align-items: center;
}

nav .left .logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 104px;
  text-align: center;
  margin-right: 8px;
}

nav .left .logo img {
  width: 100%;
  transition: 0.4s ease all;
}

nav .left .logo span {
  font-weight: bold;
  font-size: 1.2em;
  transition: 0.4s ease all;
}

nav .left .contacts {
  display: flex;
  align-items: center;
}

nav .left .contacts a {
  margin: 8px;
  height: 32px;
}

nav .left .contacts span {
  margin: 8px;
  font-size: 1.4em;
}

nav .right a {
  position: relative;
  font-size: 1.2em;
  margin: 16px;
  transition: 0.2s ease all;
}

nav .right a:hover {
  opacity: 0.6;
}

nav .right a:after {
  content: "";
  opacity: 0;
  position: absolute;
  height: 2px;
  width: calc(100% + 16px);
  background: linear-gradient(89.34deg, #FF6B6B 3.79%, #FF8A00 100%);
  border-radius: 2px;
  bottom: -6px;
  left: -8px;
  transition: 0.2s ease all;
}

nav .right a.selected:after {
  opacity: 1;
}

nav.contracted:hover {
  opacity: 1;
}

section {
  position: relative;
  width: 100%;
}

section h1 {
  text-align: center;
  color: white;
  padding-top: 16px;
  font-size: 3em;
}

section#start {
  display: flex;
  justify-content: center;
  align-items: center;
}

section#start .background {
  position: absolute;
  height: 100%;
  width: 100%;
  background: url(/assets/startBackground.svg) no-repeat;
  background-position: center -140px;
  background-size: 100% auto;
  z-index: -1;
}

section#start header {
  max-width: 1320px;
  max-width: 98%;
  margin-top: 100px;
  text-align: center;
}

section#start header h1 {
  font-size: 3.5em;
  font-weight: 500;
  text-shadow: 0px 2px 16px rgba(0, 0, 0, 0.75);
  margin: 0 8px 16px;
}

section#start header p {
  font-size: 2em;
  margin: 0 8px;
  color: #DCDCDC;
  text-shadow: 0px 2px 16px rgba(0, 0, 0, 0.75);
}

section#work {
  position: relative;
}

section#work h1 {
  color: #FF6B6B;
}

section#work .text {
  margin: 16px auto;
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1000px;
}

section#work .text li {
  width: 400px;
  margin: 32px;
}

section#work .text li span {
  display: inline-block;
  height: 40px;
  width: 40px;
  background-position: middle;
  background-repeat: no-repeat;
  background-size: auto 100%;
  vertical-align: middle;
  margin-right: 8px;
}

section#work .text li span.icon-security {
  background-image: url(/assets/security.svg);
}

section#work .text li span.icon-convenience {
  background-image: url(/assets/convenience.svg);
}

section#work .text li span.icon-recycle {
  background-image: url(/assets/recycle.svg);
}

section#work .text li span.icon-workers {
  background-image: url(/assets/workers.svg);
}

section#work .text li span.icon-briefcase {
  background-image: url(/assets/briefcase.svg);
  background-size: 100% auto;
}

section#work .text li span.icon-world {
  background-image: url(/assets/world.svg);
}

section#work .text li h2 {
  display: inline;
  vertical-align: middle;
}

section#work .text li p {
  margin-top: 16px;
}

section#contacts h1 {
  color: #FF6B6B;
}

section#contacts .content {
  width: 100%;
  text-align: center;
  margin-top: 32px;
  margin-bottom: 64px;
}

section#contacts .content .phoneNumber {
  font-size: 7em;
}

section#contacts .content .button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2em;
  text-transform: uppercase;
  background: #FF6B6B;
  box-shadow: inset 0px 4px 16px rgba(0, 0, 0, 0.3);
  border-radius: 80px;
  width: 320px;
  height: 60px;
  max-width: calc(100% - 32px);
  margin: 16px;
  transition: 0.2s ease all;
}

section#contacts .content .button span {
  text-align: center;
  width: 70%;
}

section#contacts .content .button svg {
  width: 20%;
}

section#contacts .content .button:hover {
  transform: translateY(-4px);
}

section#contacts .content .button.facebook {
  background: #41E9C0;
}

section#contacts .content .buttonMock {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-transform: uppercase;
  background: white;
  box-shadow: inset 0px 4px 16px rgba(0, 0, 0, 0.3);
  border-radius: 80px;
  color: black;
  width: 100px;
  height: 60px;
  margin: 8px;
}

section#contacts footer {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 16px;
  border-top: 1px solid #FF6B6B;
  text-align: center;
}

section#contacts footer span {
  font-size: 1.2em;
  font-weight: 600;
  color: #1E2D2F;
}

section#contacts footer span.regular {
  font-weight: 300;
}

#truckContainer {
  margin: 64px auto 0;
  width: 800px;
  max-width: 100%;
}

#truckContainer img {
  width: calc(100% - 16px);
  height: auto;
  border-radius: 16px;
  margin: 8px;
}

