body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
}
h2 {
  text-align: center;
}
/* Add a black background color to the top navigation */
.topnav {
  background-color: transparent;
  overflow: hidden;
}

.topnavScroll {
  margin: 0 auto;
  width: 70%;
}

/* start responsive topnav, note its duplicated bellow */

.topnav a {
  float: right;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.topnav a:hover {
  background-color: #ddd;
  color: black;
}

.topnav a.active {
  background-color: #04AA6D;
  color: white;
}

.topnav .icon {
  display: none;
}

@media screen and (max-width: 1250px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
  }
  .fa { transform: scale(2,2); }
}

@media screen and (max-width: 1250px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}

/* end responsive top nav*/



.sticky {
  margin: 0 auto;
  position: fixed;
  top: 0;
  margin: 0 auto;
  background-color: white;
  z-index: 1000;
  width: 100%;
}

hr {
  background-color: #1AA9F7;
  height: 1px;
}

#nav {
  padding-top: 2em;
  
}

/* oldstyle
/* Style the links inside the navigation bar */
.topnav a {
  float: right;
  color: #1AA9F7;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.logo {
  position: relative;
}

/* Change the color of links on hover */
.topnav a:hover {
  background-color: #ddd;
  color: black;
  border-radius: 5px;
}

/* Add a color to the active/current link */
.topnav a.active {
  background-color: #1AA9F7;
  color: white;
  border-radius: 5px;
}

header {
width: 100%;
height: 25em;
}

#mainImage {
  position: absolute;
  width: 100%;
  overflow: hidden;
  z-index: -100;
}

.teamImage {
width: 100%;
overflow: hidden;
}

 .container {
  margin: 0 auto;
  width: 70%;
 }

 #button1 {
   height: 50px;
   width: 200px;
   background-color: #1AA9F7;
   border-radius: 10px;
   display: flex;
   align-items: center;
   justify-content: center;
   color: white;
 }

 .imageBetween {
   display: flex;
   flex-direction: row;
   height: 15vw;
   padding-top: 3em;
 }

 #consulting {
   flex-basis: 49%;
   padding-right: 2em;

 }

 #separatorUp {
background-color: gray;
flex-basis: 1px;
 }
 #managed {
   flex-basis: 49%;
   padding-left: 2em;
 }


 .section2 {
   display: flex;
   flex-direction: row;
   padding: 3em 0;
   
 }

 @media screen and (max-width: 980px) {
  .imageBetween {
    display: none;
  }

  .section2 {
    display: flex;
    flex-direction: column;
  }
  #section2Left {
    padding-bottom: 3em;
  }

  #section2Right {
    padding-top: 3em;
  }
}

 #section2Left {
   flex-basis: 49%;
   padding-right: 2em;
 }

@media screen and (max-width: 1250px) {
  .section2 {
    display: flex;
    flex-direction: column;
  }
  #section2Left {
    padding-bottom: 3em;
  }

  #section2Right {
    padding-top: 3em;
  }
}

 #section2Left {
   flex-basis: 49%;
   padding-right: 2em;
 }

 #separator {
   flex-basis: 1px;
   background-color:gray;
 }

 #section2Right {
  flex-basis: 49%;
  padding-left: 2em;;
}

 .parallax {
  /* The image used */
  background-image: url(/img/teamwork6.jpg);

  /* Full height */
  height: 50%; 

  /* Create the parallax scrolling effect */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

html, body {
  height: 100%;
}

.centered {
  margin: 0 auto;
}

.middleText {
  width: 100%;
  height: fit-content;
  text-align: center;
  background-color: whitesmoke;
  margin-top: 2em;
  padding: 2em 0em;
}
p {
margin-bottom: 0em;
}

.services {
  background-color: burlywood;
  height: fit-content;
}


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

.subservice {
  height: 8vw;
  width: 150vw;
  margin: 2em 4em;
}
.subservice:hover {
  cursor: pointer;
  transform: scale(1.2)
}

.subservice figure img {
  width: 100%;
}

figcaption{
  text-align: center;
  font-weight: bold;
}

.explanation {
  height: fit-content;
  background-color: burlywood;
  margin-top: -2em;
  padding: 0em 15em;
  padding-bottom: 2em;
  display: none;

}

.explanations {
  height: fit-content;
}

.explain {
  display:none;
}

.explain p {
  color: white;
}

p {
font-size: 1.5rem;
}

h1 {
  color: #1769AD;
}

.textDown {
  padding-top: 2em;
}

footer {
  bottom: 0em;
  margin-top: 0vw;
  width: 100%;
  height: fit-content;
  background-color: #1AA9F7;
  display: flex;
  flex-direction: column;
  justify-content: space-between; }



#footerBottom {
  align-self: center;
  width: 40%; }

#footerBottom p {
  color: white;
  font-size: 1.5vw;
  margin-bottom: 0vw;
 }

 label {
   font-size: 1.5rem;
 }

 input {
   margin: 1rem 0;
   font-size: 1.5rem;
 }

 .applyButton {
   height: fit-content;
   width: fit-content;
   font-size: 30px;
   background-color: #1AA9F7;
   border-radius: 10%;
   color: white;
 }

 .sendApplication {
  height: fit-content;
  width: fit-content;
  font-size: 30px;
  background-color: #1AA9F7;
  border-radius: 10%;
  color: white;
}



@media screen and (max-width: 1250px) {
  .container-contact1 {
    display: flex;
    flex-direction: column;
  }

}