.application {
  background: linear-gradient(135.36deg, #1736B4 0%, #10123B 100%);
  background-repeat: no-repeat;
}

.flex-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.main {
  margin: 100px auto 200px auto;
  position: relative;
}

.text-align-right {
  text-align: right;
}

.half-page {
  max-width: 500px;
}

.form-container {
  color: black;
  position: relative;
  margin: 0px 50px;
  min-height: 400px;
}

.hbspt-form {
  max-width: 375px;
}

.form {
  position: relative;
  background-color: white;
  padding: 15px;
  z-index: 5;
}

.form > span {
  display: block;
  margin-bottom: 10px;
}

.form-intro {
  margin-top: 50px;
}

.border {
  position: absolute;
  left: 25px;
  top: 20px;
  width: 100%;
  height: 100%;
  border: 1px solid #3359DF;
}

.text-align-center {
  text-align: center;
}

.sub-heading > p {
  font-size: 20px;
}

.dev-thoughts .sub-heading {
  max-width: 570px;
  margin: auto;
}

.dev-thoughts-list .item {
  border: 1px solid #3359DF;
  padding: 25px;
  width: 285px;
  margin: 10px;
  font-weight: 500;
}

.dev-thoughts-list .item img {
  width: 220px;
  border-radius: 50%;
  height: 220px;
}

.dev-thoughts-list .item h3 {
  margin: 7px 0px;
}

.dev-thoughts-list .item .stack {
  font-size: 16px;
  line-height: 22px;
}

.dev-thoughts-list .item .thought p {
  font-size: 14px;
  line-height: 18px;
}

.application .section_point span {
  position: absolute;
  left: 0;
  right: 0;
  width: 1px;
  background: #fff;
  height: 150px;
  margin: auto;
  top: -250px;
}
.application .section_point span:after {
  content: '';
  width: 17px;
  height: 17px;
  border-radius: 50%;
  position: absolute;
  bottom: -5px;
  background: #FFAF30;
  right: 50%;
  transform: translate(50%,0);
}

.partners {
  margin: 80px auto;
}

.partners .sub-heading {
  margin-top: 50px;
  font-size: 22px;
  font-weight: 500;
  line-height: 30px;
  max-width: 426px;
}

.partners .arrow {
  position: absolute;
  width: 1px;
  background: #fff;
  height: 300px;
  right: calc(50% + 20px);
}

.partners .arrow:after {
  content: '';
  width: 17px;
  height: 17px;
  border-radius: 50%;
  position: absolute;
  bottom: -5px;
  background: #FFAF30;
  right: 50%;
  transform: translate(50%,0);
}

.partner-logos {
  max-width: 500px;
  margin: 150px 5px 0px 50px;
}

.partner-logos .item {
  height: 120px;
  width: 120px;
  border: 1px solid #3359DF;
  margin: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.partner-logos .item img {
  width: 100%;
}

.andela-adv .sub-heading {
  max-width: 590px;
  margin: auto;
  line-height: 32px;
}

.andela-adv .manifesto {
  max-width: 320px;
  margin-top: 30px;
}

.andela-adv .manifesto .title {
  margin-bottom: 10px;
  font-size: 18px;
}

.andela-adv .manifesto .content {
  font-size: 16px;
  line-height: 21px;
}

.andela-adv .image-gallery {
  margin: 200px 20px 20px 120px;
  height: 346px;
  width: 440px;
  border: 1.05px solid #3359DF;
  position: relative;
}

.andela-adv .image-gallery .image-one {
  position: absolute;
  height: 253px;
  width: 389px;
  left: -15%;
  bottom: 50%;
}

.andela-adv .image-gallery .image-two {
  position: absolute;
  height: 198px;
  width: 303px;
  right: -10%;
  top: calc(50% + 30px);
}

.routine {
  position: relative;
  margin: 200px 70px 20px 0px;
}

.routine h3 {
  font-size: 22px;
  line-height: 32px;
  margin: 0px;
}

.cta {
  margin-right: 70px;
  display: flex;
  justify-content: center;
  margin-bottom: 125px;
}

.routine .divider .arrow {
  top: -120px;
  position: absolute;
  width: 1px;
  background: #fff;
  height: 95px;
  right: 50%;
}

.routine .divider .arrow:after {
  content: '';
  width: 17px;
  height: 17px;
  border-radius: 50%;
  position: absolute;
  bottom: -5px;
  background: #FFAF30;
  right: 50%;
  transform: translate(50%,0);
}

.blogpost-subscription #notification_hbspt_form .hbspt-form{
  max-width: 100%
}
 .blogpost-subscription {
  padding: 22px 100px;
  width: 115%;
  margin-left: -7.5%;
}
#form-intro-mobile {
  display: none
}
.profile-photo-mobile {
  display: none;
}

/* More Responsiveness */
@media screen and (max-width: 959px) {
  .divider .arrow,
  .andela-adv .image-gallery .image-two {
    display: none;
  }

  .andela-adv .image-gallery {
    margin: 20px 0px;
    height: 380px;
  }

  .andela-adv .image-gallery .image-one {
    position: absolute;
    height: 253px;
    width: 389px;
    bottom: 15%;
  }

  .partner-logos {
    margin: auto;
  }

  .main, .form-intro {
    margin-top: 0px;
  }


}

@media screen and (max-width: 767px) {
  #form-intro-desktop {
    display: none;
  }
  #form-intro-mobile {
    display: block;
    padding-bottom: 40px;
  }
  #form-intro-mobile .sub-heading p {
    color: #ffffff;
    font-size: 16px;
    line-height: 24px;
  }

  h1.heading {
    margin-top: 100px !important;
    font-size: 27px !important;
    line-height: 33px !important;
  }

  .dev-thoughts h1.heading {
    text-transform: none;
    padding-bottom: 40px;
  }

  .dev-thoughts-list .item {
    padding: 0;
    margin: 0 0 20px 0;
    width: 100%;
  }

  .profile-photo-desktop {
    display: none;
  }
  .profile-photo-mobile {
    display: block;
    width: 150px;
    height: 150px;
    border-radius: 75px;
    margin: 50px auto;
  }

  h3.name {
    font-size: 24px;
    line-height: 27px;
    letter-spacing: -0.5px;
  }

  h3.stack {
    font-size: 18px;
    line-height: 27px;
    color: #FFAF30;
    width: 65%;
    margin: 0px auto;
  }

  .dev-thoughts-list .item h3 {
    margin: 15px auto 0px auto;
  }

  h6.thought {
    width: 85%;
    margin: 0px auto;
    color: #ffffff;
    font-size: 16px;
    line-height: 24px;
    padding-bottom: 50px;
  }

  .dev-thoughts-list .item .thought p {
    color: #ffffff;
    font-size: 16px;
    line-height: 24px;
  }

  .text-align-right {
    text-align: center !important;
  }

  .partners .sub-heading, .andela-adv .sub-heading {
    font-size: 27px;
    line-height: 33px;
    margin-bottom: 50px;
  }

  .andela-adv .manifesto .title {
    font-size: 24px;
    line-height: 27px;
    margin-bottom: 20px;
    font-family: "DINBold"
  }

  .andela-adv .manifesto .content {
    margin-bottom: 50px;
  }

  .routine {
    margin: 80px 0 0 0;
  }

  .routine h3 {
    font-size: 27px;
    line-height: 33px;
  }

  .cta {
    margin: 40px 0 125px 0;
  }

}

@media screen and (max-width: 601px) {
  .form-container {
    width: 100%;
    margin: 0px;
  }
}

.apply .form .stacked .hs-submit .actions input:hover,
.application .form .stacked .hs-submit .actions input:hover {
	background-position-x: 100px;
}
