/* @import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@600;700&family=Open+Sans:ital,wght@800&family=Poppins:wght@400;500;600&display=swap'); */

:root {
  --ff-primary: "Poppins", sans-serif;
  --ff-headers: "Montserrat", sans-serif;
  --container-padding-inline: 4rem;
  --container-padding-block: 3rem;
  --fs-xs: 0.5em;
  --fs-sm: 0.9em;
  --fs-md: 1em;
  --fs-lg: 1.5em;
  --fs-xl: 3em; /* --fs-lg: 3.5em; */
  --fs-xxl: 4em;
}

html,
body {
  overflow-x: hidden;
}

* p {
  margin-bottom: 0;
}

body {
  height: 100vh;
  height: 100svh;
  scroll-behavior: smooth;
}

.wrapper {
  height: 100%;
  width: 100%;
  transition: all 0.3s ease-in-out;
}

/* --------- SECOND OPTION -----------*/
.navbar {
  box-shadow: inset 0 -10px 35px -20px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
/* --------- SECOND OPTION -----------*/

.home-page {
  height: 100%;
  width: 100%;
}

.navbar {
  font-family: var(--ff-primary);
  width: 90%;
  top: 4%;
  left: 50%;
  transform: translateX(-50%);
  padding-block: 1rem;
  z-index: 2;
}

.home-page .navbar .navbar-nav, .navbar-nav a {
  cursor: pointer;
  border-radius: 10px;
  transition: all ease-in-out 0.2s;
}

.navbar-nav a {
  padding-inline: 1rem;
}

.navbar-nav a:hover {
  background-color: rgba(99, 99, 99, 1.459);
  color: #fff;
}

.nav-logo {
  height: 40px;
  overflow: hidden;
}

.nav-logo .logo img {
  max-width: 200px;
  object-fit: contain;
}

.introduction {
  font-family: var(--ff-primary);
  height: 100%;
  padding-inline: var(--container-padding-inline);
  padding-block: var(--container-padding-block);
}

.introduction .greeting {
  background-color: #eec759;
  width: fit-content;
  padding: 0.2rem 0.9rem;
  border-radius: 7px;
}

.introduction .description {
  width: 65%;
}

.introduction .name {
  font-size: var(--fs-xl);
  font-weight: 600;
  font-family: var(--ff-primary);
}

.side-header {
  /* font-size: var(--fs-100); */
  font-size: 0.5em;
  font-family: var(--ff-headers);
  transform: rotate(-90deg);
  bottom: 5%;
  position: absolute;
  left: 0;
  top: 0;
  right: 2%;
  z-index: 1;
  opacity: 0.075;
}

.btns .btn {
  background-color: #bebebe40;
  font-weight: 500;
  font-size: var(--fs-sm);
  cursor: pointer;
}

.btn {
  font-size: var(--fs-sm);;
}

.btn a {
  text-decoration: none;
  color: initial;
}

.btns .btn:hover {
  background-color: #bebebec5;
}

.socials div {
  border-radius: 50%;
  padding: 0.5rem;
  height: 40px;
  width: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.socials {
  cursor: pointer;
}

.socials a {
  text-decoration: none;
  color: #212121;
}

.socials div:hover {
  box-shadow: inset rgba(99, 99, 99, 0.459) 0px 2px 8px 0px;
}

/* .socials a:hover {
} */

/* EXPERIENCE SECTION STARTS */
.experience-section {
  min-height: 20em;
  padding-inline: var(--container-padding-inline);
  padding-block: var(--container-padding-block);
}

.experience-section .heading p {
  font-size: var(--fs-xl);
  font-family: var(--ff-headers);
}

.experience-section .experience > p {
  font-size: var(--fs-lg);
  font-weight: 600;
  font-family: var(--ff-primary);
}

.experience-cards-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.experience-card {
  background-color: #bebebe40;
  font-family: var(--ff-primary);
  font-size: var(--fs-sm);
  max-width: 45rem;
}

.experience-card .card-head {
  font-weight: 500;
  font-size: var(--fs-md);
  font-family: var(--ff-headers);
}

.projects-section {
  padding-inline: var(--container-padding-inline);
  padding-block: var(--container-padding-block);
}

.projects-section .heading p {
  font-size: var(--fs-xl);
  font-family: var(--ff-headers);
}

.projects-section .projects > p {
  font-size: var(--fs-lg);
  font-weight: 600;
  font-family: var(--ff-primary);
}

.projects-section .projects .project-card {
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  min-width: 300px;
  transition: all 0.3s ease-in-out;
}

.projects-section .projects .project-card {
  font-family: var(--ff-primary);
  font-size: fs-;
}

.projects-section .projects .project-card:hover {
  transform: scale(1.05);
}

.projects-section .projects .project-card a p:nth-child(2) {
  font-size: var(--fs-sm);
}

.projects-section .projects .project-card a > p:first-child {
  font-family: var(--ff-primary);
  font-weight: 600;
  margin-bottom: 0;
  font-size: var(--fs-md);
}

.projects-section .projects .project-card {
  box-shadow: inset 0 -90px 150px -40px rgba(0, 0, 0, 0.2);
  color: #212121;
}

.projects-section .projects .topics {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 0.5rem;
}

.projects-section .projects .topics code {
  margin-bottom: 0;
  font-size: var(--fs-xs);
  background-color: #222831;
  color: #fff;
  border-radius: 20px;
  padding: 0.3rem 0.7rem;
  font-weight: 600;
}

.about {
  width: 100%;
  background-color: rgba(46, 44, 44, 0.072);
  padding-inline: var(--container-padding-inline);
  padding-block: 3rem 1rem;
}

.about .about-me > p {
  font-family: var(--ff-headers);
}

.about .about-desc {
  font-family: var(--ff-primary);
}

.about .connection {
  min-height: 100px;
  width: 1.5px;
  background-color: #000;
}

.about .skills {
  min-width: 77%;
}

.about .skills .card-body {
  background-color: #bebebe40;
  font-family: var(--ff-primary);
}

.about .skills .card-body p {
  font-size: var(--fs-sm);
}

.about .skills .col {
  margin-block: 1rem;
}

.experience-section {
  position: relative;
}

.experience-section .exp-desc {
  position: absolute;
  top: 50%;
  left: 52%;
  transform: translate(-50%, -50%);
  font-family: var(--ff-primary);
  text-align: center;
}

.arrow-pointer img {
  transform: rotate(90deg);
}

/* FOOTER */

.footer {
  height: 35vh;
  box-shadow: inset 0 -50px 150px -40px rgba(0, 0, 0, 0.2);
}

.footer .contact .left-part p:nth-child(1) {
  font-weight: 600;
  background-color: #212121;
  color: #fff;
  width: fit-content;
}

.footer .contact .left-part p:nth-child(2) {
  font-family: "Open Sans", "Montserrat", sans-serif;
  font-weight: 800;
  font-size: var(--fs-xxl);
}

.footer .right-part {
  font-family: var(--ff-primary);
}

.footer a {
  text-decoration: none;
  color: #212121;
}

.footer .right-part .connect .footer-socials div {
  border-radius: 50%;
  padding: 0.5rem;
  height: 40px;
  width: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.right-part .connect .footer-socials div:hover {
  box-shadow: inset rgba(99, 99, 99, 0.459) 0px 2px 8px 0px;
}


.hidden {
  opacity: 0;
  transition: all 1s ease-in-out;
  transform: translateY(+20%);
}

.show {
  opacity: 1;
  transform: translateY(0);
}


@media only screen and (max-width: 320px) {
  :root {
    --container-padding-inline: 2rem;
    --fs-xxs: 0.7em;
    --fs-xs: 0.8em;
    --fs-sm: 1em;
    --fs-md: 1.5em;
    --fs-lg: 2em;
    --fs-xl: ;
    --fs-xxl: 2.5em;
  }
}

@media only screen and (max-width: 400px) {
  .hide-device {
    display: none;
  }
}

@media only screen and (max-width: 576px) {
  :root {
    --container-padding-inline: 2rem;
    --fs-xxs: 0.7em;
    --fs-xs: 0.8em;
    --fs-sm: 0.9em;
    --fs-md: 1em;
    --fs-lg: 2em;
    --fs-xxl: 2.5em;
  }

  .introduction .greeting {
    font-size: var(--fs-xs);
  }

  .introduction .name {
    font-size: var(--fs-lg);
  }

  .home-page .btns {
    font-size: var(--fs-sm);
  }

  .introduction .description {
    font-size: var(--fs-xs);
    width: 92%;
  }

  .socials {
    bottom: 15%;
    left: 8%;
  }

  .projects-section .projects > p {
    font-size: var(--fs-md);
  }

  .projects-section .heading p {
    font-size: var(--fs-lg);
  }

  .projects-section .projects .row {
    display: flex;
    justify-content: center;
  }

  .about .about-desc {
    font-size: var(--fs-xs);
  }

  .footer-section .contact .left-part {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .experience-section svg {
    height: 400px;
  }

  .exp-desc {
    font-size: var(--fs-xxs);
  }

}

@media only screen and (max-width: 768px) {
  :root {
    --fs-xs: 0.8em;
    --fs-xl: 2em;
    --fs-xxl: 2.5em;
  }

  .experience-section svg {
    height: 450px;
  }

  .exp-desc {
    font-size: var(--fs-xs);
  }
}

@media only screen and (max-width: 992px) {
  :root {
    --fs-xxl: 2em;
  }
}

@media only screen and (min-width: 992px) and (max-width: 1200px) {
  :root {
    --fs-xxl: 3em;
  }
}