*{
    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-color:black; 
}

section{
    padding: 6rem;
}

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

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

img{
    width: 100%;
}



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

.sectionHeading{
    text-align: center; 
    margin-bottom: 10rem;
    
}

.sectionHeading h1{
    font-size: 3.5rem;
    color: white;
    opacity: 0.7;
    text-transform: uppercase;
    font-weight: 300;
    position: relative;
    margin-bottom: 1rem;
    color:#7053b4
}

.sectionHeading h1::before,
.sectionHeading h1::after{
    content:" ";
    position: absolute;
    bottom: -0.5rem;
    left:50%;
    transform: translateX(-50%);
    background-color: white;
    opacity: 0.25;

}

.sectionHeading h1::before{
    width: 10rem;
    height: 3px;
    border-radius: 0.8rem;
}

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

.sectionHeading h6{
    font-size: 1.6rem;
    font-weight: 300;

}

.hasMarginRight{
    margin-right:5rem; 
}

.hasMarginLeft{
    margin-left: 2rem;
}


/*  */

header{
     width:100%;
     height:100vh;
}


.topNav{
    width:100%;
    height: 100vh;
    top:-100vh;
    z-index: 50;
    position: fixed;
    background-color: rgb(1, 1, 17);
    border-bottom-right-radius: 100%;
    border-bottom-left-radius: 100%;
    transition: all 650ms cubic-bezier(1,0,0,1);
}

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

li{
    margin: 0.1rem;
}
.navLink{
    font-family: 'The Historia Demo', sans-serif;
    font-size: 5rem;
    padding: 1rem;
}

.navLink:hover,
.navLink:focus{
    background:linear-gradient(to top, #7053b4,#080106);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.menuToggle{
    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;

}

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

.bar{
    background: linear-gradient(to right,#7053b4,#080106);
    width: 100%;
    height: 4px;
    border-radius: .8rem;
    animation: pulse 3s infinite;
}

.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(-90deg) 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(-90deg) translateX(-.8rem);
}


.landingText{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 100%;
    text-align: center;
    z-index: 1;
    animation: pulse 3s infinite;
}
.text {
    position: fixed;
    top: -150%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    list-style: none;
    border-bottom: 0;
  }
  
  .text.hidden {
    border-bottom: 0px solid #fff;
  }
  
  .text li {
    display: inline-block;
    float: left;
    font-weight: 700;
    font-size: 4vw;
    color: #fff;
    opacity: 1;
    transition: all 0.5s ease-in-out;
    max-width: 1.4em;
  }
  .text.hidden li.spaced {
    padding-left: 0;
  }
  .text li.spaced {
    padding-left: 0.5em;
  }
  
  .text.hidden li.ghost {
    opacity: 0;
    max-width: 0;
  }

/* .landingText h1{
    font-size: 15rem;
    font-family: 'The Historia Demo',sans-serif;
    background:linear-gradient(to top, #7053b4,#080106);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 1rem;
    user-select: none;
    animation: pulseText 3s infinite;
} */

.landingText h6{
    font-size: 2vw;
    font-weight: 300;
    
}

/*about Section*/

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

.aboutHeading{
    text-align: center;
    text-transform: uppercase;
    line-height: 0;
    margin-bottom: 10rem;
    margin-top: 3rem;
    transition: all 2s ease-in-out;
    
}

.aboutHeading h1{
    font-size: 8rem;
    opacity: .5;
    color:#7053b4
}
.aboutHeading h6{
    font-size: 5rem;
    opacity: .9;
    font-weight: 300;
}

.profileImg{
    height: 100%;
    width: 100%;
    flex:1;
    margin-right: 5rem;
    border-radius: 50%;
    animation: pulse 3s infinite;
}
.aboutDetails{
    flex:1;
}

.socialMedia{
    margin-top: 5rem;
}
.socialMedia i{
    font-size: 5rem;
    transtion: color 650ms;
}

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


.mySkills{
    margin-top: 5rem;
    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: 0rem;
}
.skill h1{
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 2rem -2px 2rem 0;
}

.iconContainer{
    width: 10rem;
    height: 10rem;
    border: 3px solid #0e012e;
    border-radius: 50%;
    background-color:#7053b4;
    /* align-items: center; */
    margin-bottom: 2rem;
    display: flex;
    /* transform: rotate(45deg) */
    transition: color 1500ms;
    animation: pulse 4s infinite; 
}

.iconContainer:hover{
    background-color: rgb(255, 255, 255);
}

.iconContainer i{
    color: rgb(0, 0, 0);
    font-size: 5rem;
    margin: auto;
    /* transform: rotate(-45deg); */
}


.portfolioItem{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10rem;
}

.portfolioItem:last-child{
    margin-bottom: 0rem;
}

.portfolioImg{
    height: 10%;
    width: 10%;
    flex:1;
    margin-right: 5rem;
    border-radius: 50%;
}

.portfolioImgCircular{
    border-radius: 50%;
    animation: pulse 3s infinite;
}
.portfolioDescription{
    flex:1;
}

.portfolioDescription h1{
    font-size: 3rem;
    /* text-transform:  uppercase; */
    font-weight: 300;
    margin: 1rem 0;
}

.portfolioDescription h6{
    font-size: 1.5rem;
    text-transform:  uppercase;
    font-weight: 300;
    opacity: 0.3;
}

.portfolioDescription .cta{
    display: inline-block;
    margin-top: 2.5rem;
    font-size: 1.5rem;
    text-transform: uppercase;
    color: #7053b4;
    transition: color 300ms;
}
.portfolioDescription .cta:hover{
    color: white;
}


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

.timeline ul{
    border-left: 4px solid white;
    /* align-content: right; */
    border-radius: 0.8rem;
    background-color: rgba(0,0,0,0.05);
    margin-left: auto;
    position: relative;
    padding: 5rem;
    list-style: none;
    text-align:left;
    width:70%;
    transform: translateX(28%)
}

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

.timeline .date{
    border-bottom: 0px solid rgba(0,0,210,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 6px rgb(74, 26, 185);
    left:-5.46rem;
    height: 1.5 rem;
    width: 1.5 rem;
    background-color:red;
}

.contact{
    display: flex;
    flex: 1;
    background-color:black;
    align-items: center;
}

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

form label{
    font-size:1.5rem;
}
input,
select,
textarea{
    width:100%;
    padding: 1rem;
    margin-bottom: 5px;
    outline-color: aquamarine;
}

input[type="submit"]{
    
    width: initial;
    background-color: rgb(4, 65, 65);
    color: wheat;
    padding: 1rem 2rem;
    border-radius: 0.8rem;
    cursor: pointer;
    transition: background-color 650ms;
    position: absolute;
    align-items: center;
    justify-content: center;
}
input[type="submit"]:hover{
    color: brown;
    background-color:blueviolet; 
}



.copyright{
    width:100%;
    text-align: center;
    background-color:#16162d;
    padding: 2rem 0;
    position: relative;
}
.up{
    position: absolute;
    width: 5rem;
    height: 5rem;
    background-color: white;
    top: -2.5rem;
    right: 5rem;
    border-radius: 100%;
    display: flex;
    animation: pulse 2s infinite;
}

.up i{
    color: #221e3f;
    font-size: 4rem;
    margin:auto;
}

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






@keyframes pulse{
    0%{
        box-shadow: 0 0 0 0 #8e87a1
    }
    50%{
        box-shadow: 0 0 0 2vw rgba(150, 156, 158, 0)
    }
    100%{

        box-shadow: 0 0 0 0 #888888
    }
}

@keyframes pulseText{
    0%{
        background:linear-gradient(to top, #7053b4,#080106);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    50%{
        background:linear-gradient(to top, black,white);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    100%{
        background:linear-gradient(to top, #7053b4,#080106);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
}


/* media queries */

@media screen and (max-width: 600px){
    body{
        width: 100%;
        height: 100%;
        background-color:black; 

    }
    .navList{
        flex-direction: column;
    }
    li{
        margin: 2rem 0;
    }
    .navLink{
        font-size: 4.5rem;
    }
    .aboutHeading h1{
        margin-top: 5rem;
        margin-bottom:0;
    }
    .sectionHeading h1{
        font-size: 3rem;
    }
    .about .container{
        flex-direction: column;
    }

    .portfolioItem{
        margin-top: 0;
        flex-direction: column;
        align-items: center;
    }
    
    .portfolioImg{
        margin: 0 0 2rem 0;
        order:1;
    }

    .portfolioDescription{
        margin: 0;
        order: 2;
    }


}