@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@400;500;600;800;900&display=swap');
:root {
  --display: #EEEEEE;
  --light: #EEEEEE;
  --dark: #fff;
  --xx: #000000;
  --primary: #ffffff;
  --second: #ffffff;
  --second-light: #C80808;
  --danger: #000000;
  --true: #C80808;
  --Cid: #717171;
  --Nm: #D1CFCF;
}
body {
  font-family: 'League Spartan';
  background: var(--display) ;
}
html {
  overflow-x: hidden;
}
html::-webkit-scrollbar {
  width: 2px;
}
html::-webkit-scrollbar-track {
  background: var(--display);
}
html::-webkit-scrollbar-thumb {
  background: var(--display);
}
.navbar {
  z-index: 200;
  font-weight: 40;
  font-size: 20px;
  justify-content: space-around;
}
.nav-link:hover {
  color: var(--primary);
}
.nav-link {
  color: var(--xx);
}
.navbar-brand #icon-bg {
  fill: var(--xx);
}
.navbar-brand #icon-bg:hover {
  fill : var(--xx);
}
.navbar-toggler {
  width: 15px auto;
  height: 15px auto;
  transition: .5s ease-in-out;
}
.navbar-toggler, .navbar-toggler:focus, .navbar-toggler:active, .toggler-icon:focus {
  outline: none;
  box-shadow: none;
  border: 0;
}
.navbar-toggler span {
  margin: 0;
  padding: 0;
}
.toggler-icon {
  position: absolute;
  height: 4px;
  width: 30px;
  background: var(--xx);
  border-radius: 2px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}
.toggler-icon .middle-bar {
  margin-top: 0px;
}
.navbar-toggler .top-bar {
  margin-top: 0px;
  transform: rotate(135deg);
}
.navbar-toggler .middle-bar {
  opacity: 0;
  filter: alpha(opacity=0);
}
.navbar-toggler .bottom-bar {
  margin-top: 0px;
  transform: rotate(-135deg);
}
.navbar-toggler.collapsed .top-bar {
  margin-top: -10px;
  transform: rotate(0deg);
}
.navbar-toggler.collapsed .middle-bar {
  opacity: 1;
  filter: alpha(opacity=100);
}
.navbar-toggler.collapsed .bottom-bar {
  margin-top: 10px;
  transform: rotate(0deg);
}
form .btn {
  font-size: 20px;
  padding:2px 8px;
  font-weight: 500;
  color: var(--primary);
  background: var(--xx);
}
.btn:hover {
  background: var(--light);
  color: var(--xx);
}
.navbar-color {
  background: var(--Nm);
  transition: all ease-in-out .2s;
}
.bg-transparent {
  transition: all ease-in-out .2s;
}
@media (max-width: 991.98px) {
  .navbar.bg-transparent:has(.navbar-toggler[aria-expanded="true"]) {
    background: var(--Nm) !important;
  }
  .navbar.bg-transparent:has(.navbar-toggler[aria-expanded="true"]) .navbar-collapse {
    background: var(--Nm);
  }
}
.home {
  min-height: 105vh;
  flex-direction: row;
}
.home #particles-js {
  height: 100%;
  width: 100%;
}
.home .content {
  z-index: 1;
  padding-top: 0;
  justify-content: center;
  align-items: center;
}
.home .content .image {
  margin-left: 30px;
}
.home .content .image img {
  width: 360px;
  border-radius: 50%;
  box-shadow: 0 3px 10px var(--danger);
  cursor: pointer;
}
.home .content .image img:hover {
  width: 380px;
  transition: .5s;
  box-shadow: 0 6px 20px var(--danger);
}
.home .content .intro h2 {
  color: var(--second);
  font-size: 50px ;
  font-weight: 800;
}
.home .content .intro h2 span {
  font-size: 52px;
  font-weight: 800;
  color: var(--danger);
}
.home .content .intro p {
  font-size: 26px;
  color: var(--xx);
  font-weight: 600;
}
.home .content .intro p span {
  font-size: 28px;
  color: var(--primary);
  font-weight: 600;
}
.home .btn {
  line-height: 0;
  padding: 10px 16px;
  border-radius: 35px;
  transition: 0.5s;
  color: var(--primary);
  background: var(--xx);
  box-shadow: 0px 4px 14px var(--light);
}
.home .btn span {
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0px;
}
.home .btn i {
  margin-left: 9px;
  font-size: 20px;
  transition: 0.5s;
}
.home .btn:hover {
  background: var(--xx);
}
.home .btn:hover i {
  transform: translateX(6px);
}
.socials .social-icons {
  list-style: none;
}
.social-icons a {
  font-size: 18px;
  width: 35px;
  height: 35px;
  text-align: center;
  margin-right: 10px;
  border-radius: 100%;
  line-height: 40px;
  color: var(--light);
  background-color: var(--xx);
  -webkit-transition: all 0.2s linear;
  -o-transition: all 0.2s linear;
  transition: all 0.2s linear;
}
.social-icons a:active, .social-icons a:focus, .social-icons a:hover {
  color: var(--xx);
  background-color: var(--Cid);
}
.social-icons a.github:hover, .social-icons a.linkedin:hover, .social-icons a.instagram:hover {
  background-color: var(--Cid);
}
@media screen and (max-width: 1024px) {
  .home .content {
    margin: 90px 10px 30px 10px;
  }
  .home .content .image {
    margin: 50px 0px 40px 0px;
  }
  .home .content .image img {
    width: 340px;
  }
  .home .content .image img:hover {
    width: 360px;
  }
  .home {
    flex-direction: column;
  }
}
@media screen and (max-width: 645px) {
  .home .content .image img {
    width: 280px;
  }
  .home .content .image img:hover {
    width: 290px;
  }
  .home .content .intro h2 {
    font-size: 45px;
  }
  .home .content .intro h2 span {
    font-size: 46px;
  }
  .home .content .intro p {
    font-size: 24px;
  }
  .home .content .intro p span {
    font-size: 25px;
  }
}
.about {
  min-height: 90vh;
}
.about .container .title h2 {
  font-size: 40px ;
  padding-top: 100px;
  font-weight: 800;
  margin-bottom: 40px;
}
.about .container .title i {
  font-size: 36px;
}
.about .container .title h2 span {
  color: var(--primary);
}
.about .container {
  height: 100%;
  ;
  margin-bottom: 40px;
}
.about .container .content {
  margin: 40px 0 40px 0;
  flex-direction: row;
}
.about .container .content .image img {
  width: 380px;
  box-shadow: 0 3px 20px var(--second);
  cursor: pointer;
  border-radius: 50%;
  mix-blend-mode: luminosity;
}
.about .container .content .image:nth-child(1) img:hover {
  animation: profile-animation 8s ease-in-out infinite;
  box-shadow: 0 5px 40px var(--second);
  mix-blend-mode: normal;
}
@keyframes profile-animation {
  0% {
    border-radius: 50% 40% 30% 70% / 60% 30% 70% 40% ;
  }
  50% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60% ;
  }
  100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40% ;
  }
}
.about .container .content .intro {
  width: 40vw;
  margin-left: 70px;
  justify-content: center;
  color: var(--xx);
}
.about .container .content .intro h3 {
  font-size: 30px;
  font-weight: 700;
}
.about .container .intro .tagline {
  font-size: 22px;
  line-height: .5;
  font-weight: 600;
}
.about .container .content .intro p {
  padding-top: 22px;
  font-size: 18px;
  line-height: 1.2;
  text-align: justify;
}
.about .container .intro .hire-me span {
  color: var(--Cid);
}
.about .container .content .intro .hire-me p {
  font-size: 18px;
  margin: 1px;
}
.about .container .content .intro .cv-btn {
  width: 170px;
  margin-top: 20px;
}
.about .container .content .intro .cv-btn .btn {
  margin: 10px 0px 10px 0px;
  font-size: 16px;
  font-weight: 600;
  transition: .5s;
  line-height: 0;
  padding: 8px 0px;
  border-radius: 40px;
  box-shadow: 0px 2px 5px var(--light);
}
.about .container .content .intro .cv-btn .btn i {
  font-size: 18px;
  transition: .5s;
}
.about .container .content .intro .cv-btn .btn:hover {
  background: var(--xx);
  color: var(--primary);
}
.about .container .content .intro .cv-btn .btn:hover i {
  transform: translateX(8px);
}
.about .skills {
  background: #fff;
  color: var(--xx);
  min-height: 10vh;
  align-items: center;
}
.about .skills .container .title h2 {
  font-size: 40px;
  text-align: center;
  margin-bottom: 55px;
}
.about .skills .container .title i {
  color: black;
  font-size: 36px;
}
.about .skills .container {
  justify-content: center;
}
.about .skills .container .box {
  border-radius: 20px;
  width: 100%;
  box-sizing: border-box;
  background: #eeeeee;
  color: var(--xx);
  padding: 20px 8vh;
  margin-bottom: 30px;
}
.about .skills .container .box h3 {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 2px;
  margin-bottom: 20px;
  text-align: center;
}
.about .skills .container .box span {
  color: black;
}
.about .skills .container .box .image {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.about .skills .container .box .image img {
  width: 50px;
  box-sizing: border-box;
  background-color: #000000;
  border-radius: 10px;
  padding: 5px;
  margin: 5px;
  transition: .5s;
}
.about .skills .container .box .image img:hover {
  background-color: var(--xx);
}
@media screen and (max-width: 1024px) {
  .about .container {
    margin-bottom: 90px;
  }
  .about .container .content {
    margin: 40px 0 40px 0;
    flex-direction: column;
  }
  .about .container .content .intro {
    width: 100%;
    margin: 40px 0px 0px 0px;
  }
  .about .container .content .image img {
    width: 300px;
  }
  .about .container .content .intro {
    margin-left: 30px;
  }
}
@media screen and (max-width: 645px) {
  .about .container .content .image img {
    width: 280px;
  }
  .about .container .content .intro {
    margin-left: 0px;
    width: 80%;
  }
}
.contact {
  min-height: 43vh;
}
.contact p {
  max-width: 1000px;
  font-size: 18px;
  margin: 10px;
}
.contact a {
  font-size: 20px;
}
.contact h2 {
  font-size: 45px;
  font-weight: 800;
}
.contact h2 span {
  color: var(--primary);
}
footer {
  height: 100%;
}
footer .top {
  background: #ffffff;
}
footer .bottom {
  background: #F3F3F3;
  color: var(--xx);
}
footer .bottom a {
  text-decoration: none;
}
footer .content {
  margin: 20px;
  text-decoration: none;
  color: var(--xx);
}
footer .content img {
  width: 50px;
  margin-bottom: 10px;
}
footer .content:nth-child(3) a i {
  color: var(--xx);
}
footer .content a, footer .content p {
  text-decoration: none;
  color: var(--xx);
  margin-bottom: 6px;
  font-size: 18px;
}
footer .content a:hover {
  color: var(--Cid);
}
footer .content .socials {
  margin: 20px;
}
footer .content .socials a {
  font-size: 22px;
  width: 40px;
  height: 40px;
  text-align: center;
  margin-right: 10px;
  border-radius: 100%;
  display: inline-block;
  line-height: 42px;
  color: var(--xx);
  background-color: var(--light);
  -webkit-transition: all 0.2s linear;
  -o-transition: all 0.2s linear;
  transition: all 0.2s linear;
}
footer .content .socials a:active, footer .content .socials a:focus, footer .content .socials a:hover {
  background-color: var(--xx);
  color: var(--Cid);
}
footer .content .socials a.Gmail:hover, footer .content .socials a.Facebook:hover, footer .content .socials a.Messenger:hover {
  background-color: var(--xx);
}
@media screen and (max-width: 860px) {
  footer .top {
    flex-direction: column;
  }
}


/* Roommates project section — added without changing existing portfolio styles */
.projects-section {
  background: #ffffff;
  padding: 28px 0 90px;
}

.projects-section .container {
  max-width: 1140px;
}

.projects-section .project-card {
  width: 100%;
  box-sizing: border-box;
  padding: 32px 38px;
  border-radius: 28px;
  background: #eeeeee;
  color: #171717;
}

.projects-section .project-heading,
.projects-section .project-brand {
  display: flex;
  align-items: center;
}

.projects-section .project-heading {
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
}

.projects-section .project-brand {
  gap: 22px;
  min-width: 0;
}

.projects-section .project-brand img {
  display: block;
  width: 82px;
  height: 82px;
  flex: 0 0 82px;
  object-fit: cover;
  border-radius: 20px;
}

.projects-section .project-brand h2 {
  margin: 0;
  color: #111111;
  font-size: clamp(25px, 3.7vw, 38px);
  line-height: 1.1;
  font-weight: 800;
}

.projects-section .project-count {
  color: #686868;
  font-size: 16px;
  white-space: nowrap;
}

.projects-section .project-badge {
  display: inline-block;
  padding: 13px 23px;
  border-radius: 999px;
  background: #252525;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
}

.projects-section .project-description {
  max-width: 900px;
  margin: 0 0 46px;
  color: #222222;
  font-size: 19px;
  line-height: 1.7;
}

.projects-section .project-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-top: 1px solid #d0d0d0;
  padding-top: 28px;
}

.projects-section .project-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  padding: 9px 12px;
  margin-left: -12px;
  border-radius: 12px;
  color: #171717;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.projects-section .project-link i {
  transition: transform 0.25s ease;
}

.projects-section .project-link:hover,
.projects-section .project-link:focus-visible {
  color: #ffffff;
  background: #252525;
  transform: translateX(5px);
  outline: none;
}

.projects-section .project-link:hover i,
.projects-section .project-link:focus-visible i {
  transform: translateX(3px);
}

@media screen and (max-width: 645px) {
  .projects-section {
    padding: 24px 0 70px;
  }

  .projects-section .project-card {
    padding: 24px 20px;
    border-radius: 24px;
  }

  .projects-section .project-heading {
    align-items: flex-start;
    gap: 10px;
  }

  .projects-section .project-brand {
    gap: 14px;
  }

  .projects-section .project-brand img {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
    border-radius: 16px;
  }

  .projects-section .project-count {
    font-size: 14px;
    padding-top: 8px;
  }

  .projects-section .project-badge {
    font-size: 15px;
    padding: 11px 18px;
  }

  .projects-section .project-description {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 34px;
  }

  .projects-section .project-link {
    font-size: 17px;
  }
}
