@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@400&display=swap');
:root{
  --dark-color: #070D1F;
  --light-color: #fff;
  --header-height : 50px;
  --active-color : #3664F4;
}

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

header{
  font-family: 'Roboto Slab', serif;
  background: var(--light-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-height);
  padding: 0 20px;
  width: 100%;
  position: fixed;
  z-index: 10;
  box-shadow: 0px .5px 10px #ccc;
}


section{
  border-bottom: 2px dashed #ccc;
  padding-top: 50px;
}

section:last-child{
  border-bottom: none;
}

.subheading{
  font-family: 'Roboto Slab', serif;
  text-align: center;
  font-size: 1.5rem;    
  padding-top: 30px;
}

.container{
  display: flex;
  align-items: center;
  justify-content: center;
  /* min-height: 100vh; */
  width: 100%;
  padding: 30px 0;
  flex-direction: column;
}

.logo{
  
  letter-spacing: 0.105rem;
}

.logo h3{
  color: #0B132B;
  font-weight: 500;
  font-size: 1.5rem;
}


.nav{
  display: flex;
  align-items: center;
  transition: .5s;
}
nav ul,.social_links ul{
  list-style: none;
  display: flex;
  width: 100%;
}
.nav_links{
  padding-right: 100px;
}
.nav_links ul li{
  margin-right: 10px;
}


nav ul li a{
  color: var(--dark-color);
  text-decoration: none;
  padding: .5rem .8rem;
  border-radius: .25rem;
}
.active{
  border: 1.5px solid #da2c3891;
  font-weight: bold;
}

/* Social Links */
.nav__social-icon{
  color: var(--dark-color);
  margin-right: 15px;
  font-size: 1.3rem;
}

.icon-logo{
  height: 100%;
}

/* **** */

/* Menu burger */
.menu-btn{
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 29px;
  height: 29px;
  cursor: pointer;
  border: 1px solid var(--dark-color);
  transition: all 0.5s ease-in-out;
}

.menu-btn_burger{
  width: 15px;
  height: 2px;
  background: var(--dark-color);
  border-radius: 5px;
  transition: all 0.5s ease-in-out;
}
.menu-btn_burger::before,
.menu-btn_burger::after{
  content: '';
  position: absolute;
  width: 15px;
  height: 2px;
  background: var(--dark-color);
  border-radius: 5px;
  transition: all 0.5s ease-in-out;
}
.menu-btn_burger::before{
  transform: translateY(-5px);
}
.menu-btn_burger::after{
  transform: translateY(5px);
}

/* Animation */

.menu-btn.open .menu-btn_burger{
  transform: translateX(-50px);
  background: transparent;
}
.menu-btn.open .menu-btn_burger::before{
  transform:rotate(45deg) translate(35px,-35px) ;
}
.menu-btn.open .menu-btn_burger::after{
  transform:rotate(-45deg) translate(35px,35px) ;
}


/* **** */


@media screen and (min-width:786px) {
  .menu-btn{
      display: none;
  }
  .subheading{
    font-size: 1.5rem;
  }
}


@media screen and (max-width:785px){
  .nav{
      position: fixed;
      top: var(--header-height);
      left: -100%;
      height: 100vh;
      width: 100%;
      background: var(--light-color);
      flex-direction: column;
      align-items: flex-start;
      justify-content: space-evenly;
      z-index: 100;
  }
  .nav_links{
      padding: 0;
      width: 100%;
  }
  .nav_links ul{
      flex-direction: column;
      align-items: center;
      justify-content: center;
  }
  .nav_links ul li{
      margin-bottom: 20px;
  }
  .social_links{
      width: 100%;
  }
  .social_links ul{

      justify-content: center;
  }
}

.show-nav{
  left: 0;
}

/* Hero section */

.hero{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap-reverse;
  padding: 50px;
  height: 100vh;
}



.hero_name{
  font-style: normal;
  font-weight: 500;
  font-size: 2.7rem;
  letter-spacing: 0.105em;
  color: #0D1B1E;
}
#typing{
  margin-top: 10px;
  font-size: 1.5rem;
  text-transform: uppercase;
  font-weight: bold;
}
#first_type{
  color: #DA2C38;
}
#second_type{
  color: #156064;
}
#third_type{
  color: #FF9505;
}


.hero_img {
  width: 450px;

}
.hero_img img{
  width: 100%;
}

@media screen and (max-width:785px){
  .hero_name p{
    font-size: 1.5rem;
    text-align: center;
  }
  #typing{
    font-size: 1rem;
    text-align: center;
  }
}
/* *** */

/* Footer Section */

.footer{
  text-align: center;
  padding-bottom: 20px;
  font-size: 12px;
}