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

html{
    font-size: 10px;
    font-family: 'Times', sans-serif;
    color: #eee;
}

body{
    width: 100%;
    height: 100%;
    /* background: url("b.jpg") no-repeat center fixed; */
    background: #000;
    background-size: cover;
}

#particles-js{
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
    top: 0px;
    left: 0px;
    /* background-color: #b61924;
    background-image: url(''); */
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
}

section{
    padding: 6rem 0;
}

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-bottom: 5rem;
}

.section-heading h1{
    font-size: 50px;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    font-weight: 900;
    position: relative;
    margin-bottom: 1rem;
}

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

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

.section-heading h1:after{
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 100%;
    bottom: -1rem;
}

.section-heading h6{
    font-size: 2rem;
    font-style: italic;
    font-weight: 300;
    color: rgba(255,255,255,0.9);
}

.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: rgba(33,235,176,0.15); */
    background: rgba(0,0,0,.8);
    /* background: linear-gradient(to top, #fff, #40B1EC); */
    /* background-color: #40B1EC; */
    /* #16162d */
    font-style: oblique;
    font-weight: 600;
    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;
}

li{
    margin: 0 2rem;
}

.nav-link{
    font-family: 'Times', sans-serif;
    font-size: 3rem;
    padding: 1rem;
}

.nav-link:hover,
.nav-link:focus{
    /* background: linear-gradient(to top, #ffe838, #fd57bf); */
    background: linear-gradient(to top, #21ebb0, #c9f6ff);
    /* background: linear-gradient(90deg, rgba(2,0,36,1) 10%, rgba(9,9,121,1) 47%, rgba(0,212,255,1) 100%); */
    background-clip: text;
    -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, #ffe838, #fd57bf); */
    background: linear-gradient(to top, #21ebb0, #c9f6ff);
    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-family: 'Times', sans-serif;
    /* background: linear-gradient(to top, #ffe838, #fd57bf); */
    /* background: linear-gradient(90deg, rgba(2,0,36,1) 10%, rgba(9,9,121,1) 47%, rgba(0,212,255,1) 100%); */
    background: linear-gradient(to top, #21ebb0, #c9f6ff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 1rem;
    user-select: none;
}

.landing-text h6{
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 0.6rem;
    padding-bottom: 1%;
    /* color: #38a1f3; */
    color: #c9f6ff;
    text-transform: uppercase;
    /* color: #eee; */
    /* color: #ffe838; */
    /* opacity: 0.8; */
    /* color: linear-gradient(to top, #ffe838, #fd57bf); */
}
/* end header */

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

.about .about-heading{
    text-align: center;
    text-transform: uppercase;
    line-height: 0;
    margin-bottom: 6rem;
}

.about .about-heading h1{
    font-size: 60px;
    opacity: 0.5;
}

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

.about .about-details h5{
    font-size: 2rem;
    text-align: center;
    font-style: italic;
    font-weight: 300
}

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

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

.about .about-details p{
    font-size: 2rem;
    font-weight: 500;
    text-align: center;
}

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

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

.fa-github:hover{
    color: #F1502F;
}

.fa-wordpress-simple:hover{
    color: #21759b;
}

.fa-linkedin:hover{
    color: #0a66c2;
}

.fa-code:hover{
    color: #003E54;
}

.fa-youtube-square:hover{
    color: #c4302b;
}

.fa-file-pdf:hover {
    color: rgb(104, 247, 104);
}
/* end about */

/* start services */

/* #services{
    margin-top: 50px;
    background-color: #fff;
    height: 1000px;
}

#services .container .section-heading h1{
    color: #000;
}

#services .container .section-heading h6{
    color: #000;
} */

/* .middle{ */
    /* position: absolute; */
    /* top: 50%;
    left: 50%; */
    /* transform: translate(-50%, -50%); */
/* }  */

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

/* .skill:hover > .front{
    transform: perspective(600px) rotateY(-180deg);
}

.skill:hover > .back{
    transform: perspective(600px) rotateY(0deg);
}

.front, .back{
    width: 100%;
    height: 100%;
    /* overflow: hidden; */
    /* backface-visibility: hidden; */
    /* position: absolute; */
    /* transition: transform .6s linear; */


/* .front{
    transform: perspective(600px) rotateY(0deg);
}

.back{
    transform: perspective(600px) rotateY(180deg);
    color: #000;
    position: relative;
    bottom: 50%;
} */ 

/* .back-content{
    width: 100%;
} */

.skill{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    /* border: 2px solid #fff; */
    /* background-color: white; */
    /* color: #000; */
}

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

.skill p{
    font-size: 2rem;
    font-weight: 500;
}

.icon-container{
    width: 10rem;
    height: 10rem;
    /* border: 3px solid #ffe838; */
    /* background-color: #fd57bf; */
    border: 3px solid #fff;
    background-color: transparent;
    margin-bottom: 2rem;
    margin-left: 0;
    display: flex;
    padding: 2rem;
    transform: rotate(45deg);
}

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

.icon-container:hover{
    background: #fff;
    cursor: pointer;
}

.icon-container:hover i{
    color: #000;
}
/* end services */

/* start portfolio */
.portfolio-item{
    display: flex;
    align-items: center;
    justify-content: center;
    /* margin-bottom: 8rem; */
    margin: 8rem 15%;
}

#extra{
    font-size: 1.5rem;
    display: inline-block;
    padding-left: 2%;
}

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

.profile-img{
    width: 50rem;
    flex: 1;
    /* height: 50rem; */
}

.portfolio-description{
    /* flex: 0.1; */
    width: -webkit-fill-available;
}

.portfolio-description h1{
    font-size: 2rem;
    font-weight: 300;
    margin: 1rem 0;
    font-style: italic;
}

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

.portfolio-description p{
    font-size: 2rem;
    font-weight: 300;
}

.portfolio-description .cta{
    /* display: inline-block; */
    display: block;
    margin-top: 2.5rem;
    font-size: 1.7rem;
    /* text-transform: uppercase; */
    /* color: #3883ff; */
    /* color: #fff; */
    padding: 2%;
    background-color: transparent;
    color: white;
    border: 2px solid white;
    /* font-style: oblique; */
    /* text-decoration: underline; */
}

.portfolio-description .cta:hover{
    /* color: #2f67cd; */
    /* background: #21ebb0;  */
    /* color: #000; */
    color: black;
    /* border-radius: 5%; */
    background: #21ebb0; 
    border: 2px solid #21ebb0; 
    transition: color 650ms;
}
/* end portfolio */

/* start timeline */
.timeline ul{
    border-left: 4px solid #21ebb0;
    /* border-radius: 0; */
    /* background: rgba(0,0,0,0.05); */
    /* margin: 0 auto; */
    margin-left: 20%;
    /* padding-left: 5%; */
    padding: 0;
    /* position: relative; */
    /* padding: 5rem; */
    list-style: none;
    /* text-align: left; */
    /* width: 70%; */
    /* float: right; */
}

.checkout {
    text-transform: capitalize;
    opacity: none;
}

.checkout a {
    color: #21ebb0;
}

.timeline h1{
    font-size: 2rem;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 1rem;
    opacity: 0.7;
    font-style: oblique;
}

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

.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: -27%;
    text-align: right;
    min-width: 12rem;
    font-size: 2rem;
}


.timeline .date p{
    font-size: 2rem;
    font-weight: 300;
}

.timeline .date h2{
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1rem;
    opacity: 0.7;
    font-style: italic;
}


.timeline .date::after{
    content: '';
    box-shadow: 0 0 0 4px #fff;
    border-radius: 100%;
    left: -3.2%;
    height: 1.5rem;
    width: 1.5rem;
    /* background-color: #313534; */
    background-color: rgba(201,246,255,0.5);
}
/* end timeline */

/* start contact */
/* .contact{
    /* background-color: #221e3f; */
} */

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

#form label{
    font-size: 1.5rem;
}

#form .label-head{
    padding-bottom: 10rem;
    padding-top: 10rem;
}

#form select{
    height: 3rem;
}

#form input, select, textarea{
    width: 100%;
    padding: 1rem;
    margin-top: 10px;
    margin-bottom: 20px;
    border: none;
    outline-color: #21ebb0;
}

/* .button{ */
#form input[type="submit"]{
    width: initial;
    background-color: #21ebb0;
    color: #000;
    padding: 1rem 2rem;
    border-radius: 0.8rem;
    cursor: pointer;
    transition: background-color 650ms;
}

#form input[type="submit"]:hover{
    color: #000;
    background-color: #F1502F;
    /* text-transform: uppercase; */
}
/* end contact */


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

.up{
    position: fixed;
    /* margin-bottom: 10px; */
    bottom: 15px;
    width: 5rem;
    height: 5rem;
    background-color: #eee;
    /* top: -2.5rem; */
    right: 5rem;
    border-radius: 100%;
    display: flex;
    /* animation: pulse 2s infinite; */
    cursor: pointer;
}

.up:hover{
    background-color: #21ebb0;
    transition:  650ms;
    width: 5.5rem;
    height: 5.5rem;
}

/* .up:hover i{
    color: #fff;
    transition: color 400ms;
}  */

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

.copyright p{
    font-size: 1.5rem;
    font-weight: 600;
}
/* end footer  */

/* start animation */
@keyframes pulse{
    0%{box-shadow: 0 0 0 rgba(253,87,191, 0.99);}
    70%{box-shadow: 0 0 5rem rgba(253,87,191, 0);}
    100%{box-shadow: 0 0 0 rgba(253,87,191, 0);}
}
/* end animation */

/* media queries */
@media screen and (max-width: 768px){
    body{
        /*background: url("b.jpg") no-repeat center fixed;*/
        background: #000;
        background-size: cover;
    }

    .menu-toggler{
        right: 7rem;
        position: fixed;
    }

    .landing-text h1{
        /* font-size: 10rem; */
        width: 100%;
    }

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

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

    li{
        margin: 2rem 0;
    }

    .nav-link{
        font-size: 4.5rem;
    }

    .about{
        width: 100%;
    }

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

    .section{
        width: 100%;
    }

    .section-heading h1{
        font-size: 3rem;
    }

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

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

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

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

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

    .timeline .date{
        margin-left: 0;
    }

    .timeline .data-date::before{
        /* left: -20rem; */
        left: auto;
    }

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

    .timeline .data-date::after{
        left: auto; 
        /* -5.9rem */
    }

    .up{
        right: 7rem;
    }
}

    @media screen and (max-width: 438px){
        .menu-toggler{
            top: 2rem;
            right: 7rem;
        }
        
        .landing-text{
            font-size: 8rem;
        }

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

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

        .nav-link{
            font-size: 3.5rem;
        }

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

        .profile-img{
            margin: 0 0 7rem 0;
        }

        .portfolio-item{
            flex-direction: column;
        }

        .portfolio-img{
            margin: 0 0 2rem 0;

        }

        .portfolio-description{
            margin: 0;
            order: 2;
        }

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

        .timeline .date{
            margin-left: 0;
        }

        .timeline .date p{
            font-size: 1.5rem;
        }

        .timeline h1{
            font-size:  1.5rem;
        }

        .timeline .data-date::before{
            /* left: -20rem; */
            left: auto;
        }
    
        .timeline .date::before{
            font-size: 1.4rem;
            left: -20rem;
        }

        .timeline .date::after{
            left: -6rem;
        }
    
        .timeline .data-date::after{
            padding-left: 2rem;
            /* -5.9rem */
        }

        #form{
            width: 100%;
        }

        .up{
            right: 7rem;
        }
    }

