*{
    padding: 0;
    margin: 0;
    font-family: sans-serif;
    box-sizing: border-box;
}
html{
    scroll-behavior:smooth;
   
}
body{
    background-color:none;
    width:90%;
}

nav {
    /*background-color: rgb(240, 183, 183);*/
    background-image: url("/css/images/header.gif");
    padding: 0 15px;
    background-size: cover;
    position:fixed;
    top: 0;
    width: 100%;
}
a{
    font-family: 'Times New Roman', Times, serif;
    color:#47C8DD;
    text-decoration: none;
    font-weight: 900;
}
.menu,.submenu{
    list-style-type: none;
  }
  .logo {
    font-size: 20px;
    padding: 5px 10px 5px 0;
    font-weight: 700;
  }
  .item {
    padding: 10px;
  }
  .item.button {
    padding: 9px 5px;
  }
nav ul li a:hover{
    color: gold;
}
.item a:active{
    color:white;
}
  /* Mobile menu */
  .menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
  }
  .menu li a {
    display: block;
    padding: 15px 5px;
  }
  .menu li.subitem a {
    padding: 15px;
  }
  .toggle {
    order: 1;
    font-size: 20px;
  }
  .item.button {
    order: 2;
  }
  .item {
    order: 3;
    width: 100%;
    text-align: center;
    display: none;
  }
  .active .item {
    display: block;
  }
  .button.secondary {
    /* divider between buttons and menu links */
    border-bottom: 1px #444 solid;
  }
  /* Submenu up from mobile screens */
  .submenu {
    display: none;
  }
  .submenu-active .submenu {
    display: block;
  }
  .has-submenu i {
    font-size: 12px;
  }
  .has-submenu > a::after {
    font-family: "Font Awesome 5 Free";
    font-size: 12px;
    line-height: 16px;
    font-weight: 900;
    content: "\f078";
    color: white;
    padding-left: 5px;
  }
  .subitem a {
    padding: 10px 15px;
  }
  .submenu-active {
    background-color: #111;
    border-radius: 3px;
  }
  
 
  /* Tablet menu */
  @media all and (min-width: 700px) {
    .menu {
      justify-content: center;
    }
    .logo {
      flex: 1;
    }
    .item.button {
      width: auto;
      order: 1;
      display: block;
    }
    .toggle {
      flex: 1;
      text-align: right;
      order: 2;
    }
    /* Button up from tablet screen */
    .menu li.button a {
      padding: 10px 15px;
      margin: 5px 0;
    }
    .button a {
      background: #0080ff;
      border: 1px royalblue solid;
    }
    .button.secondary {
      border: 0;
    }
    .button.secondary a {
      background: transparent;
      border: 1px #0080ff solid;
    }
    .button a:hover {
      text-decoration: none;
    }
    .button:not(.secondary) a:hover {
      background: royalblue;
      border-color: darkblue;
    }
    
  }
  
  /* Desktop menu */
  @media all and (min-width: 960px) {
    .menu {
      align-items: flex-start;
      flex-wrap: nowrap;
      background: none;
    }
    .logo {
      order: 0;
    }
    .item {
      order: 1;
      position: relative;
      display: block;
      width: auto;
    }
    .button {
      order: 2;
    }
    .submenu-active .submenu {
      display: block;
      position: absolute;
      left: 0;
      top: 68px;
      background: #111;
    }
    .toggle {
      display: none;
    }
    .submenu-active {
      border-radius: 0;
    }
  }



/*Introduction with my image and text*/

.intro h2{
    font-size:xx-large;
    font-weight:600;
    color: #d92170;
    justify-content: space-between;
    width:50%;
    margin-right: 5%;
    margin-left: 19%;
    margin-bottom: 2%;
    margin-top: 15%;
    text-align: center;
}
.candid{
    width:40%;
    margin-right: 2%;
    padding-top: 60px; 
}
.intro button{
    height:15%;
    width: 50%;
    font-weight: 400;
    font-size: 90%;
    font-family: poppins;
    border-radius:25px;
    background-color: darkgray;
    color:white;
}
.intro{
  width: 95%;
  margin: 2% 2%;
  padding: 10px 10px;
  display:flex;
  justify-content: space-around;
}
.align button:hover{
  width: 55%;
  transition: all 0.5s;
}
.iam{
    color: black;
   font-size:85%;
   font-weight: 800;
}
.text{
    font-size:70%;
}
.align p span{
    color:#03fc45;
}
.starting{
    width: 100%;
    margin-right:-20%;
}
.align{
    margin-bottom:10%;
    margin-top:5%;
    margin-right:2%;
    text-align: center;
}
.align p{
    margin-top: 5%;
    letter-spacing: 0.5px;
    line-height: 25px;
    margin-bottom: 5%;
    text-align: justify;
    margin-left: 20%;
    font-size: 35px;
    margin-right: -10%;
    font-family: Tangerine;
}
.align span.tag{
  color: #1a0fdb;
  font-family: Tangerine;
}
@media all and (max-width: 500px){
  .intro button{
    height:25px;
    width: 53%;
    font-weight: 400;
    font-size: 65%;
    font-family: poppins;
    border-radius:25px;
    background-color: darkgray;
    color:white;
  }
  .align button:hover{
    width: 55%;
    transition: all 0.5s;
  }
  .candid{
    width: 70%;
    margin-left:25%;
    align-items: center;
    padding-top: 60px;
  }
  .intro{
    display:block;
  }
  .iam{
    font-size: 60%;
  }
  .text{
    font-size: 55%;
  }
  .align p{
    margin-left: 10%;
    text-align: center; 
  }
  .align{
    margin-right: -10%;
  }
  .intro h2{
    width:70%;
  }
}
@media all and (max-width: 820px){
  .candid{
    width: 40%;
  }
}
@media all and (max-width: 540px){
  .candid{
    width: 50%;
  }
}
@media all and (max-width: 412px){
  .align p{
    margin-left: 5%;
    margin-right: 5%;
  }
}
@media all and (max-width: 414px){
  .align p{
    margin-left: 5%;
    margin-right: 6%;
  }
}
@media all and (max-width: 400px){
  .align p{
    margin-right: 10%;
  }
}
@media all and (max-width: 380px){
  .align{
    margin-right: -22%;
    margin-left: 15%;
  }
  .candid{
    margin-left:35%;
  }
}
@media all and (max-width: 375px){
  .intro{
    margin-left: 5%;
    margin-right: -10%;
  }
}
@media all and (max-width: 360px){
  .intro{
    margin-right: -10%;
    margin-left: -5%;
  }
}
@media all and (max-width: 365px){
  .align{
    margin-right:-20%;
    margin-left: 15%;
  }
  .candid{
    margin-left: 90px;
  }
}
@media all and (max-width:290px){
  .align{
    margin-right:-55%;
    margin-left:15%;
  }
  .intro button{
    width: 60%;
  }
  .candid{
    margin-left: 60%;
  }
}
@media all and (max-width: 260px){
  .align{
    margin-right:-50%;
    margin-left:20%;
  }
  .intro h2{
    justify-content: center;
  }
  .candid{
    margin-left: 50%;
  }
}
@media all and (max-width: 240px){
  .align{
    margin-right:-70%;
    margin-left: 17%;
  }
  .candid{
    margin-left: 60%;
  }

}
@media all and (max-width: 230px){
  .align{
    margin-left:15%;
    margin-right: -85%;
  }
  .candid{
    margin-left: 65%;
  }
}






/*About me and design of css*/

.about_me{
  background-image: url("/css/images/sky.gif");
  background-size: cover;
  background-repeat: no-repeat;
  margin-right: -7%;
  margin-left: 4%;
  width:fit-content;
  justify-content: space-around;
  margin-bottom: 5%;
  box-shadow: 0 15px 15px rgba(0,0,0,1);
}
.aboutme_brief{
  width: 33%;
  float: right;
  margin-right: 5%;
  margin-top: 5%;
  margin-left: 5%;
}
.heading .about_title{
  text-align: right;
  color: yellow;
  font-size: xx-large;
  font-family: nabla;
  margin-right: 2%;
}
.heading .style{
  color:bisque;
}
.heading p{
  text-align: justify;
  margin-left: 5%;
  margin-right: 5%;
  font-size: larger;
  color: skyblue;
  letter-spacing: 0.5px;
  line-height: 25px;
}
.heading p i{
  color:#9ff549;
}
@media all and (max-width: 525px){
  .heading p{
    font-size: large;
  }
  .aboutme_brief{
    width: 55%;
    display: block;
  }

}



/*Education with img and schools,college design*/


.head_line {
  text-align: center;
  font-size:xxx-large;
  font-family: nabla;
  margin-left: 10%;
}



.container_line {
  width: 80%;
  padding: 50px 0;
  margin: 50px auto;
  position: relative;
  z-index: -1;
  overflow: hidden;
  margin-left: 14%;
}


.container_line:before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  margin-left: -1px;
  width: 2px;
  height: 100%;
  background: #CCD1D9;
  z-index: 1
}

.timeline-block {
  width: -webkit-calc(50% + 8px);
  width: -moz-calc(50% + 8px);
  width: calc(50% + 8px);
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -moz-box-pack: justify;
  justify-content: space-between;
  clear: both;
}

.timeline-block-right {
  float: right;
}

.timeline-block-left {
  float: left;
  direction: rtl
}

.marker {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #F5F7FA;
  background:#03fc45;
  margin-top: 10px;
  z-index: 9999
}

.timeline-content {
  width: 95%;
  padding: 0 15px;
  color: #666
}

.timeline-content h3 {
  margin-top: 5px;
  margin-bottom: 5px;
  font-size: 30px;
  font-weight: 500;
  color: red;
  font-family: PT Sans Narrow;
  font-style: italic;
}

.timeline-content span {
  font-size: 12px;
  color: #a4a4a4;
}

.timeline-content p {
  font-size: 15px;
  line-height: 1.5em;
  word-spacing: 1px;
  color:#344feb;
  text-shadow: 6px 8px 8px darkgray;
}


@media screen and (max-width: 768px) {
  .container_line:before {
     left: 8px;
     width: 2px;
  }
  .timeline-block {
     width: 100%;
     margin-bottom: 30px;
  }
  .timeline-block-right {
     float: none;
  }

  .timeline-block-left {
     float: none;
     direction: ltr;
  }
}


/*My Skills*/
.skill h1{
  text-align: center;
  margin-bottom: 5%;
  margin-left: 20%;
  font-size: xx-large;
  text-decoration: underline;
  color: rgb(0, 0, 0);
  font-family: aref ruqaa ink;
  text-shadow: 3px 3px 3px rgba(251, 233, 36,1);
}
.skill{
  width: 90%;
  padding: 20px;
  margin-top: -18%;
}
.skill li{
  padding: 5px;
  margin-bottom: 5%;
  width:50%;
  margin-left:5%;
  list-style: none;
}
.bar{
  background: #353b48;
  display: block;
  height: 7px;
  border: 1px solid rgba(0,0,0,0.3);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
  transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}
.bar:hover{
  box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}
.bar span{
  height: 5px;
  float: left;
  background: linear-gradient(135deg, rgba(236,0,140,1)0%, rgba(97, 242, 237,1)100%);
}
.detail{
  float: right;
  text-align: right;
  margin-right: -18%;
  margin-top: -18%;
  margin-left:60%;
}
.detail h3{
  margin-top: 7%;
  font-size: 100%;
  text-align: left;
  color: red;
  text-shadow: 4px 4px 4px rgba(0,0,0,0.2);
}
.detail p{
  margin-top: 7%;
  word-spacing: 5%;
  height: 15%;
  font-family: montserrat;
  color: blue;
  font-size: 15px;
  text-shadow: 2px 2px 2px yellowgreen;
}
.html_img{
  width: 20%;
}
.css_img{
  width: 14.5%;
}
.python_img{
  width: 20%;
}
.java_img{
  width: 20%;
}
.sql_img{
  width: 20%;
}
.html{
  width: 90%;
  animation: html 2s;
}
.css{
  width: 86%;
  animation: css 2s;
}
.java{
  width: 42%;
  animation: java 2s;
}
.sql{
  margin-right: 0%;
  width: 92%;
  animation: sql 2s;
}
.python{
  width: 45%;
  animation: python 2s;
}
@keyframes html{
  0%{
    width: 0%;
  }
  100%{
    width: 90%;
  }
}
@keyframes css{
  0%{
    width: 0%;
  }
  100%{
    width: 86%;
  }
}
@keyframes java{
  0%{
    width: 0%;
  }
  100%{
    width: 42%;
  }
}
@keyframes sql{
  0%{
    width: 0%;
  }
  100%{
    width: 92%;
  }
}
@keyframes python{
  0%{
    width: 0%;
  }
  100%{
    width: 45%;
  }
}
@media all and (max-width: 1020px){
  .detail p{
    font-size: 60%;
  }
}
@media all and (max-width: 850px){
  .detail p{
    font-size: 50%;
  }
}
@media all and (max-width: 400px){
  .detail{
    width: 55%;
  }
}


/*Projects*/

.cts{
  width: 95%;
  margin-left: 3%;
}
.cts h2{
  font-size: xx-large;
  font-family: silkscreen;
  margin-left: 10%;
  text-shadow: 2px 2px 2px rgba(42, 247, 90, 0.986);
}
.clg_project img{
  width: 270px;
  padding: 18px 18px;
}
.clg_project{
  box-shadow: 5px 12px 12px 5px rgba(0,0,0, 0.5);
  margin-left: 10%;
  border-radius: 5%;
  padding: 20px 20px;
  background: linear-gradient(180deg, rgba(153, 247, 243,0.2),rgba(228, 245, 244,1))
}
.clg_project p{
  margin-top: 2%;
  text-align: justify;
  letter-spacing: 5%;
  line-height: 25px;
  font-family: Rancho;
  font-size: 20px;
  color:#360787;
}
.intern_project img{
  width: 250px;
}
.intern_project{
  box-shadow: 5px 12px 12px 5px rgba(0,0,0,0.5);
  margin-left: 10%;
  border-radius: 5%;
  padding: 20px 20px;
  background: linear-gradient(180deg, rgba(189, 252, 212,0.2),rgba(228, 245, 244,1))
}
.cts a{
  color: red;
  font-size: 20px;
  font-family: Rancho;
}
.intern_project li{
  list-style: none;
  line-height: 20px;
  font-family: Rancho;
  font-size: 20px;
  color: #f7ad2d;
}
.intern_project p{
  margin-top: 2%;
  text-align: justify;
  letter-spacing: 5%;
  line-height: 25px;
  font-family: Rancho;
  font-size: 20px;
  color:#360787;
}









/*Contact*/

.contact{
  width: 90%;
  margin-top: 10%;
  margin-left: 12%;
}
.contact h4{
  font-style: italic;
}
.contact h1{
  font-family: poppins;
  color:#ff137d;
  text-shadow: 5px 5px 5px rgba(0,0,0,0.3);
}


/*card*/

.card{
  width: 300px;
  height: 350px;
  box-shadow: 0px 12px 12px rgba(0,0,0,0.2);
  border-radius: 2%;
  background: linear-gradient(#b9faf7,#edb2d3);
}
.card img{
  width: 150px;
  box-shadow: 2px 5px 5px 5px rgba(0,0,0,0.3);
  margin: 20px 20px;
  border-radius: 3%;
  background: white;
}
.card span{
  color:blueviolet;
}
.card h3{
  font-family: Rajdhani;
}
.card .ord{
  list-style: none;
  justify-content: space-around;
  display:flex;
  margin-top:5%;
}
.card a{
  border-radius: 60%;
  box-shadow: 2px 2px 2px 2px rgba(0,0,0,0.3);
  padding: 7px 7px;
  color: black;
}
.card a:hover{
  background-color: black;
  color: white;
}
.xx h3{
  font-size: x-large;
}
.xx span{
  font-size: large;
}



  








