@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Zen+Loop&display=swap');
*{
margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
font-family: 'Roboto', sans-serif;
}
html{
  scroll-behavior: smooth;
}

/* Navbar */
.navbar{
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: palevioletred;
  position: sticky;
  top: 0;
  z-index: 1;
}
.navbar ul{
  display: flex;
  list-style: none;
  margin: 20px 0px;
}
.navbar ul li{
  font-size: 1.1rem;
  font-weight: bold;
}
.navbar ul li a{
  text-decoration: none;
  color: white;
  padding: 8px 25px;
  transition: all .5s ease;
}
.navbar ul li a:hover{
  background-color: pink;
  color: palevioletred;
  box-shadow: 0 0 5px white, 0 0 10px white, 0 0 15px white;
}

/* Home section */
#home{
  display: flex;
  flex-direction: column;
  background: url(/images/code3.jpg);
  background-position: center;
  background-size: cover;
  height: 840px;
  justify-content: center;
  align-items: center;
  color: white;
}
#home h1{
  font-family: 'Zen Loop', cursive;
  font-weight: bolder;
  font-size: 80px;
}
#home::before{
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  background: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)) no-repeat center center/cover;
  height: 900px;
  width: 100%;
  z-index: -1;
  opacity: .8;
}
.main{
  display: flex;
  flex-direction: column;
  align-items: center;
  position: absolute;
  top: 30%;
}
.headings{
  font-size: 3rem;
  text-align: center;
  margin: 40px 0px
}
.blink {
  color: palevioletred;
  animation: blink 2s infinite;
}
h2{
  margin-bottom: 30px;
}
@keyframes blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
    transform: scale(2);
  }
  51% {
    opacity: 0;
    transform: scale(0);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
.btn{
  padding: 10px 35px;
  border: 1px solid white;
  color: white;
  outline: none;
  transition: .6s ease;
}
a{
  color: palevioletred;
}
.btn:hover{
  cursor: pointer;
  background-color: white;
  color: black;
  box-shadow: 0 0 5px white, 0 0 10px palevioletred, 0 0 15px palevioletred;
  font-weight: bold;
}


/* About section */
#about{
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  padding: 20px 200px;
  background-color: pink;
}
#about h1{
  color: palevioletred;
}
#about h2{
  font-family: 'Zen Loop', cursive;
  color: palevioletred;
  font-size: 50px !important;
}
#pic{
  display: flex;
  padding-bottom: 20px;
}
#pic img{
  width: 575px;
  height: 400px;
  border-radius: 5px;
}
#intro{
  display: flex;
  flex-direction: column;
  text-align: justify;
  padding: 10px;
}
#intro h2{
  font-size: 2rem;
  margin-left: 40px;
  margin-bottom: 20px;
}
#intro p{
  margin-left: 40px;
  margin-bottom: 40px;
}

/* Services section */
#services{
  display: flex;
  flex-direction: column;
  padding: 20px;
  background: url(images/code3.jpg);
background-position: bottom;
    background-size: cover;
}
#services h1{
  color: white;
  margin-bottom: 10px;
}
#services h2{
    color: darkslategrey;
    margin: 0;
    padding: 0;
}
#services h3{
    padding-bottom: 10px;
}
.row{
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  box-sizing: border-box;
}
.row .box h1{
  color: palevioletred !important;
  font-size: 30px;
}
#services p{
    padding-top: 20px;
    text-align: left;
    font-size: 14px;
}
p a{
  color: palevioletred;
  font-weight: bold;
}
.box{
  display: flex;
  flex-direction: column;
  width: 350px;
  height: 450px;
  border: 1px solid white;
  margin: 10px;
  align-items: center;
  text-align: justify;
  padding: 10px;
  border-radius: 15px;
  background: linear-gradient(to top, pink 50%, white 50%);
  background-size: 100% 200%;
  transition: all .8s;
}
.box:hover{
  background-position: left bottom;
  color: white;
  border: none;
  box-shadow: 0 0 20px rgb(255, 45, 45);
}
.box img{
  width: 80px;
  height: 80px;
}
#codeinst{
  width: 300px;
  height: 200px;
}
#cfg{
    width: 250px;
    height: 150px;
}
#hubby{
  width: 300px;
  height: 200px;
}
#barklane{
  width: 300px;
  height: 200px;
}
#lean{
    width: 300px;
    height: 100px;
}
/* Contact section */
#contact{
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  background-color: pink;
  color: palevioletred;
  padding: 20px;
}
.form{
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  align-items: center;
  margin: 20px 0px;
}
.input{
  padding: 12px;
  margin: 15px;
  width: 30%;
  border: none;
  outline: none;
}
#msg{
  width: 20%;
  padding: 10px;
  margin: 15px;
  border: none;
  outline: none;
}

.social-icons{
  display: flex;
  padding: 20px;
  background-color: palevioletred;
  justify-content: center;
}
.social-icons .fa-brands:hover{
  cursor: pointer;
  box-shadow: 0 0 10px pink;
}
.social-icons .fa-brands{
  color: white;
  font-size: 60px;
  margin: 20px;
}
.social-icons .fa-solid:hover{
  cursor: pointer;
  box-shadow: 0 0 10px pink;
}
.social-icons .fa-solid{
  color: white;
  font-size: 60px;
  margin: 20px;
}