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

*:focus {
  outline: none;
}

html {
  scroll-behavior: smooth;
}

body {
  padding: 0;
  margin: 0;
  background-image: url("seemlessBackground.svg");
  color: rgb(255, 255, 255);
  font-family: "Jersey 20", sans-serif;

}

a {
  text-decoration: none;
}

img {
  width: 100%;
}

.home img {
  width: 100%;
  -webkit-filter: grayscale(0%) contrast(100%);
  filter: grayscale(0%) contrast(150%) brightness(60%);
}

.portfolio img {
  filter: grayscale(0%);
}

aside {
  position: fixed;
  background: #00000027;
  backdrop-filter: blur(2px);
  top: 0px;
  left: 0px;
  width: 10%;
  height: 100%;
  overflow: none;
  z-index: 1;
  text-align: center;
  padding: 0;
}

aside img {
  margin-bottom: -3px;
}

.material-icons .md-36 {
  font-size: 36px;
}


aside a {
  display: block;
  padding: 15px 0;
  color: white;
  font-size: 0.75em;
  letter-spacing: 2px;
  transition: all 0.35s;
  text-transform: uppercase;
}

aside p {
  margin: 0;
  padding: 0;
}

aside a:hover {
  background: #000;
}

aside nav a:nth-child(2) {
  background: #000;
}

aside nav a:nth-child(2):hover {
  background: #b2b2b2;
  color: #000000;
}

#welcome-section {
  max-width: 100%;
  backdrop-filter: blur(10px);
  background-color: #00000028;
  -webkit-text-stroke-width: .5px;
  -webkit-text-stroke-color: white;
  /* background: #111113; */
  /* margin-left: 25%; */
  padding: 12px 50px 12px 50px;
}

header {
  text-align: center;
  letter-spacing: 2px;
}

header h1 {
  font-weight: bold;
  font-size: 4em;
  letter-spacing: 4px;
}

header h4 {
  font-weight: 300;
  font-size: 1em;
  letter-spacing: 4px;
  color: #b2b2b2;
}

@keyframes moveUp {
  0% {
    translate: 0 0;
  }

  100% {
    translate: 0px -50px;
  }
}

.main-content {
  position: absolute;
  margin-left: 15%;
  margin-right: 15%;
  padding: 20px;
  margin-bottom: 100px;
}

.about,
.portfolio,
.contact {
  line-height: 1.5em;
  font-weight: 300;
  letter-spacing: 1px;
  backdrop-filter: blur(5px);
  border-radius: 50px;
  border-style: double;
  border-width: 10px;
  border-color: #00000050;
  background-color: #0000002c;
  padding: 50px;
  margin: 30px;
}

.about h2,
.portfolio h2,
.contact h2 {
  text-transform: uppercase;
  font-weight: 300;
  padding-bottom: 10px;
  /* margin: 100px 0 0 0; */
  letter-spacing: 4px;
}

.about p {
  color: #ffffff;
}

/* .about span {
  font-weight: 600;
  color: rgb(255, 255, 255);
} */

.about h3 {
  font-weight: 300;
  margin: 50px 0;
}

.container {
  width: 80%;
  margin-left: 10%;
  border-radius: 20px;
  background-color: #3c3c3c;
}

.skills {
  text-align: right;
  padding-right: 20px;
  line-height: 30px;
  border-radius: 20px;
  color: rgb(0, 0, 0);
  background-color: #5d95a1;
}

.cs {
  width: 71.4%;
}

.java  {
  width: 57.2%;
}

.git {
  width: 95%;
}

.html {
  width: 65%;
}

.meter {
  display: block;
  position: relative;
  overflow: hidden;
}

.meter:hover ::after {
  content: "";
  position: absolute;
  top: 0px;
  left: 0;
  bottom: 0;
  right: 0;
  background-image: linear-gradient(-45deg,
      rgba(255, 255, 255, .2) 25%,
      transparent 25%,
      transparent 50%,
      rgba(255, 255, 255, .2) 50%,
      rgba(255, 255, 255, .2) 75%,
      transparent 75%,
      transparent);
  z-index: 1;
  background-size: 50px 50px;
  overflow: hidden;
  animation: load 1s infinite;
  animation-timing-function: linear;
}

@keyframes load {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 50px 50px;
  }
}

.vs {
  width: 90%;
}

.portfolio h3 {
  color: white;
  font-weight: 300;
  letter-spacing: 2px;
}

.portfolio p {
  font-size: 0.879em;
}

.row-halves {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: space-between;
  margin: 20px 0;
  -webkit-flex-pack: justify;
}

.row-halves .col {
  width: 49%;
}

.col {
  border-radius: 50px;
  border-color: #5d95a1;
  border-width: 5px;
  border-style: outset;
  background: #222;
  color: #b2b2b2;
  padding: 10px;
  transition: .5s;
}

.col:hover {
  /* padding: 20px; */
  background-color: rgb(17, 16, 16);
  margin-left: -10px;
  transform: translateX(-20px) translateY(-15px) rotate(-5deg);
}

.col p {
  color: #b2b2b2;
}

.col img {
  border-radius: 40px;
}

/*
below are section contact and social media details

.contact{
  margin-top: 20px;
  margin-bottom: 100px;
  background: transparent;
  padding: 20px  0;
}
*/

.social-media {
  background: #222;
  border-radius: 50px;
  border-color: #5d95a1;
  border-width: 5px;
  border-style: outset;
  width: 100%;
  text-align: center;
  transform: translateY(-5%);
  padding-bottom: 90px;
  margin-top: 5%;
}

.social-media .contact-details {
  display: inline-block;
  position: relative;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  vertical-align: middle;
  background-clip: content-box;
  /* margin-right: 15px; */
  /* margin-left: 15px; */
  padding: 10%;
  font-size: 70px;
  transition: .5s;
  color: #313131;

}

.social-media span.fa-stack {
  display: inline-block;
  height: 3.7em;
  width: 6.5em;
  vertical-align: middle;
  line-height: 6em;
  position: relative;
}



.social-media .contact-details span {
  display: block;
  position: absolute;
  text-align: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}


.social-media .contact-details:hover {
  padding: 20px;
  color: rgb(17, 16, 16);
  /* margin-left: -10px;
  transform: translateX(20px) rotate(360deg); */
}

/*
.social-media .contact-details{
  background-color: #222;
  color: #b2b2b2;
}
*/

footer {
  border-top: 1px solid #222;
}

/*
.top-bar{
  padding: 20px 0;
  text-align: center;
}

.top-bar a{
  margin: 10px;
  font-size: 2em;
  color: #b2b2b2;
  transition: all 0.35s;
  display: inline-block;
}

.top-bar a:hover {
   transform: scale(1.1);
   color: #009688;
}
*/

.bottom-bar {
  background: #000;
  font-size: 0.75em;
  text-align: center;

}

/* @media Query */

@media(max-width: 789px) {
  .row-halves {
    display: block;
  }

  .row-halves .col {
    width: 100%;
    margin: 0 0 10px 0;
  }
}

@media(max-width: 600px) {
  .aside {
    display: block;
  }

  section {
    width: 100%;
    margin: 0 auto;
  }

  header {
    margin-top: 80px;

  }

  header h1 {
    font-size: 3em;
    line-height: 1.3em;
  }

  header h4 {
    font-size: 1em;
    letter-spacing: 2px;
  }

  .mobile-nav {
    position: fixed;
    width: 100%;
    display: flex;
    justify-content: space-around;
    background: rgb(0, 0, 0, 0.8);
    z-index: 1;
  }

  .mobile-nav a {
    width: 100%;
    color: #b2b2b2;
    text-transform: uppercase;
    font-size: 0.875em;
    letter-spacing: 2px;
    text-align: center;
    padding: 10px 10px;
    transition: all 0.35s;
  }

  .mobile-nav a:hover {
    background: #b2b2b2;
    color: #222;
  }
}

.emailLink {
  color: #5d95a1;
}

@media(max-width:1100px) {
  aside {
    width: 15%;
  }

  .main-content {
    margin-right: 0%;
    margin-left: 0%;
  }
}

@media(min-width:600px) {
  .mobile-nav {
    display: none;
  }

  header img {
    animation: moveUp 1s 1 forwards;
  }
}

@media(max-width:599px) {
  #welcome-section {
    max-width: 100%;
    /* background: #111113; */
    margin-left: 0%;
    height: 100%;
    padding: 12px 50px 12px 50px;
  }

  .nav-bar {
    display: none;
  }

  aside {
    display: none;
  }

  header img {
    bottom: 0px;
  }

  .main-content {
    margin-left: 0%;
  }
}