@import url('https://fonts.googleapis.com/css2?family=Borel&family=Comfortaa:wght@300..700&family=Crimson+Text:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&family=Delius+Swash+Caps&family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');

.nunito-uniquefier {
  font-family: "Nunito", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
}

.delius-swash-caps-regular {
  font-family: "Delius Swash Caps", serif;
  font-weight: 400;
  font-style: normal;
}

.comfortaa-uniquefier {
  font-family: "Comfortaa", serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
}

.borel-regular {
  font-family: "Borel", serif;
  font-weight: 400;
  font-style: normal;
}

.crimson-text-regular {
  font-family: "Crimson Text", serif;
  font-weight: 400;
  font-style: normal;
}

html,
body {
  font-family: "Crimson Text", serif;
  color: #E6E6E7;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background-color: #15161A;
}

.sidebar {
  width: 60px;
  height: 100vh;
  background-color: #25262B;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: fixed;
  z-index: 10;
}

.sidebar img {
  filter: invert(100%) brightness(100%) !important;
}

.menu-item {
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.menu-item img {
  width: 25px;
}

.menu-item:hover {
  background-color: #313038;
  /* Highlight color on hover */
}

#sectionContainer {
  overflow-y: auto;
  margin-top: 0;
  display: flex;
  margin-left: 120px;
  /* Push content to the right of the sidebar */
  margin-right: 120px;
  padding: 20px;
  width: calc(100% - 200px);
  /* Ensures content container fills remaining width */
  flex-grow: 1;
}

section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 15px;
  height: 100%;
  width: 100%;
}

/* Profile Box Styling */
.profile-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #25262B;
  border: 2px solid #444;
  border-radius: 12px;
  padding: 20px 30px;
  margin: 20px auto 30px auto;
  max-width: 900px;
  box-shadow: 0 4px 24px 0 #000a;
}

.profile-box .profile-icon {
  width: 100px;
  height: 100px;
  clip-path: circle();
  overflow: hidden;
  margin-right: 25px;
  flex-shrink: 0;
}

.profile-box .profile-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.profile-text {
  flex: 1;
  text-align: left;
}

.profile-text h1 {
  margin: 0 0 8px 0;
  font-size: 2.2rem;
  font-family: "Comfortaa", Arial, sans-serif;
  color: #fff;
}

.profile-text p {
  margin: 5px 0;
  font-size: 1.1rem;
  color: #e6e6e7;
}

.profile-text .languages {
  font-size: 1rem;
  color: #987CAA;
  margin-top: 8px;
}

.profile-github {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 20px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.profile-github img {
  width: 40px;
  height: 40px;
  filter: invert(100%) brightness(100%);
  transition: transform 0.3s ease;
}

.profile-github:hover {
  transform: scale(1.1);
}

.profile-github:hover img {
  filter: invert(70%) sepia(50%) saturate(500%) hue-rotate(230deg) brightness(100%);
}

.gallery-container>ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  /* Align items to the left */
  padding: 0;
  margin: 5px;
  gap: 10px;
}

.gallery-container>li {
  height: 15vh;
  width: 15vw;
  flex-grow: 0;
  margin: 0px;
}

.gallery-container>img {
  max-height: 100% !important;
  max-width: 100% !important;
  object-fit: cover !important;
}

.gallery-container>li:last-child {
  flex-grow: 1;
}

#socials {
  margin-top: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background-color: #15161A;
  /* Match your page background */
}

#socialmedia {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 400px;
  /* Optional max width for the container */
}

.social-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #E6E6E7;
  /* Default text color */
  border-radius: 10px;
  border: dashed 2px #41424D;
  background-color: #25262B;
  padding: 10px 15px;
  font-family: "Nunito", arial;
  font-size: 24px;
  transition: all 0.3s ease;
}

.social-link img {
  width: 32px;
  height: 32px;
  margin-right: 10px;
  transition: all 0.3s ease;
  /* Smooth transition effect */
}

.inverted>img {
  filter: invert(100%) brightness(100%) !important;
}

.social-link:hover {
  background-color: #41424D;
  transform: scaleX(1.2) scaleY(1.2);
  font-size: 26px;
}

.social-link:hover>img {
  width: 36px;
  height: 36px;
}

/* styling for the TOS section */

#terms-of-service {
  border: 2px solid #444;
  background-color: #25262B;
  border-radius: 8px;
  padding: 15px;
  margin: 20px auto;
  max-width: 800px;
  max-height: fit-content;
  font-family: "Nunito", serif;
  font-size: 18px;
  color: #ebebeb;
}

#terms-of-service h2 {
  font-size: 1.5em;
  text-align: center;
  margin-bottom: 10px;
}

#terms-of-service h3 {
  font-size: 1.2em;
  margin: 15px 0 5px;
  color: #ffffff;
}

#terms-of-service ul {
  margin-left: 20px;
  padding-left: 10px;
}

#terms-of-service ul li {
  text-align: left;
  margin-bottom: 5px;
}

#terms-of-service p {
  margin: 10px 0;
  line-height: 1.5;
}

/* General Section Styling */
section {
  height: fit-content;
}

#comissions {
  margin-right: 25px;
}

#commission-info {
  max-width: 1100px;
  max-height: fit-content;
  margin: 20px auto;
  font-family: "Nunito", serif;
  font-size: 18px;
  background-color: #25262B;
  padding: 15px;
  border-radius: 8px;
  border: 2px solid #444;
}

.content-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

/* Text Section Styling */
.details-container {
  flex: 2;
}

.details-container h2,
.details-container h3 {
  margin-bottom: 10px;
  font-size: 1.5em;
  text-align: left;
}

.details-container ul {
  margin: 0;
  padding: 0 0 0 20px;
  text-align: left;
}

.details-container li {
  margin-bottom: 10px;
}

.price-table {
  width: 100%;
  margin-top: 20px;
  border-collapse: collapse;
  /* Ensures borders don't overlap */
}

.price-table th,
.price-table td {
  padding: 10px;
  text-align: left;
}

/* Remove vertical lines */
.price-table th,
.price-table td {
  border-top: 1px solid #444;
}

.price-table th {
  background-color: #25262B;
  font-weight: bold;
}

.price-table td {
  background-color: #25262B;
}

.price-table tr:not(:last-child) td {
  border-bottom: 1px solid #444;
  /* Horizontal line between rows */
}

/* About Me Section Styling - Matching Commission Style */
.about-section {
  max-width: 1100px;
  margin: 20px auto;
  font-family: "Nunito", serif;
  font-size: 18px;
  background-color: #25262B;
  padding: 25px 30px;
  border-radius: 8px;
  border: 2px solid #444;
  color: #ebebeb;
}

.about-content {
  text-align: left;
}

/* Info Box Styling */
.info-box {
  background-color: #2a2b31;
  border: 2px solid #444;
  border-radius: 10px;
  padding: 20px 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px #0004;
}

.info-box:last-child {
  margin-bottom: 0;
}

.about-content h4 {
  font-size: 1.4em;
  margin: 0 0 15px 0;
  color: #987CAA;
  font-family: "Comfortaa", Arial, sans-serif;
  text-align: center;
}

.info-box h4 {
  margin-top: 0;
}

.about-content p {
  margin: 10px 0;
  line-height: 1.6;
  text-align: center;
}

.about-content ul {
  margin: 10px 0;
  padding: 0;
  list-style-position: inside;
  text-align: center;
}

.about-content li {
  margin-bottom: 10px;
  line-height: 1.6;
  text-align: center;
}

.info-box ul {
  text-align: center;
}

.about-content a {
  color: #987CAA;
  text-decoration: none;
}

.about-content a:hover {
  text-decoration: underline;
}

/* Skills Container Styling */
.skills-container {
  display: flex;
  gap: 15px;
  margin-top: 10px;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
}

.info-box .skills-container {
  margin-top: 10px;
  width: 100%;
}

/* Projects Container Styling */
.projects-container {
  display: flex;
  gap: 15px;
  margin-top: 10px;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
}

.project-box {
  flex: 1;
  min-width: 280px;
  max-width: 100%;
  background-color: #25262B;
  border: dashed 2px #41424D;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.project-box:hover {
  background-color: #41424D;
  transform: scale(1.05);
  border-color: #987CAA;
}

.project-box h5 {
  font-family: "Comfortaa", Arial, sans-serif;
  font-size: 1.2em;
  color: #987CAA;
  margin: 0 0 8px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.project-box .github-icon {
  display: inline-flex;
  align-items: center;
  transition: transform 0.2s;
}

.project-box .github-icon img {
  width: 20px;
  height: 20px;
  filter: invert(100%) brightness(100%);
}

.project-box .github-icon:hover {
  transform: scale(1.2);
}

.project-box .project-date {
  font-size: 0.9em;
  color: #987CAA;
  margin: 0 0 10px 0;
  font-style: italic;
}

.project-box p {
  font-size: 0.95em;
  line-height: 1.6;
  margin: 0;
  color: #e6e6e7;
}

.skill-box {
  flex: 1;
  min-width: 200px;
  max-width: 100%;
  background-color: #25262B;
  border: dashed 2px #41424D;
  border-radius: 10px;
  padding: 15px 20px;
  text-align: center;
  transition: all 0.3s ease;
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.skill-box:hover {
  background-color: #41424D;
  transform: scale(1.05);
  border-color: #987CAA;
}

.skill-box h5 {
  font-family: "Comfortaa", Arial, sans-serif;
  font-size: 1.2em;
  color: #987CAA;
  margin: 0 0 10px 0;
}

.skill-box p {
  font-size: 0.95em;
  line-height: 1.6;
  margin: 0;
  color: #e6e6e7;
}

@media (max-width: 900px) {
  .about-section {
    max-width: 95%;
    padding: 18px 15px;
  }
  .info-box {
    padding: 18px;
    overflow: hidden;
  }
  .skills-container {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }
  .skill-box {
    min-width: auto;
    width: 100%;
    max-width: 100%;
  }
  .projects-container {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }
  .project-box {
    min-width: auto;
    width: 100%;
    max-width: 100%;
  }
  .profile-box {
    max-width: 85%;
    width: 85%;
    padding: 15px;
    flex-wrap: wrap;
  }
}

@media (max-width: 860px) {
  .skills-container {
    flex-direction: column;
  }
  .skill-box {
    min-width: 100%;
  }
  .projects-container {
    flex-direction: column;
  }
  .project-box {
    min-width: 100%;
  }

  /* Profile Box Mobile */
  .profile-box {
    flex-direction: row;
    flex-wrap: wrap;
    padding: 15px 18px;
    max-width: 85%;
    width: 85%;
    margin: 10px auto 20px auto;
  }

  .profile-box .profile-icon {
    margin-right: 18px;
    margin-bottom: 0;
    width: 75px;
    height: 75px;
  }

  .profile-text {
    text-align: left;
    flex: 1;
    min-width: 150px;
  }

  .profile-text h1 {
    font-size: 1.6rem;
  }

  .profile-text p {
    font-size: 1rem;
  }

  .profile-text .languages {
    font-size: 0.95rem;
  }

  .profile-github {
    margin-left: 12px;
    margin-top: 0;
  }

  .profile-github img {
    width: 35px;
    height: 35px;
  }

  /* About Section Mobile */
  .about-section {
    max-width: 95%;
    padding: 15px 10px;
    margin: 10px auto;
  }

  .about-section h2 {
    font-size: 1.6rem !important;
  }

  .info-box {
    padding: 15px;
    margin-bottom: 15px;
  }

  .info-box h4 {
    font-size: 1.2em;
  }

  .about-content p {
    font-size: 0.95em;
  }

  .about-content li {
    font-size: 0.95em;
  }

  /* Project boxes mobile */
  .project-box {
    padding: 15px;
    min-width: auto;
    width: 100%;
    max-width: 100%;
  }

  .project-box h5 {
    font-size: 1.1em;
    flex-direction: column;
    gap: 8px;
    word-break: break-word;
  }

  .project-box .github-icon img {
    width: 18px;
    height: 18px;
  }

  .project-box .project-date {
    font-size: 0.85em;
  }

  .project-box p {
    font-size: 0.9em;
    word-break: break-word;
  }

  /* Skill boxes mobile */
  .skill-box {
    padding: 12px 15px;
    min-width: auto;
    width: 100%;
    max-width: 100%;
  }

  .skill-box h5 {
    font-size: 1.1em;
  }

  .skill-box p {
    font-size: 0.9em;
    word-break: break-word;
  }
  #comissions {
    margin-right: 0;
  }
  /* Adjust the section container to be below the sidebar */
  #sectionContainer {
    margin: 0.5%;
    padding: 0;
    width: 100%;
    /* Adjust to take up remaining space */
  }
  #commission-info {
    max-width: 95%;
    max-height: fit-content;
    margin: 20px auto;
    font-family: "Nunito", serif;
    line-height: 1.25;
    background-color: #25262B;
    padding: 1px;
    border-radius: 8px;
    border: 2px solid #444;
  }
  .details-container{
    padding: 10px;
  }
  .content-wrapper{
    display: contents;
    align-items: center;
    margin: 15px;
  }
  #terms-of-service {
    max-width: 95%;
    max-height: fit-content;
    font-family: "Nunito", serif;
    line-height: 1.25;
    background-color: #25262B;
    padding: 10px;
    border-radius: 8px;
    border: 2px solid #444;
  }
  /* Sidebar on top */
  .sidebar {
    width: 100%;
    height: 60px;
    /* Adjust height for mobile */
    position: relative;
    /* Change position to relative */
    flex-direction: row;
    /* Align items horizontally */
    justify-content: space-around;
    /* Space out the menu items */
    align-items: center;
  }

  /* Menu items adjust */
  .menu-item {
    width: max;
    /* Allow menu items to expand based on content */
    height: 60px;
    margin: 0 10px;
    /* Space between items */
  }

  /* Responsive adjustments for the table */
  .price-table th,
  .price-table td {
    padding: 8px;
  }

  .gallery-container>ul {
    flex-direction: column;
    align-items: center;
  }

  .gallery-container>li {
    width: 80%;
    height: auto;
  }

  #susie {
    display: none;
  }

}

/* Language Toggle Button Styles */
.language-toggle-container {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.language-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #25262B;
  border: 2px solid #987CAA;
  border-radius: 25px;
  padding: 8px 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Comfortaa", serif;
  font-size: 14px;
  color: #E6E6E7;
}

.language-toggle:hover {
  background-color: #987CAA;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(152, 124, 170, 0.3);
}

.language-toggle:active {
  transform: translateY(0);
}

.lang-flag {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.lang-text {
  font-weight: 600;
  letter-spacing: 0.5px;
}

.language-toggle:hover .lang-flag {
  transform: scale(1.1);
}