@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #aae9ca;
  --heading-color: #282938;
  --bg-shade: #f5fcff;
  --advisor: #3beea3;
  --darkblue: #1c1e53;
  --heading-color: rgb(85, 85, 85);
  ;
  --text-color: rgb(85, 85, 85);
  ;
  --bg-shade: #f8fafc;
  --white: #ffffff;
  --black: #0f172a;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;

}

html {
  scroll-behavior: smooth;

}

* {
  margin: 0;
  padding: 0;

}

button {
  color: #000;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-style: normal;
  color: var(--text-color);
  line-height: 1.6;
}

p {
  color: rgb(85, 85, 85);
}

a,
.button {
  transition: all 1s ease;
}

nav,
.nav-links {
  display: flex;
  transition: all 1s ease;
}

nav {
  justify-content: space-around;
  align-items: center;
  height: 12vh;
  padding: 15px 85.333px;
  backdrop-filter: blur(20px);
}

.nav-links {
  gap: 2rem;
  list-style: none;
  align-items: flex-start;
  font-size: 1.1rem;
}

a {
  color: black;
  text-decoration: none;
  text-decoration-color: white;
}

a:hover {
  color: rgb(92, 92, 92);
  text-decoration: underline;
  text-underline-offset: 0.5rem;
  text-decoration-color: rgb(182, 184, 183);
}

.logo {
  font-size: 2rem;
}

.logo:hover {
  cursor: default;
}

#dropdown-nav {
  display: none;
}

.dropdown-menu {
  position: relative;
  display: inline-block;
}

.dropdown-logo {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 24px;
  width: 30px;
  cursor: pointer;
}

.dropdown-logo span {
  width: 100%;
  height: 2px;
  background-color: black;
  transition: all 0.3s ease-in-out;
}

.menu-links {
  display: flex;
  position: absolute;
  top: 100%;
  right: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(50px);
  width: fit-content;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
}

.menu-links a {
  display: block;
  padding: 10px;
  text-align: center;
  font-size: 1.5rem;
  color: black;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

.menu-links li {
  list-style: none;
}

.menu-links.open {
  max-height: 400px;
}

.dropdown-logo.open span:first-child {
  transform: rotate(45deg) translate(10px, 5px);
}

.dropdown-logo.open span:nth-child(2) {
  opacity: 0;
}

.dropdown-logo.open span:last-child {
  transform: rotate(-45deg) translate(10px, -5px);
}

.dropdown-logo span:first-child {
  transform: none;
}

.dropdown-logo span:first-child {
  opacity: 1;
}

.dropdown-logo span:first-child {
  transform: none;
}

section {
  padding-top: 4vh;
  height: 96vh;
  margin: 0 10rem;
  box-sizing: border-box;
  min-height: fit-content;
}

.section-container {
  display: flex;
}

#profile {
  display: flex;
  justify-content: center;
  gap: 5rem;
  height: 80vh;
}

.section-pic-container {
  display: flex;
  height: 400px;
  width: 400px;
  margin: auto 0;
}

.textSection {
  align-self: center;
  text-align: center;
}

.textSection p {
  font-weight: 600;
}

.textSection-p1 {
  text-align: center;
}

.textSection-p2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.title {
  font-size: 3rem;
  text-align: center;
}

.text-container {
  justify-content: left;
}

#socials-container {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  gap: 1rem;
}

.logo {
  cursor: pointer;
  height: 2rem;
}

.button-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.button {
  font-weight: 600;
  transition: all 1s ease;
  padding: 1rem;
  width: 8rem;
  border-radius: 0.8rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.button:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.button-color-1,
.button-color-2 {
  border: rgb(53, 53, 53) 0.1rem solid;
  color: rgb(0, 0, 0);
  transition: all .5s ease;
}

.button-color-1:hover,
.button-color-2:hover {
  cursor: pointer;
}

.button-color-1,
.button-color-2:hover {
  background: rgb(53, 53, 53);
  color: white;
}

.button-color-1:hover {
  background: none;
  color: black;
}

.button-color-2 {
  color: rgb(0, 0, 0);
  background: none;
}

.button-color-2:hover {
  border: rgb(255, 255, 255) 0.1rem solid;
}

.button-container {
  gap: 1rem;
}

#about {
  position: relative;
}

.about-containers {
  gap: 2rem;
  margin-bottom: 2rem;
  margin-top: 2rem;
}

.about-details-container {
  justify-content: center;
  flex-direction: column;
}

.about-containers,
.about-details-container {
  display: flex;
}

.hero-pic {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 22px;
}

.hero-pic:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.about-pic {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 22px;
}

.about-pic:hover {
  transform: scale(1.02);
}

.details-container {
  padding: 1.5rem;
  flex: 1;
  background: var(--bg-shade);
  border-radius: 0.75rem;
  border-color: rgb(163, 163, 163);
  text-align: center;
  box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.details-container:hover {
  transform: translateY(-4px);
  scale: (1.2);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.details-container::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 0;
  background-color: var(--darkblue);
  top: 0;
  left: 0;
  transition: height 0.3s ease;
  border-radius: 2rem;
}

.details-container:hover::after {
  height: 100%;
}

.details-container2 {
  padding: 1.5rem;
  flex: 1;
  background: white;
  border-radius: 0.75rem;
  border: rgb(53, 53, 53) 0.1rem solid;
  border-color: rgb(163, 163, 163);
  text-align: left;
}

.details-container2 p {
  font-size: 18px;
}

.section-container {
  gap: 4rem;
  height: 80%;
}

.section-pic-container {
  height: 400px;
  width: 400px;
  margin: auto 0;
}

#skills {
  position: relative;
}

.experience-sub-title {
  color: rgb(85, 85, 85);
  font-weight: 600;
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.experience-details-container {
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.article-container {
  display: flex;
  text-align: initial;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 2.5rem;
  justify-content: space-around;
}

article {
  display: flex;
  width: 10rem;
  justify-content: space-around;
  gap: 0.5rem;
}

article .logo,
.icon {
  height: 2.5rem;
  cursor: default;
}

.percentage-bars {
  display: flex;
  flex-direction: column;
}

.bar {
  background-color: #f3f3f3;
  margin-bottom: 0.625em;
  border-radius: 0.625em;
  box-shadow: 1px 1px 12px #888888;
  position: relative;
}

.bar-title {
  font-weight: bold;
  text-align: left;
  margin-bottom: 0.83em;
  position: relative;
  top: 0;
  color: #676a81;
  left: 0;
  z-index: 2;
}

.bar-inner {
  height: 1.25em;
  background-color: rgb(163, 163, 163);
  border-radius: 0.625em;
  position: relative;
  top: 0;
  width: 0;
}

.percent-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  z-index: 0;
}

#projects {
  position: relative;
}

.color-container {
  border-color: rgb(163, 163, 163);
  background: rgb(250, 250, 250);
}

.project-img {
  border-radius: 1.25rem;
  width: 90%;
  height: 90%;
}

.project-title {
  margin: 1rem;
  color: black;
}

.project-button {
  color: black;
  border-color: rgb(163, 163, 163);
}

#contact {
  display: flex;
  justify-content: center;
  flex-direction: column;
  height: 70vh;
}

.contact-info-upper-container {
  display: flex;
  justify-content: center;
  border-radius: 1.2rem;
  border: rgb(163, 163, 163) 0.1rem solid;
  border-color: rgb(163, 163, 163);
  background: (250, 250, 250);
  box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  margin: 2rem auto;
  padding: 0.5rem;
}

.contact-info-upper-container:hover {
  transform: translateY(-4px);
  scale: (1.2);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.contact-info-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem;
}

.contact-info-container p {
  font-size: larger;
}

.contact-logo {
  cursor: default;
}

.email-logo {
  height: 2.5rem;
}

footer {
  height: 26vh;
  margin: 0 1rem;
}

footer p {
  text-align: center;
}