/*global start*/

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

*, *:before, *:after{
  box-sizing: inherit;
}

body {
  font-family: 'VT323', monospace;
  font-size: 24px;
  margin: 0;
  background: #AB7EC9;
  color: #FFFFFF;
  -ms-overflow-style: none;
  scrollbar-width: none;
} 

h1 {
  color: #D50B5C;
  margin: 45px;
  padding: 20px;
  flex-basis: 85vw;
}

::-webkit-scrollbar {
  display: none;
}

.highlight{
  color: #D50B5C;
}

.highlight:hover {
  background: linear-gradient(to top,  #FE9C72, #D50B5C);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 2px 2px #FFFFFF;
}

a {
  color: #FFFFFF;
  letter-spacing: 2px;
  text-decoration: none;
  background: #AB7EC9;
  padding: 20px 5px;
  display: inline-block;
  width: 100%;
  text-align: center;
}

/*global end*/

/*nav bar start*/

a.nav-link:hover {
  background: linear-gradient(to top,  #FE9C72, #D50B5C);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 2px 2px #FFFFFF;
}

a:hover i.fa-linkedin {
  background: linear-gradient(to top,  #FE9C72, #D50B5C);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

a:hover i.fa-github-alt {
  background: linear-gradient(to top,  #FE9C72, #D50B5C);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

a:hover i.fa-twitter-square {
  background: linear-gradient(to top,  #FE9C72, #D50B5C);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

a:hover i.fa-scroll {
  background: linear-gradient(to top,  #FE9C72, #D50B5C);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.flex-nav {
  width: 100%;
  text-align: center;
  margin: 0 auto;
  background: #AB7EC9;
}

.fixed-nav .flex-nav {
  position: fixed;
  top:0;
  z-index: 1;
}

.flex-nav ul {
  border: 1px solid #FFFFFF;
  list-style: none;
  margin: 0;
  display: flex;
}

.flex-nav li {
  flex: 3;
  /*padding: 10px;*/
}

.flex-nav .social {
  flex: 1;
}

.nav-link {
  font-size: 20px;
}

.social {
  font-size: 20px;
}

/*nav bar end*/

/*home start*/

.ml11 {
  font-weight: 700;
  color: #FFB65C;
}

.ml11 .text-wrapper {
  position: relative;
  display: inline-block;
  padding-top: 0.1em;
  padding-right: 0.05em;
  padding-bottom: 0.15em;
}

.ml11 .line {
  opacity: 0;
  position: absolute;
  left: 0;
  height: 100%;
  width: 3px;
  background-color: #FFFFFF;
  transform-origin: 0 50%;
}

.ml11 .line1 { 
  top: 0; 
  left: 0;
}

.ml11 .letter {
  display: inline-block;
  line-height: 1em;
}

.home-container {
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  max-width: 60vw;
  align-items: center;
  justify-content: space-between;
}

.home-item {
  flex: 3;
}

#pixel-me {
  box-shadow: 25px 25px #FFB65C;
  flex-basis: 256px;
  /*padding: 20px;*/
  margin: 20px 65px 20px 20px;
}

/*home end*/

/*about start*/

.about-container {
  max-width: 85vw;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
}

.about-container h1 {
  text-align: center;
}

.about-item {
  margin: 0;
  padding: 0;
  text-align: justify;
  flex: 3;
  flex-basis: 400px;
}

#map-cali {
  flex-basis: 400px;
  height: 40%;
  width: 40%;
}

/*about end*/

/*skills start*/

.skills-container {
  max-width: 85vw;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
}

.skills-item {
  margin: 0px;
  padding: 10px 20px 10px 20px;
  text-align: center;
  width: 20%;
}

h1.skills-item {
  margin: 60px;
}

p.skills-item { 
  border: 1px solid #FFFFFF;
  padding: 15px;
}

p:hover i.fa-js-square {
  background: linear-gradient(to top,  #FE9C72, #D50B5C);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

p:hover i.fa-gem {
  background: linear-gradient(to top,  #FE9C72, #D50B5C);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

p:hover i.fa-html5 {
  background: linear-gradient(to top,  #FE9C72, #D50B5C);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

p:hover i.fa-css3-alt {
  background: linear-gradient(to top,  #FE9C72, #D50B5C);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

p:hover i.fa-react {
  background: linear-gradient(to top,  #FE9C72, #D50B5C);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

p:hover i.devicon-rails-plain {
  background: linear-gradient(to top,  #FE9C72, #D50B5C);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

p:hover i.devicon-postgresql-plain {
  background: linear-gradient(to top,  #FE9C72, #D50B5C);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

p:hover i.fa-github-alt {
  background: linear-gradient(to top,  #FE9C72, #D50B5C);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

p:hover i.fa-video {
  background: linear-gradient(to top,  #FE9C72, #D50B5C);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

p:hover i.fa-slack {
  background: linear-gradient(to top,  #FE9C72, #D50B5C);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/*skils end*/

/*projects start*/

.projects-container {
  max-width: 85vw;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.projects-item {
  margin: 0px;
  padding: 0px 20px 0px 20px;
  text-align: center;
  width: 50%;

}

h1.projects-item{
  margin: 70px;
}

.projects-item h3 {
  text-decoration: underline;
  margin: 20px;
  color: #FFB65C;
}

.projects-anchor-container {
  display: flex;
  text-align: center;
}

.projects-item a {
  padding: 10px;
  flex: 3;
  text-decoration: underline overline;
}

.projects-item a:hover {
  background: linear-gradient(to top,  #FE9C72, #D50B5C);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 2px 2px #FFFFFF;
}

.projects-tech-container {
  display: flex;
  text-align: center;
  justify-content: space-around;
  padding: 10px;
}

.tech {
  border: 1px solid #FFFFFF;
  flex: 1;
  margin: 0;
}

/*projects end*/

/*media query start*/

@media all and (max-width:992px) {

  .flex-nav ul {
    flex-wrap: wrap;
    padding: 0;
  }

  .flex-nav li {
    flex: 1 1 50%;
    padding: 0;
  }

  .flex-nav .social {
    flex: 1 1 25%;
    padding: 0;
  }

  .home-container {
    max-width: 80vw;
  }

  .home-item {
    justify-content: center;
  }

  .about-container {
    justify-content: center;
  }

  #about-header{
    margin: 200px 0px 50px 0px;
  }

  #map-cali {
    height: 15%;
    width: 15%;
  }

  #about-item {
    width: 100%;
  }

  .skills-container {
    justify-content: center;
  }
  
  .skills-item {
    width: 25%;
  }

  h1.skills-item {
    margin: 200px 0px 50px 0px;
  }

  .projects-item {
    width: 100%;
  }

  h1.projects-item{
    margin: 200px 0px 50px 0px;
  }

}

@media all and (max-width:576px) {
  
  .flex-nav li {
    flex: 25%;
  }

  .skills-container {
    justify-content: center;
  }

  .skills-item {
    width: 33.33%;
  }
}

/*media query end*/
