@import url("https://fonts.googleapis.com/css2?family=Yaldevi:wght@400;500&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

* {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  max-width: 98vw !important;
  scroll-behavior: smooth;
  background: image("./img/white_bg.jpg");
}

.nav-spacing {
  padding-right: 2rem !important;
  padding-left: 2rem !important;
}

#education a {
  color: #3B3B3B;
  font-family: 'Roboto', sans-serif;
  text-decoration: none;

}

.projects-header .section-title {
  color: black;
}

#btnScrollToTop {
  position: fixed;
  right: 60px;
  bottom: 77px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #4CAF50;
  color: white;
  outline: none;
  border: none;
}

#btnScrollToTop:active {
  background: #eb3241;
  filter: drop-shadow(5px 18px 18px rgba(236, 66, 66, 0.904));
}

body {

  background-image: url('../img/white_bg.jpg');
  width: 99vw;
  max-width: 100% !important;
  /* commented for orange cursor */
  /* cursor: url("https://cdn.custom-cursor.com/db/6102/32/color-lush-lava-cursor.png"),
    auto; */
  overflow-x: hidden;
}

::-webkit-scrollbar {
  width: 15px;
}

::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 1px 1px 5px #b8b7b7, inset 1px 1px 5px #0000004b;
  box-shadow: inset 1px 1px 5px #b8b7b7, inset 1px 1px 5px #0000004b;
  margin-top: 30px;
  margin-bottom: 30px;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: #4CAF50;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: black;
  border-radius: 10px;
}

::-webkit-scrollbar-button {
  display: none;
}

.logo {
  max-width: 50px;
  height: 50px;
}

.landing {
  margin: 0;
  padding: 0;
  max-width: 100%;
  /* height: 100vh; */
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: space-evenly;
  -ms-flex-pack: space-evenly;
  justify-content: space-evenly;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  padding: 15px;
  text-align: center;
}

.landing .img {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 100%;
  margin-bottom: 10%;
}

.landing .img img {
  width: 31vh;
  height: 31vh;
  padding: 2.8vh;
  background-color: #ffffff !important;
  -webkit-animation: outglow 4s ease forwards;
  animation: outglow 4s ease forwards;
  -webkit-animation-delay: 1s;
  animation-delay: 1s;
  border-radius: 20%;
}

@-webkit-keyframes outglow {
  0% {
    border-radius: 20%;
    -webkit-box-shadow: -10px -10px 15px #dddada, inset 10px 10px 4px #00000010;
    box-shadow: -10px -10px 15px #dddada, inset 10px 10px 4px #00000010;
  }

  50% {
    border-radius: 40%;
    -webkit-box-shadow: 10px 10px 25px #4CAF5063,
      inset -10px -10px 4px #00000010;
    box-shadow: 10px 10px 25px #4CAF5063, inset -10px -10px 4px #00000010;
  }

  80% {
    border-radius: 30%;
  }

  100% {
    border-radius: 100%;
    -webkit-box-shadow: 10px 10px 15px #dddada, inset -10px -10px 4px #00000010;
    box-shadow: 10px 10px 15px #dddada, inset -10px -10px 4px #00000010;
  }
}

@keyframes outglow {
  0% {
    border-radius: 20%;
    -webkit-box-shadow: -10px -10px 15px #dddada, inset 10px 10px 4px #00000010;
    box-shadow: -10px -10px 15px #dddada, inset 10px 10px 4px #00000010;
  }

  50% {
    border-radius: 40%;
    -webkit-box-shadow: 10px 10px 25px #4CAF5063,
      inset -10px -10px 4px #00000010;
    box-shadow: 10px 10px 25px #4CAF5063, inset -10px -10px 4px #00000010;
  }

  80% {
    border-radius: 30%;
  }

  100% {
    border-radius: 100%;
    -webkit-box-shadow: 10px 10px 15px #dddada, inset -10px -10px 4px #00000010;
    box-shadow: 10px 10px 15px #dddada, inset -10px -10px 4px #00000010;
  }
}

.landing .me {
  min-width: 35vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  padding: 3vh 2vh 3vh 2vh;
  min-height: 10vh;
  border-radius: 1em;
  -webkit-box-shadow: 5px 5px 30px #dddada, inset -5px -5px 10px #0000000c,
    -5px -5px 30px #ffffffbb, inset -5px -5px 10px #0000000c;
  box-shadow: 5px 5px 30px #dddada, inset -5px -5px 10px #0000000c,
    -5px -5px 30px #ffffffbb, inset -5px -5px 10px #0000000c;
}

#typed {
  padding-top: 0.5em;
  height: 2em;
  color: #4CAF50;
}

.about {
  margin-top: 5%;
  position: relative;
  max-width: 100%;
  height: -webkit-max-content;
  height: -moz-max-content;
  height: max-content;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.box3 h2 {
  text-transform: uppercase;
  margin-bottom: 3rem;
  color: #666464;
}

.about .title {
  font-weight: 600;
  font-size: 2em;
}

.about .card-wrapper {
  width: 100%;
  margin-top: 5%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: space-evenly;
  -ms-flex-pack: space-evenly;
  justify-content: space-evenly;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  max-height: -webkit-fit-content;
  max-height: -moz-fit-content;
  max-height: fit-content;
}

.about .card-wrapper .box {
  width: 520px !important;
  max-width: 90vw;
  max-height: -webkit-fit-content;
  max-height: -moz-fit-content;
  max-height: fit-content;
  height: 600px;
  margin: 3em;
  border-radius: 30px;
  -webkit-box-shadow: 5px 5px 30px #dddada, inset -5px -5px 10px #0000000c;
  box-shadow: 5px 5px 30px #dddada, inset -5px -5px 10px #0000000c;
  text-align: center;
  padding: 15px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  line-height: 1.6;
  padding-bottom: 20px;
}

.about .card-wrapper .box1 .resume {
  width: 100%;
}

.about .card-wrapper .box1 .resume button {
  padding: 0.8em 1.8em;
  outline: none;
  cursor: pointer;
  border: none;
  background: #4CAF50;
  color: #fcfcfc;
  -webkit-box-shadow: -0.15625vw -0.15625vw 0.65625vw #ffffff,
    0.15625vw 0.15625vw 0.19625vw #00000062;
  box-shadow: -0.15625vw -0.15625vw 0.65625vw #ffffff,
    0.15625vw 0.15625vw 0.19625vw #00000062;
  margin-bottom: 0.5208333333333334vw;
  border-radius: 6px;
  -webkit-transition: background 3s, border-radius 300ms 100ms;
  transition: background 3s, border-radius 300ms 100ms;
}

.about .card-wrapper .box1 .resume button:hover {
  background: #ff1900;
  color: white;
  border-radius: 30px;
}

.about .card-wrapper .box1 span {
  margin-top: 25px;
  margin-bottom: 12px;
  font-weight: bold;
}

.about .card-wrapper .box1 img {
  width: 25vh;
  height: 25vh;
  margin: 0 auto;
  border-radius: 30%;
  -webkit-box-shadow: -10px -10px 20px #b8b7b7, 10px 10px 20px #0000004b;
  box-shadow: -10px -10px 20px #b8b7b7, 10px 10px 20px #0000004b;
  background: #000;
  padding: 0.25em;
}

.about .card-wrapper .box2 {
  font-size: 1em;
  position: relative;
  height: -webkit-max-content;
  height: -moz-max-content;
  height: max-content;
  padding: 20px;
}

.about .card-wrapper .box2 span {
  margin-top: 1.5rem;
  margin-bottom: 1em;
  font-weight: bold;
}

.about .card-wrapper .box2 .mainlist {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: space-evenly;
  -ms-flex-pack: space-evenly;
  justify-content: space-evenly;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  list-style: none;
}

.about .card-wrapper .box2 .mainlist .icon {
  margin-top: 20px;
}

.about .card-wrapper .box2 .mainlist .sublist {
  list-style: none;
  margin-left: 20px;
}

.about .card-wrapper .box2 i {
  font-size: 48px;
}

.about .card-wrapper .box3 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.about .card-wrapper .box3 span {
  justify-self: flex-start;
  width: 100%;
  margin-top: 1.5rem;
  margin-bottom: 1em;
  font-weight: bold;
}

.about .card-wrapper .box3 ul {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: space-evenly;
  -ms-flex-pack: space-evenly;
  justify-content: space-evenly;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  list-style: none;
}

.about .card-wrapper .box3 ul li {
  margin: 10px;
}

.about .card-wrapper .box3 ul li a {
  color: black;
  font-size: 3em;
}

.about .card-wrapper .box3 ul li a:hover {
  color: #4CAF50;
}

.about-icons a {
  text-decoration: none;
  font-size: xxx-large;
  color: black;
  padding: 1.1rem;
}

.section-title {
  text-align: center;

  margin-bottom: 1.2rem;
  box-shadow: 5px 5px 30px #dddada, inset -5px -5px 10px #0000000c;
  padding: 3.5rem;
}

.about .card-wrapper .box3 ul .github a:hover {
  color: rgb(255, 254, 254);
  background-color: rgba(44, 37, 37, 0.877);
  box-shadow: 0px 3px 10px rgb(68, 67, 67);
}

.box3 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.contact-me {
  margin-top: 3rem;
}

.contact-me h2 {
  margin-bottom: 1.5rem;
}

.contact-me button {
  margin-top: 2rem;
  width: 50vw;
  font-size: larger;
  background: #24a0ed;
  transform: scale(1);
}

.contact-me button:active {
  transform: scale(1.1);
}

.social {
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.social a {
  text-decoration: none;
}

.fab:hover {
  color: #4CAF50;
  background-color: transparent;
  border: 2px solid #4CAF50;
  transform: rotate(360deg) scale(1.2);
  border-radius: 50px;
  background: #e0e0e0;
  box-shadow: inset 14px 14px 28px #c1c1c1, inset -14px -14px 28px #ffffff;
}

.fab {
  width: 50px;
  height: 50px;
  background-color: #4CAF50;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  font-size: 25px;
  margin: 0 10px;
  border-radius: 50px;
  background: linear-gradient(145deg, #f0f0f0, #cacaca);
  box-shadow: 0px 0px 22px #b3b3b3, -10px -10px 22px #e6e3e3;
  transition: transform 0.9s;
}

#contact-form {
  display: flex;
  flex-direction: column;
  align-content: left;
}

.form-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

input[type='text'],
input[type='email'] {
  width: 100%;
  border: none;
  outline: none;
  box-shadow: -10px -10px 20px rgba(255, 255, 255, 0.8), 10px 10px 20px rgba(0, 0, 0, 0.12);
  border-radius: 50px;
  padding: 30px;
  background: transparent;
  margin-bottom: 1rem;
}

input[type='text']:focus,
input[type='email']:focus {
  box-shadow: inset -10px -10px 20px rgba(255, 255, 255, 0.8), inset 10px 10px 20px rgba(0, 0, 0, 0.12);
  background: transparent;
}

.btn {
  box-shadow: -10px -10px 20px rgba(255, 255, 255, 0.8), 10px 10px 20px rgba(0, 0, 0, 0.12);
  background: transparent;
  outline: none;
  border: none;
  color: #666464;
  border-radius: 50px;
  padding: 15px;
  text-transform: uppercase;
  font-size: 1.2rem;
}

.btn:hover {
  background: #ff3b3b;
  color: white;
}

footer {
  background-color: #dddddd;
  width: 100%;
  height: 100%;
  margin: 20px 0 auto;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

footer .person1 {
  margin-top: 30px;
}

.footer {
  margin-top: 20px;
  width: 95vw;
  max-width: 100%;
  text-align: center;
  margin-bottom: 1.2rem;
}

.back_to_top {
  width: 50px;
  height: 50px;
  background-color: #4CAF50;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back_to_top a {
  color: #ffffff;
  font-size: xx-large;
}

.connect {
  display: flex;
  flex-direction: column;
  margin: 40px 0;
}

#btnScrollToTop {
  position: sticky;
  bottom: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #ff3b3b;
  color: white;
  cursor: pointer;
  outline: none;
  box-shadow: 0 0 10px blueviolet;
  border: none;
}

.ed-pic {
  height: 100%;
  box-sizing: border-box;
  margin-left: 10%;

  width: 80%;
  justify-content: center;
  box-shadow: 3px 3px 10px #dfd5cfd3, -1px 0 0.5em #aaa78cb2;
  filter: drop-shadow(0px 18px 18px rgba(183, 195, 204, 0.966));
}

.cont {
  margin-left: 10%;
}

@media only screen and (max-width: 763px) {
  .cont {
    margin: 10%;
  }
}

.blog-img {
  box-shadow: 0px 0px 15px #b8b7b7;
  border: 7px solid #ffff;

}

.blog-para {
  box-sizing: content-box;
  border: 4px solid #ffff;
  border-radius: 10px;
  box-shadow: 3px 3px 10px #dfd5cfd3, -1px 0 0.5em #aaa78cb2;
  filter: drop-shadow(0px 18px 18px rgba(187, 245, 169, 0.966));
  font-family: 'Roboto', sans-serif;
  padding: 5px;
  font-size: 1.2rem;
}

#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: red;
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 10px;
  font-size: 18px;
}

#myBtn:hover {
  background-color: #555;
}

.colorful-icon i.devicon-c-plain-wordmark {
  color: #4CAF50;
  /* Change this color to your desired color for C */
}

.colorful-icon i.devicon-cplusplus-plain-wordmark {
  color: #3b7ab8;
  /* Change this color to your desired color for C++ */
}

.colorful-icon i.devicon-python-plain-wordmark {
  color: #f9cb3e;
  /* Change this color to your desired color for Python */
}

.colorful-icon i.devicon-java-plain-wordmark {
  color: #007396;
  /* Change this color to your desired color for Java */
}

/* Box 3 Css Not working properly */
.about .card-wrapper .box3 ul {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.about .card-wrapper .box3 ul li {
  width: 33%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.about .card-wrapper .box3 ul li span {
  font-weight: bold;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
}

.social-links ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.social-links ul li {
  display: inline-block;
  margin-right: 10px;
}

.social-links ul li a {
  color: #000;
  text-decoration: none;
  font-size: 24px;
}

.footer {
  margin-top: 20px;
  font-size: 14px;
  color: #888;
}

.ContactColour a {
  color: #4CAF50;
  text-decoration: none;
}

.ContactColour a:hover {
  color: #4CAF50;
}

.projects {
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #f9f9f9;
  margin: 20px auto;
  max-width: 1200px;
}

.project-card {
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #fff;
  margin-bottom: 20px;
  position: relative;
}

.project-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.project-image {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-top: 10px;
}

.project-title {
  font-size: 28px;
  color: #333;
}

.project-description {
  font-size: 16px;
  color: #666;
}

.landing {
  text-align: center;
  padding: 20px;
  background-color: #fff;
}

.landing .img img {
  width: 276px;
  height: 276px;
  border-radius: 50%;
}

.me h2 {
  font-size: 36px;
  margin: 0;
}

.about {
  padding: 20px;
  background-color: #fff;
}

.card-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.about {
  padding: 20px;
  background-color: #fff;
}

.card-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  /* Space between the boxes */
  flex-wrap: wrap;
  /* Allows wrapping on smaller screens */
}

.box {
  flex: 1;
  min-width: 45%;
  /* Adjust the minimum width to fit two boxes side-by-side */
  box-sizing: border-box;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #f9f9f9;
  display: flex;
  flex-direction: column;
}

.box1 img,
.box2 img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .box {
    min-width: 100%;
  }
}

.box {
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 20px;
  flex: 1;
  box-sizing: border-box;
}

.about .card-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.box {
  flex: 1;
  margin: 10px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.box1,
.box2 {
  max-width: 45%;
  /* Adjust width as needed */
  display: flex;
  flex-direction: column;
}

.box1 img,
.box2 img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 10px;
}

@media (max-width: 768px) {

  .box1,
  .box2 {
    max-width: 100%;
  }
}

.box1 {
  max-width: 45%;
}

.box2 {
  max-width: 45%;
}

.box2 .mainlist {
  list-style-type: none;
  padding: 0;
}

.box2 .sublist {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.box2 .icon {
  margin-right: 10px;
}

.social-links ul {
  list-style-type: none;
  padding: 0;
}

.social-links ul li {
  display: inline;
  margin: 0 10px;
}

.footer {
  padding: 20px;
  text-align: center;
  background-color: #4CAF50;
  color: #fff;
}

.ContactColour a {
  color: #f53f2b;
  text-decoration: none;
}

.ContactColour a:hover {
  color: #f53f2b;
}

@media (max-width: 768px) {

  .box1,
  .box2 {
    max-width: 100%;
  }
}

.ContactColour a {
              color: #4CAF50;
              text-decoration: none;
          }

          .ContactColour a:hover {
              color: #0c0c0c;
          }

