@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap");

body {
  margin: 0;
  padding: 0;
  width: 100vw;
  max-width: 100vw;
  overflow-x: hidden;
  align-items: center;
  font-family: "Inter", sans-serif;
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
    url("asset/img/pattern.png") repeat;
  color: var(--text-color);
}
/* Language selector*/


#language-selector select {
  padding: 8px 25px;
  font-size: 1em;
  font-weight: bold;
  color: #000000;
  background-color: #ffffff; /* Primary blue color */
  border-radius: 0px;
  border: 1px solid #000000;
  transition: background-color 0.3s, border-color 0.3s;
  cursor: pointer;
}

#language-selector select:hover {
  background-color: #d2d2d2 !important;
}

#language-selector select:focus {
  outline: none;
  background-color: #ffffff;
}

#profile {
  width: 24vw;
  padding: 4vh 3vw;
  height: 92vh;
  display: flex;
  flex-direction: column;
  text-align: left;
  position: fixed;
  color: #fff !important;
  background-color: black; /* Add black background color */
}

h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 1vh 0px;
}
p {
  font-size: 18px;
  font-weight: 300;
  margin: 2vh 0px;
}
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.contact-item i {
  width: 20px;
  margin-right: 8px;
  text-align: center;
}

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

#display {
  width: 64vw;
  padding: 4vh 3vw;
  height: 92vh;
  display: inline-block;
  padding-left: 33vw;
}
#display h1 {
  font-size: 50px;
  color: var(--text-color);
  text-transform: uppercase;
  font-size: 50px;
  font-weight: 700;
  font-family: "Inter", sans-serif;
}

#background {
  width: 100vw;
  height: 55vh;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  position: absolute;
  z-index: -2;
  top: 0;
  left: 0;
}
#footer {
  display: none;
  width: 100%;
  padding: 12vh 0px 5vh;
  text-align: center;
}

#footer a {
  color: var(--text-color) !important;
  text-decoration: none;
  font-family: "Inter", sans-serif;
  font-weight: bold;
}

#profile_img {
  width: 150px;
  height: 150px;
  min-width: 120px;
  min-height: 120px;
  max-width: 150px;
  max-height: 150px;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  margin: 9.5vh 0px;
}
#technifold_img {
  width: 150px;
  height: 150px;
  min-width: 120px;
  min-height: 120px;
  max-width: 150px;
  max-height: 150px;
  background-size: contain !important;
  background-repeat: no-repeat !important;
}

#footer-technifold-logo {
  width: 150px;
  height: 150px;
  min-width: 120px;
  min-height: 120px;
  max-width: 150px;
  max-height: 150px;
  background-size: contain !important;
  background-repeat: no-repeat !important;
}

#profile div {
  font-weight: bold;
}

#username {
  font-size: 18px;
  font-weight: bold;
}

#username span {
  font-size: 24px;
}

#userbio {
  font-size: 26px;
  font-family: "Inter", sans-serif;
  width: 100%;
}

#about {
  margin: 9.5vh 0 0;
}

#about a {
  color: #fff !important;
  text-decoration: none;
  font-size: 18px;
  font-weight: 300;
}

#about a:hover {
  text-decoration: underline;
}

#about span {
  margin: 1vh 0px;
  display: block;
}

#about span i {
  font-size: 16px;
}

#work {
  margin: 0 0px 2vh;
  padding: 0 0px 4vh;
  
}

.projects .a {
  /* 30px is the gutter size in magic grid */
  width: calc(100% - 30px);
  /* 49% avoids a weird single column on some wide screens */
  display: flex;
  text-decoration: none;

  flex-direction: column;
}

/* Define different colors for each section */
.section-1 {
  --border-color: #90a7cd;
}

.section-2 {
  --border-color: #384266;
}

.section-3 {
  --border-color: #939e7f;
}
.section-4 {
  --border-color: #59485c;
}
.section-5 {
  --border-color: #8a735f;
}
.section-6 {
  --border-color: #d1b47c;
}
.section-7 {
  --border-color: #da4e69;
}
.section-8 {
  --border-color: #693589;
}
.accordion-toggle {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  font-size: 1rem;
  padding: 0;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
}

.accordion-toggle i {
  font-size: 1.25rem;
}
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
  z-index: 2; /* Ensure the content is below the header but above the gradient */
  position: relative; /* Ensure it is positioned relative */
}

.accordion-inner-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: white;
  color: #000;
  padding: 2.5vh 5%;
  margin-bottom: 1rem;
}

.content-item {
  text-align: center;
}

.content-item:last-child {
  margin-bottom: 0;
}

.content-image {
  flex-shrink: 0;
}

.content-text {
  flex: 1;
}

.content-image img {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
}

.accordion-content p {
  margin: auto;
}
.projects section {
  position: relative;
  padding: 2.5vh 5%;
  margin: 3vh 0px 0px;
  display: inline-block;
  border-radius: 0px;
  color: var(--text-color);
  overflow: hidden; /* Hide the overflow to contain the pseudo-element */
}

.section_title {
  font-size: 16px;
  font-weight: 700;
  margin: 1vh 0px;
  text-transform: uppercase;
  padding: 0px 1px;
  word-wrap: break-word;
}

.about_section {
  font-size: 18px;
  font-family: "Inter", sans-serif;
  margin: 2vh 0px;
  font-weight: 300;
  word-wrap: break-word;
}

.bottom_section {
  margin: 1vh 0px;
  font-size: 14px;
  word-wrap: break-word;
}

.bottom_section span {
  margin-right: 20px;
  font-weight: bold;
}

.bottom_section span i {
  font-size: 15px;
}

.socials {
  color: #fff;
  text-decoration: none;
  margin: 9.5vh 0 0;
}

.tab {
  cursor: pointer;
}
::selection {
  color: var(--bg-color);
  background: var(--text-color);
}
#footer-technifold-logo {
  background: url('asset/img/technifold-logo.png') no-repeat center center;
  background-size: contain;
  width: 100px; 
  height: 100px; 
  margin: auto; 
}
@media (max-height: 760px) {
 #about {
  margin: 0%;
 }

}

@media (max-width: 800px) {
  body {
    background: none !important;
  }
  .content-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .content-image {
    margin-right: 0;
  }
  .content-image img {
    max-width: 100% !important;
  }
  .content-text {
    text-align: left;
  }

  #profile {
    width: 90vw;
    padding: 4vh 5vw;
    height: 10vh;
    text-align: center;
    position: relative;
  }
  #profile_img {
    width: 120px;
    height: 120px;
    min-width: 120px;
    min-height: 120px;
    max-width: 120px;
    max-height: 120px;
    margin: 0px auto !important;
  }

  #display {
    width: 90vw;
    padding: 4vh 5vw;
    height: auto;
    display: inline-block;
    padding-left: 5vw;
    background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9)),
      url("asset/img/pattern.png") repeat; /* Apply background image with repeat */
  }
  #profile #about {
    display: none;
    margin: auto;
    text-align: left;
  }
 

  .projects {
    margin-left: 0;
  }

  .projects .a {
    width: 100%;
  }
  .socials {
    display: none;
  }
  #technifold_img {
    display: none;
  }
  #footer {
    display: block !important;
  }
  #about_footer {
    padding: 25px;
  }
  .contact-item-footer i {
    width: 20px;
    margin-right: 8px;
    text-align: center;
  }
  #language-selector {
    top: 10px !important;
    position: absolute !important;
    right: 10px !important;
    margin: 0 4vw !important;
    z-index: 1000 !important; 
  }
  #language-selector select {
    padding: 8px 12px !important;
  }
  #work {
    padding: 0% !important;
    margin: 0% !important;
  }
}

::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-track {
  background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
  background: var(--text-color);
}
:root {
  --bg-color: rgb(10, 10, 10);
  --text-color: #fff;
}

#display h1 {
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: #fff;
}

.projects section {
  background-color: var(--border-color);
}
