*{
  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/bg2.png") no-repeat center fixed;
  background-size: cover;
  overflow-x: hidden;
}

section{
  padding:6rem;
}


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

p{
  font-size: 1.8rem;
  font-weight: 300;
  font-family: 'Fondamento', cursive;
  color: #000;
}
h1,h2,h6{
  color: #000;
}
img{
  width: 100%;
}
.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: #000;
  opacity: .3;
  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: #000;
}
.section-heading h1::before{
  width:10rem;
  height:3px;
  border-radius: .8rem;
}
.section-heading h1::after{
  width:1.5rem;
  height:1.5px;
  border-radius: 100%;
  bottom: -1rem;
}

.section-heading h6{
  font-size: 1.6rem;
  font-weight: 300;
}
.has-margin-right{
  margin-right: 5rem;
}



header{
  width: 100%;
  height: 100%;
}
.top-nav{
  width: 100%;
  height: 100vh;
  position: fixed;
  top: -100vh;
  z-index: 50;
  background-color: #95006a;
  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%;
  flex: none;
  display: flex;
  justify-content:center;
  align-items:center;
}
 li{
    margin: 0 2rem;
 }
  .nav-link{
    font-family:'Kaushan Script', cursive;
    font-size:4rem;
    padding: 1rem;
  }

.nav-link:hover,
.nav-link:focus{
  background: linear-gradient(to top,#b30000, #ffff00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.top-nav.open{
  top: 0;
  border-radius: initial;
}
.menu-toggler{
  position: absolute;
  top: 5rem;
  right: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, #b30000, #ffff00);
  width:100px;
  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: relative;
  transform: translate(-50% -50%);
  width: 100%
  left:50%;
  top: 50%;
  text-align: center;
  z-index: 1;
  margin-bottom: 50px;
}
.landing-text h1{
    font-size: 10rem;
    font-family: 'Kaushan Script', cursive;
    background: linear-gradient(to top,#f32343,#FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 1rem;
    margin-top: 20rem;
    user-select: none;
}
.landing-text h6{
  font-size: 2rem;
  font-weight: 300;
  user-select: none;
}
.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: 7rem;
  opacity: .3;
}
.about-heading h6{
  font-size: 2rem;
  font-weight: 300;
  opacity: .3;
  font-family: 'Fondamento', cursive;
}

.profile-img{
  flex: 1;
  margin-right: 5rem;
  margin-top: 8rem;
  border:
}
.about-details{
  flex: 1;
}
.social-media{
  margin-top: 5rem;
}
.social-media i{
  font-size: 5rem;
  transition: color 650ms;
}
.fa-facebook-square:hover{
  color: #4267b2;
}
.fa-twitter-square:hover{
  color: #38a1f3;
}
.fa-instagram:hover{
color: #e12e72;
}


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

}
.services h6{
  font-family: 'Fondamento', cursive;
}
.skill h1{
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 2rem -2px 2rem 0;
}

.icon-container{
  width: 10rem;
  height: 10rem;
  border: 3px solid #ffe838;
  background-color: #0054d4;
  margin-bottom: 2rem;
  display: flex;
  transform: rotate(45deg);
}
.icon-container i{
  color:yellow;
  font-size: 5rem;
  margin: auto;
  transform: rotate(-45deg);
}
.portfolio-item {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 5rem;
}
.portfolio-item:last-child{
  margin-bottom: 0;
}
.portfolio-img has-margin-right{
  width: 5rem;
  flex: 1;
}
.portfolio-img{
  width: 50rem;

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

.sec-skills{
  margin-top: 5rem;
  display: column;

  grid-gap:2.5rem;
  text-align: center;
}
.section-heading h6{
  font-family: 'Fondamento', cursive;
}
.ind-skill{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}
.ind-skill h1{
  text-transform: uppercase;
  font-size: 20px;
  letter-spacing: 2px;
  margin: 2rem -0.5px 0.5rem 0;
}
.ind-skill h6{
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 15px;
}
.extra-info{
  text-align: center;
}


.poster-container {
  display: flex;
}


.poster {
  flex: 33.33%;
 padding: 5px;
}

 .icon-container{
  width: 10rem;
  height: 10rem;
  border: 3px solid #ffe838;
  background-color: #0054d4;
  margin-bottom: 2rem;
  display: flex;
  transform: rotate(45deg)
}
.icon-container i{
  color:yellow;
  font-size: 5rem;
  margin: auto;
  transform: rotate(-45deg);
}
.sec-built{
  margin-top: 5rem;
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem,1fr));
  grid-gap:2.5rem;
  text-align: center;

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

.icon-container-built{
  width: 10rem;
  height: 10rem;
  border: 3px solid #ffe838;
  background-color: #0054d4;
  margin-bottom: 2rem;
  }
/*.icon-container i{
  color:yellow;
  font-size: 5rem;
  margin: auto;

}*/

}
/*.footer{
  width: 100%;
  padding: 2rem 0;
  position: relative;
}*/
.copyright{
  text-align: center;
}
.copyright > p{
  text-align: center;
  opacity: 0.5;
  font-family: 'Fjalla One', sans-serif;
  text-transform: uppercase;
  font-size: 1.4rem;
}

/*.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;
}*/



.contact i{
  font-size: 5rem;
  transition: color 650ms;
  margin: 0.5rem;s
  display: flex;
  align-content: center;
  }

  .fa-linkedin:hover{
    color:blue;
  }
  .fa-github:hover{
    color:black;
  }
  .email h2{
    text-align: center;

  }
@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);
  }
}


@media screen and (max-width:768px) {

  body{
    background: url("images/bg2.png") no-repeat center fixed;
    background-size: cover;
    justify-content: center;
}
  .landing-text h1{
    font-size: 15rem;
  }
  .landing-text h6{
    font-size: 1.7rem;
  }
  .nav-list{
    flex-direction: column;
  }
  li{
    margin: 3rem 0;
  }
  .nav-link{
    font-size: 4rem;
  }

  .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 i{
   font-size: 4rem;
 }
 .copyright > p{
   color: white;
 }
 .poster {
   width: 100%;
 }
}

@media screen and (max-width: 600px){

  .menu-toggler{
    top: 2rem;
    right: 2rem;
  }
  .landing-text h1{
    font-size: 8rem;
  }
  .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;
    order: 1;
    width: auto;
  }
  .portfolio-description{
    margin: 0;
    order: 2;
    text-align: center;
  }
  .copyright > p{
    color: white;
  }
  .poster-container{
    flex-direction: column;
  }
  .poster {
   width: auto;
 }
}
