html{ scroll-behavior: smooth; }

body {
    width: 100%;
    padding: 0;
    margin: 0;
    font-family: 'Abel';
    background-color: black; 
    color: white;  
    font-family: 'Oxygen Mono', monospace, Arial, Helvetica, sans-serif;
}

a {
    text-decoration: none !important;
    color: white;
  }

details > summary {
    list-style: none;
}

#h1 {
    font-size: 5vw;
}

#h2 {
    font-size: 1vw;
}
#p{
    font-size: 2vw;
}


/* navigation bar*/
.nav{
   background: black;
    width: 100%;
    height: 3.07vw;
    position: fixed;
    z-index: 1;
    text-align: left;
    font-size: 2vw;
    padding-top: 1vw;
    transition:.4s linear;
    border: solid white;
    border-width: 0.0vw 0px;
    box-shadow: 
            0 0 .2rem #fff,
            0 0 .2rem #fff,
            0 0 0.8rem #eff302,
            0 0 1.8rem #eff302,
            0 0 0.8rem #b5e72b,
            inset 0 0 0.3rem #b048e0; 
            
}

/* about me */
.about{
    color: white;
    background: black;
    padding-top: 6vw;
    width: 100%;
    height: 40vw;
    text-align: center;
    transition:.4s linear;
}

/*neon text and border for big sections*/
#neon{
    text-shadow:
      0 0 42px rgb(74, 40, 224),
      0 0 82px rgb(74, 40, 224),
      0 0 92px rgb(74, 40, 224),
      0 0 102px rgb(74, 40, 224),
      0 0 151px rgb(74, 40, 224);
    border:solid white;
    border-width: 0.3vw 0px;
    
    box-shadow: 
            0 0 .2rem #fff,
            0 0 .2rem #fff,
            0 0 1.8rem #bc13fe,
            0 0 1.8rem #bc13fe,
            0 0 2rem #bc13fe,
            inset 0 0 0.3rem #bc13fe; 
}

/*neon text and border for big sections*/
#neon1{
  border:solid white;
  border-width: 0.3vw 0px;
  
  box-shadow: 
          0 0 .2rem #fff,
          0 0 .2rem #fff,
          0 0 1.8rem rgb(40, 224, 209),
          0 0 1.8rem rgb(40, 224, 209),
          0 0 0.8rem rgb(37, 86, 190),
          inset 0 0 0.3rem rgb(108, 112, 179); 
}

/*about me section*/
#home{
    text-align: center;
    padding-right: 2vw;
    padding-left: 2vw;
    color: white;
    padding-top: 1vw;
    padding-bottom: 0.7vw;
}

#home:hover{
  box-shadow: 
  0 0 .2rem #fff,
  0 0 .2rem #fff,
  0 0 0.4rem #bb5de0,
  0 0 0.8rem #c162e7,
  0 0 2rem #c061e6,
  inset 0 0 0.3rem #c07bdb; 
  transition:.4s linear;
}

/*my projects section*/
#my-projects{
    text-align: center;
    padding-right: 2vw;
    padding-left: 2vw;
    color: white;
    padding-top: 1vw;
    padding-bottom: 0.7vw;
}

#my-projects:hover{
  box-shadow: 
        0 0 .2rem #fff,
        0 0 .2rem #fff,
        0 0 0.4rem #e6db40,
        0 0 0.8rem #be832b,
        0 0 2rem #996920,
        inset 0 0 0.3rem #d69913; 
    transition:.4s linear;
}

/*contact me/get connected section*/
#contact-me{
    text-align: center;
    padding-right: 2vw;
    padding-left: 2vw;
    color: white;
    padding-top: 1vw;
    padding-bottom: 0.7vw;
}

#contact-me:hover{
  box-shadow: 
  0 0 .2rem #fff,
  0 0 .2rem #fff,
  0 0 0.4rem rgb(40, 224, 209),
  0 0 0.8rem rgb(40, 224, 209),
  0 0 2rem rgb(37, 86, 190),
  inset 0 0 0.3rem rgb(62, 153, 123);
  transition:.4s linear;
}


/*logos*/
#github{
    text-align: center;
    padding-right: 5vw;
    color:gray;
    font-size: 5vw;
}

#github_nav{
    text-align: right;
    color: gray;
    float: right;
    margin-right: 4%;
    font-size: 2.5vw;
    margin-top: -0.17%;
}

#linkedin{
    text-align: center;
    padding-left: 5vw;
    padding-right: 5vw;
    color: skyblue;
    font-size: 5vw;
}

#linkedin_nav{
    text-align: right;
    color: skyblue;
    float: right;
    margin-right: 4%;
}

#email{
    text-align: center;
    padding-left: 2vw;
    padding-right: 2vw;
    color: beige;
    font-size: 5vw;
}

#email_nav{
    text-align: right;
    color: beige;
    float: right;
    margin-right: 4%;
}

#resume{
    text-align: center;
    padding-right: 5vw;
    color: rgb(209, 209, 226);
    font-size: 5vw;
}

#resume_nav{
    text-align: right;
    color: rgb(209, 209, 226);
    float: right;
    margin-right: 4%;
}

/* projects*/
.project{
    width: 100%;
    height: 60vw;
    text-align: center;
    padding-top: 3vw;
    padding-bottom: 3vw;   
    transition:.4s linear;
}

/* contact me*/
.contact{
    text-align: center;
    width: 100%;
    height: 10vw;
    padding-top: 4vw;
    transition: .4s linear;
}

#linkedin:hover, #github:hover, #email_nav:hover, #linkedin_nav:hover, #github_nav:hover, #resume:hover, #resume_nav:hover{
    transform: scale(1.25);
    transition: .4s ease-in-out;
}

#email:hover{
    transform: scale(1.4); 
    transition: .4s ease-in-out;
}

/*project boxes wrapper*/
.wrap{
    display: grid;
    grid-template-columns: 20vw 20vw 20vw;
    grid-template-rows: 20vw 20vw;
    grid-gap: 4vw;
    padding-left: 15%;
}
/*box for each project*/
.box{
    background-color: black;
    color: #fff;
    border-radius: 1vw;
    border:solid white;
    padding: 2vw;
}

.box:hover{
    transform: scale(1.15);
    transition: .2s ease-in-out; 
    box-shadow: 
        0 0 .2rem #fff,
        0 0 .2rem #fff,
         0 0 0.4rem rgb(200, 65, 218),
         0 0 0.8rem rgb(95, 40, 224),
         0 0 2rem rgb(37, 86, 190),
         inset 0 0 0.3rem rgb(79, 200, 221);
    animation: flicker 2s alternate;
    animation-fill-mode: forwards;

}

@keyframes flicker {
    
    0%, 18%, 22%, 25%, 53%, 57%, 100% {
  
        text-shadow:
        0 0 4px #fff,
        0 0 3px #fff,
        0 0 2px #fff,
        0 0 4px rgb(134, 57, 221),
        0 0 8px rgb(60, 75, 211),
        0 0 9px rgb(223, 107, 132),
        0 0 15px rgb(90, 102, 218),
        0 0 5px rgb(103, 55, 214);
    
    }
    
    20%, 24%, 55% {        
        text-shadow: none;
    }    
}

/*background upon popup*/
#background {
    display: none;
    position: fixed;
    top: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    width: 100%;
    height: 100%;
    opacity: 0.8;
    z-index: 100;
  }

  /*closing popup*/
.popupclose {
    color: black;
    font-size: 2vw;
    float: right;
    padding-top: 0.2vw;
    padding-right: 0.5vw;
    cursor: pointer;
  }

.popupcontent {
    padding: 10px;
  }

  #popup1, #popup2, #popup3, #popup4, #popup5{
    color: white;
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: black;
    width: 60vw;
    height: 30vw;
    z-index: 200;
    box-shadow: 
        0 0 .2rem #fff,
        0 0 .2rem #fff,
         0 0 0.4rem rgb(200, 65, 218),
         0 0 0.8rem rgb(95, 40, 224),
         0 0 2rem rgb(37, 86, 190),
         inset 0 0 0.3rem rgb(79, 200, 221);
  }

/*left side of the popup*/
.popupLeft{
    float: left;
    height: 100%;
    width: 50%;
    text-align: center;
}

/*right side of the popup*/
.popupRight{
    float: left;
    height: 100%;
    width: 50%;
}

/*buttons for deployed and source code in popup screen*/
.reroute, .reroute1{
    background-color: black;
    margin-top: 4vw;
    color: #fff;
    font-size:1vw;
    box-shadow: 
    0 0 .2rem #fff,
    0 0 .2rem #fff,
     0 0 0.4rem rgb(200, 65, 218),
     0 0 0.8rem rgb(95, 40, 224),
     0 0 2rem rgb(37, 86, 190),
     inset 0 0 0.1rem rgb(79, 200, 221);
}

.reroute:hover{
    box-shadow: 
        0 0 .2rem #fff,
        0 0 .2rem #fff,
        0 0 0.4rem #e6db40,
        0 0 0.8rem #be832b,
        0 0 2rem #996920,
        inset 0 0 0.1rem #d69913; 
    animation: flicker 2s alternate-reverse;
    animation-fill-mode: forwards;
}

.reroute1:hover{
    box-shadow: 
        0 0 .2rem #fff,
        0 0 .2rem #fff,
        0 0 0.4rem rgb(40, 224, 209),
        0 0 0.8rem rgb(40, 224, 209),
        0 0 2rem rgb(37, 86, 190),
        inset 0 0 0.3rem rgb(62, 153, 123);
    animation: flicker 2s alternate-reverse;
    animation-fill-mode: forwards;
}
