/*Start global*/
*{
    margin:0;
    padding:0;
    box-sizing: border-box;
}

html{
    font-size: 55%;
    font-family: 'Roboto', sans-serif;
    color: #f1f0f1;

}

.wrapper.four {
    background-color: hsla(0, 14%, 66%, 0);
    font-size: 2rem;
    font-family: "Courier New", Monospace;
}
.four .type{
    padding: 2rem 1rem;
    width: auto;
    margin: auto;
}
.four h3 {
    width: 20ch;
    border-right: 4px solid rgba(0, 0, 0, 0);
    margin: auto;
    white-space: nowrap;
    overflow: hidden;
    animation-delay: 4s;
    animation: typing 2.0s steps(13, end), blink-caret 0.5s step-end infinite alternate;
}



@-webkit-keyframes typing {
    from {
        width: 0;
    }
}
@-webkit-keyframes blink-caret {
    50% {
        border-color: transparent;
    }
}

.nav-tabs {
    overflow-x: auto;
    overflow-y: hidden;
    display: -webkit-box;
    display: -moz-box;
}

    .nav-tabs > li {
        float: none;
    }
    
body{
    width: 100%;
    height: 100%;
    background: url(" images/sitebg.jpg") no-repeat center fixed;
    background-size: cover;
}

section{
    padding: 6rem -5;
}
a{
    text-decoration: none;
    color: #eee;
}


p{
    font-size: 1.8rem;
    font-weight: 300;
}

img{
    width: 100%;
}

/*End global*/

/*Start reusable*/
.container{
    width:  90%;
    max-width:120rem;
    height: 100%;
    margin: 0 auto;
    position: relative;
}

.section-heading{
    text-align: center;
    margin-top: 10rem;
}

.section-heading h1{
    font-size: 3%;
    color: rgba(255, 255, 255, 0.698);
    text-transform: uppercase;
    font-weight: 700;
    position: relative;
    margin-bottom: 1%;
    letter-spacing: .rem;
    
}

.section-heading h1::before,
.section-heading h1::after{
    content: '';
    position: absolute;
    bottom: -.5rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255,255, 255, .75);
}

.section-heading h1::before{
    width: 10rem;
    height: 3px;
    border-radius: .8rem;;
}

.section-heading h1::after{
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 100%;
    bottom: -1rem;
}
  
.section-heading h6{
    font-size: 1.6%;
    font-weight: 10%;
   
    
}

.has-margin-right{
    margin-right: 5rem;
}

.h99{
    margin-left: 1%;
}


/*End reusable*/

/*Start header*/
header{
    width: 100%;
    height: 100vh;
}

.top-nav{
    width: 100%;
    height: 100vh;
    position: relative;
    top: -100vh;
    z-index: 50;
    background-color: #041d3d;
    opacity: .98;
    border-bottom-right-radius: 100%;
    border-bottom-left-radius: 100%;
    transition: all 650ms cubic-bezier(1,0,0,1);
    

}

.nav-list{
   list-style: none;
   width:100%;
   height:100%;
   display: flex;
   justify-content: center;
   align-items: center; 
   flex-direction: column;
}

li{
    margin: 0 2 rem;
}


.nav-tabs {
    overflow-x: auto;
    overflow-y: hidden;
    display: -webkit-box;
    display: -moz-box;
}

    .nav-tabs > li {
        float: none;
    }


.nav-link{
    font-family: 'The Historia Demo', sans-serif;
    font-size: 3.6rem;
    padding: 2rem;
}


.nav-link:hover, 
.nav-link:focus{
    background: linear-gradient(to top, #ffffff, #00aeff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: underline;
    border-bottom: 2px solid rgb(255, 255, 255); 
    padding: 0px 0px 2% 0px;
}

.top-nav.open{
    top: 0;
    border-radius: initial;

}

.menu-toggler{
    position: absolute;
    top: 5rem;
    right:5rem;
    width:5rem;
    height:4rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1500;
    transition: transform 650ms ease-out;
}

.menu-toggler.open{
    transform: rotate(-45deg);
}

.bar{
    background: linear-gradient(to right, #2b92f3, #f1f0f1);
    width: 100%;
    height:4px;
    border-radius: .8rem;

}

.bar.half{
    width: 50px;
}

.bar.start{
    transform-origin:right;
    transition: transform 650ms cubic-bezier(0.54, -0.81, 0.57, 0.57);
}

.open .bar.start{
    transform: rotate(-450deg) translateX( .8rem);

}

.bar.end{
    align-self: flex-end;
    transform-origin: left;
    transition: transform 650ms cubic-bezier(0.54, -0.81, 0.57, 0.57);
}

.open .bar.end{
    transform: rotate(-450deg) translateX( -.8rem);

}

.landing-text{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    z-index: 1;
}

.landing-text h1{
    font-size: 7rem;
    font-family: 'The Historia Demo', sans-serif;
    background: linear-gradient(to top, #2fc9f0, #fcfafb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 1rem;
    user-select: none;
}

.landing-text h6{
font-size: 3.2rem;
font-weight: 300;

}

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

.about-heading{
    text-align:center;
    text-transform: uppercase;
    line-height: 0;
    margin-bottom: 6rem;
}
.about-heading h1{
    font-size: 5rem;
    opacity: .8;
}

.about-heading h6{
    font-size: 2rem;
    font-weight: 300rem;
}

.profile-img{
    width: 20%;
    float: left
    /* margin-right: 1rem; */
}
.text-img{
    flex: 1;
    padding-left: 5%;
   
    
}


.about-details{
    flex: 1;
    opacity: .89;
}

.social-media{
    margin-top: 5rem;
}

.social-media i{
    font-size: 5rem;
    transition: color 650ms;
}

.fa-facebook-square:hover{
    color: #143d91;
}
.fa-twitter-square:hover{
    color: #143d91;
}
/*End header*/

/*Start about*/
/*End about*/

/*Start services*/
.my-skills{
    margin-top: 10rem;
    display: grid;
    grid-template-columns:  repeat(auto-fit, minmax(25rem, lfr));
    grid-gap: 2.5rem;
    text-align: center;
}

.skill{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.skill h1{
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 22px;
    margin: 2rem -2px 2rem 0;
    opacity: .85;
    
}
.icon-container{
    width: 12rem;
    height:12rem;
    border: 8px solid #f6f7f8;
    background-color:#78b1e7;
    margin-bottom: 3rem;
    display: flex;
    transform: rotate(45deg); 
}

.icon-container i{
    color: #081263;
    font-size: 6rem;
    margin: auto;
    transform: rotate( -45deg);
}
/*End services*/

/*Start portfolio*/

.portfolio-item{
    display: flex;
    align-items: center;
    justify-content: center;
   margin-bottom: 5rem;
}

.portfolio-item:last-child{
    margin-bottom:0;
}

.portfile-img{
width: 40rem;
    flex: 1;
}

.portfolio-description{
padding: 3rem;
}
.portfolio-description h1{
    font-size: 8rem;
    font-weight: 300;
    margin: 1rem 0;
    
}

.portfolio-description h6{
    font-size: 6rem;
    text-transform: uppercase;
    font-weight: 300;
    opacity: 0.8;
}


.portfolio-description .cta{
    display: inline-block;
    margin-top: 2.5rem;
    font-size: 1.5rem;
    text-transform: uppercase;
    color: #3883ff
}

.portfolio-description .cta:hoover{
    color: #94b5f1;
}
/*End services*/

/*Start timeline*/
.timeline ul{
    border-left: 4px solid#f1f1eb;
    border-radius: .8rem;
    background-color: rgba(101, 160, 209, 0.171);
    margin: 0 auto;
    position: relative;
    padding: 5rem;
    list-style: none;
    text-align: left;
    width: 70%;
    
}

.timeline h1{
    font-size: 2rem;
    text-transform: uppercase;
    font-weight: 300;
    margin-bottom: 1rem;
    opacity: .7;

}

.timeline .date{
    border-bottom:1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
    padding-bottom:1rem;
    position: relative;
}

.timeline .date:last-of-type{
    padding-bottom: 0;
    margin-bottom: 0;
    border: none;
}

.timeline .date::before,
.timeline .date::after{
    position: absolute;
    display: block;
    top: 50%;
    transform: translateY(-50%);
}

.timeline .date::before{
    content: attr(data-date);
    left: -21rem;
    text-align: right;
    min-width: 12rem;
    font-size: 1.5rem;
}

.timeline .date::after{
    content: '';
    box-shadow: 0 0 0 4px #57c8fd;
    border-radius: 100%;
    left: -6.2rem;
    height: 1.5rem;
    width: 1.5rem;
    background-color: #313534;
   
}
/*End timeline*/

/*Start contact*/
.contact{
    background-color: #5eb2d32c;
}

form{
    width: 70%;
    margin:0 auto;
}

form label{
    font-size: 1.5rem;
}

input,
select,
textarea{
    width: 100%;
    padding: 1rem;
    margin-bottom: 5px;
    border: none;
    outline-color: #57b2fd;
}

input[type="submit"]{
    width: initial;
    background-color: #02111f;
    color: #eee;
    padding: 1rem 2rem;
    border-radius: .8rem;
    cursor: position;

}

input[type="submit"]:hoover{
    background-color: #38c0ff;
    color: #051453;
}

/*End contact*/

/*Start footer*/
.copyright{
    width: 100%;
    text-align: center;
    background-color: #051453;
    padding: 2rem 0;
    position: relative;
}

.up{
    position: absolute;
    width: 5rem;
    height: 5rem;
    background-color: #eee;
    top: -2.5rem;
    right: 5rem;
    border-radius: 100%;
    display: flex;
    animation: pulse 2s infinite;
    cursor: pointer;
}

.up i{
    color: #051553a6;
    font-size: 2rem;
    margin: auto;
}

.copyright p{
    font-size: 1.4rem;
}

@keyframes pulse{
    0%{
        box-shadow: 0 0 0 0 rgba(9, 52, 122, 0.99);
    }
    70%{
        box-shadow: 0 0 0 2rem rgba(23, 87, 191, 0);
    }
    100%{
        box-shadow: 0 0 0 0 rgba(7, 55, 133, 0);
    }
}
/*End footer*/

/*Start animations*/
/*End animations*/

/*Start media queries*/

@media screen and(max-width: 980px) {
    body{
        background: url(" images/sitebg.jpg") no-repeat center fixed;
        background-size: cover;
    }

    .landing-text h1{
        font-size: 10%;
    }
    .landing-text h6{
        font-size: 1.7rem;
    }
    .nav-list{
        flex-direction: column;
    }
    li{
        margin: 2rem 0;
    }
    .nav-link{
        font-size: 1%;
    }
    .about-heading hi{
        font-size: 1%;
    }

    .section-heading h1{
        font-size: 3%;

    }

    .about-details .nav-list{
        flex-direction: column;
    }

    .about-details li{
        margin: 0 2rem;
    }

    .icon-container{
        width: 7rem;
        height: 7rem;
    }

    .icon-container i{
        font-size: 4rem;
    }

    .timline ul{
        margin: 0 0 0 auto;
    }

    .timeline .data::before{
        left: -20rem;

    }

    .timeline .date::after{
        left: -5.9rem;
    }
  @media screen and(max-width: 600px) {
      .menu-toggler{
          top: 2rem;
          right: 2rem;
      }

      .landing-text h1{
          font-size: 8rem;
      }

      .landing-text h6{
          font-size: 3.5rem;
      }

      .about .container{
          flex-direction: column;
      }

      .profile-img{
          margin: 0rem 0rem 7rem 0rem;
          width: 50%;
          height: auto;
          margin-left:-50%;
      }

      .portfolio-item{
          flex-direction: column;
      }
      
      .portfolio-img{
          margin: 0 0 2rem 0;
          order: 1;
      }

      .portfolio-description{
          margin: 0;
          order: 2;
      }
      .timline p{
          font-size: 1.6rem;

      }
      .timeline .date::before{
          font-size: 1.4rem;

      }

      form{
          width:100%;
      }
.up{
    right: 2rem;
}
    html {
        zoom: .8;
    }


  }  
/*End media queries*/
