@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400&display=swap");

/* import styles by section */
@import url("home.css");
@import url("navbar.css");
@import url("about.css");
@import url("skills.css");
@import url("education.css");
@import url("work.css");
@import url("experience.css");
@import url("contact.css");
@import url("footer.css");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  outline: none;
  border: none;
  text-transform: capitalize;
  transition: all 0.2s linear;
}
html {
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}
body {
  background: #f7f7f7;
  font-family: "Poppins", sans-serif;
}

*::selection {
  background: #2b3dda;
  color: #fff;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
}
html::-webkit-scrollbar {
  width: 0.8rem;
}
html::-webkit-scrollbar-track {
  background: rgb(235, 202, 245);
}
html::-webkit-scrollbar-thumb {
  background: #420177;
}

/* pre loader start */
.loader-container {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  background: #e6eff1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}
.loader-container.fade-out {
  top: -120%;
}
/* pre loader end */

/* common media queries starts*/
@media (max-width: 450px) {
  html {
    font-size: 55%;
  }
  body {
    padding-right: 0;
  }
  section {
    padding: 2rem;
  }
}
/* common media queries ends*/

/* scroll top starts */
#scroll-top {
  position: fixed;
  top: -140%;
  right: 2rem;
  padding: 1rem 1.5rem;
  font-size: 2rem;
  background: #ffae00;
  color: rgb(13, 0, 44);
  border-radius: 50%;
  transition: 1s linear;
  z-index: 1000;
}
#scroll-top.active {
  top: calc(100% - 12rem);
}
/* scroll top ends */

/* about section styles */
.about {
  padding: 3rem 2rem; /* Adjust padding for the section */
  background-color: #f9f9f9; /* Optional: Add a light background for contrast */
}

.about .heading {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.about .row {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem; /* Add spacing between elements */
}

.about .content {
  max-width: 800px;
  margin: 0 auto;
}

.about .content h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.about .content .tag {
  display: inline-block;
  background-color: #420177;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.about .content p {
  font-size: 1.6rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 2rem;
}

.about .box-container {
  margin-bottom: 1.5rem;
}

.about .box p {
  font-size: 1.4rem;
  color: #555;
}

.about .resumebtn .btn {
  display: inline-flex;
  align-items: center;
  background-color: #420177;
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  font-size: 1.4rem;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.about .resumebtn .btn:hover {
  background-color: #2b3dda;
}
