@import url("https://fonts.googleapis.com/css2?family=Nunito&display=swap");

* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
  font-family: "Nunito", sans-serif;
  list-style: none;
}

body{
    background-color: #000000;
}

.main-content{
    min-height: 100vh;
    width: 85%;
    margin: 2rem auto;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.left-section{
    grid-column: span 2;
    height: 100%;
    background-color: #213575;
}
.right-section{
    grid-column: span 5;
    background-color: #f7f7f7;
    height: 100%;
}


.left-content{
    padding: .5rem 1rem;
}
.profile{
    width: 100%;
    border-bottom: 1px solid #002333;
}

.image{
    width: 70%;
    text-align: center;
}
.profile img{
    width: 100%;
    border-radius: 50%;
    border: 8px solid #002333;
    
}

.name{
    font-size: 2rem;
    color: white;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 1.2rem 0;
}

.career{
    font-size: 1.2rem;
    color: #94D9EA;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 1rem;
}

.main-title{
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #f7f7f7ec;
    padding-top: 3rem;
}

.contact-info ul{
    padding-top: 2rem;
}

.contact-info ul li{
    padding: .4rem 0;
    display: flex;
    align-items: center;
    color: #ffffff;
}
.contact-info ul li i{
    padding-right: 1rem;
    font-size: 1.2rem;
    color: #2D9CDB;
}

.skills-section ul{
    padding-top: 2rem;
}
.skills-section ul li{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: .4rem 0;
}

.progress-bar{
    width: 100%;
    height: .4rem;
    background-color: #2f81ed5b;
    position: relative;
    border-radius: 12px;
}
.progress{
    height: 100%;
    position: absolute;
    left: 0;
    background-color: #2D9CDB;
    border-radius: 12px;
}
.css-progress{
    width: 100%;
}
.js-progress{
    width: 100%;
}
.ps-progress{
    width: 90%;
}
.j-progress{
    width: 100%;
}
.c-progress{
    width: 100%;
}
.n-progress{
    width: 95%;
}
.w-progress{
    width: 85%;
}


.skill-title{
    text-transform: uppercase;
    color: #f7f7f7;
    font-size: 1rem;
}

.sub-title{
    padding-top: 2rem;
    font-size: 1.2rem;
    text-transform: uppercase;
    color: #f7f7f7;
}

.sub-para{
    color: #ccc;
    padding: .4rem 0;
}

.references-section li{
    color: #ccc;
    padding: .2rem 0;
}
.references-section li i{
    padding-right: .5rem;
    font-size: 1.2rem;
    color: #2D9CDB;
}

.right-main-content{
    padding: 2rem 3rem;
}


.right-title{
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #2F80ED;
    margin-bottom: 1.2rem;
    position: relative;
    text-align: center;
}
.right-title::before{
    content: "";
    position: absolute;
    width: 35%;
    height: .2rem;
    background-color: #ccc;
    border-radius: 12px;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.right-title::after{
    content: "";
    position: absolute;
    width: 35%;
    height: .2rem;
    background-color: #ccc;
    border-radius: 12px;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.para{
    line-height: 1.6rem;
    color: black;
    font-size: 1rem;
}

.sect{
    padding-bottom: 2rem;
}

/* .timeline{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
} */

.tl-title{
    letter-spacing: 1px;
    font-size: 1.3rem;
    color: #002333;
    text-transform: uppercase;
}
.tl-title-2{
    letter-spacing: 1px;
    font-size: 1.3rem;
    color: #2D9CDB;
    text-transform: uppercase;
}

.tl-content{
    border-left: 1px solid #ccc;
    padding-left: 2rem;
    position: relative;
    padding-bottom: 2rem;
}

.tl-title-2::before{
    content: "";
    position: absolute;
    width: .7rem;
    height: .7rem;
    background-color: #2D9CDB;
    border-radius: 50%;
    transform: translateX(-50%);
    left: 0;
}

/*Media Queries*/
@media screen and (max-width:823px){
    .right-title::after{
        width: 30%;
    }
    .right-title::before{
        width: 30%;
    }
}
@media screen and (max-width:681px){
    .right-title::after{
        width: 30%;
    }
    .right-title::before{
        width: 30%;
    }
}
@media screen and (max-width:780px){
    .timeline{
        grid-template-columns: repeat(1, 1fr);
    }
}
@media screen and (max-width:780px){
    .left-section{
        grid-column: span 3;
    }
    .right-section{
        grid-column: span 4;
    }
}
@media screen and (max-width:1200px){
    .main-content{
        grid-template-columns: repeat(1, 1fr);
    }
    .profile img{
        width: 40%;
    }
}
@media screen and (max-width:700px){
    .main-content{
        margin: .5rem auto;
    }
    .main-content{
        width: 95%;
    }
    .right-main-content{
        padding: .4rem 1rem;
    }
    .left-content{
        padding: .4rem 1rem;
    }
    .profile img{
        width: 60%;
    }
}
@media screen and (max-width:475px){
    .right-title::after{
        width: 25%;
    }
    .right-title::before{
        width: 25%;
    }
}
@media screen and (max-width:390px){
    .name{
        font-size: 1.5rem;
    }
    .right-title::after{
        width: 20%;
    }
    .right-title::before{
        width: 20%;
    }
}

/* timeline */
$container-shadow: 0.5rem 0.5rem 2rem 0 rgba(black, 0.2);

$gutter: 30px;
$border-width: 4px;
$dot-diameter: 8px;

.timeline body {
  background: linear-gradient(55deg,#4E75B9 30%,#5CBF98 90%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  width: 100vw;
  margin: 0;
  padding: 12vh 100px;
  font-size: 1.3rem;
  font-weight: 300;
  color: #333;
  box-sizing: border-box;
  * {
    box-sizing: border-box;
  }
}

.timeline {
  width:100%;
  max-width:1000px;
  padding: 30px 6px;
  position: relative;
  box-shadow: $container-shadow;
  &:before {
    content: '';
    position: absolute;
    top: 0px;
    left:calc(33% + 15px); //$gutter/2
    bottom: 0px;
    width: $border-width;
    background: #ddd;
  }
  &:after {
    content: "";
    display: table;
    clear: both;
  } 
}

.entry {
  clear: both;
  text-align: left;
  position: relative;
  .title {
    margin-bottom: .5em;
    float: left;
    width: 23%;
    padding-right: $gutter;
    text-align: right;
    position: relative;
    &:before {
      content: '';
      position: absolute;
      width: $dot-diameter;
      height: $dot-diameter;
      border: $border-width solid salmon;
      background-color:#fff;
      border-radius:100%;
      top: 15%;
      right: -$dot-diameter;
      z-index: 99;
    }
    h3 {
      margin: 0;
      font-size: 1.1rem;
    }
    p {
      margin: 0;
      font-size: 1.1rem;
    }
  }
  .body {
    margin: 0 0 3em;
    float: right;
    width: 66%;
    padding-left: $gutter;
    p {
      line-height: 1.4em;
      &:first-child {
        margin-top: 0;
        font-weight: 400;
      }
    }
    ul {
      color:#aaa;
      padding-left: 0;
      list-style-type: none;
      li:before {
        content: "–";
        margin-right: .5em;
      }
    }
  }
}
/* .timeline */


/* hobbies */
.resume_hobby ul {
    display: flex;
    justify-content: space-between;
  }
  
  .resume_hobby ul li {
    width: 60px;
    height: 60px;
    border: 2px solid #0bb5f4;
    border-radius: 50%;
    position: relative;
    color: #0bb5f4;
    text-align: center;
    padding-top: 12px;
  }
  
  .resume_hobby ul li i {
    font-size: 30px;
  }
  .resume_hobby ul li:before {
    content: "";
    position: absolute;
    top: 40px;
    right: -107px;
    width: 70px;
    height: 2px;
    background: #0bb5f4;
  }
  @media screen and (max-width:600px){
    .resume_hobby ul li:before{
        display: none;
    }
  }
  
  .resume_hobby ul li:last-child:before {
    display: none;
  }
  /* hobbies */


  /* download btn */
  .download-btn{
    outline: none;
    border: none;
    color: #fff;
    display: flex;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    align-items: center;
    white-space: nowrap;
    background: #e42f2f;
    transition: all 0.2s ease;
    right: 7rem;
    bottom: 1rem;
    position: fixed;
    z-index: 10000;
  }
  .download-btn:hover{
    background: #e42f2f;
  }
  .download-btn i{
    font-size: 1.2rem;
  }
  .download-btn.timer{
    color: #f71111;
    background: none;
    transition: none;
    font-size: 1.1rem;
    pointer-events: none;
    position: fixed;
    bottom: 2rem;
    z-index: 10000;
  }
  .download-btn.timer b{
    color: #000000;
    padding: 0 8px;
  }
  .download-btn .icon{
    font-size: 2rem;
  }
  .download-btn .text{
    font-size: 1rem;
    padding-left: 10px;
  }
  /* download btn */

  @media screen and (max-width:800px){
    .download-btn{
        right: 1rem;
    }
    .download-btn.timer{
        font-size: .8rem;
        bottom: 1rem;
      }
  }
  @media screen and (max-width:800px){
.profile img{
   margin-left: 5rem;
}
  }
