/*...............................All section styles........................*/
.headings {
  font-family: century;
  font-size: 2rem;
  text-align: center;
  margin: 40px;
}

@media only screen and (max-width: 600px) {
  .heading span {
    color: rgb(3, 196, 250);
  }
}



 /*..................................Home...........................*/

#home {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  padding: 20px;
  background-color: #161617;
  color: #ddd;
  font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
}
.content1 {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
}
.left {
  flex: 1;
  text-align: center;
}

.left h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hire-me-btn {
  padding: 10px 35px;
  background-color: transparent;
  border: 1px solid white;
  color: #fff;
  outline: none;
  transition: 0.6s ease;
  flex-direction: row;
}

.hire-me-btn:hover {
  cursor: pointer;
  background-color: white;
  color: black;
  box-shadow: 0 0 5px white, 0 0 10px white, 0 0 15px white;
  font-weight: bold;
}

.right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.angled-square {
  width: 400px;
  height: 400px;
  border: 3px solid rgb(236, 241, 237);
  border-radius: 20px;
  transform: rotate(45deg);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.angled-square img {
  width: 100%;
  height: auto;
  transform: rotate(-45deg);
}

@media (max-width: 768px) {
  .content1 {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .left,
  .right {
    flex: none;
    width: 100%;
    text-align: center;
  }

  .left h1 {
    font-size: 2rem;
  }

  .angled-square {
    width: 300px;
    height: 300px;
  }
}

@media (max-width: 480px) {
  .left h1 {
    font-size: 1.5rem;
  }

  .hire-me-btn {
    padding: 10px 20px;
  }

  .angled-square {
    width: 200px;
    height: 200px;
    margin-top: 55px;
  }
}
/*.........................................About Section........................*/
#about {
  flex-direction: column;
  box-sizing: border-box;
  padding: 20px;
  margin-bottom: 0px;
  background-color: rgb(180, 179, 179);
}

#pic {
  display: flex;
}

#pic img {
  width: 575px;
  height: 400px;
}

#intro {
  display: flex;
  flex-direction: column;
  text-align: justify;
  padding: 10px;
  margin-left: auto;
  margin-right: auto;
  color: black;
  font-size: 18px;

  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
}

#intro h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: white;
}

#intro h3 {
  color: white;
  text-align: left;
  font-size: larger;
}

#con {
  font-size: 20px;
  padding: 0px;
  font-weight: bold;
  margin-top: 10px;
}

#con a {
  display: inline-flex;
  text-decoration: none;
  align-items: center;
  font-size: 35px;
  transition: all 0.6s ease-in-out;
  margin: 5px;
  margin-left: 5px;
  position: relative;
  justify-content: center;
  color: black;
  top: 10px;
  left: 10px;
  margin-bottom: 30px;
}

#con a:hover {
  transform: translateY(-10px);
  color: rgb(87, 155, 35);
}

#btn1 {
  display: inline-block;
  padding: 10px 35px;
  background-color: transparent;
  border: 1px solid rgb(87, 155, 35);
  color: rgb(87, 155, 35);
  outline: none;
  transition: 0.6s ease;
  margin-left: 200px;
}

#btn1:hover {
  cursor: pointer;
  background-color: rgb(145, 229, 103);
  color: black;
  box-shadow: 0 0 5px rgb(145, 229, 103), 0 0 10px rgb(145, 229, 103),
    0 0 15px rgb(145, 229, 103);
  font-weight: bold;
}

@media only screen and (max-width: 600px) {
  #pic {
    flex-direction: column; /* Stack the image and text vertically on small devices */
    align-items: center; /* Center the image and text vertically */
    text-align: justify; /* Justify the text */
  }

  #pic img {
    width: 70%; /* Make the image width 100% to fit smaller screens */
    height: auto; /* Maintain aspect ratio */
    margin-bottom: 10px; /* Add spacing between image and text */
  }
  #intro {
    font-size: 16px; /* Adjust font size for smaller devices */
    padding: 5px; /* Adjust padding for smaller devices */
  }

  #intro h2 {
    font-size: 1.5rem; /* Adjust heading font size for smaller devices */
    margin-bottom: 10px; /* Adjust margin for smaller devices */
  }

  #intro h3 {
    font-size: 1.2rem; /* Adjust sub-heading font size for smaller devices */
  }
}
#con {
  font-size: 15px;
  margin-top: 5px;
}

#con a {
  font-size: 25px;
  margin-bottom: 20px;
}

#btn1 {
  padding: 0;
  margin-left: 0;
  margin-top: 5px;
}

/*..........................................resume section.............................*/
#resume {
  padding: 10px;
}

#resume .headings {
  padding: 10px;
}


#resume .exp {
  width: 100%;

  background-color: rgb(115, 113, 119);
}

#resume .edu {
  width: 100%;

  background-color: rgb(87, 89, 92);
}
#resume .courses {
  width: 100%;

  background-color: rgb(115, 113, 119);
}
#resume .baj {
  width: 100%;

  background-color: rgb(87, 89, 92);
}
#resume .ex {
  width: 100%;
  background-color: rgb(115, 113, 119);
}
#resume .vol {
  width: 100%;
  background-color: rgb(87, 89, 92);
}

#resume .edu .details,
#resume .courses .details,
#resume .exp .details,
#resume .vol .details,
#resume .baj .details,
#resume .ex .details {
  display: flex;
  flex-direction: row;
  padding-top: 20px;
}

#resume .edu .details .content,
#resume .courses .details .content,
#resume .exp .details .content,
#resume .vol .details .content,
#resume .baj .details .content,
#resume .ex .details .content {
  margin-left: 30px;
  padding-bottom: 20px;
}

#resume .edu .details .image img,
#resume .courses .details .image img,
#resume .exp .details .image img,
#resume .vol .details .image img,
#resume .baj .details .image img,
#resume .ex .details .image img {
  width: 100px;
  height: 100px;
  margin-left: 250px;
  border-radius: 50%;
}

#resume .edu .details .image #curve,
#resume .courses .details .image #curve,
#resume .exp .details .image #curve,
#resume .vol .details .image #curve,
#resume .baj .details .image #curve,
#resume .ex .details .image #curve {
  border-radius: 50%;
}

#resume .courses .details .content p a {
  color: rgb(5, 12, 79);
}

#resume .edu h2,
#resume .courses h2,
#resume .exp h2,
#resume .vol h2,
#resume .baj h2,
#resume .ex h2 {
  text-decoration: underline;
  text-underline-offset: 8px;
  text-decoration-color: rgb(2, 103, 43);

  padding-left: 200px;
  padding-top: 20px;
}

@media only screen and (max-width: 600px) {
  #resume .exp,
  #resume .ex,
  #resume .edu,
  #resume .courses {
    padding: 10px;
    margin: 10px 0;
  }

  #resume .headings {
    padding: 5px;
  }
  #resume .edu .details .image img,
  #resume .courses .details .image img,
  #resume .exp .details .image img,
  #resume .vol .details .image img,
  #resume .baj .details .image img,
   #resume .ex .details .image img {
    margin-left: 10px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
  }

  #resume .edu h2,
  #resume .courses h2,
  #resume .exp h2,
  #resume .ex h2,
  #resume .vol h2,
  #resume .baj h2,
  #resume .baj h2 {
    font-size: 20px;
    padding-left: 10px;
  }
  #resume .section h2 {
    font-size: 10px;
    padding-left: 10px;
  }
}


/*.......................................portfolio section...........................*/
#portfolio {
  display: flex;
  flex-direction: column;
  padding: 20px;
}
#portfolio .project-buttons {
  text-align: center;
  margin-bottom: 20px;
}

#portfolio .filter-button {
  color: rgb(81, 79, 79);
  padding: 5px 10px;
  margin: 5px;
  cursor: pointer;
  font-size: 18px;
  border: none;

  text-decoration: underline;
  font-weight: bold;

  /* Increase the space between text and underline */
  text-decoration-skip-ink: none; /* Disable skipping ink */
  text-underline-offset: 6px; /* Adjust the offset (increase as needed) */
}

#portfolio .filter-button:hover {
  color: rgb(70, 9, 144);
}

#portfolio .filter-button.active {
  color: rgb(213, 202, 42);
}

.row {
  flex-wrap: wrap;
  box-sizing: border-box;
  display: flex;

  justify-content: center;
  text-align: center;
  justify-items: center;
  align-content: center;
}
#portfolio .project {
  display: flex;
  flex-direction: column;
  width: 300px;
  height: 450px;
  border: 1px solid black;
  margin: 10px;
  align-items: center;
  text-align: justify;
  padding: 10px;
  border-radius: 15px;
  background: linear-gradient(to top, rgb(87, 155, 35) 50%, white 50%);
  background-size: 100% 200%;
  transition: all 0.8s;
}

#portfolio .project:hover {
  background-position: left bottom;
  color: white;
  border: none;
  box-shadow: 0 0 20px rgb(145, 229, 103);
}

#portfolio .project img {
  width: 80px;
  height: 80px;
  background-color: none;
  padding: 10px;
}

#portfolio .project .sk button {
  background-color: #ddd;
  border: none;
  border-radius: 10px;
  padding: 5px;
  margin-bottom: 5px;
}

/* Style the link container */
.link {
  display: flex;
  align-items: center; /* Align items vertically to the middle */
  justify-content: center; /* Align items horizontally to the center */
  height: 120px;
  /* Set a height to the container (adjust as needed) */
  background-color: none; /* Background color for the container */
  color: white;
}

/* Style the icon */
.link a {
  font-size: 20px;
}

/*...........................................skills........................*/

#skills{
  padding: 20px;
}

.hardskill,
.softskill {
  padding: 50px;
  margin: 20px;
  border-radius: 8px;
}
.hardskill h2,
.softskill h2 {
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-color: rgb(2, 103, 43);
}

.hardskill {
  background-color: rgb(115, 113, 119);
}

.softskill {
  background-color: rgb(87, 89, 92);
}

.myskill,
.mysoftskill {
  display: flex;
  flex-wrap: wrap;
}

.myskill div,
.mysoftskill div {
  margin: 0;
  row-gap: 2px;
}

ul {
  padding: 0;
}

li {
  margin: 1px 0;
}

hr {
  
  border: 1px solid #ccc;
  width: 80%;
}

@media (max-width: 768px) {
  .myskill div,
  .mysoftskill div {
    flex: 1 1 100%;
    text-align: justify;
  }
}

@media (min-width: 769px) {
  .myskill div,
  .mysoftskill div {
    flex: 1 1 22%;
  }
}
