 /* Site Stylesheet
  1. Global Styles
  2. Typography Styles
  3. Structure Styles
  4. Module Styles
  5. Component Styles
======================================== */

*{
  box-sizing: border-box;
}


body {
  display: flex;
  text-align: center;
  font-family: 'Roboto Mono', monospace;
  height: 100vh;
  flex-direction: column;
  max-width: 1400px;
  margin: 0 auto;
}


h1 {
  font-size: 55px;
  margin: 0%;
  background: -webkit-linear-gradient(rgb(255, 31, 195), rgb(28, 89, 255));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

h2{
  font-weight: 100;
}

.nav{
  position: absolute;
  top: 8%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  margin-bottom: 30px;
}

ul li{

  display: inline;
  text-align: center;
}


a{
  display: inline-block;
  font-weight: 900;
  width: 32%;
  padding: 15px;
  margin: 20px 0;
  text-decoration: none;
  color: rgb(234, 30, 179);
}

.welcome {
  color: rgb(22, 21, 21);
  margin: 5px;
  font-size: 14px;
  text-align: center;
}

a:visited{
  color:rgb(255, 119, 0);
}

hr{
  height: 80px;
  width:50%;
  margin: -82px 7%;
  border: none;
  border-radius: 50px;
  transition: .3s ease-in-out;
  background: linear-gradient(145deg, #f0f0f0, #ffffff);
  box-shadow:  19px 19px 40px #d0cece,
              -19px -19px 40px #ffffff;
  
}

.two:hover ~ hr{
  margin-left: 50% ;
}

.three:hover ~ hr{
  margin-left: 100%;
}

.container{
  display: flex;
  flex-wrap: wrap;
  margin-top: 250px;
}

.skills-sidebar{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-grow: 2;
  flex-shrink: 1;
  margin-left: 100px;
  margin-right: 50px;
  margin-bottom: 20px;;
  height: 400px;
  position: relative;
}

.about{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  flex-grow: 1;
  flex-shrink: 2;
  color:  rgb(255, 0, 179) ;
  width: 600px;
  height: 400px;
  border-radius: 50px;
  background: linear-gradient(145deg, #ffffff, #f3f3f3);
  box-shadow:  19px 19px 40px #d0cece,
              -19px -19px 40px #ffffff;
  border: none;
  padding: 1.5em 1.9em;
  margin-left: 100px;
  margin-right: 50px;
  margin-bottom: 20px;;
  max-width: fit-content;
}

.guessing-game{
  border-radius: 50px;
  background: #ffffff;
  background: linear-gradient(145deg, #ffffff, #f3f3f3);
  box-shadow:  5px 5px 10px #c7c7c7,
             -5px -5px 10px #f9f9f9;
  border: none;
  margin: 30px;
}

.intro{
display: inline-flex ;
flex-grow: 1;
flex-shrink: 1;
}

.welcome{
flex-grow: 2;
overflow:auto;
flex-shrink: 2;
min-height: 200px;
max-height: 800px;
}

.portf{
  display: lex;
  justify-content: center;
  align-items: center;
  flex-grow: 2;
  flex-shrink: 1;
  height: 300px;
  border-radius: 50px;
  background: linear-gradient(145deg, #ffffff, #f3f3f3);
  box-shadow:  19px 19px 40px #d0cece,
              -19px -19px 40px #ffffff;
  border: none;
  padding: 1.5em 1.9em;
  margin-left: 100px;
  margin-right: 50px;
  position: relative;
}

.line{
  width: 100%;
  padding: 45px 30px 50px;
  background: linear-gradient(145deg, #ffffff, #f3f3f3);
  border-radius: 50px;
  box-shadow: 0 20px 30px rgba(0,0,0,0.2);
} 

 
.line h1{
  color:rgb(234, 30, 179) ;
  margin-bottom: 50px;
  letter-spacing: 2px;
  text-align: center;
  font-size: 33px;
  font-weight: bold;
}



.details{
  width: 100%;
  display: flex;  
  justify-content: space-between;
  margin-bottom: 10px;
}

.bar{
  position: relative;
  border:none;
  border-radius: 50px;
  background: linear-gradient(145deg, #ffffff, #e5e3e3);
  box-shadow:  19px 19px 40px #b6b4b4,
              -19px -19px 40px #ffffff;
}

.bar div{
  position: relative;
  width: 0;
  height: 9px;
  border-radius: 10px;
  background-color:rgb(28, 89, 255);


}


.skills:not(:last-child){
  margin-bottom: 30px;
}

#html-bar{
  animation: html-fill 2s forwards;
}
@keyframes html-fill{
  100%{
      width: 90%;
  }
}

#css-bar{
  animation: css-fill 2s forwards;
}
@keyframes css-fill{
  100%{
      width: 75%;
  }
}
#javascript-bar{
  animation: js-fill 2s forwards;
}
@keyframes js-fill {
  100%{
      width: 72%;
  }
}


.footlinks li{
  text-transform: uppercase;
  color: rgb(255, 0, 179);
  font-size: 15px;
  font-weight: 900;
  margin:20px;
  padding:20px;
  background-color: #ffffff;
  border: none;
  border-radius: 50px;
  background: linear-gradient(145deg, #f0f0f0, #ffffff);
  box-shadow:  19px 19px 40px #d0cece,
              -19px -19px 40px #ffffff;
}

.footlinks a{
  width: auto;
}

li:hover{
  color: rgb(119, 0, 255);
  transition: color 1.5s ease;

}

p{
  margin-top: 90px;
  color: rgb(255, 144, 251);
}


@media (max-width: 480px) {
  h1{
    font-size: 30px;
  }

  p{
    font-size: 10px;
  }
  .about {
    min-width: 80%; 
    margin: 10px;
    overflow: scroll;
  }

  .skills{
    min-width: 80%; 
margin: 10px;;
  }
  #welcome {
    overflow: hidden;
  }

  .guessing-game a{
    font-size: 16px;
    min-width: 80%; 
    
  }
}


/*
@media only screen and (max-width: 480px) {
  
  
  #nav {
    width: 400px;
  }

h1{
  font-size: 25px ;
}
}