

/* Start global */

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

html {
    font-size : 10px;
    font-family : 'Roboto', sans-serif;
    color : #eee;
}
body {
    width : 100%;
    height : 100%;
    background: url(../images/sitebg11.jpg) no-repeat center fixed;
    background-size: cover;
   
}

section{
    padding: 6rem 0;
}

a{
    text-decoration : none;
    color : #eee;
}

p{
    font-size: 1.8rem;
    font-weight: 300;
    text-align: justify;
    text-justify: inter-word;
}
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-bottom: 10rem;
}

.section-heading h1{
    font-size : 3.5rem;
    color : rgba(255,255,255,.9);
    text-transform: uppercase;
    font-weight: 300;
    position: relative;
    margin-bottom: 1rem;
}

.section-heading h1::before,
.section-heading h1::after{
    content: '';
    position: absolute;
    bottom: -.5rem;
    left: 50%;
    transform : translateX(-50%);
    background-color: rgba(255, 255, 255, 0.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.6rem;
    font-weight: 300;
}

.has-margin-right{
    margin-right:5rem;
}
/* End Reusable */

/* Start Header */
header{
    width : 100%;
    height : 100vh;
}
.top-nav {
    width : 100%;
    height : 100vh;
    position : fixed;
    top: -100vh;
    z-index:50; 
    background: url(../images/sitebg11.jpg) no-repeat center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    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 : space-evenly;
    align-items:  center;
    flex-direction: column;
}

li {
    margin : 0 2rem;

}

.nav-link {
    font-family : 'Bebas Neue', sans-serif;
    font-size: 5rem;
    padding : 1rem;
}
.nav-link:hover,
.nav-link:focus{
    /* background: linear-gradient(to top, #ffe838, #fd57bf); */
    background : linear-gradient(to right, #c0e3dd, #f9b9b7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent
}

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

.menu-toggler{
    position : fixed;
    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, #c0e3dd, #f9b9b7);
    width : 100%;
    height: 4px;
    border-radius: .8rem; 
}

.bar.half{
    width: 50%;
}

.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 : 12rem;
    font-weight: 20;
    opacity: 1;
    font-family: 'Bebas Neue', cursive;
    background : linear-gradient(to right, #f9b9b7, #c0e3dd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding : 1rem;
    user-select : none;

}

.landing-text h6 {
    font-size : 2rem;
    font-weight: 600;
    opacity:1;
    color: white;
}
/* End Header */


/* Start About  */
.about .container {
    display : flex;
    align-items: center;
    justify-content: center;
}

.about .nav-list {
    list-style : none;
    width: 100%;
    height: 100%;
    display :flex;
    justify-content : space-evenly;
    align-items:  center;
    flex-direction: column;
}
.about-heading {
    text-align : center;
    text-transform: uppercase;
    align-items:  center;
    line-height: 0;
    margin-bottom: 6rem;
}
.about-heading h1{
    font-size : 10rem;
    opacity : .3;

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

.profile-img {
    flex : 1;
    margin-right: 5rem; 
    opacity: 1;
}

.about-details{
    flex : 1;

}
.about-details p{
    margin-top: 10rem;
    font-size: 2.2rem;

}
.social-media {
    margin-top: 5rem;
}
.social-media i {
    font-size : 5rem;
    transition : color 650ms;
    padding-right: 3rem;
    padding-left: 3rem;
}

.fa-facebook-square:hover{
    color : #4267b2;
}

.fa-twitter-square:hover{
    color : #38a1f3;
}
.fa-linkedin:hover{
    color : #0072b1;
}
/* End About */

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

.skill{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    background-color: #c0e3ddc5;
    border-radius: 8px;
    border : 3px solid #eee;
    transition: 0.5s ease;
    cursor: pointer;
}
.skill:hover{
    transform: scale(1.15);
    box-shadow: 5px 5px 15px rgba(0,0,0,0.6);
}

.skill h1{
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 2rem -2px 2rem 0;
}

.icon-container{
    width : 10rem;
    height: 10rem;
    border : 3px solid #eee;
    background-color: #f9b9b7;
    margin-bottom: 2rem;
    margin-top: 2rem;
    display: flex; 
    transform : rotate(45deg); 
} 


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

/* Start Portofolio */
.portfolio-item{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5rem;
}
.portfolio-item:last-child{
    margin-bottom: 0;
}

.portfolio-img{
    width: 50rem;
    flex: 1;
}

.portfolio-img h1{
    font-family: 'Bebas Neue', cursive;
    font-size: 5rem;
    text-transform: uppercase;
    font-weight: 300;
    margin: 1rem 0;
    justify-content: center;
    display: flex;
    box-sizing: border-box;
    position: absolute;
    transform: translate(0,-50%);
}
.portfolio-img h1:nth-child(1){
    color: transparent;
    -webkit-text-stroke: 1px #c0e3dd;
}
.portfolio-img h1:nth-child(2){
    color: #f9b9b7;
    animation: animate 8s ease-in-out infinite;
}
@keyframes animate{
    0%,100%{
        /* clip-path: polygon(0% 45%, 15% 44%, 32% 50%, 54% 60%, 70% 61%, 84% 59%, 100% 52%, 100% 100%, 0 100%); */
        clip-path: polygon(0 0, 21% 8%, 35% 18%, 48% 38%, 61% 49%, 83% 54%, 92% 54%, 100% 52%, 100% 100%, 0 100%);
    }
    50%{
        /* clip-path: polygon(0 60%, 16% 65%, 34% 66%, 51% 62%, 67% 50%, 84% 45%, 100% 46%, 100% 100%, 0% 100%); */
        clip-path: polygon(0 55%, 14% 62%, 30% 62%, 44% 54%, 54% 46%, 66% 22%, 79% 8%, 100% 1%, 100% 100%, 0 100%);
    }
    
}

.portfolio-description{
    flex: 1;
}

.portfolio-description h1{
    font-size: 3rem;
    text-transform: uppercase;
    font-weight: 300;
    margin: 1rem 0;
}

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

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

.portfolio-description .cta:hover{
    color: #2f67cd;
}

/* End Portfolio */

/* Start TimeLine */

.timeline ul{
    border-left: 4px solid ;
    border-radius: .8rem;
    background-color: rgba(0,0,0,0.05);
    margin: 0 auto;
    position: relative;
    padding: 5rem;
    list-style: none;
    text-align: left;
    width: 70%;
}

.timemine h1{
    font-size: 2rem;
    text-transform: uppercase;
    font-weight: 300;
    margin-bottom: 1rem;
    opacity: .3;
}

.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: blovk;
    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: '';
    border-radius: 100%;
    left: -7.9rem;
    height: 1.5rem;
    width: 1.5rem;
    background-color: white;
    animation: pulse2 3s infinite;

}
/* End TimeLine */

/* Strat Contact  */
.contact{
    background-color: #202020;
}

form{
    width: 70%;
    margin: 0 auto;
}
form label{
    font-size: 1.5rem;
}
input, 
select,
textarea{
    width: 100%;
    padding: 1rem;
    margin-top: 5px;
    border: none;
    outline-color: #fd57bf;
}
input[type="Submit"]{
    width: initial;
    background-color: #fd57bf;
    padding: 1rem 2rem;
    border-radius: .8rem;
    cursor: pointer;
    transition: background-color 650ms;
}
input[type="Submit"]:hover{
    color: #221e3f;
    background-color: #ffe838;
}
/* end Contact */

/* Start Footer */
.copyright{
    width: 100%;
    text-align: center;
    background-color: #202020;
    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: #16162d;
    font-size:2rem;
    margin: auto;
}

.copyright p{
    font-size: 1.4rem;
    text-align: center;
}
/* End footer */

/* Start Animation */
@keyframes pulse{
    0%{
        box-shadow: 0 0 0 0 rgba(253,87,191, 0.99)
    }
    70%{
        box-shadow: 0 0 0 2rem rgba(253,87,191, 0)
    }
    100%{
        box-shadow: 0 0 0 0 rgba(253,87,191, 0)
    }
}

@keyframes pulse2{
    0%{
        box-shadow: 0 0 0 0 rgba(255,255,255, 0.99)
    }
    70%{
        box-shadow: 0 0 0 2rem rgba(253,87,191, 0)
    }
    100%{
        box-shadow: 0 0 0 0 rgba(253,87,191, 0)
    }
}


    /* End Animation */

    /* Media queries */
@media screen and (max-width:768px){
    
    /* Start Global */
    body {
        background: url(../images/sitebg11.jpg) no-repeat center fixed;
        background-size: cover;
       
    }

    .landing-text h1 {
        font-size: 10rem;
    }
    .landing-text h6 {
        font-size: 1.5rem;
    }
    .nav-list{
        flex-direction: column;
    }
    li{
       margin: 2rem 0;
   }
   .nav-link{
       font-size: 4.5rem;
   }
   /* End Global */

   /* Start Reusable*/
   .section-heading{
       font-size: 3rem;
   }

   .container{
       flex-direction: column;
       margin: auto;
   }
   .has-margin-right{
        margin-right:0;
    }
   /* End Reusable*/
   /* Start About */

   .about-heading h1{
       font-size: 8rem;
   }

   .about-details .nav-list{
       flex-direction: initial;
   }
   .about-details li{
       margin: 0 2rem;
   }
   .profile-img{
       margin: auto;
   }

   /* End About */


   /* Start Services */
   .icon-container {
       width: 7rem;
       height: 7rem;
    }
    .icon-container i {
        font-size: 4rem;
    }
    .my-skills{
        margin-top: 10rem;
        display : grid;
        grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
        grid-gap: 2.5rem;
        text-align: center;
    }
   /* End Services */

   /* Start Portfolio */
   .portfolio-img{
       margin: auto;
   }
   .portfolio-img h1{
        font-family: 'Bebas Neue', cursive;
        font-size: 5rem;
        text-transform: uppercase;
        font-weight: 300;
        margin: auto;
        justify-content: center;
        display: flex;
        box-sizing: border-box;
        position: relative;
        transform: translate(0,-50%);
    }
    .portfolio-img h1:nth-child(1){
        color: transparent;
        -webkit-text-stroke: 1px #c0e3dd;
    }
    .portfolio-img h1:nth-child(2){
        display:none;
    }
   /* End Portfolio */

   /* Start Timeline */
    .timeline ul{
        margin: 0 0 0 auto;

    }

    .timeline .date::before{
        left: -20rem;
    }
    .timeline .date::after{
        left: -5.9rem;
    }
    
   /* End Timeline */
}

@media screen and (max-width:600px){
    
    /* Start Global */
    .landing-text h1 {
        font-size: 8rem;
    }
    .landing-text h6 {
        font-size: 1.5rem;
    }
    .nav-list{
        flex-direction: column;
    }
    li{
       margin: 2rem 0;
   }
   .nav-link{
       font-size: 4.5rem;
   }

   .has-margin-right{
         margin-right:auto;
    }
   /* End Global */

   /* Start Reusable*/
   .section-heading{
       font-size: 2.5rem;
   }

   .container{
       flex-direction: column;
   }
    .has-margin-right{
        margin-right:auto;
    }
   /* End Reusable*/
   /* Start About */

   .about-heading h1{
       font-size: 6rem;
   }

   .about-details .nav-list{
       flex-direction: initial;
   }
   .about-details li{
       margin: 0 2rem;
   }

   /* End About */


   /* Start Services */
   .icon-container {
       width: 7rem;
       height: 7rem;
    }
    .icon-container i {
        font-size: 4rem;
    }
    .my-skills{
        margin-top: 10rem;
        display : grid;
        grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
        grid-gap: 2.5rem;
        text-align: center;
    }
   /* End Services */

   /* Start Portfolio */
   .portfolio-item{
       flex-direction: column;
   }
   .portfolio-img h1{
        font-size: 5rem;
        font-weight: 300;
        margin: auto;
    }

    .portfolio-img{
        width: 90%;
        order:1;
    }
    .portfolio-description{
       order: 2;
    }
    .portfolio-img h1:nth-child(2){
        display:none;
    }
    .portfolio-item{
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 5rem;
    }
    .portfolio-item:last-child{
        margin-bottom: 0;
    }

    .portfolio-img h1:nth-child(1){
        color: transparent;
        -webkit-text-stroke: 1px #c0e3dd;
    }

    .portfolio-description h1{
        font-size: 3rem;
        text-transform: uppercase;
        font-weight: 300;
        margin: auto;
    }

    .portfolio-description h6{
        margin: auto;
    }

    .portfolio-description .cta{
        display: flex;
    }

    .portfolio-description p:nth-child(2){
        margin: 0 0 10rem 0;
    }


   /* End Portfolio */

   /* Start Timeline */
    .timeline ul{
        margin: 0 0 0 auto;

    }
    .timeline .date::before{
        left: -20rem;
    }
    .timeline .date::after{
        left: -5.9rem;
    }
    
   /* End Timeline */
}

@media screen and (max-width:400px){
    .menu-toggler{
        top : 2rem;
        right: 10rem;
    }
    .nav-list i{
        font-size: 3rem;
    }
    .has-margin-right{
        margin-right: auto;
    }
    .portfolio-item {
        margin: auto;
        margin-bottom: 1rem;
        margin-top: 1rem;
        /* display: flex;
        align-items: center;
        justify-content: center; */
    }
    .portfolio-img h1{
        font-size: 5rem;
        font-weight: 300;
        margin: 0 0 0 0;
        position: absolute;
    }

    .portfolio-img{
        width: 90%;
        flex: 1;
    }
    .portfolio-img h1{
        margin: 0;
        font-size: 4rem;
    }
    .portfolio-description h1{
        margin: 4rem 0 0 0;
        font-size: 2rem;
    }

    .timeline ul{
        margin: auto;
        padding-right:0;
        padding-left: 1rem;

    }
    .timeline .date::before{
        left: -10rem;
        transform: rotate(-90deg);
    }
    .timeline .date::after{
        left: -1.9rem;
    }
}