@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=BBH+Bartle&display=swap");
@import url("https://fonts.googleapis.com/css2?family=BBH+Bartle&family=Jersey+25&display=swap");

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

* {
  padding: 0;
  margin: 0;
  font-family: "Roboto", sans-serif;
  box-sizing: border-box;
}

body {
  width: 100%;
  overflow-x: hidden;
  background-color: #000000;
  height: auto;
  color: white;
}

h1 {
  font-family: "BBH Bartle", sans-serif;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  color: white;
  border: 0.2px solid rgb(236, 231, 231);
  width: 100%;
}

.navbar p {
  font-size: 20px;
  font-family: "BBH Bartle", sans-serif;
}

nav a {
  gap: 20px;
  color: white;
  margin: 10px;
  text-decoration: none;
  position: relative;
  font-family: "BBH Bartle", sans-serif;
}

.link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: white;
  transition: width 0.3s ease;
}

.link:hover::after {
  width: 100%;
}

.hero {
  width: 100%;
  min-height: 60vh;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 20px;
}

.about {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
}

.about h1 {
  font-family: "BBH Bartle", sans-serif;
  font-size: 50px;
  margin-bottom: 20px;
  text-align: center;
  margin-top: 0;
}

.about p {
  font-family: "Jersey 25", sans-serif;
  font-size: 30px;
  text-align: center;
  margin-right: 30px;
  margin-left: 30px;
  line-height: 40px;
}

.build {
  text-align: center;
  width: 100%;
  max-width: 800px;
}

.projects {
  display: flex;
  height: auto;
  width: 100%;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 0 20px;
}

.project-card {
  border: 1px solid rgb(91, 91, 91);
  min-height: 550px;
  height: 65vh;
  width: 100%;
  max-width: 380px;
  margin: 20px;
  margin-top: 50px;
  border-radius: 20px;
}

.img-area img {
  height: 50%;
  min-height: 250px;
  width: 100%;
  margin-bottom: 10px;
  border-radius: 20px;
}

.project-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-left: 10px;
  margin-right: 10px;
  flex-wrap: wrap;
}

.project-info h2 {
  font-family: "BBH Bartle", sans-serif;
  margin-bottom: 9px;
  text-align: center;
}

.project-info p {
  margin-bottom: 10px;
  font-family: "Jersey 25", sans-serif;
  font-size: 20px;
  text-align: center;
}

.project-info h3 {
  margin: 8px;
  font-family: "BBH Bartle", sans-serif;
  font-size: 18px;
}

.btn {
  text-decoration: none;
  color: rgb(20, 10, 10);
  border: 2px solid rgb(244, 243, 255);
  padding: 10px 15px;
  border-radius: 5px;
  font-family: "BBH Bartle", sans-serif;
  background-color: white;
  margin-top: 15px;
  cursor: pointer;
  display: inline-block;
}

.btn:hover {
  cursor: pointer;
  color: white;
  background-color: black;
  transition: ease 0.3s;
}

.skills {
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 10px;
  width: 100%;
  min-height: 60vh;
  margin-bottom: 30px;
  padding: 20px;
  flex-wrap: wrap;
}

.languages,
.frontend,
.Backend,
.other {
  flex: 1;
  min-width: 200px;
}

.roller {
  height: 150px;
  min-width: 150px;
  width: 100%;
  margin: 30px 0;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.item {
  cursor: pointer;
  min-height: 20px;
  height: 10%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Jersey 25", sans-serif;
  color: #c8c8c8;
  font-size: 20px;
  border-bottom: 1px solid hsl(0, 0%, 32%);
  margin: 4px;
}

.item:hover {
  color: #666;
}

.About {
  display: grid;
  max-height: none;
  min-height: 20px;
  height: auto;
  grid-template-columns: 2fr 1fr 1fr;
  column-gap: 20px;
  padding: 40px 20px;
  margin-bottom: 50px;
}

.About .me {
  font-size: 60px;
  width: auto;
  margin-left: 60px;
}

.edu {
  font-size: 20px;
  font-family: "Jersey 25", sans-serif;
  padding-right: 30px;
  margin-top: 30px;
}

.color {
  color: #565454;
}

.current {
  margin-top: 30px;
}

.current h3 {
  font-family: "BBH Bartle", sans-serif;
  margin: 14px;
}

.current li {
  font-family: "Jersey 25", sans-serif;
  font-size: 18px;
  margin: 6px;
  list-style: circle;
}

.goal {
  margin-bottom: 100px;
  padding: 20px;
}

.goal2 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.goali {
  margin: 10px;
  text-decoration: underline rgb(255, 255, 255);
  font-size: 20px;
  font-family: "Jersey 25", sans-serif;
  max-width: 800px;
  text-align: center;
}

.motto {
  font-family: "BBH Bartle", sans-serif;
  font-size: 25px;
  color: #565454;
  margin: 10px;
}

.hobby {
  font-size: 20px;
  font-family: "Jersey 25", sans-serif;
  max-width: 800px;
  text-align: center;
}

.resume {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
  padding: 40px 20px;
}

.summary {
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  width: 100%;
}

.summary h2 {
  font-family: "BBH Bartle", sans-serif;
  font-size: 40px;
  margin-bottom: 20px;
}

.summary p {
  font-size: 24px;
  font-family: "Jersey 25", sans-serif;
}

.footer-container {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  max-width: 1400px;
  width: 100%;
  padding: 60px;
  position: relative;
  overflow: hidden;
  margin: 0 auto;
}

.footer-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
}

.inside {
  border-radius: 20px;
  display: grid;
  grid-template-columns: 200px 1fr 400px;
  gap: 80px;
  margin-bottom: 50px;
  align-items: start;
}

.light {
  margin: 60px auto;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, #ffffff 0%, #666 50%, #333 100%);
  border-radius: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.3),
    0 0 80px rgba(255, 255, 255, 0.2), inset 0 0 30px rgba(255, 255, 255, 0.2);
  position: relative;
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.3),
      0 0 80px rgba(255, 255, 255, 0.2), inset 0 0 30px rgba(255, 255, 255, 0.2);
  }
  50% {
    box-shadow: 0 0 60px rgba(255, 255, 255, 0.5),
      0 0 120px rgba(255, 255, 255, 0.3),
      inset 0 0 40px rgba(255, 255, 255, 0.3);
  }
}

.light-in {
  width: 70px;
  height: 70px;
  background: radial-gradient(
    circle,
    #ffffff 0%,
    rgba(255, 255, 255, 0.8) 100%
  );
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.8);
}

.center {
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.center ul {
  list-style: none;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.center ul li a {
  color: #ffffff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  text-transform: capitalize;
  transition: all 0.3s ease;
  position: relative;
  padding: 5px 0;
}

.center ul li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0.5));
  transition: width 0.3s ease;
}

.center ul li a:hover {
  color: #ddd;
  transform: translateY(-2px);
}

.center ul li a:hover::after {
  width: 100%;
}

.footer-mail {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.footer-mail h3 {
  color: #ffffff;
  font-size: 24px;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-mail form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-mail input,
.footer-mail textarea {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 14px 18px;
  color: #ffffff;
  font-size: 15px;
  font-family: inherit;
  transition: all 0.3s ease;
}

.footer-mail input::placeholder,
.footer-mail textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.footer-mail input:focus,
.footer-mail textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.footer-mail textarea {
  min-height: 100px;
  resize: vertical;
}

.footer-mail button {
  background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
  color: #000;
  border: none;
  border-radius: 10px;
  padding: 14px 30px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-mail button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.footer-mail button:active {
  transform: translateY(0);
}

.footer-bottom {
  border-radius: 30px;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-links a,
.copyright {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #ffffff;
}

.social-icons {
  display: flex;
  gap: 16px;
  font-size: 20px;
  flex-wrap: wrap;
}

.social-icons a {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

.social-icons svg {
  width: 20px;
  height: 20px;
  fill: #ffffff;
}

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1000;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: white;
  transition: 0.3s;
}

/* TABLET STYLES */
@media (max-width: 1024px) {
  .About {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .About .me {
    margin-left: 0;
    text-align: center;
    font-size: 50px;
  }

  .edu {
    margin-top: 0;
    text-align: center;
  }

  .current {
    margin-top: 0;
    text-align: center;
  }

  .current li {
    list-style-position: inside;
  }

  .skills {
    flex-direction: column;
    height: auto;
  }

  .inside {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .light {
    margin: 0 auto 20px;
  }

  .footer-mail {
    max-width: 100%;
  }
}

/* MOBILE STYLES */
@media (max-width: 768px) {
  .navbar {
    padding: 15px 20px;
    flex-wrap: wrap;
  }

  .hamburger {
    display: flex;
  }

  nav {
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    background: black;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 0;
    display: none;
    border-top: 1px solid #565454;
  }

  nav.active {
    display: flex;
  }

  nav a {
    width: 100%;
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #565454;
    margin: 0;
  }

  .about h1 {
    font-size: 32px;
  }

  .about p {
    font-size: 20px;
    line-height: 30px;
    margin-right: 10px;
    margin-left: 10px;
  }

  .build {
    width: 100%;
  }

  .project-card {
    max-width: 100%;
    margin: 20px 0;
    height: auto;
    min-height: 500px;
  }

  .skills {
    gap: 10px;
    margin: 10px 0;
    padding: 10px;
  }

  .roller {
    margin: 20px 0;
  }

  .About {
    padding: 20px 10px;
  }

  .About .me {
    font-size: 40px;
  }

  .edu,
  .current {
    padding: 0 10px;
  }

  .summary h2 {
    font-size: 32px;
  }

  .summary p {
    font-size: 18px;
  }

  .footer-container {
    padding: 30px 20px;
    margin: 0 10px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .social-icons {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .navbar p {
    font-size: 18px;
  }

  .about h1 {
    font-size: 24px;
  }

  .about p {
    font-size: 16px;
    line-height: 24px;
  }

  .About .me {
    font-size: 32px;
  }

  .edu,
  .current li {
    font-size: 16px;
  }

  .goali,
  .hobby {
    font-size: 16px;
  }

  .summary h2 {
    font-size: 28px;
  }

  .summary p {
    font-size: 16px;
  }

  .footer-container {
    padding: 20px 15px;
  }
}