@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Luckiest+Guy&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Raleway:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Luckiest+Guy&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Oswald:wght@200..700&family=Raleway:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap");

:root[data-theme="light"] {
  --primary-color: #f5f5f5;
  --secondary-color: #eaeaea;
  --tertiary-color: #cdcdd8;
  --txt-color: #0a0a0a;
}

:root[data-theme="dark"] {
  --primary-color: #0d0d0d;
  --secondary-color: #121212;
  --tertiary-color: #221f1f;
  --txt-color: #f0f0f0;
}

* {
  padding: 0;
  margin: 0;
  list-style: none;
  vertical-align: baseline;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 150px;
}

body {
  position: relative;
  background: var(--primary-color);
  color: var(--txt-color);
}

header {
  display: flex;
  width: 100%;
  font-family: "Lato";
  height: 8rem;
  color: #f0f0f0;
  align-items: center;
  justify-content: center;
  border-bottom: 2px solid #0e0d0d;
  position: fixed;
  z-index: 9999;
  transition: all 0.3s ease;
}

header::before {
  content: "";
  position: absolute;
  background: linear-gradient(
    to bottom,
    #2f4f4f 0%,
    #334f2f 25%,
    #3a8530 50%,
    #2aa11a 75%,
    #32cd32 100%
  );
  width: 100%;
  height: 100%;
  opacity: 1;
  z-index: -1;
  transition: all 0.3s ease-in;
}

header.scroll::before {
  opacity: 0.8;
}

header.scroll {
  backdrop-filter: blur(14px);
}

header div {
  display: flex;
  flex-wrap: wrap;
}

.description h2 {
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
}

.contact-icons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-icons img {
  transition: all 0.3s ease-in;
}

.contact-icons img:hover {
  filter: invert(1);
  transform: scale(1.25);
  cursor: pointer;
}

.contact-icons button {
  background: none;
  border: none;
}

.nav-bar-pc {
  display: none;
}

.nav-bar-pc .list .nav-item a span {
  font-size: 0.9rem;
}

.nav-bar {
  background: linear-gradient(to bottom, #32cd32 -15%, #2f4f4f 100%);
  width: 100%;
  border-top: 2px solid #0e0d0d;
  font-family: "Lato";
  display: flex;
  flex-wrap: wrap;
  height: 5rem;
  position: fixed;
  bottom: 0;
  z-index: 999;
}

.list {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.nav-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-left: 1.5rem;
  gap: 2px;
}

.nav-item a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2px;
}

.nav-item span {
  font-size: 1rem;
  position: relative;
  transition: all 0.3s ease;
}

.nav-item span::after {
  position: absolute;
  bottom: 0;
  left: 0;
  content: "";
  width: 100%;
  height: 2px;
  background-color: var(--secondary-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: all 0.3s ease;
}

.nav-item:hover span::after {
  transform: scaleX(1);
}

.nav-item span:hover {
  transform: scale(1.15);
}

a {
  text-decoration: none;
  color: #f0f0f0;
  font-weight: 600;
  text-transform: uppercase;
}

#home {
  padding: 0.65rem;
}

main {
  font-family: "Oswald";
  padding: 8rem 0 5rem;
}

main h1,
h2 {
  padding-left: 3px;
}

main h1 {
  font-size: 2.5rem;
  font-family: "Poppins";
}

.my-name {
  text-transform: uppercase;
  color: #159c06;
  font-weight: 700;
  font-size: 2.45rem;
  font-family: "Poppins";
  width: 100%;
}

main h2 {
  font-size: 1.5rem;
}

main section {
  padding-top: 1.5rem;
}

.container {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 5rem 0;
}

.presentation {
  display: flex;
  flex-direction: column;
  width: 70%;
  gap: 0.3rem;
  flex-wrap: wrap;
  padding: 1rem;
}

#home h2,
.presentation {
  opacity: 0;
  transform: translateX(-50px);
  animation: slideRight 2s forwards;
  font-family: "Raleway";
}

.main-photo {
  display: flex;
  aspect-ratio: 1 / 1;
  align-items: center;
  justify-content: center;
  max-height: 300px;
  padding: 2rem 0px 2rem;
  margin-left: 2.5rem;
}

.main-photo img {
  width: 300px;
  height: 300px;
  border: 6px solid #159c06;
  opacity: 0;
  animation: fadeIn 1s ease-in forwards;
  animation-delay: 1s;
  box-shadow: 6px 6px 12px #0000008c;
  border-radius: 50%;
}

.home-buttons {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  gap: 1rem;
  margin: 1rem 0;
  opacity: 0;
  animation: fadeIn 1s ease-in forwards;
  animation-delay: 1s;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px solid #0e0e0e;
  width: 230px;
  height: 60px;
  padding: 0 0.65rem;
  background: linear-gradient(
    to bottom,
    rgb(18, 226, 18) -15%,
    rgb(94, 90, 90) 100%
  );
  border-radius: 22px;
  box-shadow: 2px 2px 2px #000000;
  font-weight: bold;
  font-family: "Poppins";
  font-size: 1rem;
  transition: background-color 0.3s, transform 0.2s;
  cursor: pointer;
}

.btn:hover {
  transform: scale(1.05);
  filter: brightness(1.5);
}

#about-me,
#skills,
#projects,
#contact-me {
  margin: 5rem 0;
  padding: 0.65rem;
}

#about-me,
#projects {
  background: var(--tertiary-color);
}

#about-me {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding-bottom: 3rem;
  height: auto;
}

#about-me p {
  font-family: "Raleway";
  font-weight: 600;
  font-size: 1.5rem;
  text-align: center;
}

.about-content {
  width: 75%;
  background: linear-gradient(
    to bottom,
    #6874749c 15%,
    rgba(97, 109, 99, 0.479) 100%
  );
  padding: 1rem;
  border-radius: 18px;
  box-shadow: 3.5px 3.5px 5px #000000;
}

.skills-select {
  padding: 1rem 1.5rem;
}

#selectSkill {
  width: 35%;
  height: 80px;
  padding: 0.5rem;
  text-transform: uppercase;
  font-family: "Lato";
  font-weight: 800;
  background: linear-gradient(
    to bottom,
    #687474 15%,
    rgb(97, 109, 99, 0.1) 100%
  );
  color: var(--txt-color);
  border: 2px solid #0a0a0a;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease-in;
}

#selectSkill option {
  background: #687474;
}

#selectSkill option:disabled {
  color: #ffffff;
  font-weight: 800;
}

#selectSkill:focus {
  outline: none;
  border: 2px solid #2f4f4f;
}

.skills-flex {
  display: flex;
  margin-bottom: 1rem;
  margin-left: 1rem;
}

.loop {
  display: flex;
  animation: slider 12s infinite linear;
  will-change: transform;
}

.loop > li {
  margin-right: 4.5rem;
  filter: grayscale(90%);
  transition: all 0.4s ease-in;
}

.loop > li > p {
  opacity: 0;
  transition: opacity 0.4s;
}

.skills-mask .loop:hover {
  animation-play-state: paused;
}

.loop li:hover {
  filter: grayscale(0);
  cursor: pointer;
}

.loop > li:hover > p {
  opacity: 1;
}

.skills-category {
  display: none;
  flex-flow: column;
  margin: 1rem 0 1rem;
  border: 2px solid #0a0a0a;
  background: linear-gradient(
    to bottom,
    #68747480 15%,
    rgba(97, 109, 99, 0.438) 100%
  );
  border-radius: 25px;
  padding: 0 1rem 1rem;
  box-shadow: 3.5px 3.5px 5px #000000;
  overflow: hidden;
}

.skills-category h3 {
  font-size: 18px;
  padding: 0.75rem 0 1.25rem;
}

.skills-category li {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.technology-img {
  width: 60px;
  height: 60px;
}

.skills-mask {
  mask-image: linear-gradient(
    to right,
    transparent,
    black 15%,
    black 85%,
    transparent
  );

  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 25%,
    black 75%,
    transparent
  );
  overflow: hidden;
}

.project-flex {
  display: flex;
  flex-flow: column wrap;
  margin-bottom: 2rem;
  width: 100%;
}

.project-content {
  display: flex;
  flex-flow: column wrap;
  background: var(--secondary-color);
  width: 315px;
  height: auto;
  color: var(--txt-color);
  padding-bottom: 2rem;
  margin: 0 0 2.5rem 2rem;
  border-radius: 10px;
  gap: 0.5rem;
  opacity: 0;
  transform: translateX(-400px);
  transition: all 0.8s ease-in;
}

.project-content > h3,
.project-content > p {
  margin-left: 0.5rem;
}

.project-image img {
  width: 315px;
  height: 200px;
  border-radius: 10px;
}

.button-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 0.7rem;
}

.modal-btn {
  background: linear-gradient(
    to bottom,
    rgba(18, 226, 18, 0.822) -15%,
    rgba(94, 90, 90, 0.795) 100%
  );
  border: 2px solid var(--txt-color);
  font-family: "Poppins";
  font-weight: 600;
  font-size: 1rem;
  color: var(--secondary-color);
  width: 60%;
  border-radius: 22px;
  padding: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease-in;
}

.modal-btn:hover {
  transform: scale(1.05);
  filter: brightness(1.5);
}

#contact-me p {
  font-size: 1.2rem;
  font-family: "Raleway";
  font-weight: 600;
  text-align: center;
  margin-bottom: 2rem;
}

.social-links {
  display: flex;
  align-items: center;
  flex-flow: column wrap;
  margin-top: 1rem;
  margin-left: 0.75rem;
  gap: 1rem;
}

.social-btn {
  display: flex;
  justify-content: center;
  padding: 1.5rem 1rem;
  align-items: center;
  border: 2px solid var(--txt-color);
  background: linear-gradient(
    to bottom,
    rgb(18, 226, 18) -15%,
    rgb(94, 90, 90) 100%
  );
  border-radius: 20px;
  box-shadow: 3.5px 3.5px 5px #000000;
  width: 20%;
  font-family: "Poppins";
  font-size: 1.1rem;
  gap: 0.8rem;
  transition: all 0.3s ease-in-out;
}

.social-btn:hover {
  filter: brightness(1.1);
  transform: scale(1.07);
  cursor: pointer;
}

.social-btn img {
  filter: invert(1);
}

footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: #353333;
  color: #f0f0f0;
  margin-bottom: 5rem;
  padding: 3rem;
  font-family: "Raleway";
  font-weight: 600;
  text-align: center;
}

#skills,
#projects,
#contact-me {
  padding: 0.65rem;
}

.project-flex {
  padding-top: 1rem;
}

.skills-select,
.about-content,
#contact-me {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease;
}

.skills-select.show,
.about-content.show,
#contact-me.show {
  opacity: 1;
  transform: translateY(0);
}

.project-content.show {
  opacity: 1;
  transform: translateX(0);
}

.modal-bg {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  left: 0;
  top: 0;
  opacity: 0;
  visibility: hidden;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  transition: all 0.3s ease-in;
}

.modal {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 75%;
  min-height: 500px;
  min-width: 400px;
  padding: 1rem 0.65rem;
  height: auto;
  border: 2px solid var(--txt-color);
  border-radius: 20px;
  background: var(--tertiary-color);
  position: relative;
}

.main-container {
  display: flex;
  align-items: center;
}

.project-container,
.project-container-info {
  width: 50%;
  padding: 0.35rem 0;
}

.close-btn-container {
  display: flex;
  align-items: center;
  margin-left: 1rem;
  gap: 0.5rem;
  opacity: 0;
  visibility: hidden;
}

.close-btn {
  width: 40px;
  height: 40px;
  font-size: 2rem;
  border: none;
  background: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.close-btn i {
  color: var(--txt-color);
}

.close-btn:hover {
  transform: scale(1.05);
}

.close-btn-container label {
  font-size: 1.3rem;
  font-family: "Lato";
}

.project-title {
  margin: 1rem 0 0 1rem;
}

.project-title h2 {
  font-size: 1.9rem;
  font-family: "Lato";
  font-weight: 800;
}

.project-title h3 {
  font-size: 1.4rem;
  font-family: "Lato";
  font-weight: 700;
}

.project-photos {
  display: flex;
  flex-direction: column;
  margin: 1.2rem;
  gap: 0.75rem;
}

.project-photo {
  width: 350px;
  height: 200px;
  border: 2px solid var(--txt-color);
  border-radius: 14px;
}

.project-container-info div {
  margin: 1rem 0 0 2.5rem;
}

.project-container-info h2 {
  font-size: 1.6rem;
  font-family: "Lato";
  font-weight: 700;
}

.problems ul li,
.functionalities ul li {
  list-style: circle;
  margin-top: 0.5rem;
  font-size: 1.1rem;
  font-family: "Raleway";
  font-weight: 600;
}

.technologies ul {
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.technology-li {
  width: 40px;
  height: 40px;
}

.project-btns-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.project-btn {
  background: linear-gradient(
    to bottom,
    rgba(18, 226, 18, 0.822) -15%,
    rgba(94, 90, 90, 0.795) 100%
  );
  border: 2px solid var(--txt-color);
  width: 150px;
  padding: 0.8rem 0;
  font-size: 1rem;
  border-radius: 18px;
  cursor: pointer;
  transition: all 0.3s ease-in;
}

.project-btn:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

body.active {
  overflow: hidden;
}

.loading-container {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  position: absolute;
  z-index: 999;
  gap: 0.65rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in;
}

.spinner {
  border: 6px solid #989c9c;
  border-top: 6px solid #159c06;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  animation: spin 0.9s infinite linear;
}

.message {
  font-size: 1.2rem;
  font-family: "Lato";
  font-weight: 700;
}

@keyframes spin {
  from {
    transform: rotate(0);
  }

  to {
    transform: rotate(365deg);
  }
}

@keyframes slider {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes slideRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@media (min-width: 280px) and (max-width: 768px) {
  .skills-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

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

  .loop {
    animation: slider 20s infinite linear;
  }

  .loop p {
    font-size: 0.75rem;
  }

  .skills-category {
    max-width: 95%;
  }

  .technology-img {
    width: 50px;
    height: 50px;
  }

  .loop > li {
    margin-right: 1.5rem;
  }

  .loop > li > p {
    opacity: 1;
  }

  .cartoon-photo img {
    width: 195px;
    height: 195px;
  }

  .project-content {
    height: auto;
    margin-left: 0;
  }

  .skills-flex {
    margin-left: 0;
  }

  .skills-select {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  #selectSkill {
    width: 70%;
  }

  .social-btn {
    width: 90%;
  }
}

@media (min-width: 280px) and (max-width: 370px) {
  .description h2 {
    font-size: 14px;
  }

  .logo img {
    width: 120px;
    height: 120px;
  }

  .about-content {
    width: 90%;
  }

  #about-me p {
    font-size: 1rem;
  }

  .project-content .project-image img {
    width: 280px;
  }

  .presentation {
    width: 270px;
  }

  .skills-category {
    width: 280px;
  }

  .logo {
    align-self: center;
  }

  .contact-icons {
    align-items: flex-end;
    margin: 0;
  }

  .contact-icons img {
    width: 15px;
    height: 15px;
  }

  .project-content {
    width: 250px;
    height: auto;
    margin-left: 0;
  }

  .project-content .project-image img {
    width: 250px;
  }

  .skills-category {
    width: 250px;
  }

  .project-btn {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@media (min-width: 280px) and (max-width: 421px) {
  .main-photo img {
    height: 240px;
    width: 240px;
  }

  .contact-icons {
    margin-left: 0;
  }

  main h1 {
    font-size: 1.5rem;
  }

  .my-name {
    font-size: 1.6rem;
  }

  main h2 {
    font-size: 1rem;
  }

  .btn {
    width: 6%;
  }

  .nav-item span {
    font-size: 0.5rem;
  }

  .project-title h2 {
    font-size: 1.5rem;
  }

  .project-title h3 {
    font-size: 1.3rem;
  }

  .problems ul li,
  .functionalities ul li {
    font-size: 1rem;
  }

  .period {
    margin: 0;
  }

  .project-container-info h2 {
    font-size: 1.3rem;
  }

  .technology-li {
    width: 30px;
    height: 30px;
  }

  .modal {
    width: 90%;
    min-width: 250px;
  }

  .project-photo {
    width: 100%;
    height: 80px;
  }

  .project-btns-container {
    flex-direction: column;
    width: 100%;
  }

  .project-btns-container button {
    width: 90%;
  }
}
@media (min-width: 370px) and (max-width: 600px) {
  #about-me p {
    font-size: 1.25rem;
  }

  .nav-item span {
    font-size: 0.75rem;
  }

  .project-container-info h2 {
    font-size: 1.2rem;
  }
}

@media (min-width: 421px) and (max-width: 600px) {
  .project-photo {
    width: 100%;
    height: 120px;
  }
}

@media (min-width: 280px) and (max-width: 600px) {
  .container {
    flex-direction: column-reverse;
  }

  .main-photo {
    margin: 0;
  }

  .presentation {
    text-align: center;
  }

  .presentation {
    width: 100%;
  }

  .home-buttons {
    display: flex;
    flex-direction: column;
  }

  .about-content {
    width: 95%;
  }

  .modal {
    height: 100%;
  }

  .btn {
    padding: 1rem;
    width: 90%;
  }

  .modal {
    width: 95%;
  }

  .project-title h2 {
    font-size: 1.4rem;
  }

  .project-title h3 {
    font-size: 1.2rem;
  }

  .project-container-info ul li {
    font-size: 0.9rem;
  }

  .technology-ul li img {
    width: 25px;
    height: 25px;
  }

  .main-container {
    flex-direction: column;
  }

  .project-container,
  .project-container-info {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
  }

  .project-container-info {
    text-align: center;
  }

  .project-container-info div:not(.period) {
    margin: 1rem 0 0;
  }

  @media (min-width: 280px) and (max-width: 600px) {
    .project-container-info .period {
      margin: 0;
    }
  }
  .project-container-info ul li {
    list-style: none;
  }

  .close-btn-container {
    align-self: flex-start;
  }
}

@media (min-width: 421px) and (max-width: 768px) {
  header {
    justify-content: space-evenly;
    align-content: center;
  }

  .nav-bar {
    justify-content: center;
  }

  .main-photo img {
    width: 300px;
    height: 300px;
  }
}

@media (min-width: 600px) and (max-width: 768px) {
  main h1 {
    font-size: 1.5rem;
  }

  .my-name {
    font-size: 2rem;
  }

  main h2 {
    font-size: 1.2rem;
  }

  .presentation {
    width: 85%;
  }

  .main-photo img {
    width: 200px;
    height: 200px;
  }

  .btn {
    width: 160px;
  }

  #about-me {
    font-size: 1rem;
  }

  .project-btns-container {
    flex-direction: column;
    margin: 1rem 0 0 0;
  }

  .modal {
    width: auto;
  }

  .problems ul li,
  .functionalities ul li {
    font-size: 0.93rem;
  }

  .project-title h2 {
    font-size: 1.6rem;
  }

  .project-title h3 {
    font-size: 1.4rem;
  }

  .project-container-info h2 {
    font-size: 1.4rem;
  }

  .project-photo {
    width: 270px;
  }

  .technology-li {
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 768px) {
  #about-me h2,
  #skills h2,
  #projects h2,
  #contact-me h2 {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 0.75rem;
  }

  .social-links {
    margin-left: 0;
  }

  .project-content {
    transform: translateX(-200px);
  }
}

@media (min-width: 768px) {
  header {
    justify-content: space-evenly;
  }

  .nav-bar {
    display: none;
  }

  .nav-bar-pc {
    display: flex;
    justify-self: flex-end;
  }

  #about-me {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  #about-me h2 {
    align-self: flex-start;
    margin-bottom: 1rem;
  }

  .about-content {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    max-width: 750px;
    gap: 60px;
  }
  .about-content .photo img {
    display: flex;
    position: relative;
    bottom: 2rem;
    margin-right: 100px;
  }

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

  .skills-category {
    width: 950px;
    font-size: 25px;
    height: 185px;
  }

  .skills-category ul {
    display: flex;
    justify-content: center;
    align-items: center;
    width: max-content;
  }

  .skills-category ul li {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .project-flex {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    width: 100%;
  }

  .social-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 2rem;
  }

  #contact-me p {
    text-align: left;
  }

  .social-btn {
    padding: 1.6rem 1rem 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  #about-me h2,
  #projects h2 {
    margin-left: 2rem;
  }

  #home,
  #skills,
  #contact-me {
    margin-left: 2rem;
  }

  footer {
    margin-bottom: 0;
  }
}
@media (min-width: 768px) and (max-width: 1000px) {
  .skills-category {
    width: 720px;
    font-size: 20px;
  }

  .nav-bar-pc .list .nav-item a span {
    font-size: 0.65rem;
  }

  .main-photo img {
    width: 270px;
    height: 270px;
  }

  #about-me h2,
  #skills h2,
  #projects h2,
  #contact-me h2 {
    font-size: 1.5rem;
  }

  .modal {
    width: 95%;
  }

  .problems ul li,
  .functionalities ul li {
    font-size: 0.93rem;
  }

  .project-container-info h2 {
    font-size: 1.4rem;
  }

  .social-btn {
    width: 25%;
  }
}

@media (min-width: 1320px) {
  .about-content {
    font-size: 20px;
    max-width: 950px;
  }

  .my-photo {
    width: 300px;
    height: 300px;
  }

  .modal {
    width: auto;
  }
}
