/* colors
primary-color: #F21E4E
secondary-color: #191919, #111111, 
accent- #F68338
*/

/* Modal Popup */

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
  }

.modal{
    position: fixed;
    width: 100vw;
    background-color: rgba(0,0,0,0.85);
    z-index: 9999999;  
  animation: zoomIn 0.5s ease;
}
.flex-box{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}
.modal .btn, .mob-modal .btn {
    align-self: flex-start;
    margin-top: 5%;
    cursor: pointer;
    padding:7px 10px;
    color: #F21E4E;
    background-color: #fff;
    border:none;
    font-weight: 800;
}
.mob-modal .btn{
    align-self: center;
    margin-top: -35%;
    margin-left: -3%;
}
.dis-block{
display: block;
}
.dis-none{
    display: none;
    }

  
/* Scrolling Effect */

::-webkit-scrollbar {
    width: 15px;
  }
  ::-webkit-scrollbar-track {
    background: #f1f1f1;
  }
  ::-webkit-scrollbar-thumb {
    background: #F21E4E;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #F68338;
  }


  
/* Loader Effect */

.spinner-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #F21E4E;
    z-index: 999999;
    }
.sk-chase {
    position: absolute;
top: 48%;
left: 48%;
    width: 40px;
    height: 40px;
    
    animation: sk-chase 2.5s infinite linear both;
  }
  
  .sk-chase-dot {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0; 
    animation: sk-chase-dot 2.0s infinite ease-in-out both; 
  }
  
  .sk-chase-dot:before {
    content: '';
    display: block;
    width: 25%;
    height: 25%;
    background-color: #fff;
    border-radius: 100%;
    animation: sk-chase-dot-before 2.0s infinite ease-in-out both; 
  }
  
  .sk-chase-dot:nth-child(1) { animation-delay: -1.1s; }
  .sk-chase-dot:nth-child(2) { animation-delay: -1.0s; }
  .sk-chase-dot:nth-child(3) { animation-delay: -0.9s; }
  .sk-chase-dot:nth-child(4) { animation-delay: -0.8s; }
  .sk-chase-dot:nth-child(5) { animation-delay: -0.7s; }
  .sk-chase-dot:nth-child(6) { animation-delay: -0.6s; }
  .sk-chase-dot:nth-child(1):before { animation-delay: -1.1s; }
  .sk-chase-dot:nth-child(2):before { animation-delay: -1.0s; }
  .sk-chase-dot:nth-child(3):before { animation-delay: -0.9s; }
  .sk-chase-dot:nth-child(4):before { animation-delay: -0.8s; }
  .sk-chase-dot:nth-child(5):before { animation-delay: -0.7s; }
  .sk-chase-dot:nth-child(6):before { animation-delay: -0.6s; }
  
  @keyframes sk-chase {
    100% { transform: rotate(360deg); } 
  }
  
  @keyframes sk-chase-dot {
    80%, 100% { transform: rotate(360deg); } 
  }
  
  @keyframes sk-chase-dot-before {
    50% {
      transform: scale(0.4); 
    } 100%, 0% {
      transform: scale(1.0); 
    } 
  }

  .spinner-wrapper.hidden {
      animation: fadeOut 3s;
animation-fill-mode: forwards;
  }

  @keyframes fadeOut{
      100%{
          opacity: 0;
          visibility: hidden;
      }
  }

  /* body CSS */

body{
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: 'Montserrat', sans-serif;
background-color: #191919;
font-size: 14px;
font-weight: 400;
cursor: url('img/code2.png'), auto;
}

::selection {
    color: #fff;
    background: #F21E4E;
  }

.logo img{
    width: 17%;
}
.head{
    display: flex;
    flex-direction: row;
    padding: 1rem 1rem;
    position: fixed;
    top: 0;
    width: 100%;
   
}
.bg-black{
    background-color: #191919;
    width: 100%;
    position: fixed;
    top: 0;
    height: 80px;
    z-index: -1;
    margin-left: -13%;
}
.navbar{
    display: flex;
 
  
}
.nav-list{
    display: flex;
    flex-direction: row;
    align-items: center;
  
}
.nav-list li{
    list-style-type: none;
   
}
.nav-list li a{
    text-decoration: none;
    padding: 0 1rem;
    color: #888;
    text-transform: uppercase;
    font-size: 0.8rem;
}
.nav-list li a:hover{
    color: #F68338;
    transition: 0.3s ease-in;
}

.nav-list .active{
    color: #F68338; 
}

.my-picture{
    background-image: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.1) );
}

.my-picture img{
   height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
}
.intro h5{
    color: #F68338;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 200;
    margin: 0;
    text-transform: uppercase;
        letter-spacing: 3px;
}
.intro h1{
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0;
    margin-top: -12px;
    letter-spacing: 1px;
}
.intro h2 {
    color: #222;
    font-size: 4rem;
    margin-top: -100px;
    letter-spacing: 4px;
    margin-bottom: 30px;
    z-index: -23;
    position: relative;
}
.intro p {
    color: #888;
    line-height: 1.35rem;
}

.intro h5, .intro h1 {
    animation:slideRight 2s ease;
}

@keyframes slideRight {
    0% {
        transform: translateX(300px);
        opacity: 0;
      right:300px;
    }
    100% {
        transform: translateX(0px);
        opacity: 1;
      right: 0;
    }
}

.body-container{
    display: flex;
    flex-direction: row;
justify-content: space-between;
margin-top: 120px;
margin-bottom: 80px;
}
.side-content{
    width: 55%;
    padding: 3.5rem;
}

.contact-info{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 80%;

}
.contact-info1 span, .contact-info2 span{
    font-weight: 900;
    color: #fff;
}
.contact-info p a{
    color: #888;
    text-decoration: none;
}
.divider1 {
    height: 1px;
    width: 100%;
    background: #222;
    margin: 60px 0;
}

.contact-form {
    /* width: 100%; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    
 
}
.contact-form div input, .contact-form div textarea{
   padding: 12px 20px;
    width: 80%;
    margin: 5px;
    background-color: #222222;
    outline: none;
    border: none;
    color: #fff;
}
.contact-form .con-submit input{
    background-color: #F21E4E;
    color: #fff;
    padding: 16px 30px;
    width: 85.5%;
}

.contact-form .con-submit input:hover{
    background-color: #F68338;
    transition: 0.5s ease;
    cursor: pointer;
}

/* footer */

.footer{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
   position: fixed;
   bottom: 0;
   width: 100%;
}
.social{
    animation: fadeFromLeft 2s ease;
}
.footer .social img:hover{
    background-color: #F68338;
     /* transition: 0.7s ease; */
     cursor: pointer;
     
     } 

.footer .social img{
color: #F21E4E;
padding:10px 17px;
margin:0 5px;
background-color: #F21E4E;
transition: background-color .3s;
}

    .social img.facebook{
        width: 8px;
        
    }
    .social img.twitter{
        width: 20px;
        
    }
    .social img.instagram{
        width: 17px;
        
    }

    .contact {
        display: flex;
        flex-direction: row;
       margin: 0px;
        justify-content: space-evenly;
       animation: fadeFromBottom 2s ease;
        color: #F68338;
        background-color: #111111;
    }
    .contact .cont b{
        color: #fff;
    }
    .contact .cont a{
        color: #F68338;
        text-decoration: none;
    }
    .contact .cont{
        padding: 40px 50px;
    }
    .contact .cv{
        background-color: #F68338;
    }
    .contact .cv:hover{
        background-color: #F21E4E;
        transition: 0.5s ease;
    }
    .contact .cv a{
        color: #fff;
        text-decoration: none;
        letter-spacing: 1px;
        font-size: 1.2rem;
        text-shadow: 1px 1px 4px rgba(0,0,0,0.1);
    }

    @keyframes fadeFromBottom {
        0% {
            transform: translateY(100px);
            opacity: 0;
            bottom: -100px;
        }
      

        100% {
            transform: translateY(0px);
            opacity: 1;
            bottom: 0;
        }
    }

    @keyframes fadeFromLeft {
        0% {
            transform: translateX(-100px);
            opacity: 0;
            left: -100px;
        }
      

        100% {
            transform: translateX(0px);
            opacity: 1;
            left: 0;
        }
    }

/* Gallery */

    .title h5{
        color: #F68338;
        font-family: 'Poppins', sans-serif;
        font-size: 1rem;
        font-weight: 200;
        margin: 0;
        text-transform: uppercase;
        letter-spacing: 3px;
    }
    .title h1{
        color: #fff;
        font-family: 'Poppins', sans-serif;
        font-size: 2.5rem;
        font-weight: 800;
        margin: 0;
        margin-bottom: 25px;
        margin-top: -12px;
        letter-spacing: 1px;
    }

.gallery{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
}
.gallery .img{ 
    margin: 1rem;
}
.gallery .img img{
    width: 200px;
    animation: fadeout 3s ease;
    transition: all 0.5s ease-in-out;
}
.gallery .img img:hover{
    box-shadow: 5px 5px 20px rgba(0,0,0,0.7);
    cursor: pointer;
    /* transition: 0.5s ease; */
    transform: scale(1.3); 
}

/* .grow { transition: all .2s ease-in-out; }
.grow:hover { transform: scale(1.1); } */

@keyframes zoomIn {
    0% {
        transform: scale(0);
        opacity: 0;
      
    }
    100% {
        transform: scale(100%);
        opacity: 1;
       
    }
}


/* Books */
.title h2{
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0;
    margin-bottom: 25px;
    margin-top: -12px;
    letter-spacing: 1px;
}
.gallery .book{
    
    margin: 1rem;
}
.gallery .book img{
    width: 150px;
    box-shadow: 5px 5px 20px rgba(0,0,0,0.4);
}


/* Tool Tip */

  a.tooltip:hover {
    cursor: url('img/denied.png'), auto;
    position: relative;
  
  }
  a.tooltip span {
    display: none;
  }

  a.tooltip:hover span {
      border-radius: 2%;
   box-shadow: 5px 10px 20px rgba(0,0,0,0.5);
    padding: 20px;
    display: block;
    z-index: 100;
    background: #111111;
    color: #fff;
    left: -50px;
    margin: 0px;
    width: 250px;
    position: absolute;
    top: -150px;
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 100;
    line-height: 17px;
    animation: fadeTool 0.5s ease;
  }

  @keyframes fadeTool {
    0% {
        
        opacity: 0;
      
    }
    100% {
        
        opacity: 1;
      
    }
}


  /* Hobbies */

  .hobbies{
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;
      justify-content: space-around;

  }

  .hobbies .hob img{
      width:64px;
  }
  .hobbies .hob img:hover{
 cursor: url('img/eye.png'), auto;
}

  /* Copyright */
  .copyright{
      color: #888;
      font-size: 0.82rem;
  }
  .copyright a{
      color: #F68338;
      text-decoration: none;
      
  }

 
/* Services */
.services{
    display: flex;
    flex-direction: row;
justify-content: space-around;
}
.services .service1, .services .service2{
    padding: 25px 40px;
    border: 1px solid #222;
    text-align: center;
    color: #888;
    margin: 0 20px 0;
    line-height: 22px;
    width: 100%;
}
.services .service1 h3, .services .service2 h3{
    color: #fff;
}
.services .service1:hover, .services .service2:hover{
   transition: all 0.5s ease;
   background-color: #F21E4E;
   box-shadow: 5px 5px 40px rgba(0,0,0,0.4);
   border-radius: 5px;
   color: #fff;
}


.services .service1 img, .services .service2 img{
    width: 20%;
}

/* Resume */
.myCv{
    width: 100%;
    box-shadow: 5px 8px 35px rgba(0,0,0,0.5);
}

/* Hamburger Menu */

.mob-menu{
    width: 100%;
display: none;
transform: rotate(360deg);
  transition: transform 0.3s;
}
.mob-menu:active{
    transform: rotate(0deg);
  transition:  0s;
}

.nav-list-mob{
    padding: 0px;
}
.nav-icon img{
    width:4%;
}
.nav-list-mob li a{
    text-align: center;
color:#888;
display: block;

text-decoration: none;
padding: 10px;
}
.nav-list-mob li {
    list-style-type: none;
}
.nav-list-mob li:hover {
   background-color: #F21E4E;
   transition: 0.8s ease;
}
.nav-list-mob li a:hover{    
color:#fff;

transition: 0.6s ease;
}
/* Hamburger Menu Popup */
.mob-modal{
    display: none;
    
}
.mob-nav{
    background-color: #222;
    width: 100%;
    padding: 1rem 0.5rem;
    animation: Mobmenu 1s ease;
}

@keyframes Mobmenu {
    0%{
       /* opacity: 0; */
        transform: translateY(-50%);
        top:-200px;
    }
    100%{
        /* margin-top: 80px; */
        top: 0;
        /* opacity: 1; */
        transform: translateY(0%);
    }
}


.display-pro{
    display: none;
}


.portpolio{
    display: grid;
    grid-template-rows: 1fr 1fr 1fr;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 20px;
    overflow:hidden;
    row-gap: 20px;
}
.app{
    display: grid;
    grid-template-rows: 1fr;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
  
    row-gap: 20px;
}

.portpolio .site{
    height: 200px;
    overflow:hidden;
}
.app .site{
    height: 200px;
}

.app img, .portpolio img{
    width:100%;
height: auto;
}

.portpolio .site:hover{
  transform: scale(1.03);
  transition:300ms ease-in;
    
}
.app .site:hover{
    transform: scale(1.3);
    transition:500ms ease-in;
}

.portpolio img:hover{
    transform: translateY(-60%);
   
    transition:all 4s linear;
    transition-delay: 250ms;
}

/*Mobile Queries  */
@media (max-width:1920px){
    .obj-fit{
        width:44%;
        object-fit: cover;
    }
    body{
        font-size: 17px;
       
    }
    .logo img {
        width: 20%;
        margin-left: -13%;
    }
    .head {
        width: 85%;
        justify-content: space-around;
    }
    .bg-black {
        margin-left: -17%;
    }
    .side-content {
        width: 47%;
        padding: 5rem;
    
    }
    .intro p {
        line-height: 1.7rem;
    }
    .services p{
line-height: 1.7rem;
    }
    .service1{
        margin-left: 0px !important;
    }
    .social{
        margin-left: 3%;
    }
    .contact{
        justify-content: space-between;
        width: 75%;
    }
    .contact-info {
        width: 94%;
    }
    .contact-form .con-submit input {
        width: 84.5%;
    }
    .portpolio .site{
        height: 230px;
    }
}
@media (max-width:1500px){
    body{
        font-size: 14px;
       
    }
    .logo img {
        width: 18%;
        margin-left: -6%;
    }
    .side-content {
        width: 50%;
        padding: 3.5rem;
        margin-bottom: 35px;
    }
    .contact-form .con-submit input {
        width: 85.5%;
    }
    .portpolio .site{
        height: 220px;
    }
}
@media (max-width:1380px){
    .obj-fit{
        width:40%;
        
    }
    .logo img {
        width: 17%;
        margin-left: -1%;
    }
    .bg-black {
        margin-left: -18%;
    }
    .side-content {
        width: 53%;
        padding: 1.5rem;
    }
    .intro h2 {
        font-size: 3.5rem;
        margin-bottom: 45px;
    }
    .contact-info {
        width: 87%;
    }
    .social {
        margin-left: 1%;
    }
  
.contact .cont {
    padding: 40px 35px;
}
.gallery .img img {
    width: 185px;
   
}
.portpolio .site{
    height: 200px;
}
}

@media (max-width:1280px){
    .bg-black {
        margin-left: -18%;
    }
    .obj-fit{
        width:40%;
        object-fit: cover;
    }
    .intro h2 {
        font-size: 3rem;
        margin-bottom: 50px;
    }
    .intro p {
        line-height: 1.4rem;
    }
    .side-content {
        width: 54%;
        padding: 1.5rem;
    }
    .contact {
        justify-content: space-between;
        width: 78%;
    }
    .services p {
        line-height: 1.4rem;
    }


}
@media (max-width:1024px){
    .obj-fit{
        width:40%;
        object-fit: cover;
    }
    .bg-black {
        margin-left: -14%;
    }
    .contact .cont {
        padding: 30px 20px;
    }
    .services {
        flex-direction: column;
        justify-content: center;
        width: 75%;
    }
    .service2{
        margin: 40px 0 0 0 !important;
    }
    .contact-form .con-submit input {
        width: 87%;
    }
}

@media (max-width:768px){
   
    .head{
        position: sticky;
        background-color: #191919;
        width: 96%;
    }
    .navbar{
        display: none;
    }
    .mob-menu{
        display: block;
        width:10%;
        position: relative;
    }
    .body-container{
        flex-direction: column;
        margin-top: 0px;
        margin-bottom: 10px;
        justify-content: flex-start;
      
    }
    .my-picture img {
        width: 100%;
        position: relative;
        top: 0;
        left: 0;
        z-index: -1;
    }
    .obj-fit{
        height: 480px !important;
        object-fit: cover;
        object-position: 0% 13%;
    }
    .logo img {
        width: 22%;
        margin-left: 5%;
    }
    .nav-icon img {
        width: 17%;
    }
    .side-content {
        width: 92%;
        padding: 1.5rem;
    }
    .footer {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: relative;
        width: 100%;
    }
    .contact {
        width: 100%;
        flex-direction: column;
        text-align: center;
        margin-top: 5%;
    }
    .services {
        width: 84%;
    }
    .intro{
        margin-top: 40px;
    }
    .nav-icon img {
        width: 85%;
        margin-top: 15px;
    }
.copyright{
    text-align: center;
}
.hobbies .hob img {
       
    padding: 15px;
}
.contact-form .con-submit input {
    width: 86%;
}
.portpolio{
    grid-template-rows: auto;
    grid-template-columns: 1fr 1fr;
}
.portpolio .site{
    height: 300px;
}
.app{
    grid-template-rows: auto;
    grid-template-columns: 1fr;
}
.app .site{
    height: auto;
}
}

@media (max-width:550px) {
    .obj-fit{
        height: 380px !important;
    }
    .mob-menu {
 
        width: 18%;
    }
    .navbar {
        display: none;
    }
    .mob-menu{
        display: block;
    }
    .contact-info {
        flex-direction: column;
    }
    .contact-info2{
        margin-top: -12px;
    }

    .body-container {
          align-items: center;
    }
    .services {
        width: 78%;
    }
    .logo img {
        margin-left: 0%;
    }
    .flex-box img{
        width: 85%;
    }
    .contact-form .con-submit input {
        width: 88%;
    }
    .portpolio{
        grid-template-rows: auto;
        grid-template-columns: 1fr;
        row-gap: 30px;
    }
    .portpolio .site{
        height: 350px;
    }
}
@media (max-width:400px) {
   
    .mob-menu {
        width: 20%;
    }
    .nav-icon img {
        width: 100%;
        margin-top: 10px;
    }
    .head {
        width: 91%;
    }
    .logo img {
       
        margin-left: 0%;
        margin-bottom: -5px;
    }
    .hobbies .hob img {
       
        padding: 15px;
    }
    .contact-form .con-submit input {
        width: 91%;
    }

}
