@font-face {
  font-family: jostreg;
  src: url(../fonts/JOST-REGULAR.TTF);
}
@font-face {
  font-family: jostlight;
  src: url(../fonts/JOST-LIGHT.TTF);
}
@font-face {
  font-family: jostsembold;
  src: url(../fonts/JOST-SEMIBOLD.TTF);
}
::-webkit-input-placeholder { /* Edge */
  color: #aaa;
  font-family:jostreg;
  font-size:16px;
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #aaa;
  font-family:jostreg;
  font-size:16px;
}

::placeholder {
  color: #aaa;
  font-family:jostreg;
  font-size:16px;
}
*{
    box-sizing: border-box; 
}
::-webkit-scrollbar {display:none;}
html, body {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    background: #1b1c1e;
    font-family:jostsembold;
    font-size:10px;
}
.wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.titles {
    display: flex;
    color: rgba(255,255,255,.3);
    justify-content: space-between;
    font-size: 15px;
}
.glitch {
  font-size: 6rem;
  text-decoration: none;
  text-transform: capitalize;
  position: relative;
  margin: 0;
  color: #fff;
  display:block;
  letter-spacing:0;
}
.glitch:before, .glitch:after {
    display: block;
    content: attr(data-glitch);
    text-transform: capitalize;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    opacity: .8;
  } .glitch:after {
    color: #f0f;
    z-index: -2;
  } .glitch:before {
    color: #0ff;
    z-index: -1;
  }
    .glitch:before {
      animation: glitch .3s cubic-bezier(.25, .46, .45, .94) both infinite;
    }
    .glitch:after {
      animation: glitch .3s cubic-bezier(.25, .46, .45, .94) reverse both infinite;
    }


@keyframes glitch {
  0% {
    transform: translate(0)
  }
  20% {
    transform: translate(-2px, 2px)
  }
  40% {
    transform: translate(-2px, -2px)
  }
  60% {
    transform: translate(2px, 2px)
  }
  80% {
    transform: translate(2px, -2px)
  }
  to {
    transform: translate(0)
  }
}

header ul {
    padding: 0 15px;
    margin: 0;
    list-style-type: none;
    font-family: jostreg;
    font-size:14px;
    color:#fff;
    display: flex;
    justify-content: center;
}
header ul li{
  display: block;
  padding:0 15px;
}
header {
    position: fixed;
    top: 0;
    z-index: 99;
    display: none;

    line-height: 70px;
    height:70px;
    width:100%;
    padding:0 40px;
    background: #1b1c1e;
        box-shadow: 0px 1px 2px rgba(0,0,0,.6);
transition: .3s visibility all-ease-in;
}
.navWrapper{
  display: flex;
  align-items: center;
  justify-content: space-between;
}
header ul li.active a{
  color:#0ff;
}
header .glitch {
  font-size: 3rem;
}
.rightmenu{
  display:flex;
  align-items: center;
  font-family: jostreg;
}

.contactinfo span {
    display: block;
    line-height: 1.25;
    color: rgba(255,255,255,.4);
    font-size: 14px;
    font-family: 'jostreg';
    text-align: right;
}
section{
  position: relative;
}
.home{
min-height: 100vh;
width:100%; 
background: #1b1c1e;
}
.education,.skills{
    background: #fff;
    padding: 20px 40px 50px;
}
.portfolio,.contact {
    background: #1b1c1e;
    padding: 20px 40px 50px;
}
.sectionTitle{
  font-family: 'Bebas Neue', cursive;
  font-size:7rem;
  letter-spacing:2px;
  color: #1b1c1e;
  margin:0px;
  padding:20px 0px;
}
.portfolio .sectionTitle{
  color:#fff;
}
.contact .sectionTitle{
  color:#fff;
}
/*Timeline css*/

/* The actual timeline (the vertical ruler) */
.timelinewrap {
    display: flex;
    justify-content: flex-start;

}
.timeline {
  position: relative;
  margin: 0 30px;
}

/* The actual timeline (the vertical ruler) */
.timeline::after {
  content: '';
  position: absolute;
  width: 3px;
  background-color: rgba(0,0,0,.05);
  top: 0;
  bottom: 0;
  left: 20%;
  margin-left: -7px;
  border-radius: 50px;
}

/* Container around content */
.container {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 100%;
}

/* The circles on the timeline */
.container::after {
  content: '';
      position: absolute;
      width: 20px;
      height: 20px;
      right: -17px;
      background-color: #fff;
      border: none;
      top: 16px;
      border-radius: 50%;
      z-index: 1;
      box-shadow: 0px 0px 0px 2px #0ff;
}


/* Place the container to the right */
.right {
  left: 20%;
}


/* Fix the circle for containers on the right side */
.right::after {
  left: -16px;
}

/* The actual content */
.timeline .content {
  padding: 0px 0px 10px;
  background-color: transparent;
  position: relative;
  border-radius: 6px;
}
.timeline h2 {
  margin: 0;
  font-family: 'Bebas Neue', cursive;
  font-size: 24px;
  letter-spacing:1px;
}
.timeline .content span {
    display: block;
}
.collegename {
    font-size: 13px;
    color: rgba(0,0,0,.4);
}
.marks {
    font-size: 18px;
}
/*Timeline css ends*/
.lottie-studying {
    z-index: 0;
    position: absolute;
    /* bottom: 0; */
    top: 0;
    right: 0;
    margin: auto;
    height: 70%;
    width: 50%;
}
/*Portfolio styles*/
.tabcontent{
  display:none;
}
.tabcontent.active{
  display: block;
}
.tablinks{
  background:transparent;
  border:none;
  outline:none;
  font-size:15px;
  font-family: jostreg;
  color:#ccc;
  cursor:pointer;
}
.tablinks:hover{
  color:#fff;
}
.tablinks.active {
    color: #0ff;
}
.art-grid {
  max-width: 100%;
      margin: 30px 0;
      display: flex;
      flex-wrap: wrap;
      justify-content: flex-start;
}
.art-grid-el {
  height: 200px;
  position: relative;
  z-index: 2;
  margin: 15px 30px 15px 0;
}
.art-grid-el:before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    background: #f0f;
    left: -3px;
    top: -3px;
    z-index: -1;
}
.art-grid-el:after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    background: #0ff;
    right: -3px;
    top: 3px;
    z-index: -1;
}
.art-grid-el img {
    max-width: 320px;
    height: 100%;
    object-fit: cover;
}
img {
    max-width: 100%;
    height: auto;
}


/*Portfolio styles ends*/
.closemenu {
  display:none;
    padding: 5px 10px;
    font-size: 16px;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    cursor: pointer;
}
/*Scroll icon*/
.scrollanimwrapper {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 40px;
    opacity: .34;
    cursor:pointer;
}
.scrollbase {
    height: 60px;
    width: 40px;
    border: 2px solid #fff;
    border-radius: 25px;
    position: relative;
    background: #1b1c1e;
}
.scrollwheel {
    height: 6px;
    width: 6px;
    position: absolute;
    background: #fff;
    border-radius: 25px;
    left: 0;
    right: 0;
    margin: auto;
    top: 5px;
      animation: scrollwheel 1s cubic-bezier(.25, .46, .45, .94) infinite;
}

a{
  outline:none;
  color:#fff;
  text-decoration: none;
  box-shadow: none;
}
.scrolltext {
    display: block;
    text-align: center;
    margin-bottom: 10px;
    font-size: 14px;
    color: #fff;
    font-family: 'jostreg';
    transform: translateY(40px);
    opacity: 0;
    transition: .5s cubic-bezier(.25, .46, .45, .94);
}
.scrollanimwrapper:hover .scrolltext {
    transform: translateY(0px);
    opacity: 1;
}
@keyframes scrollwheel {
  0% {
/*height:8px;*/
top:5px;
  }

  to {
    /*height:8px;*/
    top:42px;
  }
}
/*Scroll icon ends*/

.progress-ring__circle {
  /*stroke-dashoffset:0%;*/
  transition: 0.35s stroke-dashoffset;
  /*// axis compensation*/
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
}
.progress-ring-wrapper {
    z-index: 2;
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto;
    text-align: center;
    display: flex;
}
svg.progress {
    position: absolute;
    z-index: -1;
}
.skillint {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    height: 25px;
    width: 25px;
    text-align: center;
    line-height: 25px;
    font-size: 20px;
        font-family: 'Bebas Neue';
}
.skill-grid .skill-cat {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    flex-wrap:wrap;
    margin-bottom:30px;
}
.skill-grid-el {
    width: 200px;
    height: auto;
    text-align: center;
}
.skillname {
    display: block;
    text-align: center;
    font-size: 14px;
    margin-bottom: 10px;
}
.skill-cat-title {
    font-size: 3rem;
    margin: 0 0 25px 0;
}
.contact-info {
    width: 50%;
}
.contact-info span {
    font-size: 21px;
    display: block;
    color: rgba(255,255,255,.35);
}
.lottie-gif{
  width:500px;
  height:450px;
  margin:0;
}
.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
}

.contact-form {
    width: 50%;
    position: relative;
    z-index: 2;
}
form {
    text-align: center;
}
input {
    width: 400px;
    display: block;
    padding: 10px 12px;
    font-size: 15px;
    font-family: 'jostreg';
    margin: 0 auto;
    outline: none;
    border:none;
    color:#000;
}
textarea{
    padding: 10px 12px;
  display: block;
  font-size:15px;
  width: 400px;
  resize: none;
  height: 250px;
  border:none;
  outline:none;
  color:#000;
}
label {
    position: relative;
    height: 100%;
    width: 400px;
    display: block;
    margin: 0 auto 20px;
}
label:before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    background: #f0f;
    left: -3px;
    top: -3px;
    display: block;
    z-index: -1;
}
label:after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    background: #0ff;
    left: 3px;
    top: 3px;
    display: block;
    z-index: -1;
}
input[type="submit"] {
    background: rgba(255,255,255,.14);
    margin: 20px auto;
    font-size: 15px;
    color: #fff;
    padding: 15px 12px;
    border-radius: 4px;
    cursor: pointer;
}
input[type="submit"]:hover {
    background: rgba(255,255,255,.1);
}
.formtitle {
    font-size: 24px;
    color: #fff;
    margin-bottom: 20px;
    display: block;
    font-family: 'Bebas Neue';
    text-align: center;
}
.errorMsg {
    font-size: 14px;
    color: #fff;
    font-family: 'jostreg';
    text-transform: uppercase;
}
@media only screen and (max-width:768px){
  header{
    padding:0 10px;
  }
  header .glitch {
      font-size: 2.5rem;
  }
  .timeline{
    margin:0;
  }
  .closemenu {
    display:block;
  }
  .closemenu.active span:before{
    content:"\f00d";
  }
  .rightmenu {
      display:none;
      flex-wrap: wrap;
      width: 100%;
      background: #2a2a2a;
      position: absolute;
      top: 70px;
      left: 0;
      padding: 15px 0;
  }
  .rightmenu.active{
    display: flex;
  }
  header ul {
      flex-wrap: wrap;
      line-height: 1.45;
  }
  header ul li {
      width: 100%;
      padding-left: 0;
      font-size: 16px;
      margin-bottom: 5px; 
  }
  .contactinfo {
      width: 100%;
      padding: 0 15px;
  }
.timelinewrap{
  flex-wrap:wrap;
}
  .glitch{
    font-size:3rem;
  }

  .titles{
    flex-wrap:wrap;
  }
  .titles span {
      width: 100%;
  }
  /* Place the timelime to the left */
  .timeline::after {
  left: 31px;
  }
  .lottie-studying{
    display: none;
  }
  /* Full-width containers */
  .container {
  width: 100%;
  padding-left: 70px;
  padding-right: 25px;
  }
  
  /* Make sure that all arrows are pointing leftwards */
  .container::before {
  left: 60px;
  border: medium solid white;
  border-width: 10px 10px 10px 0;
  border-color: transparent white transparent transparent;
  }

  /* Make sure all circles are at the same spot */
  .left::after, .right::after {
  left: 15px;
  }
  
  /* Make all right containers behave like the left ones */
  .right {
  left: 0%;
  }
  .education, .skills{
      background: #fff;
      padding: 20px 10px 30px;
  }
  .portfolio, .contact {
      padding: 20px 10px 30px;
  }
  .art-grid{
justify-content: center;
  }
  .art-grid-el {
      height: 120px;
      margin: 10px 5px 10px;
      width:46%;
}

  .art-grid-el img{
    max-width:100%;
    width:100%;
  }
  .skill-grid-el {
      width: 50%;
  }
  .skillname{
   margin-bottom: 0;
   margin-top: 10px; 
  }
  .lottie-gif{
    width:280px;
    height:280px;
    margin:0 auto;
  }
  .contact-form {
      width: 100%;
      margin: 20px 0;
  }
  label {
      width: 100%;
    }
    input,textarea {
        width: 100%;
      }
}