html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

img {
  max-width: 100%;
}

ul {
  list-style-type: none;
}

a {
  text-decoration: none;
}

.services {
  max-width: 1318px;
  margin: 0 auto;
}

.services-photo {
  max-width: 500px;
  height: 500px;
  display: inline-block;
  border-radius: 15px;
  background-color: #0a22f4;
  border-left: 10px solid #0a22f4;
  border-bottom: 10px solid #0a22f4;
  vertical-align: top;
  margin-right: 138px;
  margin-top: 182px;
  margin-bottom: 394px;
}

.container {
  display: inline-block;
  vertical-align: top;
  max-width: 463px;
}

#h1 {
  margin-bottom: 60px;
  display: block;
  color: #171717;
  font-size: 32px;
  text-align: left;
  letter-spacing: 0px;
  text-transform: uppercase;
}

.services-text {
  height: 385px;
  display: block;
  font-size: 16px;
  text-align: left;
  letter-spacing: 0px;
  color: #171717;
}

.projects {
  max-width: 1440px;
  margin: auto;
  height: 940px;
}

#h2 {
  display: block;
  color: #ffffff;
  font-size: 32px;
  text-align: left;
  letter-spacing: 0px;
  text-transform: uppercase;
  background-color: #0a22f4;
  padding-bottom: 200px;
  padding-top: 70px;
  padding-left: 180px;
  margin: 0 auto;
}

.line {
  position: relative;
  width: 100%;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ffffff;
  display: inline-block;
  position: absolute;
  top: 50%;
  transform: translateX(-50%);
  vertical-align: top;
  margin-right: 20px;
  margin-top: -70px;
}

.line .dot:nth-child(2) {
  right: 100px;
  opacity: 0.3;
}
.line .dot:nth-child(3) {
  right: 120px;
  opacity: 0.3;
}
.line .dot:nth-child(4) {
  right: 140px;
}

.projects-photos {
  max-width: 463px;
  height: 420px;
  display: block;
  border-radius: 15px;
  margin-right: 25px;
  object-fit: cover;
}

.parent {
  position: relative;
  display: inline-block;
  width: 463px;
  height: 420px;
  margin-left: 180px;
  margin-top: -100px;
}

.child {
  color: #171717;
  display: inline-block;
  font-size: 18px;
  letter-spacing: 0px;
  text-align: left;
  border-radius: 12px;
  background-color: #ffffff;
  padding: 30px 74px 30px 30px;
  text-transform: uppercase;
  position: absolute;
  bottom: 10px;
  left: 50%;
  width: 95.68%;
  max-width: 463px;
  transform: translateX(-50%);
}

h1 {
  text-align: right;
}

h2 {
  text-align: left;
}
