body{
    margin:-20px;
    font-family: sans-serif;
    font-size: 30px;
}
/* ....................................Body Header................................................................... */
#body-header{
    background-image: url("https://ninjasfiles.s3.amazonaws.com/asset_0000000000000020_1549743985_macbook_mouse.jpg");
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    margin-top: 20px;
    opacity:0.8;
    width: 100%;
    height:65vh;
    background-position: center;
}
/* ......................................................................................................................... */

/*....................................Menu and Social Icons................................................................... */
.horizontal-list{
    list-style: none;
    margin-left: 0px;
    text-align: center;
}
.text-center{
    text-align: center;
}
.horizontal-list li{
    font-size: 20px;
    margin:0px 8px 8px 0px;
    padding:10px;
    display: inline-block;

}
.horizontal-list li a{
    text-decoration: none;
    color: white;
}
.nav-menu li a{
    transition: color 0.5s,border-bottom 4s;
}
.nav-menu li a:hover{
    color:lightgray;
    border-bottom:1px solid black;
}
/* ................................................................................................................................ */

/* ........................................Name and Social Container.................................................................. */
#name-social-container{
    margin-top: 12vh;
    margin-bottom: 2.5rem;
}
#my-name{
    font-weight: 700;
    letter-spacing: 0.1rem;
    color: rgba(255, 255, 255, 0.692);
    font-size: 50px;
    font-weight: 700;
    padding-top: 48px;
}

.social-icons li a i{
    padding:0px 15px 0px 15px;
    font-size: 1.5rem;
    border-radius: 50%;
}

.social-icons li a i:hover{
    box-shadow: 0px 0px 6px 6px rgba(230,196,196,0.4);
    
}
/* ................................................................................................................................. */

/*................................................about Section...................................................................... */
#about{
    width:100%;
    height: auto;
    position: relative;
}
#my-img{
    width:12rem;
    height: 12rem;
    margin:auto;
    margin-top: -77px;
}
#my-img img:hover{
    box-shadow:0px 0px 3px 3px;
    color:brown;
}
#my-img img:hover{
    transition:color.3 sec ease-in-out;
    border-radius: 50%;
}
#my-img img{
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border:3px solid white;
    box-shadow: 1px 1px 8px 3px lightgray ;
}
#my-para{
    width: 70%;
    height: auto;
    margin:auto;
    line-height: 3rem;
    word-spacing: 0.1rem;
    font-size: 20px;
    padding: 10px;
    font-family: Arial, Helvetica, sans-serif;
    color:gray;
}
section{
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding-bottom: 20px;
}
.section-heading{
    width: auto;
    font-weight:400;
    margin:auto;
    padding:10px;
    display: inline-block;
    line-height: 2rem;
    word-spacing: 1rem;
}
.section-heading span{
    color: rgb(40, 87, 164);
    font-size: 3rem;
    margin: auto;
}
/* ........................................................................................................................... */

/*...............................................................skill Section.................................................. */
#skill {
    background-color: rgba(158, 155, 155, 0.16);
}

.skill-display{
    width:70%;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 4rem;
    margin-bottom: 2rem;
}
.skill-progress{
    width: 10rem;
    height: 1.5rem;
    background-color: lightgray;
    border-radius: 10rem;
    margin: 10px;
    overflow: hidden; 
    
}
.skill-name{
    font-size: 20px;
    color: white;
    padding-bottom:10px;
    padding-left: 10px;
    box-shadow: 1px 1px 4px 2px #98989882;
}
.margin-bottom{
    margin-bottom: 30px;
}

/* ........................................................................................................................... */

/*......................................................Progress -section...................................................... */

.progress-C{
    height: inherit;
    width:80%;
    padding: 0%;
    border-radius: 10rem 0 0 10rem;
    
}

.progress-J{
    height: inherit;
    width:60%;
    padding: 0%;
    border-radius: 10rem 0 0 10rem;
    
}

.progress-H{
    height: inherit;
    width:50%;
    padding: 0%;
    border-radius: 10rem 0 0 10rem;
    
}

.progress-CSS{
    height: inherit;
    width:70%;
    padding: 0%;
    border-radius: 10rem 0 0 10rem;
    
}

.progress-JS{
    height: inherit;
    width:90%;
    padding: 0%;
    border-radius: 10rem 0 0 10rem;
    
}

.progress-Mon{
    height: inherit;
    width:65%;
    padding: 0%;
    border-radius: 10rem 0 0 10rem;
    
}

.progress-Mat{
    height: inherit;
    width:95%;
    padding: 0%;
    border-radius: 10rem 0 0 10rem;
    
}
/* .........................................................Color the box............................................................. */
.color-blue{
    background-color:blue;
    
}
.color-purple{
    background-color: purple;
    
}
.color-yellow{
    background-color: teal;
    
}
    
.color-black{
    background-color: black;
    
}
.color-green{
    background-color:green;
    
}
.color-red{
    background-color: red;
    
}
.color-brown{
    background-color: brown;
    
}
/* ........................................................................................................................... */

/*.................................................Work-Experiance and Education.................................................. */
.time{
    width: 80%;
    position: relative;
    
}
.timebox{
    width: 35%;
    min-height: 80px;
    position: relative;
    margin-top:40px;
    left: 5%;
    /* border: 1px solid black; */
    margin-bottom: 40px;
    margin-left: 25px;
    
}
    

.timebox:nth-child(2n){
    left: 53%;
    
}
.timebox h3{
    color:rgb(40, 87, 164);
    font-size: 25px;
    margin-left: 60%;
    font-weight: 700;
    
}
.timebox h2{
    color:rgb(40, 87, 164);
    background-color: transparent;
    font-size: 25px;
    margin-left: 65%;
    font-weight: 700;
    
}

.timebox h4{
    color: orangered;
    background-color: transparent;
    font-size: 20px;
    margin-left: 60%;
    margin-top: -10px;
    font-weight: 300;
/* transform:translate(-50px,0px); */
}
#Date1[type="number"]{
    transform: translate(160px,-30px);
    display: inline;
    width: 5.6rem;
    border:none;
    font-size: 15px;
    background-color: transparent;
}
#Date2[type="number"]{
    transform: translate(170px,-30px);
    display: inline;
    width: 5.6rem;
    border:none;
    font-size: 15px;   
}
    

.timebox h6{
    font-size: 18px;
    text-align: center;
    color: rgba(158, 155, 155, 0.8);
    margin-top: -25px;
    margin-left: 40%;
    font-weight: 500;
}

.timebox[type="year"]{
    width:250px;
    height: 20px;
    transform:translate(100px, -80px);
    border:none;
    font-size: 20px;
    color: gray;
    background-color: transparent;
}
.timebox p{
    font-size: 15px;
    color: rgba(158, 155, 155, 0.9);
    margin: -25px 0px 10px 18px;
    line-height: 1.1rem;
    word-spacing: 0.5rem;
    padding-bottom: 10px;
    transform: translate(60px,65px);
}
 @media screen and (max-width:600px){ 
    .time-divider{
        margin-left:-43%;
    }
    .timebox{
    left: 11% !important;
    width: 80%; 
    }

    .timebox:nth-child(2n+1)::after{
        left:-13%;
    }
    .timebox:nth-child(2n)::after{
        left: -13% !important;
    }
} 
#Education p{
    transform: translate(34px,0px);
    color: grey;
}
#Education{
    background-color:lightgray;
}

#Education h2{
    transform: translate(-45px,0px);
}
#Education h4{
    transform: translate(-50px,0px);
}

#experiance p{
    transform: translate(34px,0px);
}
#experiance h3{
    transform: translate(-45px,0px);
}
#experiance h4{
    transform: translate(-50px,0px);
} 
.time-divider{
    width: 0%;
    height: 70%;
    top: 10%;
    left: 50%;
    position: absolute;
    border: 2px dashed rgb(40, 87, 164);
}
.time-travellar-plane{
    transform: rotate(90deg);
    position: sticky;
    top: 5%;
    z-index: 2;
}
.time-travellar-car{
    transform: rotate(90deg);
    position: sticky;
    top: 5%;
    z-index: 2;
    
}
.timebox:nth-child(2n+1)::after{
    content: '';
    width: 10px;
    height: 10px;
    background-color: red;
    border-radius: 50%;
    position: absolute;
    top: 30%;
    right: -24%;
    z-index: 1;
}

.timebox:nth-child(2n)::after{
    content: '';
    width: 10px;
    height: 10px;
    background-color: red;
    border-radius: 50%;
    position: absolute;
    top: 20%;
    left: -16%;
    z-index: 1;
}
/*................................................................................................................................  */

/*........................................................Portfolio Section........................................................ */

#Portfolio-container{
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    margin: 10px 0px;
    justify-content: space-around;
    text-align: center;
    padding: 0 50px;
}

.Portfolio-image-container{
    width: 370px;
    height: 270px;
    margin:10px;
    overflow: hidden;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}
.Portfolio-image-container img{
    width: 100%;
    height: 100%;
}
    
.Portfolio-detail{
    transition: all 0.5s ease-in-out;
    position: absolute;
    height: 100%;
    top: 0;
    left: 0;
    color: transparent;
    text-align: center;
    padding: 10px;
    font-size: 45px;
    /* border-radius: 50%; */
}
.Portfolio-image-container:hover{
    box-shadow:0 0 20px #74ADC8;
    /* margin-left: 10px; */
}
.Portfolio-image-container:hover .Portfolio-detail{
    background-color: #80808078;
    color: white;

}

/*................................................................................................................................  */

/*.........................................................Contact Section......................................................... */
.contact-container{
    display: flex;
}
#Contact{
    background-image: linear-gradient(40deg,blue ,red 80%);
    padding-bottom: 30px;
}
#Contact span,h1{
    color: white;
}
.contact-form-container{
    display: flex;
    margin-left: 30px;
    width: 50%;
    display: flex;
}
#input-name{
    display:block;
}
#contact-form input,textarea{
    width: 90%;
    margin: 10px;
    border: 0px solid transparent;
    border-bottom: 1px solid white;
    background: transparent;
    padding: 10px;
    font-size: 20px;
    line-height: 1.1rem;
    max-width: 90%;
}
#contact-form input,textarea{
    background-color: none;
}
#contact-form textarea{
    color:white;
}

#contact-form button[type="submit"]{
    color: white;
    font-size: 1rem;
    background-color: transparent;
    margin-top: 10px;
    text-align: center;
    width: 10rem;
    font-weight: 700;
    height: 3rem;
    margin-left: 12em;
}
#contact-form button[type="reset"]{
    color: white;
    font-size: 1rem;
    background-color: transparent;
    margin-top: 10px;
    text-align: center;
    width: 10rem;
    font-weight: 700;
    height: 3rem;
    margin-left: 5em;
}

#contact-form button:hover{
    background-color: white;
    color: blue;
}
#info{
    margin-bottom: 20px;
    margin-left: 60px;
    width: 35%;
}
#info h3{
    font-size: 25px;
    color: white;
    font-weight: 500;
    line-height: 1.1rem;
    word-spacing: 0.1rem;
    margin-top: 10px;
    padding: 10px;
}
#info p{
    color: white;
    font-family: sans-serif;
    word-spacing: 0.1rem;
    margin-top:-10px;
    margin-left: 20px;
    font-size: 15px;
}
.info-detail span{
    margin-top: 30px;
    font-size: 20px;
}
.info-detail{
    margin-top: 5px;
}

input:focus,
select:focus,
textarea:focus,
button:focus{
outline: none;
}
/* ............................................................................................................................... */

/*.........................................................Social section...........................................................*/
#social li i{
    color: white;
}
#social li{
    padding: 20px 25px;
}
#social li i:hover{
    box-shadow:0px 0px 3px 3px;
    color:white;
    border-radius: 60%;
}
/* .................................................................................................................................... */