/*--------------- basic styling --------------- */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: "Roboto Mono" !important;
    background: #0f0f0f !important;
    color: #fff!important ;
}
h1 {
    text-align: center;

    font-weight: lighter;
}
h5 {
    text-align: center;
margin: 2rem;
    font-weight: lighter;
}
h2{
    color: #fff;
}

span{
    color: red;
}
input{
    border-radius: 5px;
}
input:hover{
    background-color: grey;
}

.inline{
    display: inline-flex
}
.hwhitespace {
    width: 50%;
    height: 100px;
}

.whitespace {
    width: 100%;
    height: 100px;
}
.whitespace2 {
    width: 100%;
    height: 80px;
}
@media(max-width: 768px) {
    .whitespace {
          display: none;
    }
    .hwhitespace {
        display: none;
  }
    hr{
        height:2px;
        border-width:0;
        color:#fff;
        background-color:#fff
    }
}

/*--------------- typewriter effect --------------- */
.line {
    width: 24em;
    top: 50%;
    margin: auto;
    border-right: 2px solid rgba(255, 255, 255, 0.75);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    transform: translateY(-50%);
}

.anim-typewriter {
    animation: typewriter 4s steps(40) 1s 1 normal both,
    blinkTextCussor 500ms steps(40) infinite normal;
}

@keyframes typewriter {
    from {
          width: 0;
    }
    to {
          width: 19em;
    }
}

@media(max-width: 768px) {
    @keyframes typewriter {
          from {
                width: 0;
          }
          to {
                width: 17em;
          }
    }
}

@keyframes blinkTextCussor {
    from {
          border-right-color: rgba(255, 255, 255, 0.75);
    }
    to {
          border-right-color: transparent;
    }
}

/*--------------- navigation --------------- */
nav {
    width: 100%;
    background: #0f0f0f;
    height: 80px;
    position: fixed;
    z-index: 1;
}

nav #brand {
    float: left;
    display: block;
    margin-left: 82px;
    line-height: 80px;
    font-weight: bold;
}

nav #brand a {
    color: #fff;
    transition: all 0.3s ease-out;
}

nav #brand a:hover {
    text-decoration: none;
    color: red;
}
nav #brand a span {
    color: red;
}
nav #menu {
    float: left;
    right: 80px;
    position: fixed;
}

nav #menu li {
    padding-left: 40px;
    display: inline-block;
    cursor: pointer;
    font-weight: 300;
    line-height: 80px;
    position: relative;
    transition: all 0.3s ease-out;
}

nav #menu li span {
    font-weight: 700;
    color: red;
}

nav #menu li a {
    color: #fff;
}

nav #menu li a:hover {
    text-decoration: none;
    color: red;
}

#toggle {
    position: absolute;
    right: 30px;
    top: 20px;
    font-weight: 300;
    z-index: 2;
    width: 30px;
    height: 30px;
    cursor: pointer;
    float: right;
    transition: all 0.3s ease-out;
    visibility: hidden;
    opacity: 0;
}

.close-btn {
    position: absolute;
    right: 16px;
    font-weight: 300;
    z-index: 2;
    cursor: pointer;
    top: -2px;
    line-height: 80px;
}

#resize {
    z-index: 1;
    top: 0px;
    position: fixed;
    background: #0f0f0f;
    width: 100%;
    height: 100%;
    visibility: hidden;
    opacity: 0;
    transition: all 1s ease-out;
}

#resize #menu {
    height: 90px;
    position: absolute;
    left: 45%;
    transform: translateX(-40%);
    text-align: center;
    display: table-cell;
    vertical-align: center;
}

#resize #menu li {
    display: block;
    text-align: center;
    margin-top: 0;
    padding: 10px 0;
    font-size: 50px;
    min-height: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease-out;
}

#resize li:nth-child(1) {
    margin-top: 140px;
}

#resize #menu li a {
    color: #fff;
}

#resize #menu li a:hover {
    text-decoration: none;
    color: red;
}

#resize.active {
    visibility: visible;
    opacity: 1;
}

@media(max-width: 768px) {
    #toggle {
          visibility: visible;
          opacity: 1;
          margin-top: 6px;
          margin-right: 4px;
    }

    nav #brand {
          margin-left: 24px;
    }

    #menu a {
          font-size: 20px;
          font-weight: 300;
    }

    #resize li span {
          font-weight: bolder;
    }

    nav #menu {
          display: none;
    }
}

@media(min-width: 768px) {
    #resize {
          visibility: hidden !important;
    }
    .dot{
        display: none;
    }
    .whitespace2 {
       display: none;
    }
}

/*--------------- hero section --------------- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image:  linear-gradient(black, black),url(./pankaj-patel-bYiw48KLbmw-unsplash.jpg) ;
    background-repeat: no-repeat; /* Do not repeat the image */
    background-size: cover; 
    background-position: center;
    background-blend-mode: saturation;
    

}
#bg-cont{
    background-color: #0f0f0f !important;
    background-image: none;
}

.header{
    color:#0f0f0f;
    
    opacity: 100%;
}

.hero h1 {
    font-weight: 300;
    text-align: center;
    letter-spacing: -2px;
    line-height: 58px;
    background-color: #fff;
}

.hero h1 span{
    color: red;
}
@media(max-width: 768px) {
    .header h1 {
          font-size: 20px;
    }
}

/*--------------- scroll down icon animation --------------- */
.scroll-down {
    background-color: red;
    position: absolute;
    left: 50%;
    bottom: 100px;
    display: block;
    text-align: center;
    font-size: 20px;
    z-index: 0;
    text-decoration: none;
    text-shadow: 0;
    width: 20px;
    height: 20px;
    
    transform: translate(-50%, 0) rotate(45deg);
    animation: fade_move_down 5s cubic-bezier(0.19, 1, 0.22, 1) infinite;
}

@keyframes fade_move_down {
    0% {
          transform: translate(0, -20px) rotate(45deg);
          opacity: 0;
    }
    50% {
          opacity: 1;
    }
    100% {
          transform: translate(0, 20px) rotate(45deg);
          opacity: 0;
    }
}

/*--------------- projects section --------------- */

.vertical {
    margin-top: 40px;
    border-left: 1px solid #fff;
    height: 80px;
    position: absolute;
    left: 50%;
}
.languages-1{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}
.text1{
    
    height: 450px;
    text-align: center;
    justify-content: center;
    align-items: center;
   
}
.hero-text{
        height: 150px;
        text-align: center;
        justify-content: center;
        align-items: center;
        margin: auto;
    
}
.text{
   
    height: 250px;
    text-align: center;
    justify-content: center;
    align-items: center;
    margin: auto;
}
/* index project image */
.project-jam{
    
    background: url(./jamlist.jpg) no-repeat center;
    background-size: contain;

    background-color: #1D3557;
    
}
.project-weather{
    background: url(./wheatherscreenshot.jpg) no-repeat center;
    background-size: contain;
    background-color: #0E1C36;
}
.project-raven{
    
    background: url(./ravenous.ico) no-repeat center;
    background-size: contain;
    background-color: #fff;
    
}

/* end */
.projectx{
    height: 350px;
    border-radius: 15px;
    
}
.a-links{
display: flex;
justify-content: space-around;
   
}
.project {
    height: 500px;
    margin-bottom: 10px;
}
/*  project image */
.index1{
    filter: grayscale(100%);
    background: url(https://images.unsplash.com/photo-1543013309-0d1f4edeb868?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=723&q=80) no-repeat center;
    background-size: cover;
    
    
}
.index2{
    filter: grayscale(100%);
    background: url(https://images.unsplash.com/photo-1522096738458-26e9360cfd09?ixlib=rb-1.2.1&auto=format&fit=crop&w=308&q=80) no-repeat center;
    background-size: cover;
    
    
}
.index3{
    filter: grayscale(100%);
    background: url(https://images.unsplash.com/photo-1461749280684-dccba630e2f6?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2069&q=80) no-repeat center;
    background-size: cover;
    
    
}









.project3 {
    filter: grayscale(100%);
    background: url(https://images.unsplash.com/photo-1516383740770-fbcc5ccbece0?ixlib=rb-1.2.1&auto=format&fit=crop&w=967&q=80) no-repeat 50% 50%;
    background-size: cover;
}



.project4 {
    filter: grayscale(100%);
    background: url(https://images.unsplash.com/photo-1575921135170-c4d45d08f692?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=2000&q=80) no-repeat 50% 50%;
    background-size: cover;
}

/*------------Challenge style------------*/
.prop-row{
    justify-content: space-between;
}
.text-c{
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: auto;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 15px;
}

.bg-chall{
    border-radius: 15px;
    background-image: url(https://images.unsplash.com/photo-1522096738458-26e9360cfd09?ixlib=rb-1.2.1&auto=format&fit=crop&w=308&q=80);
    background-size: cover;
}
@media(min-width:768px){
    .chall1{
        animation-delay: 1.3s;
    }
    .chall2{
        animation-delay: 1.4s;
    }
    .chall3{
        animation-delay: 1.5s;
    }
}
@media(max-width: 768px) {
    
    .project {
          width: 90% !important;
          margin: 14px auto;
    }
    .projectx{
        width: 90% !important;
        margin:auto;
        margin-bottom: 20px;
        
    }
    .vertical {
          display: none;
    }

    .project-weather::after, .project-jam::after, .project-raven::after, .project4::after {
          display: none;
    }
    .text1, .text3{
        order:2
    }
    .project-weather, .project-raven{
        order:1
    }
}

/*--------------- footer section --------------- */
.collab {
    text-align: right;
}

.collab p {
    font-weight: lighter !important;
    margin-bottom: 20px;
}

.hr {
    background: rgba(255, 255, 255, 0.6);
    height: 1px;
}

.info h4 {
    font-size: 18px;
    font-weight: lighter;
}

.info p {
    color: rgba(255, 255, 255, 0.6);;
    font-weight: lighter;
}

.info li {
    font-weight: lighter;
    color: #fff;
    font-size: 18px;
    padding-left: 20px;
}

.wow a {
    color: #fff;
    transition: all 0.3s ease-out;
}

.wow a:hover {
    text-decoration: none;
    color: red;
}


#media, #address {
    text-align: right;
}

#media ul {
    list-style: none;
}

#media ul li {
    display: inline-block;
}
#address a{
    color: #fff;
}
#address a:hover{
    color: red;
    text-decoration: none;
}
@media(max-width: 768px) {
    .collab, #personal, #media, #address {
          text-align: center;
    }

    .info ul {
          margin: 0 0 0 -22px;
          padding: 0;
    }
}

/*--------------- work page --------------- */

.hero-content {
    margin-left: 0%;
}

.hero-content p {
    font-weight: 300;
    line-height: 36px;
    color: grey;
}

.hero-content h6 {
    text-align: left;
}

@media(max-width: 768px) {
    .hero-content {
          padding-top: 50px;
          width: 96%;
          margin: 0 auto;
    }
}

/*---------------about page --------------- */

.about {
    height: 500px;
    margin-top: 20px;
}
.profile{
    filter: grayscale(90%);
    background-image:  url(./IMG_20200530_005721_770.jpg) ;
    background-repeat: no-repeat; /* Do not repeat the image */
    background-size: cover; 
    background-position: center;
    
}


/*--------------- contact form --------------- */

#contact-form {
    margin: 5% 1.4%;
}

#contact-form ul {
    list-style: none;
    border-radius: 5px;
    margin-bottom: 40px;
}

#contact-form li {
    padding: 10px;
}

#contact-form li:last-of-type {
    border-bottom: none;
}

#contact-form label {
    display: block;
    font-size: .8em;
    color: #999;
    padding-left: 5px;
}

#contact-form input, #contact-form textarea {
    width: 100%;
    padding: 5px;
    border: none;
    resize: vertical;
    background: transparent;
    color: #fff;
    font-weight: bolder;
}

input:focus {
    outline: none;
    border: none;
}

textarea:focus {
    outline: none;
    border: none;
}

.textarea {
    border-bottom: 1px solid #dfdfdf;
}

.send {
    margin-left: 50px;
    text-transform: uppercase;
    padding: 20px 30px;
    background: transparent;
    color: #dfdfdf;
    font-size: 14px;
    letter-spacing: 2px;
}

.send:hover {
    background: #dfdfdf;
    color: #101010;
}

@media(max-width: 768px) {
    #contact-form {
          margin: 5% -8%;
          width: 98%;
    }
}

/*--------------- project page --------------- */

.prev, .next p {
    color: grey;
}

.prev p {
    text-align: left;
}

.next p {
    text-align: right;
}