body{
  background: #f0e7ee;
  margin: 0;
  overflow-x: hidden;
}

html{
  overflow-x: hidden;
}

header{
  height: 100px;
  width: 100%;
  background: #fff;
  position: fixed;
  top: 0;
  z-index: 100;
  box-shadow: 0px 0px 10px #ccc;
}

header h1{
  font-size: 30px;
  color: #401c73;
  text-decoration: none;
  margin: 30px 50px;
  display: inline-block;
  text-transform: uppercase;
  z-index: 100;
}

.headerBox{
  background: #fff;
}

.background-grad{
  background-image: linear-gradient(80deg, #2D0B5C, #716bf6);
}

#mainBox{
  position: absolute;
  display: block;
  height: 100%;
  width: 100%;
}

.centerBox{
  text-align: center;

  /*color: #401c73;*/
  font-size: 3em;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.centerBox a{
  color: #fff;
  font-family: 'Roboto', sans-serif;
  display: block;
  text-decoration: none;
  transition: 0.4s;

}

.centerBox a:hover{
  font-weight: lighter;
  padding-left: 10px;
  padding-top: 10px;
}

#menuIcon{
  color: #2D0B5C;
  position: absolute;
  font-size: 50px;
  cursor: pointer;
  transition: 0.2s;
  z-index: 10;
  display: none;
  padding: 20px;
  top: 0;
  right: 0;
  z-index: 100;
}

#menuIcon:hover{
	color: #553089;
}

@media screen and (max-width: 920px){
  #menuIcon{
    display: block;
  }
}

#nav{
  display: inline-block;
  margin: 25px 100px;
}

@media screen and (max-width: 920px){
  #nav{
    display: none;
    background: rgba(255, 255, 255, 0.9);
    margin: 0;
    padding-top: 10px;
    z-index: -1;
  }
  #nav li{
    display: block;
    width: 100%;
    padding: 20px 0;
    text-align: center;
  }
  #nav li a{
    padding: 20px;
    font-size: 30px !important;
  }
  #nav li a:hover{
    border: none !important;
    font-weight: bold;

  }
}

#nav ul{
  margin: 0;
  padding: 0;
}

#nav li{
  display: inline-block;
}

#nav li a{
  font-family: 'Roboto', sans-serif;
  font-size: 22px;
  color: #401c73;
  text-decoration: none;
  padding: 30px 30px;
}

#nav li a:hover, li a:active{
  border-bottom: 5px solid #553089;
}

.slideInDown{
    -webkit-animation-name: slideinDown;
    animation-name: slideinDown;
    -webkit-animation-duration: 0.4s !important;
    animation-duration: 0.4s !important;
}

.slideOutUp{
    -webkit-animation-name: slideOutUp;
    animation-name: slideOutUp;
    -webkit-animation-duration: 0.4s !important;
    animation-duration: 0.4s !important;
}

h1,h2,h3,h4,h5,h6, p{
  font-family: 'Arvo', serif;
}

#main{
  margin-top: 100px;
}

#blinkingCursor{
  visibility: visible;
	animation: blink 0.4s linear infinite;
	animation-play-state: running;
}

@keyframes blink{
  100% {
    opacity: 0;
  }
}

#intro{
  background: #401c73;
  height: 400px;
  width: 100%;
  background-image: linear-gradient(80deg, #2D0B5C, #716bf6);
}

#intro h2{
  color: #fff;
  padding: 120px 20%;
  font-size: 80px;
  text-align: center;
}

@media screen and (max-width: 1400px){
  #intro h2{
    font-size: 70px;
  }
}
@media screen and (max-width: 1200px){
  #intro h2{
    font-size: 60px;
  }
}
@media screen and (max-width: 1000px){
  #intro h2{
    font-size: 45px;
  }
}
@media screen and (max-width: 800px){
  #intro h2{
    font-size: 40px;
    padding: 100px 0;
  }
  #intro{
    height: 300px;
  }
}
@media screen and (max-width: 400px){
  #intro h2{
    font-size: 30px;
    padding: 100px 0;
  }
}

.servicesContainer{
  text-align: center;
  margin:-100px auto 100px auto;
  max-width: 1500px;
}

.service{
  text-align: center;
  box-sizing: border-box;
  border-radius: 10px;
  margin: 20px;
  background: #fff;
  display: inline-table; /* fallback */
  display: inline-grid;
  width: 400px;
}

.service p{
  padding: 0 50px;
  font-size: 16px;
  color: #553089;
  font-family: sans-serif;
  line-height: 24px;
  text-align: justify;
  font-family: 'Roboto', sans-serif;
}

.service h3{
  font-size: 150%;
  margin-top: 0;
  font-weight: lighter;
}

.serviceCircleContainer{
  height: 400px;
  width: 400px;
  box-sizing: border-box;
  overflow: hidden;
  display: inline-block;
  margin: auto;
  text-align: center;
  padding: 50px;
  transition: 0.2s;
}

@media screen and (max-width: 500px){
  .serviceCircleContainer{
    height: 300px;
    width: 300px;
  }
  .service{
    width: 300px;
  }
}

@media screen and (max-width: 400px){
  .serviceCircleContainer{
    height: 200px;
    width: 200px;
  }
  .service{
    width: 300px;
  }
}

.service:hover .segment{
  border: 5px solid #fff;
  transform: rotate(60deg);
}

.serviceCentreCircle{
  border-radius: 100%;
  background: #fff;
  height: 80%;
  width: 80%;
  position: relative;
  margin-left: 10%;
  margin-top: 10%;
}

.serviceCentreCircleContents{
  overflow: hidden;
  position: absolute;
  text-align: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.serviceCentreCircleContents h3{
  padding: 45% 0;
  margin: 0;
  font-family: sans-serif;
  color: #bbb;
}

.serviceCentreCircleContents img{
  margin-top: 15%;
  color: #bbb;
  height: 70%;
  width: 70%;
}

.segment{
  width: 50%;
  height: 50%;
  background: #553089;
  float: left;
  transition: 0.4s;
  box-sizing: border-box;
  display: flex;
  padding: 10px;
}

.segment:nth-child(3n-2){
  background-color: #2D0B5C;
}
.segmentTopLeft{border-radius: 100% 0 0 0;}
.segmentTopRight{border-radius: 0 100% 0 0;}
.segmentBottomLeft{border-radius: 0 0 0 100%;}
.segmentBottomRight{border-radius: 0 0 100% 0 ;}


.row p{
  color: #fff;
  padding: 100px 20%;
  margin: 0;
}

.row h2{
  color: #fff;
  font-size: 50px;
  text-align: center;
  padding-top: 100px;
}

.largeText{
  font-size: 40px;
}

.about{
  background: #2D0B5C;
  width: 100%;
  background-image: linear-gradient(80deg, #2D0B5C, #716bf6);
  padding-bottom: 50px;
}

.about p{
  padding: 15px 20%;
  font-size: 20px;
  font-family: 'Roboto', sans-serif;
  line-height: 30px;
}

.projects{
  height: 600px;
}

.projects p{
  padding: 20px 20%;
}

.projects h2{
  color: #553089;
  margin-top: 0;
  font-weight: 333;
  font-family: 'Roboto', sans-serif;
}

.boxContainer{
  text-align: center;
}

.boxContainer a{
  text-decoration: none;
}

.projects .boxContainer img{
  max-height: 200px;
  display: inline-block;
  margin: 20px;
  border-radius: 12px;
  transition: 0.8s;
  filter: grayscale(35%);
}

.projects .boxContainer img:hover{
  filter: grayscale(0%);
  box-shadow: 4px 4px 4px 4px #e1dadf;
  max-height: 240px;
}

.contact{
  /* background: #2D0B5C; */
  /* background-image: linear-gradient(80deg, #2D0B5C, #716bf6); */
  /* min-height: 900px; */
}

.contact h2{
    color: #401c73;
    font-family: 'Roboto',inherit sans-serif;
}

.contact #Contact{
    color: #401c73;
}

.inline-block{
  display: inline-block;
}

.contact form{
  margin: auto;
  width: 80%;
  display: block;
  padding: 50px 0;
  text-align: center;
}

.contact .formMessageSent{
  text-align: center;
  font-size: 30px;
}

.contact .formObject{
  width: 50%;
  float: left;
  position: relative;
  box-sizing: border-box;
  padding: 10px 30px;
}

@media screen and (max-width: 750px){
  .contact .formObject{
    width: 100%;
    margin-left: -20px;
  }
}

.contact .formTextArea{
  width: 100%;
}

.contact label{
  display: block;
  color: #666;
  font-family: 'Roboto', sans-serif;
  position: absolute;
  left: 45px;
  top: 30px;
}

.contact input{
  color: #666;
  font-family: 'Roboto', sans-serif;
  width: 100%;
  padding: 40px 10px 20px 10px;
  font-size: 20px;
  margin: 10px;
  background: #fff;
  border-radius: 4px;
  border: none;
  box-shadow: none;
}

.contact textarea{
  color: #666;
  font-family: 'Roboto', sans-serif;
  width: 100%;
  height: 100px;
  padding: 40px 10px 20px 10px;
  font-size: 20px;
  margin: 10px;
  background: #fff;
  border-radius: 4px;
  border: none;
  box-shadow: none;
}

.contact input[type="submit"]{
  padding: 20px 10px 20px 10px;
  font-size: 20px;
  margin: 10px;
  border-radius: 4px;
  width: 50%;
  background: #1E0641;
  color: #fff;
  font-size: 25px;
  transition: 0.4s;
  font-family: 'Arvo', serif;
}

.contact input[type="submit"]:hover{
  background: #2D0B5C;
  cursor: pointer;
}

.contact .formSubmit{
  color: #666;
  font-family: 'Roboto', sans-serif;
  width: 100%;
  border: none;
  box-shadow: none;
  margin-bottom: 100px;
}

.contact ul{
  padding: 0;
  margin-left: 40%;
}

.contact li{
  font-family: 'Roboto', sans-serif;
  color: #D599CA;
  list-style-type: none;
  font-size: 22px;
  text-align: left;
}

footer{
  /*background-color: #f0e7ee;*/
  background-image: linear-gradient(80deg, #2D0B5C, #716bf6);
  height: 100px;
  box-shadow: 0px 0px 10px #2D0B5C
}

footer .footerBox{
  text-align: center;
  padding-top: 50px;
}

footer a{
  font-family: 'Roboto', sans-serif;
  /*color: #401c73;*/
  color: #fff;
  text-decoration: none;
  bottom: 20px;
  font-size: 20px;
  transition: 0.2s;
}
