*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
    scroll-behavior: smooth;
    letter-spacing: 2px;
    font-family: monospace;
    color: azure;
}

.progress {
  background: linear-gradient(to right,rgb(255, 255, 255) 0%, rgb(0,105,130) 50vw,rgb(2, 58, 73), rgb(0, 0, 0) 100vw); 
  /* pre-set background gradient */
  background-repeat: no-repeat;
  position: fixed;
  width: var(--scroll); /* Variable width based on scroll position */
  top:0;
  left:0;
  height: 10px;
  z-index: 1;
}


#nav{
    background-color: black 0.6px;
    height: 50px;
    padding-top: 20px;
    width: 90%;
    position:fixed;
}
#nav li{
    list-style-type: none;
    display: inline;
    float: right;
    padding-right: 10px;
    padding-left: 20px;
}
#nav li a{
    color: azure;
    text-decoration: none;
    padding-left: 20px;
    font-weight: 10px;
    font-size: larger;
} 
img{
    border-radius: 20px;
}
#img1{
    width: 40%;
    float: left;
    padding-left: 120px;
    padding-top: 120px;
}
#greet{
    width: 50%;
    float: right;
    padding-top: 180px;
    /* padding-top: 200px;
    width: 100%;
    padding-left: 900px; */
}
#greet h6{
    font-size: 50px;
    font-weight: 5px;
}
#greet p{
    font-size: 25px;
    font-weight: 5px;
}
#com2{
  display: none;
}
a.one:hover {font-size: 55px;}
/* a.two:hover {font-size: 30px;} */
#intro{
    /* background-image: url(https://images.unsplash.com/photo-1478760329108-5c3ed9d495a0?q=80&w=1000&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxleHBsb3JlLWZlZWR8MXx8fGVufDB8fHx8fA%3D%3D); */
    background-image: url(background.avif);
    background-repeat: no-repeat;
    height: 750px;
    background-size: 100% 100%;
    color: azure;
}
#skills{
    height: 100vh;
    /* background-color: rgb(1,33,43); */
    background-image: linear-gradient(/*to bottom right,*/rgb(0, 8, 13),rgb(2, 40, 51));
    display: flex;
    font-size: 30px;
    justify-content: space-around;
    align-items: center;
    text-align: justify;
    text-align: center;
    line-height: 60px;
}
.soft{
    width: 500px;
    height: 350px;
    padding: 5px;
    background-image: linear-gradient(to bottom right,rgb(0,105,130),rgb(0,37,47));
    border: 2px solid rgb(6, 28, 37);
    border-radius: 30px;
}
.hard{
    width: 500px;
    height: 350px;
    padding: 5px;
    background-image: linear-gradient(to bottom right,rgb(0,105,130),rgb(0,37,47));
    border: 2px solid rgb(6, 28, 37);
    border-radius: 30px;
}
#prj{
    height: 100vh;
    background-image: linear-gradient(/*to bottom right,*/rgb(2, 40, 51),rgb(2, 58, 73));
    display: flex;
    justify-content: space-around;
    align-items: center;
}
#prj h2{
    padding-top: 80px;
}
.flip-box {
    background-color: transparent;
    width: 300px;
    height: 200px;
    border: 1px solid rgb(6, 28, 37);
    border-radius: 40px;
    perspective: 1000px;
  }
  
  .flip-box-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
  }
  
  .flip-box:hover .flip-box-inner {
    transform: rotateX(180deg);
  }
  
  .flip-box-front, .flip-box-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }
  
  .flip-box-front {
    background-image: linear-gradient(to bottom right,rgb(0, 60, 74),rgb(0, 31, 39));
    border-radius: 40px;
    color: black;
  }
  
  .flip-box-back {
    background-image: linear-gradient(to bottom right,rgb(1, 48, 60),rgb(0,105,130));
    border-radius: 40px;
    color: azure;
    transform: rotateX(180deg);
  }

  #edu{
    height: 100vh;
    background-image: linear-gradient(/*to bottom right,*/rgb(2, 58, 73),rgb(2, 40, 51));
    display: flex;
    justify-content: space-around;
    align-items: center;
  }
  #ova{
    color: azure;
    background-image: linear-gradient(to bottom right,rgb(0, 8, 13),rgb(0,37,47));
    height: 400px;
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    border-radius: 80px;
    border: 1px solid rgb(6, 28, 37);
  }
  #int{
    height: 100vh;
    background-image: linear-gradient(/*to bottom right,*/rgb(2, 40, 51),rgb(0, 8, 13));
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
  }
  #int h2{
    padding: 80px;
  }
  .f-b {
    background-color: transparent;
    width: 300px;
    height: 200px;
    border: 1px solid rgb(6, 28, 37);
    border-radius: 40px;
    perspective: 1000px;
  }
  
  .f-b-i {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
  }
  
  .f-b:hover .f-b-i {
    transform: rotateX(180deg);
  }
  
  .f-b-f, .f-b-b {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }
  
  .f-b-f {
    background-image: linear-gradient(to bottom right,rgb(0, 60, 74),rgb(0, 31, 39));
    border-radius: 40px;
    color: black;
  }
  
.f-b-b {
    background-image: linear-gradient(to bottom right,rgb(1, 48, 60),rgb(0,105,130));
    background-size:contain;
    border-radius: 40px;
    color: azure;
    transform: rotateX(180deg);
}
#cert{
    height: 100vh;
    display: flex;
    justify-content:center;
    align-items: center;
    background-image: linear-gradient(/*to bottom right,*/rgb(0, 8, 10),rgb(0, 38, 47),rgb(1, 48, 60)/*,rgb(0, 31, 39)*/);
  }
.container{
    height: 400px;
    aspect-ratio: 1.5 / 1;
    display: flex;
    overflow: hidden;
}
.img{
    height: 100%;
    opacity: 0.7;
    width: calc(100% / 5);
    object-fit: cover;
    overflow: hidden;
    border: 2px solid #141414;
    transition: all 0.4s cubic-bezier(0.32, 0, 0.67, 0);
    cursor: pointer;
}
.img:hover{
    opacity: 1;
    width: 200%;
}
#con{
    height: 100vh;
    background-image: linear-gradient(/*to bottom right,*/rgb(1, 48, 60),rgb(0, 38, 47),rgb(0, 8, 10)/*,rgb(0, 31, 39)*/);
    display: flex;
    align-items: center;
    justify-content: space-around;
}
#c{
  font-size: 20px;
  background-color: rgb(2, 58, 73) 0.5;
}
#c h2{
  padding-top: 10px;
}
#c p{
  line-height: 70px;
}
.fb {
  background-color: transparent;
  width: 500px;
  height: 400px;
  border-radius: 40px;
  border: 1px solid rgb(6, 28, 37);
  perspective: 1000px;
}
.fbi {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}
.fb:hover .fbi {
  transform: rotateY(180deg);
}
.fbf, .fbb {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.fbf {
  background-image: linear-gradient(to bottom right,rgb(1, 48, 60),rgb(0,105,130));
  border-radius: 40px;
}

.fbb {
  background-image: linear-gradient(to bottom left,rgb(1, 48, 60),rgb(0,105,130));
  border-radius: 40px;
  color: white;
  transform: rotateY(180deg);
}
form {
  display: flex;
  flex-direction: column;
}
label {
  margin-bottom: 5px;
}
input, textarea {
  margin-left: 60px;
  margin-bottom: 15px;
  padding: 8px;
  color: black;
  box-sizing: border-box;
  border-radius: 30px;
  width: 80%;
}
button {
  border: 1px solid rgb(6, 28, 37);
  background: linear-gradient(0deg, rgb(1, 68, 84) ,rgb(0, 31, 39) );
  border: none;
  color:azure;
  margin-left: 210px;
  border-radius: 100px;
  width: 80px;
  height: 40px;
  cursor:pointer;
  transition: background-color 0.3s;
}
button:hover {
  border: 1.5px solid white; 
  color: aliceblue;
  background: rgb(0,3,255);
  background: linear-gradient(0deg, rgb(0, 60, 74) 0%, rgb(46, 87, 96) 100%);
  transform: scale(1.2);
  transition: 0.3s ease-in-out;
}
  