@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

:root {
  --bg-color: rgb(24, 24, 24);
  --second-bg-color: rgb(29, 29, 29);
}

/* Base Styles */
body {
  font-size: 1.6rem;
  line-height: 1.5;
  background-color: var(--bg-color);
  font-family: "Poppins", Arial, Helvetica, sans-serif;
}

a {
  text-decoration: none;
  color: #000;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
}

/* ----- Header Styles ----- */
header {
  /* border: 1px solid white; */
  width: 100%;

  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;

  padding: 20px;
  background-color: rgba(15, 15, 15, 0.8);
  backdrop-filter: blur(10px);
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header .logo a {
  font-size: 3.2rem;
  color: #fff;
  font-weight: 800;
  opacity: 0.8;
  display: block;
  transition: 0.2s;
}

header .logo a:hover {
  opacity: 1;
  transform: scale(1.1);
}

header .main-menu ul {
  display: flex;
  align-items: center;
}

header .main-menu ul a {
  display: inline-block;
  color: #fff;
  padding: 10px 20px;
  opacity: 0.7;
  transition: 0.2s;
}

header .main-menu ul a:hover {
  opacity: 1;
}

header .btn:hover {
  background-color: #fff;
  color: var(--bg-color);
}

/* ----- Home Section ----- */
.home {
  /* border: 1px solid white; */
  min-height: 100vh;
  padding: 140px 50px 90px;
}

.home .home-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  color: #fff;
}

.home .profile img {
  border: 2px solid #fff;
  width: 350px;
  height: 350px;
  object-fit: contain;
  border-radius: 50%;
  background-color: transparent;
  box-shadow: 0 0 25px #fff;
  transition: 0.5s;
}

.home .profile img:hover {
  box-shadow: 0 0 25px #fff, 0 0 50px #fff, 0 0 100px #fff;
}

.home .info-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
  max-width: 600px;
}

.home .info-box h1 {
  font-size: 4.2rem;
  font-weight: 600;
}

.home .info-box h3 {
  font-size: 2.2rem;
  font-weight: 500;
}

.home .info-box p {
  opacity: 0.7;
}

.home .socials a,
footer .socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: var(--bg-color);
  background-color: #fff;
  font-size: 3.2rem;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  margin: 0 10px;
  transition: 0.5s;
}

.home .socials a:hover,
footer .socials a:hover {
  background-color: var(--bg-color);
  color: #fff;
  transform: scale(1.1);
}

/* ----- About Styles ----- */
.about {
  padding: 100px 50px 90px;
  background-color: var(--second-bg-color);
}

.about .about-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
}

.about .profile img {
  border: 2px solid #fff;
  border-radius: 16px;
  box-shadow: 0 0 25px #fff;
  background-color: transparent;
}

.about .about-box {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.about .about-info h1 {
  font-size: 5rem;
}

.about .about-info p {
  color: #fff;
  opacity: 0.8;
  line-height: 1.8;
}

.joke-container {
  margin-top: 20px;
}

.joke-container span.unique-color {
  font-weight: 600;
  font-size: 1.8rem;
}

.joke-container .setup {
  margin-top: 5px;
}

.joke-container i {
  margin-right: 5px;
  font-size: 1.8rem;
}

.about .skills h2 {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.about .skill-sets {
  display: flex;
  gap: 100px;
}

.about .skill-sets ul li {
  color: #fff;
  font-weight: 500;
  opacity: 0.8;
  font-size: 2.5rem;
  margin-bottom: 20px;
  transition: 0.3s;
}

.about .skill-sets ul li:hover {
  transform: translateX(10px);
}

.about .skill-sets i {
  margin-right: 5px;
}

/* ----- Work Styles ----- */
.work {
  padding: 100px 50px 90px;
  background-color: var(--bg-color);
}

.work-content h1 {
  text-align: center;
  font-size: 5rem;
  margin-bottom: 50px;
}

.work .work-boxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 27px;
  row-gap: 45px;
  color: #fff;
}

.work-boxes .work-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;

  text-align: center;
  background-color: transparent;
  padding: 45px 18px;
  border: 2px solid #6cff52;
  border-radius: 27px;
  box-shadow: 0 0 5px #6cff52;
  cursor: pointer;
  transition: 0.3s;
}

.work-boxes .work-box:hover {
  box-shadow: 0 0 25px #6cff52, 0 0 50px #6cff52;
}

.work-box img {
  border-radius: 10px;
  margin-bottom: 5px;
}

.work-box h3 {
  font-size: 2.5rem;
  font-weight: 600;
}

.work-box p {
  font-size: 1.4rem;
  opacity: 0.8;
  line-height: 1.8;
  margin-bottom: 10px;
}

.work-box p span {
  font-weight: 700;
}

.work-box .work-btns {
  display: flex;
  gap: 50px;
}

.work-box .solid-btn:hover {
  box-shadow: 0 0 5px #6cff52, 0 0 25px #6cff52;
  transform: scale(1.07);
}

.work-box .work-btns a:nth-child(2) {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 3rem;
  background-color: var(--bg-color);
}

.work-box .work-btns a:nth-child(2):hover {
  background-color: #fff;
  color: var(--bg-color);
  transform: scale(1.07);
}

/* ----- Contact Styles ----- */
.contact {
  padding: 100px 50px 90px;
  background-color: var(--second-bg-color);
}

.contact h1 {
  text-align: center;
  font-size: 5rem;
  margin-bottom: 40px;
}

.contact form {
  max-width: 600px;
  margin: 0 auto;
}

.contact form .info-inputs {
  display: flex;
  gap: 10px;
}

.contact form .info-inputs > * {
  flex: 1;
}

.contact form .form-control input,
.contact form textarea {
  width: 100%;
  padding: 15px;
  font-size: 1.6rem;
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  color: #fff;
  background-color: var(--bg-color);
  border-radius: 18px;
  border: 2px solid #6cff52;
  margin: 15px 0;
  outline: none;
  resize: none;
}

.contact form .form-control input::placeholder,
.contact form textarea::placeholder {
  color: #fff;
  opacity: 0.8;
}

.contact .solid-btn:hover {
  box-shadow: 0 0 5px #6cff52, 0 0 25px #6cff52;
  transform: scale(1.05);
}

/* ----- Footer Styles ----- */
footer {
  padding: 50px;
  background-color: var(--bg-color);
}

footer .socials {
  text-align: center;
  margin-bottom: 20px;
}

.bottom-nav ul {
  display: flex;
  justify-content: center;
  gap: 20px;

  margin-bottom: 40px;
}

.bottom-nav ul a {
  color: #fff;
  font-size: 1.8rem;
  opacity: 0.7;
  transition: 0.5s;
}

.bottom-nav ul a:hover {
  opacity: 1;
}

footer .copyright {
  text-align: center;
  color: #fff;
  font-size: 1.4rem;
}

/* ----- Utility Classes ----- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  /* border: 1px solid white; */
}

.unique-color {
  background: linear-gradient(to right, #6cff52, #3ce5ff);
  background-clip: text;
  color: transparent;
}

.btn {
  display: inline-block;
  padding: 8px 16px;
  color: #fff;
  background-color: transparent;
  font-weight: 500;
  border: 2px solid #fff;
  border-radius: 8px;
  font-size: 1.8rem;
  cursor: pointer;
  transition: 0.5s;
}

.solid-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 8px 20px;
  border: 2px solid transparent;
  border-radius: 27px;
  background-color: #6cff52;
  box-shadow: 0 0 5px #6cff52;
  color: #000;
  font-weight: 600;
  transition: 0.5s;
}

/* ----- Scrollbar Styles ----- */
/* ::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, #6cff52, #3ce5ff);
  border-radius: 5px;
} */

/* ----- Mobile Menu Styles ----- */
header .hamburger-btn {
  color: #fff;
  font-size: 35px;
  z-index: 1000;
  cursor: pointer;
  display: none;
}

@media screen and (max-width: 1024px) {
  /* Home Styles */
  .home {
    min-height: 0;
  }
}

/* Media Queries */
@media screen and (max-width: 870px) {
  /* Header Styles */
  header .visit a {
    display: none;
  }

  header .hamburger-btn {
    display: block;
  }

  header .main-menu {
    position: absolute;
    top: 0;
    right: -300px;
    width: 250px;
    min-height: 100vh;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.9);
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    transition: right 0.5s ease-in-out;
  }

  header .main-menu ul {
    flex-direction: column;
    margin-top: 100px;
  }

  header .main-menu ul li {
    margin: 10px 0;
  }

  header .main-menu ul a {
    display: block;
    color: #fff;
    font-size: 2rem;
  }

  header .main-menu.active {
    right: 0;
  }

  .home .profile img {
    width: 250px;
    height: 250px;
  }

  .home .info-box h1 {
    font-size: 3.2rem;
  }

  .home .info-box h3 {
    font-size: 2rem;
  }

  /* About Styles */
  .about .about-content {
    flex-direction: column;
  }

  .about .profile img {
    width: 350px;
    height: 350px;
    object-fit: contain;
  }

  .about .about-info h1 {
    font-size: 4rem;
  }

  .about .skills h2 {
    font-size: 3rem;
  }

  .about .skill-sets ul li {
    font-size: 1.8rem;
  }

  /* Work Styles */
  .work-content h1 {
    font-size: 4rem;
  }

  /* Contact Styles */
  .contact h1 {
    font-size: 4rem;
  }
}

@media screen and (max-width: 755px) {
  /* Work Styles */
  .work-box p {
    font-size: 1.6rem;
  }
}

@media screen and (max-width: 600px) {
  /* Home Styles */
  .home .info-box h1 {
    font-size: 2.2rem;
  }

  .home .info-box h3 {
    font-size: 1.8rem;
  }

  /* Work Styles */
  .work-content h1 {
    font-size: 3.2rem;
  }

  /* Contact Styles */
  .contact h1 {
    font-size: 3.2rem;
  }

  form {
    width: 100%;
  }

  .contact form .info-inputs {
    display: block;
  }

  /* Footer Styles */
  .bottom-nav ul a {
    font-size: 1.6rem;
  }
}

@media screen and (max-width: 430px) {
  /* Home Styles */
  .home {
    padding: 140px 20px 90px;
  }

  /* About Styles */
  .about {
    padding: 100px 20px 90px;
  }

  .about .about-info h1 {
    font-size: 3.2rem;
  }

  .about .skills h2 {
    font-size: 2.8rem;
  }

  .about .skill-sets {
    gap: 50px;
  }

  .about .skill-sets ul li {
    font-size: 2rem;
  }

  /* Work Styles */
  .work {
    padding: 100px 20px 90px;
  }

  /* Contact Styles */
  .contact {
    padding: 100px 20px 90px;
  }

  /* Footer Styles */
  .bottom-nav ul a {
    font-size: 1.2rem;
  }

  footer .copyright {
    font-size: 1rem;
  }
}

@media screen and (max-width: 375px) {
  /* Home Styles */
  .home .profile img {
    width: 200px;
    height: 200px;
  }

  .home .info-box h1 {
    font-size: 1.8rem;
  }

  .home .info-box h3 {
    font-size: 1.4rem;
  }

  .home .info-box p {
    font-size: 1.2rem;
  }

  .home .socials a,
  footer .socials a {
    width: 45px;
    height: 45px;
    font-size: 2.8rem;
  }

  /* Work Styles */
  .work-box h3 {
    font-size: 2rem;
  }
}

@media screen and (max-width: 344px) {
  /* Home Styles */
  .home {
    padding: 140px 0 90px;
  }

  /* About Styles */
  .about {
    padding: 100px 0 90px;
  }

  /* Work Styles */
  .work {
    padding: 100px 0 90px;
  }

  /* Contact Styles */
  .contact {
    padding: 100px 0 90px;
  }

  /* Footer Styles */
  footer {
    padding: 50px 0;
  }
}
