@import url('https://fonts.googleapis.com/css2?family=PT+Sans&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@100&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');

/* font-family: 'PT Sans', sans-serif;
font-family: 'Roboto Mono', monospace;
font-family: 'Share Tech Mono', monospace; */

* {
    margin: 0;
}

:root {
    --color-nav: #262626;
    --color-primary: #1c83e5;
    --color-grey: #525252;
    --color-off-white: #f3efe7;
    --color-off-white-light: #ededed;
    --color-section-shadow: #999999;
    --color-dark-blue: #1c2960;
    --color-nav-1:#1f1f1f;
    --color-nav-2:#292929;
    --color-nav-3:#343434;
    --color-nav-4:#393939;
    --color-nav-5:#434343;
}



body {
    font-family: 'PT Sans', sans-serif;
}

.section {
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 3px 5px 5px var(--color-section-shadow);
}

.off-white {
    background-color: var(--color-off-white);
    border-radius: 1rem;
}

.off-white-light {
    background-color: var(--color-off-white-light);
    border-radius: 1rem;
}

.highlight {
    color: var(--color-primary);
}

.style {
    font-size: 20px;
    color: var(--color-grey);
    letter-spacing: 0.2rem;
    font-family: 'Roboto Mono', monospace;
}

.link {
    text-decoration: none;
    color: var(--color-primary);
    font-size: 22px;
    letter-spacing: 0.1rem;

}

.overlay{
    position:fixed;
    z-index:20;
    top:0;
    left:0;
    width:100vw;
    height:100vh;
    background-color: rgba(0,0,0,0.5);
    transform:translateX(-100vw);
}

.overlay-slide-right{
    transition: all 0.4s ease-in-out;
    transform:translateX(0);
}

.overlay-slide-left{
    transition:all 0.8s ease-in-out;
    transform:translateX(-100vw);
}

nav,
nav ul{
    height:100vh;
    margin:0;
    padding:0;
}

nav ul{
    display:flex;
    flex-direction: column;
    justify-content: stretch;
    list-style: none;
}

nav ul li{
    height:20%;
    overflow: hidden;

}

nav li a{
    position:relative;
    top:40%;
    color:var(--color-section-shadow);
    text-transform: uppercase;
    letter-spacing: 0.3rem;
    text-decoration:none;
    font-size:20px;
    font-weight:bold;
    display:block;
    text-align:center;
    transition:all 0.2s ease-in-out;
}

nav li a:hover{
    transform:scale(1.2);
    color:var(--color-primary);
}

nav li a::before{
    content:"";
    width:25vw;
    height:3px;
    background-color: var(--color-primary);
    position:absolute;
    top:45%;
    left:0;
    opacity:0;
}

nav li a:hover::before{
    opacity:1;
}

nav li:nth-of-type(1){
    background-color: var(--color-nav-1);
}
nav li:nth-of-type(2){
    background-color: var(--color-nav-2);
}
nav li:nth-of-type(3){
    background-color: var(--color-nav-3);
}
nav li:nth-of-type(4){
    background-color: var(--color-nav-4);
}
nav li:nth-of-type(5){
    background-color: var(--color-nav-5);
}

/*slide in animation with delay for each nav item*/

.slide-in-1{
    animation:slide-in 0.4s linear 0.2s both;
}
.slide-in-2{
    animation:slide-in 0.4s linear 0.4s both;
}
.slide-in-3{
    animation:slide-in 0.4s linear 0.6s both;
}
.slide-in-4{
    animation:slide-in 0.4s linear 0.8s both;
}
.slide-in-5{
    animation:slide-in 0.4s linear 1s both;
}


@keyframes slide-in{
    from {
        transform:translateX(-100%);
    }

    to {
        transform:translateX(0);
    }
}

/*slide out animation with delay as same as that of slide in */
.slide-out-1{
    animation:slide-out 0.4s linear 0.5s both;
}
.slide-out-2{
    animation:slide-out 0.4s linear 0.4s both;
}
.slide-out-3{
    animation:slide-out 0.4s linear 0.3s both;
}
.slide-out-4{
    animation:slide-out 0.4s linear 0.2s both;
}
.slide-out-5{
    animation:slide-out 0.4s linear 0.1s both;
}


@keyframes slide-out{
    from {
        transform:translateX(0);
    }

    to {
        transform:translateX(-100%);
    }
}

/*-----------Menu bars---------*/
.menu-bars {
    position: fixed;
    top: 1rem;
    right: 2rem;
    z-index: 30;
    display: inline;
    cursor: pointer;
  }
  
  .bar1,
  .bar2,
  .bar3 {
    width: 35px;
    height: 2px;
    background-color: var(--color-primary);
    margin: 8px 0;
    transition: 0.4s;
  }
  
  /* Rotate first bar */
  .change .bar1 {
    transform: rotate(-45deg) translate(-7px, 8px);
    background-color: red;
  }
  
  /* Fade out the second bar */
  .change .bar2 {
    opacity: 0;
  }
  
  /* Rotate last bar */
  .change .bar3 {
    transform: rotate(45deg) translate(-6px, -8px);
    background-color: red;
  }







.navigation {
    padding: 1rem;
    margin-bottom: 1rem;
    height: auto;
    width: auto;
    background-color: var(--color-nav);
    opacity: 0.99;
    position: sticky;
    top: -70px;
    z-index: 10;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    box-shadow: 3px 3px 5px #242424;

}

.nav-heading {
    padding: 0.5rem;
    margin: 0.5rem;
    display: block;
}

.nav-heading>h2 {
    color: whitesmoke;
    font-weight: 100;
    letter-spacing: 0.1rem;
}

.nav-buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;

}
@media screen and (max-width:480px){
    .nav-buttons{
        display:flex;
        justify-content:left;
    }
}

.nav-button {
    margin:1rem 3rem;
    cursor: pointer;

}
@media screen and (max-width:768px){
    .nav-button{
        margin:1rem;
    }
}

@media screen and (max-width:480px){
    .nav-button>a{
        font-size:18px;
        font-weight: bold;
    }
}

.header {
    padding: 1rem;
    background-color: #fff;
    margin: 1rem;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.header-image {
    width: 320px;
    height: auto;
    margin: 1rem;
    padding: 1rem;
    border-radius:50px;

}


.header-info {
    display: flex;
    flex-direction: column;
    margin: auto;
    max-width: 500px;
}

.style:hover {
    color: #000;
}

.header-title {
    margin: auto;
    padding: 0.5rem;
}

.header-title>h2 {
    color: var(--color-nav);
    font-size: 30px;
}

.header-description {
    font-size: 20px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.header-description .quote {
    color: var(--color-dark-blue)
}

.section-skills {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    padding: 1rem;
    font-family: 'Share Tech Mono', monospace;

}

.section-skillsHeading {
    padding: 1rem;
    align-items: center;
    margin: auto;
}

.section-skillsHeading>h2 {
    color: var(--color-primary);
    font-size: 30px;
    font-weight: 200;
}

.section-skillsInfos {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    flex-wrap: wrap;
    padding: 1rem;
    margin: 0.5rem;
}
@media screen and (max-width:768px){
    .section-skillsInfos{
        margin:auto;
        flex-direction: column;
    }
}


.section-skillsInfo {
    margin: auto;
    padding: 1rem;
    border: 1px solid green;
    border-radius: 5px;
    box-shadow: 5px 8px 8px #fff;
}
@media screen and (max-width:768px){
    .section-skillsInfo{
        margin:1rem auto;
    }
}

.section-skillsInfo>ul>li:hover{
    color:var(--color-primary);
    cursor:all-scroll;
}

.section-skillsImages {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: auto;
    padding: 0.5rem;

}

.section-skillsImages>img {
    height: 120px;
    width: auto;
    margin:auto;
}

.section-projects {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
}

.section-projectsInfo {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    max-width: 600px;
    padding: 1rem;
}

.section-projectsInfo>h1 {
    padding: 1rem;
    color: var(--color-dark-blue);
    font-weight: 500;
    font-size: 30px;
    letter-spacing: 0.1rem;
    cursor: pointer;
    transition: 0.2s ease-in-out;

}

.section-projectsInfo>h1:hover {
    font-size: 32px;
    color: #000;
}

.section-projectsInfo>p {
    font-weight: 200;
    font-size: 20px;
    padding: 0.2rem;
}

.section-projectsInfo .link{
    background-color: var(--color-primary);
    padding:0.5rem 1rem;
    border-radius:10px;
    cursor:pointer;
    color:#fff;
    font-weight: 700;
}

.section-projectsVideo {
    padding: 1rem;
    border-right:1px solid var(--color-grey);
    border-bottom: 1px solid var(--color-grey);
    border-radius:10px;
    box-shadow: 5px 8px 8px rgba(0,0,0,0.2);

}
@media screen and (max-width:768px){
    .section-projectsVideo{
       width:320px;
       margin:auto;
    }
}

.section-projectsVideo>video {
    border-radius: 10px;

}
@media screen and (max-width:768px){
    .section-projectsVideo>video{
        max-width:300px;
        margin:auto;
    }
}

.section-blogs {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
}

.section-blogsVideo {
    padding: 1rem;
    border-left:1px solid var(--color-grey);
    border-bottom: 1px solid var(--color-grey);
    border-radius:10px;
    box-shadow: -5px 8px 8px rgba(0,0,0,0.2);

}
@media screen and (max-width:768px){
    .section-blogsVideo{
       width:320px;
       margin:auto;
    }
}

.section-blogsVideo>video {
    border-radius: 10px;
}
@media screen and (max-width:768px){
    .section-blogsVideo>video{
        max-width:300px;
        margin:auto;
    }
}

.section-blogsInfo {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    max-width: 600px;
    padding: 1rem;
}

.section-blogsInfo>h1 {
    padding: 1rem;
    color: var(--color-dark-blue);
    font-weight: 500;
    font-size: 30px;
    letter-spacing: 0.1rem;
    cursor: pointer;
    transition: 0.2s ease-in-out;

}

.section-blogsInfo>h1:hover {
    font-size: 32px;
    color: #000;
}

.section-blogsInfo>p {
    font-weight: 200;
    font-size: 20px;
    padding: 0.5rem;
}

.section-blogsInfo .link{
    border:1px solid var(--color-primary);
    padding:0.5rem 1rem;
    border-radius:10px;
    cursor:pointer;
    font-weight: 700;
}

.footer{
    height:auto;
    width:auto;
    background-color: var(--color-dark-blue);
    color:var(--color-off-white-light);
    justify-content:center;
    display:flex;
    flex-direction:column;
    flex-wrap:wrap;
    padding:1rem;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.footer-quotes{
    max-width:800px;
    margin:auto;
}
.footer-quotes>h2{
    font-weight:100;

}

.footer-header{
    margin:auto;
    padding:1rem;
}

.footer-header>h2{
    font-size:25px;
    font-weight:200;
    text-align:center;
    
}


.footer-buttons{
    padding:1rem;
    display:flex;
    flex-direction:row;
    justify-content:space-evenly;
    flex-wrap:wrap;
}

.fa {
    font-size: 40px !important;
    text-align: center;
    text-decoration: none;
    margin: 5px 2px;
    color:#fff;
  }
