:root {
  --default-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Ubuntu, "Helvetica Neue", Helvetica, Arial, "PingFang SC",
    "Hiragino Sans GB", "Microsoft Yahei UI", "Microsoft Yahei",
    "Source Han Sans CN", sans-serif;
  --headingFontSize: 50px;
  --subHeadingFontSize: 30px;
  --headingFontSizeS: 35px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-size: 1.2rem;
  font-family: Inter, var(--default-font-family);
}

input,
select,
textarea,
button {
  outline: 0;
}

body {
  width: 100%;
  margin: 0%;
  padding: 0%;
  background-color: #081b29;
}
.main-container {
  width: 100%;
  height: fit-content;
  background-color: #081b29;
  margin: 0%;
  padding: 0;
}
.navbar-section {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}
.navbar img {
  display: none;
  width: 25px;
  height: 25px;
}
/* #home-section style */
header {
  padding: 20px 20px;
}

.container {
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  color: whitesmoke;
}

.logo h1 {
  font-size: 30px;
}
.toggle-btn {
  display: none;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

nav ul li {
  display: inline;
}

nav ul li a {
  color: white;
  text-decoration: none;
  position: relative;
  font-size: 1.12rem;
}

nav ul li a::before {
  content: "";
  width: 0%;
  height: 3px;
  background-color: darkturquoise;
  position: absolute; /* Changed from relative to absolute */
  bottom: -6px;
  left: 50%;
  transition: 0.5s;
}
nav ul li a:hover::before {
  width: 100%;
  left: 0;
}
#home-section {
  width: 100%;
  background-image: url("assets/images/profile.png");
  background-repeat: no-repeat;
  background-size: 25% auto;
  background-position-x: 80%;
  background-position-y: 7rem;
  background-attachment: fixed;
  height: 100vh;
  display: flex;
  align-items: center;
  /* justify-content: center; */
  padding: 20px;
}

.text-container {
  width: 100%;
  margin-left: 50%;
}

.text-container h2 {
  font-size: 25px;
  color: darkturquoise;
  font-weight: normal;
  margin-bottom: 10px;
  font-style: oblique;
}

.text-container h1 {
  font-size: 60px;
  font-weight: bold;
  margin-bottom: 10px;
  color: white;
}

.text-container p {
  font-size: 30px;
  color: white;
}

/* My Skills Style*/

/* Project */

/* Education Style */

/* Contact Style */

.footer-section {
  display: flex;
  width: 100%;
  height: 80px;
  gap: 30px;
  justify-content: center;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
}

.icon {
  width: 50px;
  height: 50px;
}

/* Responsive Style */
@media only screen and (max-width: 600px) {
  * {
    font-size: 1.1rem;
  }
  .main-container {
    /* padding: 5%; */
    overflow-x: hidden;
  }
  .container {
    justify-content: space-between;
  }
  .navbar img {
    display: block;
    width: 25px;
    height: 25px;
  }
  .navbar ul {
    background-color: rgb(19, 45, 63);
    opacity: 9;
    position: fixed;
    top: 0;
    right: -150px;
    display: flex;
    flex-direction: column;
    width: 150px;
    height: fit-content;
    padding-top: 25px;
    align-content: center;
    z-index: 1001;
    border: 1px solid white;
    border-right: hidden;
    border-radius: 10px;
    box-shadow: white;
    transition: right 0.5s;
  }
  .navbar ul li {
    width: 100%;
    display: block;
    margin: 20px;
    margin-bottom: 0;
    height: fit-content;
  }

  nav ul {
    flex-direction: column;
    gap: 5px;
  }
  .navbar ul li:last-child {
    margin-bottom: 20px;
  }
  .navbar ul img {
    position: absolute;
    top: 25px;
    right: 25px;
  }
  /* Home */
  #home-section {
    width: 100%;
    /* background-image: url("assets/images/Homeprofile1.png"); */
    background-repeat: no-repeat;
    background-size: 95% auto;
    background-position: center;
    background-position-y: 5rem;
    /* background-position-x: rem; */
    background-attachment: fixed;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .text-container {
    width: 100%;
    height: 100%;
    margin: auto;
    margin-top: 5rem;
  }
  .text-container h2 {
    font-size: 16px;
    color: white;
    font-weight: normal;
    margin-bottom: 10px;
  }

  .text-container h1 {
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 10px;
    color: white;
  }

  .text-container p {
    color: white;
  }

  /* Skills */

  /* project */

  /* Educatio */

  /* contact */

  /* footer */
  .footer-section {
    flex-direction: column;
    padding: 20px;
    gap: 10px;
  }
  .footer-icon {
    display: flex;
    gap: 20px;
  }

  .icon {
    margin-top: 20px;
    width: 30px;
    height: 30px;
    margin-bottom: 0px;
  }
  .copyright-text {
    font-size: 12px;
  }
  .copyright {
    font-size: 16px;
  }
  .copyright i {
    font-size: 16px;
  }
}
