*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.nvbr{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: black;
    position: sticky;
    top: 0;
}
.nvbr ul{
    display: flex;
    list-style: none;
    margin: 20px 0px ;
}

.nvbr ul li{
    font-family: sans-serif;
    font-size: 1.1rem;
    font-weight: bold;
}

.nvbr ul li a{
    text-decoration: none;
    color: white;
    padding: 8px 25px ;
    transition: all .5s ease;
}

.nvbr ul li a:hover{
    background-color: crimson;
    color: black;
    box-shadow: 0 0 10px white;
}

#home{
    display: flex;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.5);
    height: 840px;
    justify-content: center;
    align-items: center;
    color: wheat;
}
#home::before{
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    background:url(portfolio.jpeg) no-repeat center center/cover ;
    height: 900px;
    width: 100%;
    z-index: -1;
    opacity: 0.8;

}
.main{
display: flex;
flex-direction: column;
align-items: center;
position: absolute;
top: 30%;
right: 10%;

}
.headings{
    font-family: century;
    font-size: 3rem;
    text-align: center;
    margin: 40px 0px;

}

.btn{
    padding: 10px 35px;
    background-color: transparent;
    border: 1px solid white;
    color: white;
    outline: none;
    transition: .6s ease;
}

.btn:hover{
    cursor: pointer;
    background-color: gray;
    color: black;
    box-shadow: 0 0 5px white,0 0 10px white,0 0 15px white;
font-weight: bold;
}

#bout{
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    padding: 20px;
    margin-bottom: 50px;
}
#pic{
    display: flex;
}
#pic img{
    width:575px;
    height: 400px;
}

#intro{
    display: flex;
    flex-direction: column;
    text-align: justify;
    padding: 10px;
}



.headings h1{
    background-color: black;
}

#skill{
    background-color: var(--bgColor);
    padding: 30px 2%;
    position: relative;
}

#skill::after{
    content: '';
    width: 30%;
    height: 2px;
    background-color: lightslategray;
    position:absolute;
    bottom: 0;
    left: 35%;
}

.sub-title{
    text-align: center;
    font-family:'Times New Roman', Times, serif ;
    font-size: 35px;
    font-weight: 700;
color: white;
text-shadow: 0 0 20px rgba(0, 0,0,0.5);
text-transform: uppercase;
}
.sub-title span{
   color:GREEN;
  
}
#skill .skill-cols{
display: grid;
grid-template-columns: repeat(2,1fr);
grid-gap: 50px;
margin-top: 70px;
}

#skill .skill-cols .skill-item .skill-nme-per{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#skill .skill-cols .skill-item .skill-nme-per h2{
    color: black;
    font-family: sans-serif;
    font-weight: 700;
    font-style: italic;
    font-size: 20px;
}

#skill .skill-cols .skill-item .skill-outer-br {
width: 100% ;
height: 8px;
background-color: gray;
margin-top: 20px;
}

#skill .skill-cols .skill-item .skill-outer-br .skill-inner-br{
    background-color: green;
    height: 8px;
}

h1 span{
    color: green;
}

#bout h1.headings{
    background-color: crimson;
}

/*Contct section*/
#contact{
    display: flex;
    flex-direction: column;
    background-color: gray;
}

#contact h1{
margin: 50px;
}

.form{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.input{
    padding: 20px 25px;
    margin: 20px;
    width: 40%;
    border: none;
    outline: none;
    border-radius: 25px;
}

#message{
    margin: 20px;
    padding: 20px;
    border-radius: 20px;
}

#Submit{
    padding: 20px 25px;
    margin: 30px;
    width: 20%;
    border-radius: 20px;
    background-color: black;
    color: white;
    border: none;
    outline: none;
}

#Submit:hover{
    background-color: green;
    color: white;
}



.icon-bar a {
    margin: 10px;
    color: pink;
    size: 25px;
}
footer{
  background-color: green;
}

#Eduction{
    display: flex;
    flex-direction: column;
    padding: 20px;
}
.row{
    display: flex;
    flex-wrap: wrap;
}
.box {
    display: flex;
    flex-direction: column;
    width: 350px;
    height: 450px;
border:1px solid black;
margin: 20px;
padding: 10px;
border-radius: 15px;
background: linear-gradient(to top,rgb(255, 45, 45)50%,white 50%);
background-size: 100% 200%;
transition: all .3s;
}

.box:hover{
    background-position: left bottom;
    color: white;
    border: none;
    box-shadow: 0 0 20px rgb(255, 45, 45);
}

#Eduction h1.headings{
    background-color: crimson;
}

figcaption{
    text-align: center;
    font-size: 20px;
}

.resume{
padding: 10px 35px;
border: 1px solid white;
color: red;
outline: none;
transition: .6s ease;
float: left;
background-color: gray;
background-size: 2.0rem;
width: 300px;
font-size: 30px;
}

h1 .input span{
    color: crimson;
}