/*
	Theme Name: Corporate Horizon
	Author: Ed Bromley
	Description: Default.Digital
	Version: 0.1
*/

html{
  height: 100%;
	margin-top: auto;
	width: 100%;
}

body{
	padding: 0;
	position: relative;
  margin: 0;
  min-height: 100%;
  font-family: 'Muli', sans-serif;
}

a{
  color: #231b9d;
  text-decoration: none;
  font-weight: bold;
}

/* HEADER */

header{
	width: 100%;
  height: 80px;
	background-color: #FFF;
  box-shadow: 0 2px #EEE;
  display: flex;
  align-items: center;
  z-index: 200;
  position: fixed;
  top: 0;
}

#logo{
  display: inline-block;
  height: 100%;
  position: relative;
  padding: 10px 40px;
  box-sizing: border-box;
}

#logo img{
  height: 100%;
}

.home-screen{
  position: relative;
  overflow: hidden;
}

#home-bg{
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: 10px;
  background-image: linear-gradient(90deg, #1D27A7, #23E4B9);
}

.home-header{
  position: absolute;
  top: 50%;
  left: 40%;
  transform: translate(-50%, -50%);
}

.home-title{
  margin: 0;
  text-align: center;
  font-size: 5vw;
  background: #1D27A7;
  background-image: linear-gradient(90deg, #1D27A7, #23E4B9);
  padding: 10px 20px;
  color: #FFF;
}

.home-header .button{
  font-size: 17px;
  font-size: 2vw;
}

.button{
  font-size: 12px;
  padding: 0 25px;
  background: #020024;
  color: #FFF;
  display: inline-block;
  text-transform: uppercase;
  margin: 5px 20px;
  cursor: pointer;
  transition: 0.2s;
  font-weight: 800;
  height: 45px;
  line-height: 45px;
}

.button:hover{
  background: #0D1799;
}

/* NAVIGATION */

.main-menu{
  width: auto;
  height: 100%;
}

.main-menu.mobile{
  display: block;
}

.main-menu.mobile ul{
  display: block;
  background-color: rgba(255,255,255,0.9);
  position: fixed;
  height: auto;
  width: 100%;
  left: 0;
  top: 50px;
  overflow: hidden;
  text-align: center;
}

.main-menu ul{
	z-index: 1;
  height: 100%;
	padding: 0;
  margin: 0;
  display: flex;
  align-content: center;
  justify-content: space-evenly;
  list-style-type: none;
}

.main-menu li{
	position: relative;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.nav-link{
  color: #020024;
  font-size: 20px;
  text-decoration: none;
	padding: 0 50px;
	transition: 0.2s;
  font-weight: 400;
  height: 100%;
  line-height: 80px;
}

.main-menu .active{
  background-color: #FFF;
  color: #012b8e;
}

.nav-link:not(.active):hover{
	color: #012b8e;
  background-color: #EEE;
}

#mob-nav:hover{
	color: #000;
}

#mob-nav{
	cursor: pointer;
	transition: 0.4s;
  display: none;
  position: absolute;
  right: 20px;
  padding: 10px;
}

.burger-van{
	width: 52px;
  height: 5px;
  margin: 11px 0;
  background-color: #1D27A7;
  background-image: linear-gradient(90deg, #1D27A7, #23E4B9);
}

/* MAIN */

main{
	margin: auto;
	height: 100%;
  width: 100%;
	display: block;
  margin-top: 80px;
  overflow: hidden;
}

.container{
  margin: 100px;
}

.container h2{
  font-size: 60px;
  margin: 0 0 20px 0;
  text-align: center;
}

.heading-style{
  background-color: rgb(29, 39, 167);
  display: inline-block;
  padding: 25px 25px 10px 100px;
  color: #FFF;
}

.card{
  color: #1F1F1F;
  background-color: #FFF;
  box-shadow: 0 2px 4px #DDD;
  overflow: hidden;
}

.card:hover img{
  transform: scale(1.2);
}

.about-content{
  padding: 5px 10%;
  font-size: 20px;
}

.projects-list, .prices-list{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.service-container{
  flex-basis: 15%;
  margin: 15px;
}

.service-container h3{
  text-align: center;
}

.service-container img{
  display: block;
  margin: auto;
  min-width: 80px;
}

.project-showcase, .service-showcase{
  display: flex;
  flex-direction: column;
  flex-basis: 20%;
  margin: 20px;
  min-width: 300px;
}

.service-showcase:nth-child(even) img{
  filter: hue-rotate(50deg);
}

.project-showcase-media{
  display: flex;
}

.project-showcase-media img{
  width: 100%;
  max-height: 200px;
  transition: 0.5s;
}

.project-showcase-header, .service-showcase-header{
  padding: 10px 20px;
  background: #FFF;
  z-index: 5;
}

.service-showcase-header .gradient-text{
  font-size: 24px;
}

.gradient-text{
  background-image: linear-gradient(70deg, #1D27A7, #23E4B9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  margin: auto;
  color: #FFF;
}

.project-showcase-body, .service-showcase-body{
  padding: 0 20px;
  font-weight: 200;
  background: #FFF;
  z-index: 5;
}

.service-showcase-body ul{
  padding-left: 20px;
  list-style-type: square;
}

.service-showcase-body li{
  padding: 5px 0;
}

.service-showcase-body li::marker{
  height: 20px;
}

.image-masonry{
  display: flex;
  flex-flow: row wrap;
}

.masonry-block{
	height: 200px;
  min-width: 150px;
  max-width: 300px;
	background-color: #222;
  margin: 4px;
  border-radius: 4px;
  flex: auto;
  overflow: hidden;
}

.masonry-block img{
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/* FOOTER */

footer{
  background: rgb(2,0,36);
  background: linear-gradient(60deg, rgb(2, 0, 36) 0%, rgb(29, 39, 167) 40%, rgb(35, 228, 185) 100%);
  color: #888;
  text-align: center;
  position: absolute;
  width: 100%;
  padding: 100px 0 25px 0;
  bottom: -350px;
  overflow: hidden;
}

#footer-menu #logo{
  height: 50px;
}

#footer-menu{
  padding: 0;
  margin: 0;
  list-style-type: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

#footer-menu a{
  text-decoration: none;
  padding: 0 50px;
  transition: 0.2s;
}

#copyright{
  margin-top: 80px;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 200;
  color: #000;
}

@media screen and (max-width: 1000px) {
  .service-container{
    flex-basis: 15%;
  }
  .service-container img{
    min-width: 40px;
  }
  .service-container h3{
    font-size: 16px;
  }
  .container h2{
    font-size: 45px;
  }
  .nav-link{
    padding: 0 30px;
  }
  .container{
    margin: 50px;
  }
}

@media screen and (max-width: 850px) {
  header{
    height: 50px;
  }
  main{
    margin-top: 50px;
  }
  .main-menu{
    display: none;
  }
  #mob-nav{
    display: block;
  }
  .home-header{
    left: 50%;
  }
  .home-title{
    font-size: 30px;
  }
  .home-header .button{
    font-size: initial;
    margin: 0;
  }
  #home-bg{
    right: 0;
    bottom: 0;
    width: auto;
    min-width: 100%;
    min-height: 100%;
    margin-left: -250px;
  }
  .projects-list, .prices-list{
    display: block;
  }
  .project-showcase, .service-showcase{
    min-width: auto;
    max-width: 400px;
    margin: 20px auto;
  }
}


@media screen and (max-width: 500px) {
  #home-bg{
    margin-left: -400px;
  }
  .container{
    margin: 50px 10px;
  }
  .project-showcase, .service-showcase{
    min-width: 200px;
  }
  .service-container{
    flex-basis: 10%;
  }
  .service-container img{
    min-width: 10px;
  }
  .service-container h3{
    font-size: 12px;
  }
}
