* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  width: 100%;
  height: 100%;
}
#main {
  width: 100%;
  background-color: black;
}
nav {
  width: 100%;
  height: 5vw;
  background-color: #0000;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
nav a {
  text-decoration: none;
  padding: 0 90px;
  font-size: 24px;
  color: #fff;
}
nav a i {
  color: red;
}
nav a :hover {
  height: 20px;
  background-color: red;
  color: #ffff;
}
#hero {
  position: relative;
  text-align: center;
}
#hero h1 span {
  color: red;
}
#hero h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
}

.project1 {
  height: 0;
  width: 100%;
  position: absolute;
  top: 0%;
  transition: height 1s;
}
.project1 h3,
.project1 a {
  display: none;
  transition: display 2s;
}
.img1:hover .project1 {
  height: 100%;
}
.img1:hover .project1 a {
  display: block;
}
.img1:hover .project1 h3 {
  display: block;
}

.hading {
  position: relative;
  text-align: center;
  top: 20%;
}
#text {
  position: absolute;
  text-decoration: none;
  top: 50%;
  left: 30%;
  transform: translate(-50% -50%);
  color: red;
  font-size: 2rem;
}

button {
  background-color: red;
  color: #fff;
  padding: 10px 20px;
  border-radius: 38px !important;
  font-size: 24px;
  position: relative;
  left: 50%;
  transform: translate(-50% -50%);
  margin-top: 10px !important;
}
button i {
  color: #fff;
  font-size: 20px;
  border-radius: 50%;
}
/* home page  */
nav {
  background-color: #000;
  text-align: center;
  padding-bottom: 20px;
}
nav a {
  text-align: center;
}
.infoimg{
  position: relative;
  left: 8vw;
}
.part2 h1 {
  font-size: 3rem;
}
.part2 p {
  font-size: 1.3rem;
}
.part2 span {
  color: red;
  font-size: 1.8rem;
}
.part2 button {
  position: relative;
  left: 0%;
  padding: 10px;
}
.part2 button i {
  background-color: #fff;
  color: red;
  font-size: 1.5rem;
}
/* conatct  */
#cntrow {
  height: 100%;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}
.forminp {
  border-radius: 39px !important;
}
#conticons {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
#icons {
  font-size: 28px;
  background-color: rgba(0, 0, 0, 0.37);
  border: 2px solid black;
  border-radius: 50%;
  padding: 8px;
}
#btn {
  position: absolute;
  left: 37%;
}
/* about section */
.aboutme{
    background-color: #000;
    color: #fff;
}

.d-flex1 {
  flex-direction: column;
  /* margin: 5vw; */
  padding: 3vw;
}
.d-flex1 h3 {
  font-size: 1.2rem;
  font-weight: 500;
}
.d-flex1 h3 span {
  font-size: 1.2rem;
  font-weight: 300;
}
.rightone h1 {
  padding: 3vw;
}
.lefttwo {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  width: 50%;
  flex-wrap: wrap;
  
}
.left {
  box-sizing: border-box;
  border: 2px solid rgb(12, 11, 6);
  padding: 2vw;
  margin: 1vw;
  width: 40%;
  border-radius: 10px;
  background-color: hsla(0, 1%, 45%, 0.247) !important;
}
.left h3 {
  font-weight: 700;
  font-size: 2rem;
  color: red;
}
.left p {
  font-size: 1.3rem;
 font-weight: 700;
}
 /* Skills row */
 .skillsrow{
    display: flex;
    align-items: center;
    justify-content: space-evenly;
 }
 .iconimg{
    width: 80%;
    border: 2px solid black;
    background-color: hsla(0, 1%, 45%, 0.247) !important;
    margin: 1vw;
    box-sizing: border-box;
    border-radius: 10px;
 }
 .iconimg img{
    width: 5vw;
    position: relative;
    left: 5vw;
    top: 1vw;

 }
 .iconimg h3{
    font-size: 1.2rem;
    padding: 10px;
    position: relative;
    left: 4.2vw;
    top: 1vw;
    
 }
 .Educate{
  -webkit-box-flex: 1;
  -ms-flex: 1 1 40rem;
  flex: 1 1 40rem;
  margin-left: 2rem;
  padding-top: 0;
  padding-bottom: 0;
  padding-left: 3.5rem;
  padding-bottom: 3rem;
  border-left: 0.1rem solid #aaa;
  position: relative;
 }
 
 .Educate i{
  height: 4.5rem;
  width: 4.5rem;
  line-height: 4rem;
  font-size: 1.5rem;
  border-radius: 50%;
  background: crimson;
  color: #fff;
  text-align: center;
  position: absolute;
  top: -1rem;
  left: -2.5rem;
    
 }
 .Educate span{
  font-size: 1.3rem;
  color: #fff;
  border-radius: 5rem;
  padding: .5rem 1.5rem;
  background: #1a1a1a;
 }
 .Educate h3{
  font-size: 1.5rem;
  padding: 1rem 0;
  color: #fff;
  padding-top: 3rem;
  font-weight: normal;
 }
 .Educate p{
  font-size: 1.2rem;
  color: #aaa;
  line-height: 1.5;
}

.go-to-page{
  font-size: 1rem;
  color: red;
  margin-top: 10px;
}