#logo {
	width: 300px;
	margin: auto;
	margin-top: 100px;
	margin-bottom: 30px;
}

/**
colors :
    Dark blue : #0300b3
    Light blue : #99ffd6
    Gray : #c2c2c2
*/

@font-face {
    font-family: "oloron";
    src: url("fonts/oloron-all/olort___-webfont.eot");
    src: url("fonts/oloron-all/olort___-webfont.woff") format("woff"),
         url("fonts/oloron-all/olort___-webfont.woff2") format("woff2"),
         url("fonts/oloron-all/olort___-webfont.otf") format("opentype"),
         url("fonts/oloron-all/olort___-webfont.svg#filename") format("svg");
         url("fonts/oloron-all/olort___-webfont.ttf") format("truetype");
}

/*Start global*/
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html{
    font-size: 10px;
    font-family: 'Roboto', monospace;
    color: #c2c2c2;
}
body{
    width: 100%;
    height: 100%;
    background-size: cover;
    background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%);
}

section{
    padding: 6rem 0;
}

a{
    text-decoration: none;
    color: #c2c2c2;
}
.link{
    color: #3883ff;
    transition: color 650ms;
}
.link:hover{
    color: #2f67cd;
}

p{
    font-size: 1.8rem;
    font-weight: 300;
}
img{
    width: 100%;
    border-radius: 10px;
}
/*End global*/

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

.end-section{
    padding: 2px;
}


.about-container{
    display: flex;
    flex-direction: row;
}

.section-heading{
    text-align: center;
    margin-bottom: 8rem;
	margin-top: 2rem;
}
.section-heading h1{
    font-size: 3.5rem;
    color: rgba(255, 255, 255, .3);
    text-transform: uppercase;
    font-weight: 300;
    position: relative;
    margin-bottom: 2rem;
	margin-top: 2rem;
}
.section-heading h1::before,
.section-heading h1::after{
    content: '';
    position: absolute;
    bottom: -.4rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: #c2c2c2;
}
.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-color: #16162d;
    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;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
li{
    margin: 0 2rem;
}
.nav-link{
    font-family: oloron, monospace;
    font-size: 5rem;
    padding: 1rem;
}
.nav-link:hover,
.nav-link:focus{
    background: linear-gradient(to top, #0300b3, #99ffd6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.top-nav.open{
    top: 0;
    border-radius: initial;
}
.menu-toggler{
    position: fixed;
    top: 3rem;
    right: 3rem;
    width: 5rem;
    height: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1500;
    transition: transform 650ms ease-out;
    //background-color: #16162e;
    padding: .5rem;
    //border: 1px solid #c2c2c2;
    border-radius: .8rem;
}
.menu-toggler.open{
    transform: rotate(-45deg);
}
.bar{
    background: linear-gradient(to right, #0300b3, #99ffd6);
    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{
    background: #99ffd6;
}
.open .bar.start{
    transform: rotate(-450deg) translateX(.8rem);
    background: #99ffd6;
}
.bar.end{
    align-self: flex-end;
    transform-origin: left;
    transition: transform 650ms cubic-bezier(0.54, -0.81, 0.57, 0.57), background 650ms;
}
.open .bar.end{
    transform: rotate(-450deg) translateX(-.8rem);
    background: #99ffd6;
}
.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: oloron, monospace;
    background: linear-gradient(to top, #0300b3, #99ffd6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 1rem;
    user-select: none;
}
.landing-text h6{
    font-size: 2rem;
    font-weight: 300;
}
/*End header*/

/*Start about*/
.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: 10rem;
    opacity: .3;
}

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

.profile-img{
    flex: 1;
    margin-right: 5rem;
    max-width: 250px;
}

.about-details{
    flex: 4;
}

.about-details p{
    text-align: center;
}

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

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

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

.fa-facebook-square:hover{
    color: #4267b2;
}
.fa-github-square:hover{
    color: #ffffff;
}
.fa-linkedin:hover{
    color: #0077b5;
}
.fa-dev:hover{
    color: #ffffff;
}
/*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;
}
.skill h1{
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 2rem -2px 2rem 0;
}
.icon-container{
    width: 10rem;
    height: 10rem;
    border: 3px solid #0300b3;
    background-color: #99ffd6;
    margin-bottom: 2rem;
    display: flex;
    transform: rotate(45deg);
}
.icon-container i{
    color: #0300b3;
    font-size: 5rem;
    margin: auto;
    transform: rotate(-45deg);
}

.skillicons {
  margin-top: 1rem;
  font-size: 4rem;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
}

.skillicon-box {
  margin: 1rem;
  padding: 1rem;
}

.skillicon-box img{
    height: 5rem;
    width: auto;
}

.skillicon-title{
    text-align: center;
}
/*End services*/

/*Start portfolio*/
.portfolio-item{
    display: flex;

    margin-bottom: 5rem;
    flex-direction: column;
}
.portfolio-item: last-child(){
    margin-bottom: 0;
}
.portfolio-short{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.portfolio-img{
    display: flex;
    flex: 1;
}

.portfolio-description{
    display: flex;
    flex-direction: column;
    flex: 1;
}

.extrapic{
    margin: 1rem;
    width: 40%;
}
.portfolio-description p,
.portfolio-long p {
    text-align: left;
}

.portfolio-long {
    display: none;
    order: 3;
    background-color: rgba(9, 4, 19, 0.918);
    padding: 2rem;
    margin: 1rem 0 2rem 0;
}

.break {
    flex-basis: 100%;
    height: 0;
}

.arrowDown {
    display: block;
}

.arrowUp {
    display: none;
}
.portfolio-long a, .bio a{
    color: rgb(211, 171, 230);
    font-weight: 600;
}

.portfolio-long .subheading{
    margin-top: 1rem;
    color: #99ffd6;
    display: block;
    text-align:left;
    font-weight: 900;
    font-size: 2rem;
}

.portfolio-long ul, .bio ul{
    margin-left: 2rem;
    font-size: 1.8rem;
    text-align: left;
}

.nested li{
    padding: 0 !important;
    margin-left: 10px;
}

.portfolio-long li{
    padding: 1rem;
}

.simple_list{
    margin-left: 2rem;
    font-size: 1.8rem;
    text-align: left;
    border: none;
}
.simple_list{
    padding: 1rem;
}

.portfolio-description h1{
    font-size: 3rem;
    font-weight: 300;
    margin: 1rem 0;
}
.portfolio-description h6{
    font-size: 1.8rem;
    text-transform: uppercase;
    font-weight: 300;
    opacity: 0.6;
}
.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;
}

.close_portfolio_description{
    position: relative;
    margin: 1rem auto;
    width: 4rem;
    height: 4rem;
    border-radius: 100%;
    display: flex;
    cursor: pointer;
}

.close_portfolio_description i{
    color: #99ffd6;
    font-size: 2.5rem;
    margin: auto;
}
/*End portfolio*/

/*Start timeline*/
.timeline_ul{
    border-left: 4px solid #99ffd6;
    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%;
}

.timeline 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: 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 #0300b3;
    border-radius: 100%;
    left: -8rem;
    height: 1.5rem;
    width: 1.5rem;
    background-color: #99ffd6;
}
/*End timeline*/

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

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: #99ffd6;
}

input[type="submit"]{
    width: initial;
    background-color: #99ffd6;
    color: #c2c2c2;
    padding: 1rem 2rem;
    border-radius: .8rem;
    cursor: pointer;
    transition: background-color 650ms;
}

input[type="submit"]:hover{
    color: #221e3f;
    background-color: #0300b3;
}
/*End contact*/

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

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

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

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

/*Start animations*/
@keyframes pulse {
    0%{
        box-shadow: 0 0 0 0 rgba(0, 255, 153, 0.99);
    }
    70%{
        box-shadow: 0 0 0 2rem rgba(0, 255, 153, 0);
    }
    100%{
        box-shadow: 0 0 0 0 rgba(0, 255, 153, 0);
    }
}
/*End animations*/

/*Start media queries*/
@media screen and (max-width: 768px) {
    body{
      /*background: url("images/sitebg2.jpg") no-repeat center fixed;
      background-size: cover;*/
      width: 100%;
      /*position: fixed;*/
    }

    html{
      width: 100%;
    }

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

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

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

    li{
        margin: 2rem 0;
    }

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

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

    .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::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: 6rem;
    }

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

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

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

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

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

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

    .portfolio-img{
        margin: 0 0 2rem 0;
        order: 1;
    }

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

    .timeline p{
        font-size: 1.6rem;
    }

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

    form{
        width: 100%;
    }

    .up{
        right 2rem;
    }
}
/*End media queries*/
