/*  import google fonts */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Fira+Sans:ital,wght@0,300;0,400;0,600;1,300;1,400;1,600&family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400;1,600;1,700&display=swap');

*{
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
      -moz-box-sizing: border-box;
        -o-box-sizing: border-box;
            box-sizing: border-box;
    text-decoration: none;
}
html{
    scroll-behavior: smooth;
}

body {
    background: #f5f5f5;
    -ms-overflow-x: hidden;
        overflow-x: hidden;
}

/* scroll bar styling */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #888;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.bebas-neue {
    font-family: 'Bebas Neue', Helvetica, sans-serif;
}

.fira-sans {
    font-family: 'Fira Sans', sans-serif;
}

.open-sans {
    font-family: 'Open Sans', Helvetica, sans-serif;
}

.heading {
    font-size: 5rem;
    font-weight: 550;
}

.sub-heading_1 {
    font-size: 3rem;
    font-weight: 500;
}

.sub-heading_2 {
    font-size: 1.8rem;
    font-weight: 400;
}

.sub-heading_3 {
    font-size: 1.1rem;
    font-weight: 300;
}

.paragraph {
    font-size: 0.9rem;  
}

.text {
    font-size: 1.2rem;
    font-weight: 600;
}
.text_b{
    font-size: 1.2rem;
    font-weight: 600;
}

.text_c{
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.lower_m{
    margin-bottom: 10px;
}
.lower_h{
    margin-top: 0;
    margin-bottom: 5px;
}

/* common items style codes */

.about, .possibilities , .skills,.contact {
    font-family:'Open Sans', Helvetica, sans-serif;
}
.about .about-content,
.possibilities  .serv-content,
.skills .skills-content,
.contact .contact-content{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}
.title{
    position: relative;
    text-align: center;
    font-size: 2.5rem;
    font-weight: 500;
    letter-spacing: 0.02rem;
    margin-top: 0.4rem;
    padding-top: 0.6rem;
    margin-bottom: 0.1rem;
    padding-bottom: 6px;
    font-family:'Bebas Neue', Helvetica, sans-serif;
}

/* border styling */
#container {
    max-width: 1300px; 
    margin-top: 0.4rem;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 1rem;
    overflow: auto;
    line-height: 1.5;
    background: var(--white);
}

/* ----------- */

.max-width{
    max-width: 1300px;
    padding: 0 80px;
    margin: auto;
}


.title-text{
    position: absolute;
    top: 50%;
    left: 0px;
    background-color: rgba(0, 0, 0, 0.829);
    color:#fff;
    padding: 15px 28px 20px 85px;
    z-index: 99;
}
  
.title-name{
    font-size: 4.5rem;
    font-weight: 600;
    letter-spacing: 10px;
    font-family: "Bebas Neue", Helvetica, sans-serif;
    color: #fff;
}
  
.profession{
    color:#e2e2e2;
    font-size: 1.9rem;
    letter-spacing: 1.4px;
    font-weight: 400;
    margin: 5px 0;
    line-height: 0.5;
}

.project_title{
    color:#e2e2e2;
    font-size: 1.6rem;
    font-weight: 300;
}

.project_about{
    color:#e2e2e2;
    font-size: 0.9rem;
}

.slideshow-item-text{
    max-width: 32%;
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.664);
    color:#fff;
    padding: 15px 23px 14px 25px;
}

.project_link{
    display: inline-block;
    background:  var(--yellow); 
    color: #000;
    font-size: 1.4rem;
    padding: 8px 18px;
    margin-top: 15px;
    font-weight: 400;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
      -ms-border-radius: 6px;
        -o-border-radius: 6px;
            border-radius: 6px;
    border: 2px solid var(--yellow);
    text-align: center;
    -webkit-transition: all 0.3s ease;
     -moz-transition: all 0.3s ease;
       -ms-transition: all 0.3s ease;
        -o-transition: all 0.3s ease;
            transition: all 0.3s ease;
}
.project_link:hover{
    color: #fff;
    background: var(--orange);
    border: 2px solid #fff;
}

.project_link:active {
    background-color: var(--red);
  }

  
@media screen and (max-width: 1300px) {
    .title-name{
        font-size: 3.5rem;
        letter-spacing: 8px;
    }
    .profession{
        font-size: 1.7rem;
        letter-spacing: 1.2px;
    }
    .project_link{
        font-size: 1.1rem;
        padding: 6px 15px;
        margin-top: 12px;
    }
    .project_title{
        font-size: 1.4rem;
    }
    .project_about{
        font-size: 0.8rem;
    }
    .slideshow-item-text{
        max-width: 32%;
        padding: 15px 15px 14px 20px;
    }
}

@media screen and (max-width: 1025px) {
    .slideshow-item-text p{
        display: none;
    }

    .slideshow-item img{
        width:100%;
        height:100%;
        object-fit: cover;
    }

    .slideshow{
        margin-top: 40px;
        width:100%;
        height: 50vh;
        position: relative;  
    }

    .slideshow-item-text{
        max-width: 42%;
        padding: 7px 20px 5px 15px;
    }

    .title-text{
        top: 25vh;
    }
}

@media screen and (max-width: 980px) {
    .title-name{
        font-size: 2.6rem;
        letter-spacing: 5px;
    }

    .profession{
        font-size: 1.2rem;
        letter-spacing: 1.2px;
    }

    .main_message{
        font-size: 2.5rem!important;
    }

    .error_message{
        font-size: 0.9rem!important;
    }

    .project_link{
        font-size: 0.9rem;
        padding: 5px 30px;
        margin-top: 10px;
    }

    .slideshow-item-text{
        display: none;
    }

    .title-text{
        top: 20vh;
        padding: 15px 20px 20px 50px;
    }
}

@media screen and (max-width: 650px) {

    .title-name{
        font-size: 3rem;
        letter-spacing: 5px;
        font-weight: 400;
        line-height: 1;
    }

    .profession{
        font-size: 1.4rem;
        letter-spacing: 1.2px;
        line-height: 1.3;
    }

    .project_link{
        display: block;
        margin-left: auto;
        margin-right: auto;
        max-width:200px;
        font-size: 0.9rem;
        padding: 5px 30px;
        margin-top: 15px;
    }

    .title-text{
        width: 100%;
        padding: 45px 20px;
    }
}

@media screen and (max-width: 350px) {

    .title-text{
        top: 13vh;
        padding: 20px 20px;
    }
}

.cont_left{
    width: 75%;
    background: rgb(61,90,128);
    background: linear-gradient(90deg, rgba(61,90,128,1) 0%, rgba(41,50,65,1) 100%); 
    background: -moz-linear-gradient(90deg, rgba(61,90,128,1) 0%, rgba(41,50,65,1) 100%);
    background: -webkit-linear-gradient(90deg, rgba(61,90,128,1) 0%, rgba(41,50,65,1) 100%);
    padding-top: 1.8rem;
    padding-right: 20px;
    padding-left: 20px;
    padding-bottom: 20px;
    color:#fff;
}


.cont_left .matter{
    text-align: justify;
}

/* possibilities  section styling */

.about .about-content .right{
    width: 65%;
}

.possibilities {
    color:#fff;
    background: url("../images/main-3.png");
    background-size: cover;
    padding-top:0;
    padding-bottom: 10px;
}

/* skills section styling */

.skills {
    padding-top:0;
    padding-bottom: 0;
}

.skills .skills-content .column{
    width: calc(50% - 30px);
}

.skills .skills-content .left p{
    text-align: justify;
    -ms-text-justify: inter-character;
        text-justify: inter-character;
}
.resume_link{
    display: inline-block;
    background: #EE6C4D;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 500;
    padding: 8px 50px;
    margin-top: 35px;
    margin-bottom: 30px;
    -webkit-border-radius: 6px;
   -moz-border-radius: 6px;
    -ms-border-radius: 6px;
     -o-border-radius: 6px;
        border-radius: 6px;
    border: 2px solid #EE6C4D;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
      -ms-transition: all 0.3s ease;
        -o-transition: all 0.3s ease;
            transition: all 0.3s ease;
}

.resume_link:hover{
    color: #EE6C4D;
    background: none;
}
.skills .skills-content .right .bars{
    margin-bottom: 15px;
}
.skills .skills-content .right .info{
    display: flex;
    margin-bottom: 5px;
    align-items: center;
    justify-content: space-between;
}
.skills .skills-content .right span{
    font-weight: 500;
    font-size: 1.1rem;
}
.skills .skills-content .right .line{
    height: 5px;
    width: 100%;
    background: lightgrey;
    position: relative;
}
.skills .skills-content .right .line::before{
    content: "";
    position: absolute;
    height: 100%;
    left: 0;
    top: 0;
    background: #EE6C4D;
}
.skills-content .right .html::before{
    width: 97%;
}
.skills-content .right .css::before{
    width: 85%;
}
.skills-content .right .js::before{
    width: 100%;
}
.skills-content .right .php::before{
    width: 58%;
}
.skills-content .right .mysql::before{
    width: 85%;
}

/* contact section styling */

#contact{
    background: #f5f5f5; 
    padding-top: 0;
    padding-bottom: 30px;
}

.contact .contact-content .column{
    width: calc(50% - 30px);
}

.row {
    padding: 12px 20px 5px 0px;
}

.contact .contact-content .info .head{
    font-weight: 500;
}
.contact .right form .fields{
    display: flex;
}
.contact .right form .field,
.contact .right form .fields .field{
    height: 45px;
    width: 100%;
    margin-bottom: 15px;
}
.contact .right form .textarea{
    height: 80px;
    width: 100%;
}
.contact .right form .name{
    margin-right: 10px;
}
.contact .right form .field input,
.contact .right form .textarea textarea{
    height: 100%;
    width: 100%;
    border: 1px solid lightgrey;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
      -ms-border-radius: 6px;
        -o-border-radius: 6px;
            border-radius: 6px;
    outline: none;
    padding: 0 15px;
    font-size: 1rem;
    font-family: 'Fira Sans', sans-serif;
    -webkit-transition: all 0.3s ease;
     -moz-transition: all 0.3s ease;
      -ms-transition: all 0.3s ease;
       -o-transition: all 0.3s ease;
         transition: all 0.3s ease;
}
.contact .right form .field input:focus,
.contact .right form .textarea textarea:focus{
    border-color: #b3b3b3;
}
.contact .right form .textarea textarea{
  padding-top: 10px;
  resize: none;
}
.contact .right form .button-area{
  display: flex;
  align-items: center;
}
.right form .button-area button{
  color: #fff;
  display: block;
  width: 9rem;
  height: 3rem;
  outline: none;
  font-size: 1rem;
  font-weight: 500;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
    -ms-border-radius: 6px;
      -o-border-radius: 6px;
          border-radius: 6px;
  cursor: pointer;
  flex-wrap: nowrap;
  background: #EE6C4D;
  border: 2px solid #EE6C4D;

  -webkit-transition: all 0.3s ease;
   -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
     -o-transition: all 0.3s ease;
       transition: all 0.3s ease;
}
.right form .button-area button:hover{
  color: #EE6C4D;
  background: none;
}



/* responsive media query start */
@media (max-width: 1104px) {
    .about .about-content .left img{
        height: 350px;
        width: 350px;
    }
}

@media (max-width: 991px) {
    .max-width{
        padding: 0 50px;
    }
}
@media (max-width: 800px){
    .menu-btn{
        display: block;
        z-index: 999;
    }
    .menu-btn i.active:before{
        content: "\f00d";
    }
    .menu{
        position: fixed;
        height: 100vh;
        width: 100%;
        left: -100%;
        top: 0;
        background: #111;
        text-align: center;
        padding-top: 80px;
        -webkit-transition: all 0.3s ease;
         -moz-transition: all 0.3s ease;
          -ms-transition: all 0.3s ease;
            -o-transition: all 0.3s ease;
              transition: all 0.3s ease;
    }
    .menu.active{
        left: 0;
    }
    .menu li{
        display: block;
    }
    .menu li a{
        display: inline-block;
        margin: 20px 0;
        font-size: 25px;
    }
    .cont_left{
        width: 100%;
    }

    .skills .skills-content .column,
    .contact .contact-content .column{
        width: 100%;
        margin-bottom: 15px;
    }
}

@media (max-width: 690px) {
    .max-width{
        padding: 0 40px;
    }
    .possibilities  .serv-content .card{
        width: 100%;
    }
}

@media (max-width: 500px) {

    .max-width{
        padding: 0 25px;
    }

    .contact .right form .fields{
        flex-direction: column;
    }
    .contact .right form .name,
    .contact .right form .email{
        margin: 0;
    }
    .right form .error-box{
       width: 150px;
    }
    .scroll-up-btn{
        right: 15px;
        bottom: 15px;
        height: 38px;
        width: 35px;
        font-size: 23px;
        line-height: 38px;
    }
}

@media (max-width: 435px) {
    .max-width{
        padding: 0 20px;
    }

    .cont_left{
        background: transparent;
        padding-top: 10px;
        padding-right: 0;
        padding-left: 0;
        padding-bottom: 20px;
        color:#fff;
    }

    .possibilities {
    background: rgb(61,90,128);
    background: linear-gradient(90deg, rgba(61,90,128,1) 0%, rgba(41,50,65,1) 100%); 
    background: -moz-linear-gradient(90deg, rgba(61,90,128,1) 0%, rgba(41,50,65,1) 100%);
    background: -webkit-linear-gradient(90deg, rgba(61,90,128,1) 0%, rgba(41,50,65,1) 100%);
    }

    #serv-title {
        color: #fff;
    }
}

@media screen and (min-width: 862px) {

    .paragraph {
        font-size: 1.05rem;  
    }

    .possibilities {
        padding-top:0rem;
        padding-bottom: 20px;
    }

    .title {
        margin-top: 0.3rem;
        padding-top: 0;
        font-size: 3rem;
        margin-bottom: 0.9rem;
        letter-spacing: 0.04rem;
    }

    .skills {
        padding-top: 20px;
        padding-bottom: 30px;
    }

    .row {
        padding: 15px 30px 7px 0;
    }

    .skills .skills-content .left a {
        font-size: 1.2rem;
    }

    .right form .button-area button{
        width: 9rem;
        height: 3rem;
        font-size: 1.2rem;
    }

    #container {
        margin-top: 40px; 
        padding: 0;
        margin-bottom: 2.5rem;
        -webkit-box-shadow:0px 0px 6px #c6c6c6;
          -moz-box-shadow:0px 0px 6px #c6c6c6;
            box-shadow:0px 0px 6px #c6c6c6;

            filter:progid:DXImageTransform.Microsoft.dropshadow(
                OffX=0px, OffY=0px, Color='#c6c6c6', Positive='false'
            ); /* IE 5.5 */ 
            border-collapse: separate; /* Required by IE 9 */
    }

    .cont_left{
        padding-top: 2rem;
    }

    .text {
        font-size: 1.55rem;
    }
    .text_b{
        font-size: 1.4rem;
    }

    .text, .text_b{
        font-weight: 600;
    }

    .lower_m{
        margin-bottom: 20px;
    }
    .lower_h{
        margin-top: 8px;
        margin-bottom: 8px;
    }

    .skills .skills-content .right span{
        font-weight: 500;
        font-size: 1.3rem;
    }
}

@media screen and (max-width: 600px) {

    .link-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        max-width: 280px;
        margin: auto;
        padding: 5px;
    }
}

/* Image Slider */

.bg{
    max-width: 2200px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    height: 100%;
    margin-top: 10px;
    display: flex;
    background: #000;
    overflow: hidden;
}

.slideshow-item{
    width:inherit;
    height: inherit;
    position: absolute;
    opacity: 0;
    -webkit-animation-name: cycleimages;
    -moz-animation-name: cycleimages;
    -ms-animation-name: cycleimages;
    animation-name: cycleImages;

    -webkit-animation-duration: 70s;
    -moz-animation-duration: 70s;
    -ms-animation-duration: 70s;
    animation-duration: 70s;

    -webkit-animation-timing-function: ease-in-out;
    -moz-animation-timing-function: ease-in-out;
    -ms-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;

    -webkit-animation-iteration-count: infinite;
    -moz-animation-iteration-count: infinite;
    -ms-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
}

@media screen and (min-width: 1025px) {
    .slideshow-item img{
        width:100%;
        height:100%;
        object-fit: cover;
        -webkit-animation-name:  zoom;
         -moz-animation-name:  zoom;
          -ms-animation-name:  zoom;
            animation-name:  zoom;

        -webkit-animation-duration: 31s;
         -moz-animation-duration: 31s;
          -ms-animation-duration: 31s;
            animation-duration: 31s;

        -webkit-animation-timing-function: linear;
         -moz-animation-timing-function: linear;
          -ms-animation-timing-function: linear;
            animation-timing-function: linear;

        -webkit-animation-iteration-count: infinite;
         -moz-animation-iteration-count: infinite;
          -ms-animation-iteration-count: infinite;
            animation-iteration-count: infinite;

        -webkit-animation-direction: alternate;
         -moz-animation-direction: alternate;
          -ms-animation-direction: alternate;
            animation-direction: alternate;
    }

    .slideshow{
        width: 100%;
        height: 100vh;
        position: relative;  
    }
}


.slideshow-item:nth-child(1),
.slideshow-item:nth-child(1) img{
    -webkit-animation-delay: 0s;
     -moz-animation-delay: 0s;
        -ms-animation-delay: 0s;
          animation-delay: 0s;
}

.slideshow-item:nth-child(2),
.slideshow-item:nth-child(2) img{
    -webkit-animation-delay: 10s;
     -moz-animation-delay: 10s;
      -ms-animation-delay: 10s;
        animation-delay: 10s;
}

.slideshow-item:nth-child(3),
.slideshow-item:nth-child(3) img{
    -webkit-animation-delay: 20s;
     -moz-animation-delay: 20s;
      -ms-animation-delay: 20s;
        animation-delay: 20s;
}

.slideshow-item:nth-child(4),
.slideshow-item:nth-child(4) img{
    -webkit-animation-delay: 30s;
    -moz-animation-delay: 30s;
     -ms-animation-delay: 30s;
       animation-delay: 30s;
}

.slideshow-item:nth-child(5),
.slideshow-item:nth-child(5) img{
    -webkit-animation-delay: 40s;
    -moz-animation-delay: 40s;
     -ms-animation-delay: 40s;
       animation-delay: 40s;
}

.slideshow-item:nth-child(6),
.slideshow-item:nth-child(6) img{
    -webkit-animation-delay: 50s;
    -moz-animation-delay: 50s;
     -ms-animation-delay: 50s;
       animation-delay: 50s;
}

.slideshow-item:nth-child(7),
.slideshow-item:nth-child(7) img{
    -webkit-animation-delay: 60s;
    -moz-animation-delay: 60s;
     -ms-animation-delay: 60s;
       animation-delay: 60s;
}


@keyframes cycleImages{
    0% {opacity:1} 
    13.857% {opacity:1} 
    14.286% {opacity:0} 
    99.571% {opacity:0} 
    100% {opacity:1}
}

@-webkit-keyframes cycleImages{
    0% {opacity:1} 
    13.857% {opacity:1} 
    14.286% {opacity:0} 
    99.571% {opacity:0} 
    100% {opacity:1}
}

@keyframes zoom {
    100%{
        -webkit-transform: scale(1.3);
         -moz-transform: scale(1.3);
          -ms-transform: scale(1.3);
           -o-transform: scale(1.3);
             transform: scale(1.3);
    }
}



.container_thx, .container_error {
    max-width: 814px;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 50px;
    overflow: visible;
    color:var(--darkgray);
    line-height: 1.6;
    padding-right: 27px;
    padding-left: 27px;
}

.container_thx{
    margin-top: 80px;
    background-color: #fff;
    padding: 10px 80px 50px 80px;
}

.container_error {
    margin-top: 54px;
    background-color: #fcfcfc;
    padding: 0 80px 50px 80px;
}


@media screen and (max-width: 859px) {

    .container_thx,.container_error {
        max-width: 614px;
        margin-right: auto;
        margin-left: auto;
        margin-bottom: 40px;
        overflow: visible;
        color:var(--darkgray);
        line-height: 1.6;
        padding-right: 27px;
        padding-left: 27px;
    }

    .container_thx{
        margin-top: 80px;
        background-color: #fff;
        padding: 10px 50px 40px 50px;
    }

    .container_error {
        margin-top: 54px;
        background-color: #fcfcfc;
        padding: 0 80px 40px 80px;
    }
    
  }

  
  @media screen and (max-width: 737px) {
    body {
        margin-top: 10vh; 
    }

    .container_error {
        margin-top: -4.9vh;
        background-color: #fcfcfc;
        padding: 0 80px 40px 80px;
    }
  }

  @media screen and (max-width: 650px) {

    .thx_message{
        font-size: 1rem!important;
        text-justify: auto;
    }

    .container_thx,.container_error {
        max-width: 414px;
        margin-top: 80px;
        margin-right: auto;
        margin-left: auto;
        margin-bottom: 35px;
        overflow: visible;
        color:var(--darkgray);
        line-height: 1.6;
        padding-right: 27px;
        padding-left: 27px;
    }

    .container_thx{
        background-color: #fff;
        padding: 10px 50px 40px 50px;
    }

    .container_error {
        margin-top: -4.9vh;
        padding: 0 30px 40px 30px;
    }

    .main_message{
        font-size: 1.8rem!important;
    }

    .error_message{
        font-size: 0.7rem!important;
    }

}


@media screen and (min-width: 420px) {
    .container_thx, .container_error {
        -webkit-box-shadow: 0px 0px 6px #c6c6c6;
          -moz-box-shadow: 0px 0px 6px #c6c6c6;
            box-shadow: 0px 0px 6px #c6c6c6;

            filter:progid:DXImageTransform.Microsoft.dropshadow(
                OffX=0px, OffY=0px, Color='#c6c6c6', Positive='false'
            ); /* IE 5.5 */ 
            border-collapse: separate; /* Required by IE 9 */
    }
}

@media screen and (max-width: 420px) {
    .container_thx{
        padding-right: 16px;
        padding-left: 16px;
    }

    .container_thx {
        max-width: 414px;
        margin-top: 80px;
        margin-right: auto;
        margin-left: auto;
        margin-bottom: 35px;
        overflow: visible;
        color:var(--darkgray);
        line-height: 1.6;
        padding-right: 27px;
        padding-left: 27px;
        background-color: #fff;
        padding: 10px 50px 40px 50px;
    }

    .container_error {
        padding: 0 30px 40px 30px;
    }
}

.center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.thx_message {
    font-size: 1.5rem;
    text-align:center;
    text-justify: inter-character;
    padding-top: 20px;
}

.error_message {
    font-size: 1.1rem;
    text-align:center;
    text-justify: inter-character;
    padding-top: 15px;
}

.main_message {
    margin-top: -15px;
    margin-bottom: -20px;
    text-align:center;
    font-size: 3rem;
    font-weight: 600;
    letter-spacing: 0.08rem;
}


.card-icon{
    max-width: 45%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-bottom: 1.4px solid crimson;
}

.card-error{
    max-width: 65%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

