@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;700&display=swap');

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
  color: #fff;
  scroll-behavior: smooth;
}

body {
  background: #111;
  height: 100vh;
  overflow-x: hidden;
}

.wrapper span{
  position: fixed;
  bottom: -180px;
  height: 50px;
  width: 50px;
  z-index: -5;
  background-color: #ffffff;
  box-shadow: 0 0 75px 15px #0072ff;
  animation: animate 10s linear infinite;
  transition: all 1s ease;
}

.wrapper span:nth-child(1){
  left: 60px;
  animation-delay: 600ms;
}

.wrapper span:nth-child(2){
  left: 10%;
  animation-delay: 3s;
  width: 60px;
  height: 60px; 
}
.wrapper span:nth-child(3){
  left: 20%;
  animation-delay: 2s;
}
.wrapper span:nth-child(4){
  left: 30%;
  animation-delay: 5s;
  width: 80px;
  height: 80px;
}
.wrapper span:nth-child(5){
  left: 40%;
  animation-delay: 1s;
}
.wrapper span:nth-child(6){
  left: 50%;
  animation-delay: 7s;
}
.wrapper span:nth-child(7){
  left: 60%;
  animation-delay: 6s;
  width: 100px;
  height: 100px;
}
.wrapper span:nth-child(8){
  left: 70%;
  animation-delay: 8s;
}
.wrapper span:nth-child(9){
  left: 80%;
  animation-delay: 6s;
  width: 90px;
  height: 90px;
}
.wrapper span:nth-child(10){
  left: 90%;
  animation-delay: 4s;
}

.banner{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.content {
  position: relative;
  top: -125px;
}

.subContent {
  position: absolute;
  left: 0; 
  right: 0; 
  margin-left: auto; 
  margin-right: auto; 
  width: 50vw;
  text-align: center;
}

.content h2 b{
  font-family: 'Roboto', sans-serif;
  font-size: 13vw;
}

.subContent h2 b{
  font-family: 'Roboto', sans-serif;
  font-size: 3.5vw;
}

@keyframes animate{
  0% {
    transform: translateY(0);
    opacity: 1;
  }

  80% {
    opacity: 0.7;
  }

  100% {
    transform: translateY(-800px) rotate(360deg);
    opacity: 0;
  }
}

.nav-cont {
  position: fixed;

  display: flex;
  list-style-type: none;
  justify-content: center;
  flex-wrap: wrap;

  margin: 0;
  padding: 0;
  padding-top: 15px;

  overflow: visible; /* Let gradient overflow if needed */

  left: 0; 
  right: 0; 
  margin-left: auto; 
  margin-right: auto; 
  width: 100vw;

  z-index: 10;

  background: none;
}

.nav-cont::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 150px; /* Enough to cover solid + fade */

  background: linear-gradient(
    to bottom,
    #111 0px,
    #111 50px,        /* Solid ends at 50px */
    rgba(17, 17, 17, 0.8) 80px,
    rgba(17, 17, 17, 0) 100%
  );

  pointer-events: none;
  z-index: -1;
}

.nav-item {
  padding: 1.5em;

  z-index: 10;
}

li a {
  display: block;
  color: white;
  text-align: center;
  text-decoration: none;

  margin-left: 2vw;
  margin-right: 2vw;

  font-family: 'Roboto', sans-serif;
  font-size: 1.75vw;
  border-bottom: rgba(255, 255, 255, 1);
  transition: font-size 250ms;

  z-index: 10;
}

@media (hover: hover) and (pointer: fine) {
  li a:hover {
    font-size: 2vw;
    transition: font-size 250ms;
  }
}

.aboutMe {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
}

.aboutMe h2 b {
  font-family: 'Roboto', sans-serif;
  font-size: 10vw;
}

.aboutTextWrapper h2 b{
  font-family: 'Roboto', sans-serif;
  color: #fff;
  font-size: 3vw;
  font-weight: 200;
}

.aboutTextWrapper {
  position: relative;
  left: 0; 
  right: 0; 
  margin-left: auto; 
  margin-right: auto; 
  margin-top: 50px;
  width: 85vw;
  text-align: center;
}

.skills {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100px;
}

.skills h2 b {
  font-family: 'Roboto', sans-serif;
  font-size: 10vw;
}

.inner {
  padding-top: 20px;
}

.container {
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1rem 80px;
  font-size: 1.2rem;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  flex-flow: wrap;

  width: 80vw;
  margin-left: auto;
  margin-right: auto;
  margin-top: 100px;
}

.skills-box {
  margin-top: 20px;
  padding: 1rem;
  color: #ddd;
  cursor: pointer;
  width: 25vw;
  height: 400px;
}

.skills-box:hover > .skill-title:after, .skills-box:hover > .skill-title:before {
  width: 35px;
}

.skills-box:hover .img {
  transform: translateY(-10px);
}

.skill-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem;
  margin-bottom: 0.5rem;
  position: relative;
}

.skill-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 50%;
  width: 0;
  height: 4px;
  border-image-repeat: 2px 0 0 2px;
  background-color: #fff;
  transition: .5s;
}

.skill-title:before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 4px;
  border-image-repeat: 0 2px 2px 0;
  background-color: #fff;
  transition: .5s;
}

.img {
  width: 90px;
  height: 90px;
  position: relative;
  border-radius: 50%;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: .5s;
}

.img:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 90px;
  background-color: rgba(100, 100, 100, 0.25);
  border-radius: 45px 0 0 45px;
}

.skill-title h3 {
  color: #fff;
  margin-top: 0.5rem;
}

.skill-icon {
  width: 50px;
  z-index: 2;
}

#about {
  width: 500px;
  height: 100px;
  margin-left: auto;
  margin-right: auto;
}

#skills {
  width: 500px;
  height: 200px;
  margin-left: auto;
  margin-right: auto;
}

#home {
  width: 500px;
  height: 100px;
  margin-left: auto;
  margin-right: auto;
}

#current {
  width: 500px;
  height: 100px;
  margin-left: auto;
  margin-right: auto;
}

.current {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
}

.current h2 b {
  font-family: 'Roboto', sans-serif;
  font-size: 10vw;
}

.currentTextWrapper h2 b{
  font-family: 'Roboto', sans-serif;
  color: #fff;
  font-size: 3vw;
  font-weight: 200;
}

.currentTextWrapper {
  position: relative;
  left: 0; 
  right: 0; 
  margin-left: auto; 
  margin-right: auto; 
  margin-top: 50px;
  width: 85vw;
  text-align: center;
}


#hobbies {
  width: 500px;
  height: 100px;
  margin-left: auto;
  margin-right: auto;
}

.hobbies {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
}

.hobbies h2 b {
  font-family: 'Roboto', sans-serif;
  font-size: 10vw;
}

.hobbiesTextWrapper h2 b{
  font-family: 'Roboto', sans-serif;
  color: #fff;
  font-size: 3vw;
  font-weight: 200;
}

.hobbiesTextWrapper {
  position: relative;
  left: 0; 
  right: 0; 
  margin-left: auto; 
  margin-right: auto; 
  margin-top: 50px;
  width: 85vw;
  text-align: center;
}


#projects {
  width: 500px;
  height: 100px;
  margin-left: auto;
  margin-right: auto;
}

.projects {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
}

.projects h2 b {
  font-family: 'Roboto', sans-serif;
  font-size: 10vw;
}

.projectsTextWrapper h2 b{
  font-family: 'Roboto', sans-serif;
  color: #fff;
  font-size: 3vw;
  font-weight: 200;
}

.projectsTextWrapper {
  position: relative;
  left: 0; 
  right: 0; 
  margin-left: auto; 
  margin-right: auto; 
  margin-top: 50px;
  width: 85vw;
  text-align: center;
  padding-bottom: 100px;
}


@media only screen and (max-width: 790px) {

  .wrapper span{
    position: fixed;
    bottom: -180px;
    height: 50px;
    width: 50px;
    z-index: -5;
    background-color: #ffffff;
    box-shadow: 0 0 75px 15px #0072ff;
    animation: animate 9s linear infinite;
    transition: all 1s ease;
  }

  .wrapper span:nth-child(1){
    left: 60px;
    animation-delay: 0s;
  }
  
  .wrapper span:nth-child(2){
    left: 10%;
    animation-delay: 2s;
    width: 30px;
    height: 30px; 
  }
  .wrapper span:nth-child(3){
    left: 20%;
    animation-delay: 5s;
  }
  .wrapper span:nth-child(4){
    left: 20%;
    animation-delay: 6.8s;
    width: 40px;
    height: 40px;
  }
  .wrapper span:nth-child(5){
    left: 40%;
    animation-delay: 3s;
  }
  .wrapper span:nth-child(6){
    left: 50%;
    animation-delay: 8s;
  }
  .wrapper span:nth-child(7){
    left: 60%;
    animation-delay: 6s;
    width: 50px;
    height: 50px;
  }
  .wrapper span:nth-child(8){
    left: 70%;
    animation-delay: 1s;
  }
  .wrapper span:nth-child(9){
    left: 80%;
    animation-delay: 7.5s;
    width: 45px;
    height: 45px;
  }
  .wrapper span:nth-child(10){
    left: 90%;
    animation-delay: 4s;
  }

  .nav-cont {
    position: fixed;

    display: flex;
    list-style-type: none;
    justify-content: center;
    flex-wrap: wrap;
  
    margin: 0;
    padding: 0;
    padding-top: 20px;
  
    overflow: hidden;
  
    width: 100vw;
  }
  
  .nav-item {
    padding: 0.8em;
  }
  
  li a {
    display: block;
    color: white;
    text-align: center;
    text-decoration: none;
  
    margin-left: 0.5vw;
    margin-right: 0.5vw;
  
    font-family: 'Roboto', sans-serif;
    font-size: 2.25vw;
  }

  .banner{
    display: flex;
    justify-content: center;
    align-items: center;

    height: 100vh;
    width: 90vw;

    margin-left: auto;
    margin-right: auto;
  }
  
  .content {
    position: relative;
    top: -125px;
  }
  
  .subContent {
    position: absolute;
    translate: 0px 0px;
  
    left: 0; 
    right: 0; 
    margin-left: auto; 
    margin-right: auto; 
    width: 80vw;
    text-align: center;
  }
  
  .content h2 b{
    font-family: 'Roboto', sans-serif;
    font-size: 12vw;
  }
  
  .subContent h2 b{
    font-family: 'Roboto', sans-serif;
    font-size: 8vw;
  }

  .skills-box {
    margin-top: 20px;
    padding: 1rem;
    color: #ddd;
    cursor: pointer;
    min-width: 80vw;
    height: 400px;
  }
}