body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-color: #fcf8f8;
  font-family: 'Acme', sans-serif;
}

header {
  background-color: #a987a8;
  color: white;
  padding: 1rem;
  text-align: center;
  position: fixed;
  width: 97.5%;
  z-index: 1000;
}

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

.logo {
  font-size: 1.5rem;
}

.nav-links {
  display: flex;
  gap: 20px;
}

.nav-link:hover,
.nav-link:focus,
.nav-link:active {
  color: white;
}

.nav-list {
  display: flex;
  justify-content: flex-end;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 20px;
}

header ul li {
  display: inline;
  margin: 10px;
  font-size: 18px;
}

.nav-list li {
  margin: 0 15px;
}

header ul li a {
  color: white;
  text-decoration: none;
}

.nav-list a {
  color: rgb(0, 0, 0);
  text-decoration: none;
  padding: 15px 0;
  display: block;
}

header .logo {
  font-size: 25px;
  font-weight: bold;
  margin-left: 1rem;
}

header .menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  position: absolute;
  top: 1rem;
  right: 1rem;
}

header .menu-toggle .bar {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 3px 0;
}

header ul {
  list-style: none;
}

.about-me {
  padding: 40px 20px;
}

.container {
  max-width: 800px;
  margin: 0%;
}

.about-me-header {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-left: 1%;
  margin-top: 10%;
}

h2 {
  margin: 2px;
  font-size: 2.5rem;
  font-weight: bold;
  margin-left: 5%;
}

.background-container {
  position: relative;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: right;
  padding: 20px;
  border: 2px solid rgba(81, 31, 82, 1);
  margin-left: 80%;
}

.profile-picture-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-top: 5px;
}

.profile-picture {
  width: 250px;
  height: 300px;
  border: 2px solid rgba(81, 31, 82, 1);
  border-radius: 0%;
  margin-left: 1%;
}

.profile-picture-circles {
  display: flex;
  justify-content: center;
  gap: 5px;
  padding-top: 10px;
  margin-left: 1%;
}

.profile-picture-circles .circle {
  width: 10px;
  height: 10px;
  background-color: #b495a4;
  border: rgba(81, 31, 82, 1);
  border-radius: 50%;
}

.intro {
  font-size: 24px;
  margin-bottom: -5px;
  margin-top: -35%;
  margin-left: 5%;
}

.about-me-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 1.25rem;
  line-height: 1.3;
  margin-top: 1%;
  margin-left: 5%;
}

.about-me-text {
  text-align: justify;
}

.social-logos {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.social-logos img {
  width: 60px;
  height: auto;
}

.stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #f4e7ee;
  border: 2px solid #511f52;
  box-shadow: 0 4px 8px rgba(81, 31, 82, 0.5);
  margin-top: 50px;
  margin-left: 35%;
  width: 80%;
}

.stat {
  text-align: center;
}

.stat h3 {
  font-size: 36px;
  margin: 0;
}

footer p {
  margin-top: 10px;
}

.stat p {
  font-size: 30px;
  margin: 5px 0 0;
}

.vertical-divider {
  height: 100px;
  width: 5px;
  background-color: rgba(81, 31, 82, 1);
  text-align: center;
}

.skills-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  margin-left: 25%;
}

.skills {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  text-align: left;
}

.skills h3 {
  grid-column: span 2;
  font-size: 24px;
  margin-bottom: 20px;
  text-align: center;
}

.skill {
  display: flex;
  align-items: center;
}

.skill img {
  width: 50px;
  height: 50px;
  margin-right: 20px;
}

.skill p {
  margin: 0;
  max-width: 250px;
}

#profilePicture {
  cursor: pointer;
}

footer {
  background-color: #a987a8;
  color: white;
  padding: 10px;
  text-align: center;
  margin-top: 80px;
  font-family: 'Arial', sans-serif;
  position: relative;
  height: auto;
}

.social-media {
  margin-bottom: 5px;
}

.social-media a {
  margin: 0 15px;
  display: inline-block;
  margin-bottom: -1%;
}

.social-media img {
  width: 60px;
  height: 65px;
  border-radius: 50%;
  padding: -70px;
}

.blog-container {
  display: flex;
  justify-content: center;
  margin: 20px 0;
  width: 100%;
}

.blog-frame {
  border: 3px solid white;
  padding: 20px;
  margin: 0 10px;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.1);
  max-width: 350px;
  white-space: nowrap;
}

.blog-frame a {
  color: white;
  text-decoration: none;
  font-size: 1.2em;
}

.blog-frame a:hover {
  text-decoration: underline;
}

.footer-divider {
  margin: 20px auto;
  width: 40%;
  border-bottom: 3px solid #fff;
  opacity: 0.6;
}

.footer-container {
  margin-top: 20px;
  width: 100%;
  text-align: center;
}

.footer-text {
  font-size: 0.9em;
  color: white;
  opacity: 0.8;
}

@font-face {
  font-family: 'Acme';
  src:
    url('Acme-Regular.ttf') format('woff2'),
    url('Acme-Regular.ttf') format('woff');
  font-weight: normal;
  font-style: normal;
}

.menu {
  display: none;
}

.popup-btn {
  display: none;
}

@media (max-width: 600px) {
  body {
    font-size: 18px;
  }

  header {
    width: 100%;
    position: fixed;
    z-index: 1000;
  }

  .nav-list {
    display: none;
    flex-direction: row;
    gap: 10px;
    position: absolute;
    top: 60px;
    left: 0;
    background-color: #a987a8;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
    border: none;
    margin: 0;
  }

  .menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 93%;
    height: 93%;
    background: rgba(244, 238, 244, 1);
    border-radius: 8px;
    z-index: 1000;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 30px;
    border: 15px solid rgba(169, 135, 168, 1);
    overflow-y: auto;
  }

  .popup-btn {
    display: block;
    margin-left: 70%;
    margin-bottom: -8%;
    width: 30%;
    height: 100%;
    font-size: 200%;
    background-color: #a987a8;
    color: white;
    border: none;
  }

  .separator {
    width: 2px;
    height: 250px;
    background-color: #511f52;
    margin-bottom: 2px;
    margin-right: 65%;
  }

  .close {
    display: block;
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 30px;
    color: #511f52;
    cursor: pointer;
    margin-top: 8%;
    margin-right: 10%;
    font-weight: bold;
  }

  .menu-item,
  .menu-item1,
  .menu-item2 {
    display: flex;
    align-items: center;
    margin-bottom: 45px;
    margin-top: 2%;
    color: #511f52;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
  }

  .menu-item {
    margin-right: 50%;
  }

  .menu-item1 {
    margin-right: 48%;
    margin-top: 2%;
  }

  .menu-item2 {
    margin-right: 45%;
    padding: 2%;
  }

  .menu-item img {
    width: 30px;
    height: 30px;
    margin-right: 15px;
  }

  .modal-content {
    width: 94%;
    max-width: 400px;
    padding: 18px;
    max-height: 96%;
    font-size: 85%;
  }

  .image {
    width: 20%;
    height: 20%;
    border-radius: 50%;
    margin-right: 60%;
    margin-bottom: 30px;
  }

  .nav-list.show {
    display: flex;
  }

  .about-me-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 18%;
  }

  .background-container {
    padding: 10px;
    margin-left: 10%;
  }

  .profile-picture {
    width: 220px;
    height: 220px;
    margin: 0 auto;
  }

  .profile-picture-container {
    text-align: center;
    position: relative;
    z-index: 0;
  }

  .intro {
    font-size: 180%;
    margin-top: 10%;
    margin-left: 18%;
  }

  .description {
    margin-left: 10%;
  }

  .about-me-content {
    font-size: 120%;
  }

  .skills-container {
    margin: 0;
    margin-left: 5%;
  }

  .skills {
    grid-template-columns: 1fr;
  }

  footer {
    padding: 20px;
    width: 102%;
  }

  .blog-frame {
    font-size: 90%;
    width: 110%;
  }

  .stats {
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 10px;
    margin-left: 3.5%;
    text-align: center;
  }

  .stat {
    margin-bottom: 20px;
    margin-left: 0;
  }

  .vertical-divider {
    display: none;
  }

  .footer-divider {
    width: 80%;
  }

  .social-logos {
    margin-left: 13%;
  }
}

@media (min-width: 601px) and (max-width: 900px) {
  body {
    font-size: 20px;
  }

  header {
    width: 100%;
  }

  .nav-list {
    display: none;
    flex-direction: row;
    gap: 10px;
    position: absolute;
    top: 60px;
    left: 0;
    background-color: #a987a8;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
    border: none;
    margin: 0;
  }

  a {
    text-decoration: none;
  }

  .nav-list.show {
    display: flex;
  }

  .about-me-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 20%;
  }

  .background-container {
    margin-left: 0;
    padding: 10px;
  }

  .profile-picture {
    width: 200px;
    height: auto;
    margin: 0 auto;
  }

  .profile-picture-container {
    text-align: center;
  }

  .intro {
    font-size: 1.5rem;
    margin-top: 10%;
  }

  .about-me-content {
    font-size: 1rem;
  }

  .skills-container {
    margin: 0;
  }

  .skills {
    grid-template-columns: 1fr;
  }

  .social-logos img {
    width: 50px;
  }

  .social-media img {
    width: 40px;
  }

  footer {
    height: auto;
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
  }

  .stats {
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 10px;
    margin-left: 0;
    text-align: center;
  }

  .stat {
    margin-bottom: 20px;
    margin-left: 0;
  }

  .vertical-divider {
    display: none;
  }
}

@media (width: 1024px), (width: 912px) {
  body {
    font-size: 20px;
  }

  header {
    width: 100%;
  }

  .nav-list {
    display: flex;
    flex-direction: row;
    gap: 10px;
    position: relative;
    top: 0;
    margin-left: 0;
    background-color: transparent;
    box-shadow: none;
    padding: 0;
    width: auto;
  }

  .hamburger {
    display: none;
  }

  .about-me-header {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    margin-top: 0;
  }

  .background-container {
    margin-left: 0;
    padding: 10px;
  }

  .profile-picture {
    width: 250px;
    height: auto;
    margin: 0;
  }

  .profile-picture-container {
    text-align: left;
  }

  .intro {
    font-size: 1.5rem;
    margin-top: 0;
  }

  .about-me-content {
    font-size: 1rem;
  }

  .skills-container {
    margin: 0;
  }

  .skills {
    grid-template-columns: repeat(3, 1fr);
  }

  .social-logos img {
    width: 40px;
  }

  .social-media img {
    width: 40px;
  }

  footer {
    height: auto;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
  }

  .stats {
    flex-direction: row;
    align-items: flex-start;
    width: 100%;
    padding: 10px;
    margin-left: 0;
    text-align: left;
  }

  .stat {
    margin-bottom: 0;
    margin-left: 0;
  }

  .vertical-divider {
    display: block;
  }
}
