* {
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  margin: 0;
  padding: 0;
}

.padding-on-sides {
  padding: 0 60px;
}

.background {
  background: url(../images/background.jpg) no-repeat center center fixed;
  background-size: cover;
  width: 100%;
  height: 100vh;
  position: fixed;
  z-index: -1;
}

.wrapper {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  text-align: center;
  filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.3));
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
}

header {
  position: relative;
}

header .language {
  border: none;
  cursor: pointer;
  padding: 0;
  margin: 0;
  position: absolute;
  top: 20px;
  right: 20px;
  width: 25px;
  height: 25px;
  background-color: blue;
  border-radius: 50%;
  box-shadow: -2px -1px 2px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.language-wrapper a:focus .language {
  box-shadow: 0 0 5px 2px #1d479c;
  outline: none;
}

header .language:hover {
  transform: scale(1.05);
  filter: brightness(120%);
}

header .rus {
  right: 50px;
  background: url(../images/rus.png) no-repeat center center;
  background-size: cover;
  background-color: rgb(255, 0, 0);
}

header .eng {
  background: url(../images/en.png) no-repeat center center;
  background-size: cover;
  background-color: #1d479c;
}

.logo {
  margin: 0 auto;
  max-width: 400px;
  padding-top: 20px;

}

.logo img {
  width: 100%;
}

.tagline h1 {
  font-size: 1rem;
  font-weight: 400;
  margin: 5px 0;
}

.banner {
  margin-top: 30px;
  width: 100%;
  height: 120px;
  background: url(../images/banner.jpg) no-repeat center 30%;
  background-size: cover;
}

.services-contact {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 30px;
}

.services {
  width: 55%;
  text-align: left;
  padding: 0 30px;
  padding-left: 60px;
  /* text-wrap: balance; */
}

.services ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.services ul li {
  margin: 0.7rem 0;
  padding-left: 1.2rem;
}

.services ul li::before {
  content: "•";
  color: #b4b9bd;
  font-size: 1.2rem;
  display: inline-block;
  width: 1.2rem;
  margin-left: -1.2rem;
}

.red-highlight {
  color: #e74c3c;
  font-weight: 700;
}

.contact {
  width: 45%;
  text-align: right;
  padding: 40px 30px;
  padding-right: 60px;
  color: #fff;
  background-color: #1d479c;
  margin-top: 1.4rem;
  letter-spacing: 1px;

}

.contact .material-symbols-outlined {
  font-size: 1.4rem;
  color: #b2b6be;
  vertical-align: bottom;
}

.contact h2 {
  margin-top: 0;
}

.contact p {
  margin: 0.5rem 0;
  padding: 0;
  font-size: 1.2rem;
}

.contact a {
  color: #fff;
  text-decoration: none;
}

.about {
  background-color: #eaeced;
  margin: 2rem auto;
  padding: 30px;
  text-align: center;
  border-radius: 0.5rem;
  width: 90%;
}

.about p {
  text-wrap: balance;
}

.about h2 {
  margin-top: 0;
}

.blue-highlight {
  color: #1d479c;
  font-weight: 700;
  font-style: italic;
}

.application {
  margin: 0;
  padding: 0 60px;
  text-align: left;
  width: 100%;

}

.footer-content p {
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .wrapper {
    width: 90%;
  }

  .padding-on-sides {
    padding: 0 30px;
  }

  .contact {
    padding-right: 30px;
  }

  .contact p {
    font-size: 1rem;
  }

  .services {
    padding-left: 30px;
  }

  .application {

    padding: 0 30px;

  }
}

@media (max-width: 700px) {

  header .padding-on-sides {
    padding-top: 10px;
  }

  .services-contact {
    display: flex;
    flex-direction: column;
  }

  .services {
    width: 100%;
    text-align: left;
    padding: 0 30px;
  }

  .contact {
    width: 100%;
    text-align: left;
    margin-bottom: 1.4rem;
  }
}



@media (max-width: 510px) {

  header .padding-on-sides {
    padding-top: 15px;
  }

  .wrapper {
    width: 100%;
  }

  .padding-on-sides {
    padding: 0 20px;
  }
}