*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

h1{
  font-family: 'Sacramento', cursive;
  margin-top: 0;
}

#b, #c, #d, #e, #f, #g, #h{
  padding: 20px;
  background-color: #FFEDED;
  margin: 0;
}

.h {
  font-weight: bold;
  /* color:black; */
  color:black;
  font-size: 5.625rem;
  text-align: center;
}

.hh {
  font-weight: bold;
  color: black;
  padding-top: 50px;
  padding-left: 50px;
  font-size: 3.625rem;
  text-align: left;
}

.pp {
  text-align: left;
  color: black;
  font-family: 'Nunito', sans-serif;
}

.p {
  font-weight: bold;
  font-family: 'Montserrat', sans-serif;
}
.subheading{
  font-weight: bold;
  font-family: 'Sacramento', sans-serif;
}
.ppp{
  text-align: justify;
}

p {
  display: flex;
  justify-content: center;
  color: black;
}
/* nav side */

/* SideBar Nav */
.sidebar{
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  width: 78px;
  background: black;
  padding: 6px 14px;
  z-index: 99;
  transition: all 0.5s ease;
}
.sidebar.open{
  width: 250px;
}
.sidebar .logo-details{
  height: 60px;
  display: flex;
  align-items: center;
  position: relative;
}
.sidebar .logo-details .icon{
  opacity: 0;
  transition: all 0.5s ease;
}
.sidebar .logo-details .logo_name{
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  opacity: 0;
  transition: all 0.5s ease;
}
.sidebar.open .logo-details .icon,
.sidebar.open .logo-details .logo_name{
  opacity: 1;
}
.sidebar .logo-details #btn{
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  font-size: 22px;
  transition: all 0.4s ease;
  font-size: 23px;
  text-align: center;
  cursor: pointer;
  transition: all 0.5s ease;
}
.sidebar.open .logo-details #btn{
  text-align: right;
}
.sidebar i{
  color: #fff;
  height: 60px;
  min-width: 50px;
  font-size: 28px;
  text-align: center;
  line-height: 60px;
}
.sidebar .nav-list{
  margin-top: 20px;
  height: 100%;
  padding-left: 5px;
}
.sidebar li{
  position: relative;
  margin: 8px 0;
  list-style: none;
}
.sidebar li .tooltip{
  position: absolute;
  top: -20px;
  left: calc(100% + 15px);
  z-index: 3;
  background: #fff;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 400;
  opacity: 0;
  pointer-events: none;
  transition: 0s;
}
.sidebar li:hover .tooltip{
  opacity: 1;
  pointer-events: auto;
  transition: all 0.4s ease;
  top: 50%;
  transform: translateY(-50%);
}
.sidebar.open li .tooltip{
  display: none;
}
.sidebar li a{
  display: flex;
  height: 100%;
  width: 100%;
  border-radius: 12px;
  align-items: center;
  text-decoration: none;
  transition: all 0.4s ease;
  background: black;
}
.sidebar li a:hover{
  background: #FFF;
}
.sidebar li a .links_name{
  color: #fff;
  font-size: 15px;
  font-weight: 400;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: 0.4s;
}
.sidebar.open li a .links_name{
  opacity: 1;
  pointer-events: auto;
}
.sidebar li a:hover .links_name,
.sidebar li a:hover i{
  transition: all 0.5s ease;
  color: #11101D;
}
.sidebar li i{
  height: 50px;
  line-height: 50px;
  font-size: 18px;
  border-radius: 12px;
}
.sidebar li.profile{
  position: fixed;
  height: 60px;
  width: 78px;
  left: 0;
  bottom: -8px;
  padding: 10px 14px;
  background: #11101D;
  transition: all 0.5s ease;
  overflow: hidden;
}
.sidebar.open li.profile{
  width: 250px;
}
.sidebar li .profile-details{
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
}
.home-section{

  margin:0;
  text-align: center;
  position: relative;
  background: white;
  min-height: 100vh;
  top: 0;
  left: 78px;
  width: calc(100% - 78px);
  transition: all 0.5s ease;
  z-index: 2;
}
.sidebar.open ~ .home-section{
  left: 250px;
  width: calc(100% - 250px);
}
.home-section .text{
  display: inline-block;
  color: #11101d;
  font-size: 25px;
  font-weight: 500;
  margin: 18px
}
/*------------------------animation text---------------*/

.b::before {
  content: "Software Engineer";
  animation: animate infinite 3s;
  padding-left: 10px;
}

@keyframes animate {
  0% {
    content: "Eccentric Web Developer";
  }

  50% {
    content: "Curious Problem Solver";
  }

  75% {
    content: "Efficient Code Craftsman";
  }
}

/* Menu */
.menu{
  padding: 30px;
}
.contact{
  padding:50px;
}
.icon{
  padding: 10px;
  color: black;
}
/* Botton hire me */
.button {
  padding-bottom: 5PX;
  border-radius: 10px;
  background-color: black;
  border: none;
  color: #FFFFFF;
  text-align: center;
  height: 40px;
  width: 200px;
  transition: all 0.5s;
  cursor: pointer;
  margin: 0;
}

.button .sp {
  cursor: pointer;
  padding-top: 5px;
  display: inline-block;
  position: relative;
  transition: 0.5s;
}

.button .sp:after {
  content: '\00bb';
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.5s;
}

.button:hover .sp {
  padding-right: 25px;
}

.button:hover .sp:after {
  opacity: 1;
  right: 0;
}
.hire{
  font-weight: bold;
  font-size: 24;
  ont-family: 'Roboto', sans-serif;
}

/* Container */
.var{
  padding: 100px;
}
.img{
  padding: 50px;
}

/* carousel */
/* .carousel{
  text-align: center;
  padding-top: 50px;
  padding-left: 30%;
} */
/* ------------------------------------------------------------------------------ */


/* --------------------------------------animation Card-------------------------- */
/* .rap{
  display: flex;
  width: 70%;
  justify-content: space-around;
}
#na{
  padding-top: 50px;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.ard{
  width: 280px;
  height: 360px;
  padding: 2rem 1rem;
  position: relative;
  display: flex;
  align-items: flex-end;
  box-shadow: 0px 7px 10px rgba(0,0,0,0.5);
  transition: 0.5s ease-in-out;
}

.ard:hover{
  transform: translateY(20px);

}
.ard::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,176,155,0.5),rgba(150,201,61,1));
  z-index: 2;
  transition: 0.5s all;
  opacity: 0;
}

.ard:hover:before{
  opacity: 1;
}

.ard img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.ard .inf{
  position: relative;
  z-index: 3;
  color: #fff;
  opacity: 0;
  transform: translateY(30px);
  transition: 0.5s all;
}

.ard:hover .inf{
  opacity: 1;
  transform: translateY(0px);
}

.ard .inf h1{
  margin: 0;
}
.ard .inf p{
  letter-spacing: 1px;
  font-size: 15px;
  margin-top: 8px;
  margin-bottom: 20px;
  
} */
