body {
  margin: 0px;

  font-family: sans-serif;
  font-size: 30px;
}
#body-header {
  background-image: url(https://ninjasfiles.s3.amazonaws.com/asset_0000000000000020_1549743985_macbook_mouse.jpg);
  height: 65vh;

  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  opacity: 0.8;
  padding-bottom: 50px;
  /*padding:4rem;*/
}

.horizontal-list {
  list-style: none;
  padding-left: 0px;
  margin: 0px;
}
.horizontal-list li {
  display: inline-block;
  margin: 0px 0px 8px 0px;

  font-weight: 100;
  font-size: 0.9rem;
  /*font-size:3rem;*/
}

.horizontal-list li a {
  /*margin:0px;*/
  color: white;
  /*margin:0px 8px 0px 8px;*/
  text-decoration: none;
}
/* 
.nav-menu li {
  margin-left: 4.4vw;
  margin-right: 4.4vw;
  font-family: cursive;
  font-size: 1.2rem;
}
.nav-menu li a {
  transition: color 0.5s, border-bottom 4s;
}
.social-icons {
  margin-left: 40px;
}

.nav-menu ul li a:hover {
  color: lightgrey;
  border-bottom: 1px solid black;
} */

.center-text {
  text-align: center;
}

/*name and social icons*/
#social-media-container {
  margin-top: 5vh;
}

#my-name {
  font-size: 3rem;
  letter-spacing: 0.1rem;
  color: white;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.social-icons li {
  border-radius: 50%;
}
.social-icons li:hover {
  box-shadow: 0px 0px 6px 4px rgba(230, 196, 196, 0.3);
}

.social-icons li a img {
  width: 1rem;
  padding: 8px;
}

/*About*/

/*for coloring every alternate child with different color*/

/*Every 2nd section will be grey ie 2,4,6,8*/
/*section:nth-child(2n){
  background-color:grey;
}*/
/*every odd multiples of sections will be of white color i.e. 1,3,5,7*/
/*section:nth-child(2n+1){
  background-color:white;
}*/

section {
  width: 100%;
  /*   height: 75vh;*/

  display: flex;
  flex-direction: column;
  align-items: center;
}

section:nth-child(2n) {
  background-color: #9e9b9b29;
}

section:nth-child(2n + 1) {
  background-color: white;
}

.section-heading {
  width: auto;
  padding: 20px 10px 10px;
  font-weight: 400;
}

.section-heading span {
  font-size: 40px;
  color: #2857a4;
  display: inline-block;
  padding-top: 10px;
  margin-right: 0.5rem;
}

/*adding my image*/

#about img {
  background-color: dimgrey;
  margin-top: -9rem;
  height: 22rem;
  width: 22rem;
  position: relative;
  box-shadow: 0px 0px 6px 4px grey;

  border-radius: 50%;
  border: 3px solid white;
}
#about img:hover {
  box-shadow: 1px 1px 10px 2px lightgrey;
}

/*discription section*/
#discription p {
  color: grey;
}
#discription p a {
  text-decoration: none;
  color: #2857a4;
}
#discription p a:hover {
  color: black;
}
#discription {
  width: 80vw;
  margin-left: 10vw;
  margin-right: 10vw;
  text-align: justify;
  /*word-spacing:0.5rem;*/
  text-justify: auto;
}

/* #Skills */

.skill-display {
  width: 75%;
  padding: 10px;
  margin-bottom: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}

.skill-progress {
  width: 11rem;
  height: 2.2rem;
  background-color: lightgrey;
  border-radius: 1rem;
  box-shadow: 1px 1px 2px 1px #b9b9b9 inset;
  margin: 25px;
  overflow: hidden;
}

.skill-progress > div {
  border-radius: 20px 0px 0px 20px;
  box-shadow: 1px 1px 5px 2px #989882;
}

.skill-name span {
  color: white;
  font-size: 1rem;
  margin-left: 10px;
  vertical-align: middle;
}

.mb75px {
  margin-bottom: 75px;
}

.text-highlight {
  color: #2857a4;
  font-weight: 600;
}

.ninety-percent {
  height: inherit;
  width: 85%;
}

.eighty-five-percent {
  height: inherit;
  width: 85%;
}

.eighty-percent {
  height: inherit;
  width: 80%;
}
.twentyfive-percent {
  height: inherit;
  width: 50%;
}
.fifty-percent {
  height: inherit;
  width: 50%;
}
.sixtyfive-percent {
  height: inherit;
  width: 50%;
}

.mb-blue {
  background-color: #2857a4;
}

.mb-darkbrown {
  background-color: brown;
}
.mb-darkblue {
  background-color: rgb(95, 5, 240);
}
.mb-light {
  background-color: rgb(212, 51, 51);
}
.mb-pink {
  background-color: rgb(232, 130, 193);
}

.mb-greypur {
  background-color: rgb(20, 61, 82);
}
.mb-pink {
  background-color: rgb(211, 3, 252);
}

.mb-green {
  background-color: rgb(3, 252, 65);
}

.mb-blue {
  background-color: #2857a4;
}

.mb-orange {
  background-color: #ec4d1c;
}

.mb-teal {
  background-color: #0b8176;
}

.mb-light-purple {
  background-color: #93738c;
}

/*PORTFOILO*/

.projects {
  /*width: 75%;
    padding: 10px;
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;*/

  border-radius: 10%;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  padding: 0 50px;
  margin-bottom: 20px;
  justify-content: space-evenly;
}
.first-project {
  max-width: 28.125rem;
  overflow: hidden;
  margin: 10px;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}
.first-project img {
  height: 100%;
  width: 100%;
}

.portfolio-details {
  transition: all 0.5s ease-in-out;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  color: transparent;

  padding: 10px;
}

.first-project:hover {
  box-shadow: 0 0 20px #74adc8;
}

.portfolio-details a {
  transition: all 0.5s ease-in-out;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 19rem;

  color: transparent;

  padding: 10rem;
  text-decoration: none;
}
.portfolio-details a:hover {
  background-color: #80808078;
  color: white;
}

/*Contacts*/
#contact {
  background-color: #0abcf9;
  background-image: linear-gradient(50deg, #2857a4 0%, #403066 74%);
  background: linear-gradient(-45deg, red -100%, blue 200%);
  color: white;
  padding-bottom: 40px;
}

#contact h1,
#contact h1 span {
  color: white;
}

#contact-form {
  margin-left: 20%;
}

#contact-container {
  display: flex;
}

#my-details-container {
  width: 35%;
  margin-left: 6%;
}

#my-details-container h3 {
  color: white;
  font-weight: 550;
  font-size: 1.2rem;
}

#contact-form-container {
  width: 50%;
}

#my-details-container p {
  color: #d9dcdd;
  font-size: 0.9rem;
}

.my-details-info-container {
  margin-bottom: 20px;
  color: #d9dcdd;
  font-size: 1rem;
}

.my-details-info-container span {
  margin-left: 0.4rem;
}

.my-details-info-container i {
  color: white;
}

.my-details-icon {
  width: 1rem;
  height: 1rem;
  vertical-align: bottom;
  margin-right: 0.5rem;
}

#contact-form input,
textarea {
  max-width: 90%;
  margin: 15px;
  padding: 4px 10px;
  border: 0px solid transparent;
  border-bottom: 2px solid white;
  color: #d9dcdd;
  background: transparent;
  width: 90%;
  line-height: 1.6;
  font-size: 1.05rem;
}

#contact-form button[type="submit"] {
  background: transparent;
  font-size: 0.95rem;
  border: 2px solid white;
  margin-top: 5%;
  margin-left: 35%;
  border-radius: 2px;
  color: white;
  font-family: sans-serif;
  font-weight: 700;
  letter-spacing: 0.046875em;
  line-height: 1;
  padding: 0.8em 0.8em 0.78em;
  text-transform: uppercase;
}

#contact-form button:hover {
  background: white;
  color: #13386fe0;
}

#contact .social-icons li a i {
  font-size: 1.2rem;
  margin: 40px 10px 10px;
  padding: 10px 14px 20px 10px;
}

input:focus,
select:focus,
textarea:focus,
button:focus {
  outline: none;
}

/*Work Experience*/
/*
.timeline{
  position:relative;
  width:75%;
  
  
  
}
.timeline-box{
   position:relative;
   margin:5px;
   width:40%;
   left:5%;
   min-height:150px;
 
   position: relative;
	
   
   
 }
 .timeline-box:nth-child(2n) {
    left: 53%;
}

.timeline-box:nth-child(2n+1)::after {
    right: -11.8%;
}

.timeline-box:nth-child(2n)::after {
    left: -9%;
}
*/
#timeline-divider {
  position: absolute;
  width: 0;
  top: 3%;
  left: 50%;
  border: 2px dashed #0096fa6b;
  height: 90%;
  color: #433e3f;
}

#timeline-divider .timeline-traveller {
  position: sticky;
  top: 135px;
  z-index: 2;
}

#timeline-divider i {
  transform: rotate(90deg);
  margin-top: -2.188rem;
  /*margin-bottom:-2.188rem;*/
  display: block;
  color: #2857a4;
}
.timeline-logo {
  position: absolute;
  width: 50px;
  overflow: hidden;
}

.experience-company-name {
  margin: 5px 0 0;
  color: #eb822d;
  font-weight: 400;
  font-size: 1.2rem;
}

.experience-designation {
  font-size: 1.4rem;
}
.experience-duration {
  color: #9e9b9b;
  font-weight: 100;
  color: grey;
  font-size: 1rem;
}

.experience-description {
  font-size: 14px;
  padding: 2px;
  color: grey;
  line-height: 20px;
}

.text-align-justify {
  text-align: justify;
}

.timeline {
  position: relative;
  width: 75%;
  padding-bottom: 6%;
}

.timeline-box {
  padding: 5px;
  width: 40%;
  min-height: 150px;
  position: relative;
  left: 5%;
  text-align: right;
}

.timeline-box::after {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  background-color: lightgrey;
  top: 17%;
  border-radius: 50%;
  z-index: 1;
}

.timeline-box:nth-child(2n) {
  left: 53%;
}

.timeline-box:nth-child(2n + 1)::after {
  right: -12.2%;
}

.timeline-box:nth-child(2n)::after {
  left: -8.3%;
  margin-bottom: 22px;
}

.timeline-container {
  padding: 8px;
}

.timeline-logo {
  /* position: absolute;
  width: 50px;
  overflow: hidden; */

  position: absolute;
  width: 65px;
  overflow: hidden;
  top: 24px;
}

.timeline-logo > img {
  width: 100%;
}

.m-blue {
  color: #2857a4;
}

.skill-bar-fill {
  width: 0%;
  transition: width 1.5s ease-in-out;
}

/* Base Nav Style */

.nav-menu {
  background: linear-gradient(90deg, #0f2027, #203a43, #2c5364);
  padding: 20px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  position: sticky;
  top: 0;
  z-index: 999;
}

/* Flex horizontal list */
.nav-menu ul {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 0;
}

/* LI Styling */
.nav-menu li {
  margin: 0 3vw;
  font-family: "Poppins", sans-serif;
  font-size: 1.2rem;
  position: relative;
  transition: transform 0.3s ease;
}

/* Link Styling */
.nav-menu li a {
  color: white;
  text-decoration: none;
  padding: 10px;
  position: relative;
  display: inline-block;
  transition: color 0.3s ease, transform 0.3s ease;
}

/* Hover animation */
.nav-menu li a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  left: 0;
  bottom: 0;
  background: cyan;
  transition: 0.5s ease-in-out;
}

.nav-menu li:hover a::after {
  width: 100%;
}

.nav-menu li:hover a {
  color: #0ff;
  transform: scale(1.08);
  text-shadow: 0 0 10px #0ff, 0 0 20px #0ff;
}

/* Optional Neon Glow on hover */
.nav-menu li:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 5px cyan);
}

/* * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #1e2759;
} */

/* 
ul {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.25);
}

ul li {
    list-style: none;

}

ul li a {
    position: relative;
    color: #fff;
    text-decoration: none;
    display: inline-block;
    padding: 20px 30px;
    z-index: 1000;
    backdrop-filter: blur(15px);
}

ul li a ion-icon {
    font-size: 1.5em;
    pointer-events: none;
    opacity: 0.25;
    transition: 0.25s;
}

ul li.active a ion-icon {
    opacity: 1;
}

#marker {
    position: absolute;
    top: 0;
    transition: 0.5s;
    z-index: 1;
}

#marker::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 40px;
    border-radius: 8px;
    background: #5da6ff;
    box-shadow: 0 0 15px #5da6ff,
        0 0 30px #5da6ff,
        0 0 40px #5da6ff,
        0 0 60px #5da6ff
}

ul li:nth-child(1).active~#marker::before {
    background: #5da6ff;
    box-shadow: 0 0 15px #5da6ff,
        0 0 30px #5da6ff,
        0 0 40px #5da6ff,
        0 0 60px #5da6ff
}

ul li:nth-child(2).active~#marker::before {
    background: #ff0;
    box-shadow: 0 0 15px #ff0,
        0 0 30px #ff0,
        0 0 40px #ff0,
        0 0 60px #ff0
}

ul li:nth-child(3).active~#marker::before {
    background: #df2fff;
    box-shadow: 0 0 15px #df2fff,
        0 0 30px #df2fff,
        0 0 40px #df2fff,
        0 0 60px #df2fff
}

ul li:nth-child(4).active~#marker::before {
    background: #0f0;
    box-shadow: 0 0 15px #0f0,
        0 0 30px #0f0,
        0 0 40px #0f0,
        0 0 60px #0f0
}

ul li:nth-child(5).active~#marker::before {
    background: #ff308f;
    box-shadow: 0 0 15px #ff308f,
        0 0 30px #ff308f,
        0 0 40px #ff308f,
        0 0 60px #ff308f
} */

/* * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --clr: #fff;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: var(--clr);
} */

.navigation {
  width: 420px;
  height: 70px;
  background: #209cff;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.navigation ul {
  position: relative;
  display: flex;
  width: 350px;
}

.navigation ul li {
  position: relative;
  list-style: none;
  width: 70px;
  height: 70px;
  z-index: 1;
}

.navigation ul li a {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.navigation ul li a .icon {
  position: relative;
  display: block;
  font-size: 1.5em;
  color: #fff;
  line-height: 75px;
  opacity: 0.75;
  transition: 0.5s;
}

.navigation ul li.active a .icon {
  opacity: 1;
  color: #209cff;
  transform: translateY(-8px);
}

.indicator {
  position: absolute;
  top: -10px;
  width: 70px;
  height: 70px;
  background: var(--clr);
  border-bottom-left-radius: 35px;
  border-bottom-right-radius: 35px;
  border: 6px solid var(--clr);
  cursor: pointer;
  transition: 0.5s;
}

.indicator::before,
.indicator::after {
  content: "";
  position: absolute;
  top: 4px;
  width: 20px;
  height: 20px;
  background: transparent;
}

.indicator::before {
  left: -25.75px;
  border-top-right-radius: 20px;
  box-shadow: 4px -6px 0 2px var(--clr);
}

.indicator::after {
  right: -25.75px;
  border-top-left-radius: 20px;
  box-shadow: -4px -6px 0 2px var(--clr);
}

.indicator span {
  position: absolute;
  left: -1px;
  width: 60px;
  height: 60px;
  border: 4px solid #209cff;
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  transform: scale(0.85);
}

@media (max-width: 480px) {
  .navigation {
    zoom: 0.8;
  }
}

@media (max-width: 330px) {
  .navigation {
    zoom: 0.7;
  }
}
