@import url('https://fonts.googleapis.com/css?family=Nunito+Sans&display=swap');

/* Resetting default styles */
body {
  font-family: "Nunito Sans", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  width: 100%;
  height: auto;
  background-color: black;
}

/* Header and Navigation Styling */
.jumbotron {
  background-color: black;
}

/* Styling for text with glow effect */
.glow-text {
  text-decoration: none;
  color: white;
  position: relative;
  transition: color 0.3s ease;
}

.glow-text::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -1px;
  left: 0;
  background: linear-gradient(to right, #ff0066, #ff6b00, #ffeb3b, #4caf50, #00bcd4, #673ab7, #ff0066);
  background-size: 300%;
  border-radius: 5px;
  opacity: 0;
  transition: opacity 0.3s ease;
  filter: blur(3px); /* Reduce the blur amount for a lighter effect */
}

.glow-text:hover {
  color: transparent;
}

.glow-text:hover::before {
  opacity: 0.5; /* Reduce the opacity for a lighter glow */
  animation: glow-animation 1.5s linear infinite;
}

@keyframes glow-animation {
  0% {
    background-position: 0 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}


/* Social Media Icons Styling */
.Icon_ul {
  display: flex;
  justify-content: left;
  align-items: center;
  padding-left: 0;
  margin-left: 0;
}

.Icon_ul li {
  list-style: none;
}
#github, #LinkedIn, #facebook {
  font-size: 25px;
  color: #fff;
  border-radius: 29px;
  padding: 10px 17px;
  margin: 0;
  animation: animate 3s linear infinite;
  text-shadow: 0 0 50px #0072ff, 0 0 100px #0072ff, 0 0 150px #0072ff, 0 0 200px #0072ff;
  transition: all 0.3s ease; /* Smooth transition for the hover effect */
}

#github:hover, #LinkedIn:hover, #facebook:hover {
  color: #0072ff; /* Change text color on hover */
  text-shadow: 0 10 10px #0072ff, 0 0 20px #0072ff, 0 0 30px #0072ff, 0 0 40px #0072ff;
}

#LinkedIn {
  animation-delay: 0.3s;
}
#facebook {
  animation-delay: 0.7s;
}
#github {
  animation-delay: 0.1s;
}

@keyframes animate {
  from {
    filter: hue-rotate(0deg);
  }
  to {
    filter: hue-rotate(360deg);
  }
}

/* Styling for the image */
.pic_img {
  border-radius: 50%;
}

@keyframes glow {
  0% {
    border-color: rgba(0, 255, 0, 0.5);
    box-shadow: 0 0 25px 15px rgba(0, 255, 0, 0.5);
  }
  25% {
    border-color: rgba(128, 0, 128, 0.5);
    box-shadow: 0 0 25px 15px rgba(128, 0, 128, 0.5);
  }
  50% {
    border-color: rgba(0, 0, 255, 0.5);
    box-shadow: 0 0 25px 15px rgba(0, 0, 255, 0.5);
  }
  100% {
    border-color: rgba(255, 0, 0, 0.5);
    box-shadow: 0 0 25px 15px rgba(255, 0, 0, 0.5);
  }
}

/* Styling for CV button */
#cv_btn {
  all: unset;
  width: 100px;
  height: 30px;
  font-size: 16px;
  background: transparent;
  border: none;
  position: relative;
  color: #f0f0f0;
  cursor: pointer;
  z-index: 1;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

#cv_btn::after,
#cv_btn::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: -99999;
  transition: all .4s;
}

#cv_btn::before {
  transform: translate(0%, 0%);
  width: 100%;
  height: 100%;
  background-color: red;
  border-radius: 10px;
}

#cv_btn::after {
  transform: translate(10px, 10px);
  width: 35px;
  height: 35px;
  background: #ffffff15;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-radius: 50px;
}

#cv_btn:hover::before {
  transform: translate(5%, 20%);
  width: 110%;
  height: 110%;
}

#cv_btn:hover::after {
  border-radius: 10px;
  transform: translate(0, 0);
  width: 100%;
  height: 100%;
}

#cv_btn:active::after {
  transition: 0s;
  transform: translate(0, 5%);
}

/* Social links for resume page */
.social_links {
  font-size: 30px;
  color: rgb(0, 0, 0);
  padding-top: 20px;
}

/* Responsive styling for smaller screens */
@media (max-width: 768px) {
  .banner_section img {
    display: flex;
    margin-bottom: 70px;
    margin-right: 180px;
    height: 200px !important;
    width: 200px !important;
  }
  .contactMe{
    margin-top: 20px;
  }

  .social-links {
    text-align: center;
    margin-top: 20px;
  }

  #content_display {
    height: 100px !important;
  }
  .DownArrowFont {
    margin-left: 300px;
    margin-top: 210px;
  }
}

html {
  scroll-behavior: smooth;
}

section {
  padding: 60px 0;
  min-height: 100vh;
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  background: #333;
  color: #fff;
}

nav ul {
  display: flex;
  justify-content: center;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

nav ul li {
  margin: 0 20px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
}

nav ul li a:hover {
  color: #fff;
}

/* for navigation */
.navbar-nav {
  margin: 0 auto;
}

/* download button */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  text-align: center;
  color: #fff;
}

.button {
  position: relative;
  width: 150px;
  height: auto;
  margin: 40px auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.radio {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  cursor: pointer;
}

.button a {
  text-decoration: none;
  text-align: center;
  width: 200px;
  padding: 20px;
  background: linear-gradient(90deg, #fa1a1a 50%, #0d3f67 50%) no-repeat;
  background-position: right center;
  background-size: 200% 100%;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
  color: #fff !important;
}

.button a:hover, .radio:hover + a {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}

.button a:active {
  box-shadow: none;
  transform: scale(0.95);
  transition: all 0.3s ease;
}

.open {
  display: none;
}

.radio:checked ~ a {
  animation: loading 5s linear forwards 1;
}

.radio:checked + .download {
  display: none;
}

.radio:checked ~ .open {
  display: block;
}

@keyframes loading {
  0% { 
    height: 100%; 
    padding: 20px;
    background-position: right center;
    color: transparent;
    box-shadow: none;
    pointer-events: none;
  }
  2% { 
    height: 5px; 
    padding: 0 20px;
    color: transparent;
    pointer-events: none;
  }
  95% { 
    height: 5px; 
    padding: 0 20px;
    background-position: left center;
    color: transparent;
    pointer-events: none;
  }
  100% {
    height: 100%; 
    padding: 18px 20px;
    background-position: left center;
    color: #FFF;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    z-index: 4;
    pointer-events: auto;
  }
}

.copy {
  position: absolute;
  bottom: 5vh;
  left: 50%;
  transform: translateX(-50%);
  color:#fff;
}

/* submit button css */
.btn-primary {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, background-color 0.3s ease;
  background-color: #007bff;
}

.btn-primary:hover {
  transform: scale(1.05);
  background-color: #0056b3;
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;
  height: 300%;
  background: rgba(255, 255, 255, 0.2);
  transition: width 0.3s ease, height 0.3s ease;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.btn-primary:hover::before {
  width: 0;
  height: 0;
}

.btn-primary span {
  position: relative;
  z-index: 1;
}

.DownArrowFont {
  font-size: 50px;
  animation: vibrate 0.3s infinite; /* Animation added here */
}


/* Keyframes for vibration animation */
@keyframes vibrate {
  0%, 100% {
    transform: translateY(0); /* Original position */
  }
  50% {
    transform: translateY(3px); /* Moves down slightly */
  }
}

