* {
  margin: 0;
  padding: 0;
}
.shadowl {
  filter: brightness(120%);
  filter: contrast(120%);
  filter: drop-shadow(5px 5px 3px #4976b6);
}
/*Here I design scroll bar*/
::-webkit-scrollbar {
  width: 0.7rem;
  transition: transform 0.5s ease;
}

::-webkit-scrollbar-thumb {
  background: blueviolet;
  border-radius: 4px;
}

::-webkit-scrollbar-track {
  background: #cbc6ff;
}

::-webkit-scrollbar-thumb:hover {
  background: #ff4d4d;
  border-radius: 4px;
}

/*Scroll bar CSS ends here.*/

::selection {
  background-color: blueviolet;
}

::-webkit-scrollbar-corner {
  color: #0053bd;
}

.resume:hover {
  background-color: rgb(5, 236, 63);
  box-shadow: 0 0 5px #26ff31, 0 0 15px #26ff31, 0 0 20px #26ff31,
    0 0 100px #26ff31;
}
.resume {
  margin: 0;
  border: 0;
  text-decoration: none;
  color: white;
  border: 2px solid rgb(5, 236, 63);
  padding: 5px 15px;
  border-radius: 10px;
  transition: background-color 0.5s ease;
  font-weight: bold;
}

.whatsapp {
  position: fixed;
  width: 50px;
  height: 50px;
  padding-top: 11px;
  right: 20px;
  bottom: 15px;
  z-index: 999999;
}
.ccc {
  position: fixed;
  width: 150px;
  height: 160px;
  right: 20px;
  bottom: 75px;
  z-index: 999999;
}

.whatsapp + a {
  display: none;
  opacity: 0;
}

.whatsapp:hover + a {
  display: block;
  opacity: 1;
  cursor: pointer;
}

.ccc:hover {
  display: block;
  opacity: 1;
}
.whatsapp:hover {
  cursor: pointer;
}
.inline {
  display: block;
}
code {
  color: white;
  font-weight: 900;
}
#color {
  color: white;
}
.contact_icon {
  font-size: 3rem;
}
.card-texft {
  margin-top: 2rem;
}
.email-icon {
  width: 24px;
  height: 24px;
  fill: currentColor;
}
.email-icon {
  width: 48px;
  height: 48px;
  fill: blue;
}

.contact_partition {
  text-align: center;
  align-content: center;
  justify-content: center;
}

.grid_margin {
  margin: 30px;
}

.contact_partition:first-child {
  margin-right: 10px; /* Adjust the gap size as needed */
}

.contact_partition:last-child {
  margin-left: 10px; /* Adjust the gap size as needed */
}

#contact {
  margin: 50px;
}
.contact_partition {
  margin: 5000px;
}

.card-title {
  height: 5vh;
}

.card-text {
  height: 7vh;
  /* Adjust the maximum height as needed */
  overflow: auto;
  /* Add scrollbars when content overflows */
}

.imgicon {
  width: 35px;
  height: 35px;
}

.progress {
  color: #00cf5d;
  height: 40px;
  flex-grow: 1;
  /* Let the progress bar grow to fill available space */
  border-radius: 0 10px 10px 0;
}

.flex-con {
  display: flex;
  height: 20px;
  /* align-items: center;  Align items vertically to the center */
  justify-content: center;
  /* Align items horizontally to the center */
  align-items: flex-end;
  margin-top: 50px;
  flex-wrap: nowrap;
  transition: transform 0.7s;
}

.flex-con:hover {
  transform: scale(1.05);
  /* Zoom in by 10% */
}

.div1 {
  height: 40px;
  color: #007bff;
  background-color: white;
  font-size: 20px;
  padding-top: 1px;
  padding-bottom: 19px;
  padding-left: 15px;
  padding-right: 15px;
  border-radius: 10px 0 0 10px;
}

.div3 {
  min-width: 40vw;
}

.project-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  grid-gap: 50px;
}

.project {
  width: 100%;
}

.grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 20px;
}

.paragraph {
  grid-column: 2 / 3;
}

.image {
  grid-column: 1 / 2;
  text-align: center;
}

.imgpro {
  filter: grayscale(70%);
  max-width: 50%;
  min-width: 200px;
  height: auto;
}

/* Media query for smaller screens */
@media screen and (max-width: 768px) {
  .grid-container {
    grid-template-columns: 1fr;
    /* Single column layout */
  }

  .paragraph,
  .image {
    grid-column: 1;
    /* Both elements should start from the first column */
  }
}

.image-cont {
  transition: transform 0.3s ease;
  /* Add a smooth transition to the zoom effect */
}

.imgpro {
  transition: all 1s ease;
  /* Add a smooth transition to the zoom effect */
}

.image-cont:hover .imgpro {
  filter: grayscale(0%);
  transform: scale(1.15);
  /* Zoom in the image on hover */
}

/* Apply styles for the link button */
.mybutton {
  display: inline-block;
  padding: 15px 30px;
  background-color: #0053bd;
  /* Set the background color */
  color: #ffffff;
  /* Set the text color */
  text-decoration: none;
  /* Remove underline */
  border: none;
  /* Remove border */
  border-radius: 10px;
  /* Add border radius for rounded corners */
  margin-block-end: 10px;
  transition: background-color 0.5s ease;
}

/* Apply styles when the link button is hovered */
.mybutton:hover {
  background-color: #0056b3;
  /* Change the background color on hover */
}

/* Style for the list container */
.list-container {
  display: flex;
  /* Use flexbox to display lists side by side */
}

/* Style for the list items */
.side-by-side {
  color: #00cf5d;
  margin: 0;
  /* Remove default margin */
  padding: 0;
  /* Remove default padding */
}

.side-by-side li {
  padding: 8px;
  /* Add some padding to separate list items */
}

/* Add the CSS for sticky-top navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: top 0.4s;
  /* Add a smooth transition effect for hiding/showing the navbar */
}

/* Add some padding to the body so that content doesn't go behind the navbar */
body {
  padding-top: 70px;
}

.about-me {
  margin-left: 100px;
}

/* Add the following CSS styles for the custom-card class */
.custom-card {
  transition: box-shadow 0.3s, transform 0.3s;
  /* Add transition effect for box-shadow and transform */
}

.custom-card:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  /* Add a shadow effect when hovering */
  transform: scale(1.05);
  /* Zoom in the card a little when hovering */
}

.bcurve {
  margin: auto;
  border-radius: 15px;
}

/* Custom styles for the selected and unselected tabs */
.nav-pills .nav-item .nav-link.active {
  background-color: #6716f3;
  color: white;
}

.nav-pills .nav-item .nav-link {
  color: #c7a9f9;
  /* transition: all 2s ease-in-out; */
}
.nav-pills .nav-item {
  transition: all 0.3s ease-in-out;
}
.nav-pills .nav-item:hover {
  text-shadow: 0 0 5px #8f4eff, 0 0 15px #8f4eff, 0 0 20px #8f4eff,
    0 0 100px #8f4eff;
}

.image-container {
  width: 280px;
  height: 185px;
  background-color: #2b3d57;
  display: flex;
  justify-content: center;
  align-items: center;
}

/*ihov means icon hover. I add this for change icon (github and link redirect) on hover*/
/* Customize the icon color to white */
.ihov {
  color: #ffffff;
}

/* Add the transition effect */
.ihov {
  transition: color 0.5s ease;
}

/* Add the hover effect */
.ihov:hover {
  color: #00ff00;
  /* Green color */
}

.container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.green-eye {
  color: #00cf5d;
}

.bod {
  padding: 20px;
}

body {
  position: relative;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #212c3b;
  color: #ffffff;
}

#pageContent {
  display: block;
}

footer {
  background-color: #2b3d57;
  text-align: center;
  padding: 2rem;
}

/*Input start*/
input {
  border: 4px solid #b6fc66;
  /* Set the border style */
  border-color: rgb(227, 255, 11);
  /* Set the border color */
  border-radius: 10px;
  font-size: 16px;
  padding: 10px;
  margin-block-end: 10px;
}

input:hover {
  border-color: rgb(90, 24, 151);
  /* Set the desired hover border color */
}

input:focus {
  outline: none;
  /* Remove the default focus outline */
  border-color: rgb(0, 224, 30);
  /* Set the desired focus border color */
}

/*Input END*/

.carde {
  position: relative;
  width: 300px;
  height: 350px;
  margin: 20px;
}

.carde .face {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 10px;
  overflow: hidden;
  transition: 0.5s;
}

.carde .front {
  transform: perspective(600px) rotateY(0deg);
  box-shadow: 0 5px 10px #000;
}

.carde .front img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carde .front h3 {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 45px;
  line-height: 45px;
  color: #fff;
  background: rgba(0, 0, 0, 0.4);
  text-align: center;
}

.carde .back {
  transform: perspective(600px) rotateY(180deg);
  background: rgb(3, 35, 54);
  padding: 15px;
  color: #f3f3f3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  box-shadow: 0 5px 10px #000;
}

.carde .back .link {
  border-top: solid 1px #f3f3f3;
  height: 50px;
  line-height: 50px;
}

.carde .back .link a {
  color: #f3f3f3;
}

.carde .back h3 {
  font-size: 30px;
  margin-top: 20px;
  letter-spacing: 2px;
}

.carde .back p {
  letter-spacing: 1px;
}

.carde:hover .front {
  transform: perspective(600px) rotateY(180deg);
}

.carde:hover .back {
  transform: perspective(600px) rotateY(360deg);
}
