/* font-family: 'Roboto', sans-serif; */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans:wght@300&family=Roboto&display=swap");

/* full website color code
black - #0b0c10
light black - #1f2833
white - #c5c6c7
orange - #66fcf1 */

* {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
  outline: none;
  border: none;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
}

body {
  background: #0b0c10;
  color: #c5c6c7;
}

/* Loader */

.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1f2833;
  transition: opacity 0.75s, visibility 0.75s;
}

.loader--hidden {
  opacity: 0;
  visibility: hidden;
}

.loader::after {
  content: "";
  width: 75px;
  height: 75px;
  border: 15px solid #c5c6c7;
  border-top-color: #0b0c10;
  border-radius: 50%;
  animation: loading 0.75s ease infinite;
}

@keyframes loading {
  from {
    transform: rotate(0turn);
  }
  to {
    transform: rotate(1turn);
  }
}

/* header */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.3rem 9%;
  background: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  transition: background-color 0.3s;
}

.header:hover {
  background-color: #1f2833;
  box-shadow: 0px 2px 10px #0b0c10;
  transition: background-color 0.3s;
}

section {
  min-height: 100vh;
  padding: 10rem 9% 2rem;
}

/* .sticky {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
} */

.Logo {
  font-size: 1.7rem;
  color: #c5c6c7;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  animation: SlideRight 1s ease forwards;
  opacity: 0;
}

.Logo img {
  width: 40px;
  vertical-align: middle;
}

@keyframes SlideRight {
  0% {
    transform: translateX(-100%);
    opacity: 1;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Navbar */

.navbar a {
  color: #c5c6c7;
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
  margin-left: 4rem;
  font-size: 1.7rem;
  animation: slideTop 0.5s ease forwards;
  opacity: 0;
  animation-delay: calc(0.2s * var(--clr));
}

@keyframes slideTop {
  0% {
    transform: translatey(-100px);
    opacity: 1;
  }
  100% {
    transform: translatey(0);
    opacity: 1;
  }
}

.navbar a:hover,
.navbar a.active {
  color: #66fcf1;
}

#menu {
  font-size: 3.6rem;
  display: none;
}

/* Home */

.home {
  display: flex;
  justify-content: center;
  align-items: center;
}

.home-detail h3 {
  font-size: 3.2rem;
  font-weight: 700;
  animation: slidTop 0.7s ease forwards;
  animation-delay: 0.7s;
  opacity: 1;
}

.home-detail h1 {
  font-size: 5.6rem;
  font-weight: 700;
  margin: -3px 0;
  animation: SlideRight 1s ease forwards;
  opacity: 0;
  animation-delay: 1s;
}

.home-detail p {
  font-size: 1.6rem;
  opacity: 1;
  animation: SlideLeft 1s ease forwards;
  opacity: 0;
  animation-delay: 1s;
}

@keyframes SlideLeft {
  0% {
    transform: translateX(100px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.social-media a {
  display: inline-flex;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  color: #66fcf1;
  font-size: 2rem;
  border: 2px solid #66fcf1;
  background: transparent;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  margin: 3rem 1.5rem 3rem 0;
  transition: 0.5s ease;
}

/* this thing is for javascript */
.social-media a:hover,
.social-media a.active {
  background: #66fcf1;
  color: #0b0c10;
  box-shadow: 0 0 20px #66fcf1;
}

.home-detail h3:nth-of-type(2) {
  margin-bottom: 2rem;
}

span {
  color: #66fcf1;
}

.btn {
  display: inline-block;
  font-size: 1.6rem;
  padding: 1rem 2.8rem;
  margin: 3px;
  border-radius: 40px;
  color: #0b0c10;
  background: #66fcf1;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 1px;
  border: none;
  outline: none;
  transition: 0.5s ease;
  cursor: pointer;
}

.btn:hover {
  background: #0b0c10;
  color: #66fcf1;
  border: 1px solid #66fcf1;
}

.btn a {
  text-decoration: none;
  color: black;
}

.btn:hover a {
  color: #66fcf1;
}

.home-img img {
  width: 35vw;
  animation: Zoom 1s ease forwards, Float 4s ease-in-out infinite;
  animation-delay: 2s, 3s;
  opacity: 0;
}

@keyframes Zoom {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes Float {
  0% {
    transform: translatey(0);
  }
  50% {
    transform: translateY(-24px);
  }
  100% {
    transform: translateY(0);
  }
}

/* About */

.about-img img {
  width: 35vw;
}

.about {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #1f2833;
}

.allheading {
  text-align: center;
  font-size: 4.5rem;
}

.about-section h2 {
  text-align: left;
  line-height: 1.2;
}

.about-section h3 {
  font-size: 2.6rem;
}

.about-section p {
  font-size: 1.6rem;
  margin: 2rem 0 3rem;
}

/* skillsbar */

.wrapper {
  width: 40%;
  min-width: 500px;
  position: absolute;
  transform: translate(-50%, -50%);
  left: 50%;
  top: 50%;
}
.container {
  width: 100%;
  padding: 50px 30px;
  background-color: rgba(255, 255, 255, 0.06);
  border: 2px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.container * {
  font-family: "Poppins", sans-serif;
  color: #ffffff;
  font-weight: 500;
  font-size: initial;
}
h2 {
  margin-bottom: 40px;
  letter-spacing: 2px;
}
.skills:not(:last-child) {
  margin-bottom: 30px;
}
.details {
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}
.bar {
  position: relative;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 7px 10px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
}
.bar div {
  position: relative;
  width: 0;
  height: 5px;
  border-radius: 10px;
  background-color: #badefc;
  border: 1px solid #1c97fc;
  box-shadow: 0 0 5px rgba(28, 151, 252, 0.6);
}
#html-bar {
  animation: html-fill 2s forwards;
}
@keyframes html-fill {
  100% {
    width: 95%;
  }
}
#css-bar {
  animation: css-fill 2s forwards;
}
@keyframes css-fill {
  100% {
    width: 95%;
  }
}
#js-bar {
  animation: js-fill 2s forwards;
}
@keyframes js-fill {
  100% {
    width: 85%;
  }
}
#jQuery-bar {
  animation: jQuery-fill 2s forwards;
}
@keyframes jQuery-fill {
  100% {
    width: 80%;
  }
}

/* Certificates */

.Certificates {
  background: #1f2833;
}

.Certificates h2 {
  margin-bottom: 4rem;
}

.Certificates-box {
  position: relative;
  border-radius: 2rem;
  box-shadow: 0 0 1rem #1f2833;
  overflow: hidden;
  display: flex;
}

.Certificates-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
  gap: 2.5rem;
}

.Certificates-box img {
  width: 100%;
  transition: 0.5s ease;
}

.Certificates-head {
  flex-direction: column;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.3), #66fcf1);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 4rem;
  transform: translateY(100%);
  transition: 0.5s ease;
}

.Certificates-box:hover img {
  transform: scale(1.1);
}

.Certificates-box:hover .Certificates-head {
  transform: translateY(0%);
}

.Certificates-box .Certificates-head h4 {
  font-size: 3rem;
  color: #0b0c10;
}

.Certificates-head p {
  font-size: 1.6rem;
  margin: 0.3rem 0 1rem;
}

.Certificates-head a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 5rem;
  height: 5rem;
  border: 50%;
  text-decoration: none;
}

.Certificates-head i {
  font-size: 2rem;
  color: #1f2833;
}

/* Contact */

.contact form {
  max-width: 70rem;
  margin: 1rem auto;
  text-align: center;
  margin-bottom: 3rem;
}

form .input-box {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

form input,
textarea {
  width: 100%;
  padding: 1.5rem;
  font-size: 1.6rem;
  border: none;
  outline: none;
  color: #c5c6c7;
  background: #1f2833;
  border-radius: 0.8rem;
  gap: 2.5rem;
  margin: 0.7rem 0;
}

form input {
  width: 49%;
}

textarea {
  resize: none;
}

form .btn {
  margin-top: 2rem;
  cursor: pointer;
}

/* Footer */

.footer {
  background: #1f2833;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: wrap;
  padding: 2rem 9%;
}

.footer .text p {
  font-size: 1.6rem;
  text-align: center;
}

.footerUp a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: #66fcf1;
  padding: 0.8rem;
  text-decoration: none;
  border-radius: 50%;
}

.footerUp i {
  font-size: 2.4rem;
  color: #1f2833;
  text-align: center;
}

@media (max-width: 1200px) {
  html {
    font-size: 55%;
  }
}

@media (max-width: 991px) {
  .header {
    padding: 2rem 3%;
  }
  .skillsbar {
    margin-bottom: 7rem;
  }
  section {
    padding: 10rem 3% 2rem;
  }
  .footer {
    padding: 2rem 3%;
  }
  .Certificates {
    margin-bottom: 7rem;
  }
  .contact {
    min-height: auto;
  }
}

@media (max-width: 768px) {
  #menu {
    display: block;
  }
  .navbar {
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    padding: 1rem 3%;
    background: #0b0c10;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0.5rem 1rem rgba(255, 255, 255, 0.1);
    display: none;
  }
  .navbar.active {
    display: block;
  }
  .navbar a {
    display: block;
    font-size: 2rem;
    margin: 3rem 0;
  }
  .home {
    flex-direction: column-reverse;
  }
  .home-detail h1 {
    font-size: 2.6rem;
  }
  .home-detail h3 {
    font-size: 2.6rem;
  }
  .home-detail h4 {
    font-size: 5rem;
  }
  .home-detail img {
    width: 70vw;
    margin-top: 4rem;
  }

  .about {
    flex-direction: column;
  }
  .about-img {
    width: 70vw;
  }

  .Certificates h2 {
    margin-bottom: 3rem;
  }
  .Certificates .Certificates-section {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 617px) {
  .Certificates .Certificates-section {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media (max-width: 450px) {
  html {
    font-size: 50%;
  }
  .input-box input {
    width: 100%;
  }
}

@media (max-width: 350px) {
  .home-img img {
    width: 90vw;
  }
  .about-img img {
    width: 90vw;
  }
  .footer {
    flex-direction: column-reverse;
  }
  .footer p {
    text-align: center;
    margin-top: 2rem;
  }
}
