@font-face {
  font-family: "Raleway";
  src: url("../Fonts/Raleway-Thin.ttf");
}
@font-face {
  font-family: "Raleway";
  font-weight: bold;
  src: url("../Fonts/Raleway-Black.ttf");
}
@font-face {
  font-family: "Avenir light";
  src: url("../Fonts/Avenir Light.ttf");
}
html, body {
  background: black;
  padding: 0;
  margin: 0;
  font-family: "Avenir light", sans-serif;
  color: white;
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
}

img {
  user-drag: none;
  -webkit-user-drag: none;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  pointer-events: none;
}

:not(.header-content) .title {
  width: 100%;
  text-align: center;
  margin-bottom: 8rem;
}
@media screen and (max-width: 600px) {
  :not(.header-content) .title {
    font-size: 2.5rem !important;
  }
}

.title span:first-child {
  color: white;
  font-weight: lighter;
}

h1, h2, h3 {
  text-transform: uppercase;
}

h1 {
  font-size: 3rem;
  font-weight: bold;
  font-family: "Raleway", sans-serif;
}

h2 {
  font-weight: lighter;
  letter-spacing: 0.5rem;
  font-size: 1.2rem;
}

h3 {
  font-weight: lighter;
  font-size: 1.2rem;
}

p {
  letter-spacing: 0.2rem;
  font-size: 0.9rem;
}

span {
  color: #FF9021;
  font-weight: bold;
}

.btn {
  margin: 2rem 0;
  padding: 1rem 2rem;
  border: none;
  color: white;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 5px;
  width: fit-content;
}
.btn:hover {
  color: #2561F7;
}

.btn-primary {
  border: 1px solid #FF9021;
}

.btn-secondary {
  border: 1px solid white;
}

a {
  text-decoration: none;
  color: #2561F7;
}

nav {
  width: 100%;
  position: fixed;
  background: #0a0d10;
  padding: 0.9rem 10rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 8vh;
  box-sizing: border-box;
  z-index: 9;
}
nav img {
  height: 100%;
  width: auto;
}
nav ul {
  display: flex;
  justify-content: space-between;
  gap: 1.2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
@media screen and (max-width: 1150px) {
  nav {
    padding: 0.9rem 5rem;
  }
  nav ul {
    gap: 1rem;
  }
}
@media screen and (max-width: 1050px) {
  nav {
    padding: 0.9rem 2rem;
  }
  nav ul {
    gap: 0.8rem;
    font-size: 0.7rem;
  }
}
@media screen and (max-width: 950px) {
  nav {
    justify-content: center;
    position: unset;
    padding: 0.7rem;
    height: 10vh;
  }
  nav ul {
    display: none;
  }
}

.nav-link {
  color: white;
  text-transform: uppercase;
  font-size: 0.6rem;
  letter-spacing: 0.3rem;
}
.nav-link.active {
  color: #FF9021;
}
.nav-link:hover {
  color: #2561F7;
}

.header {
  width: 100%;
  height: fit-content;
  background: #0a0d10;
}
.header .header-content {
  display: flex;
  justify-content: end;
  align-items: end;
  height: 100vh;
  box-sizing: border-box;
  margin: 0 auto;
  width: 75%;
  gap: 5rem;
  position: relative;
}
@media screen and (max-width: 900px) {
  .header .header-content {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    height: fit-content;
    padding: 5rem 0 0;
  }
}
.header .header-content div {
  width: 50%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: absolute;
  left: 0;
  bottom: 0;
}
@media screen and (max-width: 900px) {
  .header .header-content div {
    position: unset;
  }
}
.header .header-content img {
  height: auto;
  width: auto;
  max-width: 60vw;
  max-height: 75vh;
  margin-right: -4%;
}
@media screen and (max-width: 900px) {
  .header .header-content img {
    width: 80%;
    height: auto;
    max-width: 80vw;
    max-height: 50%;
    margin: 0;
  }
}
.header .header-content h1 span:first-child {
  color: white;
  font-weight: lighter;
}
@media screen and (max-width: 1100px) {
  .header .header-content div {
    width: 80%;
  }
}
@media screen and (max-width: 800px) {
  .header .header-content {
    width: 100%;
  }
  .header .header-content div {
    width: 90%;
    left: 10%;
  }
}
@media screen and (max-width: 600px) {
  .header .header-content {
    justify-content: center;
  }
}
.header .skills {
  display: flex;
  justify-content: space-around;
  align-items: start;
  gap: 2rem;
  background: #101418;
  width: 80%;
  border-radius: 20px;
  margin: 0 auto;
  padding: 3rem 2rem;
}
.header .skills div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}
@media screen and (min-width: 1050px) {
  .header .skills div {
    max-width: 25%;
  }
}
.header .skills span {
  font-family: "Raleway", sans-serif;
  font-size: 1.6rem;
  text-align: center;
}
.header .skills p {
  font-size: 0.8rem;
  text-align: center;
  margin: 0;
}
@media screen and (max-width: 1050px) {
  .header .skills {
    flex-direction: column;
    align-items: center;
    gap: 3rem;
  }
}
@media screen and (max-width: 800px) {
  .header .skills {
    width: 100%;
    padding: 3rem 0;
  }
}

#about {
  background: #0a0d10;
  height: 50vh;
}
@media screen and (max-width: 1100px) {
  #about {
    height: 55vh;
  }
}
@media screen and (max-width: 800px) {
  #about {
    height: 70vh;
  }
}
@media screen and (max-width: 600px) {
  #about {
    height: 65vh;
  }
}
@media screen and (max-width: 400px) {
  #about {
    height: 80vh;
  }
}

#about-content {
  background: #101418;
  padding: 4rem;
  width: 70%;
  height: fit-content;
  box-sizing: border-box;
  transform: translateX(-50%) translateY(-50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  border-radius: 10px;
  position: absolute;
  left: 50%;
}
#about-content a {
  margin: 0 auto;
}
#about-content > div {
  display: flex;
  justify-content: space-between;
  gap: 5rem;
  margin: 0 auto;
  width: fit-content;
  align-items: center;
  color: #FF9021;
}
#about-content > div div {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}
#about-content > div div a {
  color: #FF9021;
  font-size: 1.2rem;
}
@media screen and (max-width: 800px) {
  #about-content {
    width: 100%;
    padding: 3rem;
  }
  #about-content > div {
    gap: 2rem;
  }
}

#experience {
  padding: 10rem 0 10rem;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("../Images/desk_bg.webp") no-repeat center center/cover fixed;
}
#experience .timeline-container {
  width: 90%;
  margin: 0 auto;
  position: relative;
}
#experience .timeline-item {
  margin: 0 0 5rem;
  position: relative;
}
#experience .timeline-item:nth-child(2n) {
  text-align: right;
}
#experience .timeline-line {
  width: 5px;
  background-color: #0a0d10;
  position: absolute;
  left: 50%;
  overflow: hidden;
  transform: translateX(-50%);
}
#experience .timeline-line_progress {
  width: 100%;
  background-color: #FF9021;
}
#experience .timeline-point_container {
  padding-left: 50%;
}
#experience .timeline-item:nth-child(2n) .timeline-point_container {
  padding-right: 50%;
}
#experience .timeline-point {
  margin: 0 14px 0 -28px;
  height: 50px;
  line-height: 50px;
  width: 50px;
  border: 3px solid #FF9021;
  background-color: #0a0d10;
  border-radius: 50%;
}
#experience .timeline-active .timeline-point {
  background-color: #FF9021;
}
#experience .timeline-item_card {
  display: inline-block;
  width: 45%;
  margin: -77px 0 0;
  opacity: 0;
  transition: transform 0.5s, opacity 0.5s;
}
#experience .timeline-item:nth-child(2n+1) .timeline-item_card {
  transform: translateX(-200%);
}
#experience .timeline-item:nth-child(2n) .timeline-item_card {
  transform: translateX(200%);
}
#experience .timeline-active.timeline-item:nth-child(2n+1) .timeline-item_card,
#experience .timeline-active.timeline-item:nth-child(2n) .timeline-item_card {
  opacity: 1;
  transform: translateX(0);
}
#experience p {
  font-size: 1rem;
}
#experience h2, #experience p {
  text-align: left;
}
#experience .timeline-item:nth-child(2n+1) h2, #experience .timeline-item:nth-child(2n+1) p {
  text-align: right;
}
@media screen and (max-width: 979px) {
  #experience .timeline-line {
    left: 30px;
  }
  #experience .timeline-item:nth-child(2n) {
    text-align: left;
  }
  #experience .timeline-point_container,
  #experience .timeline-item:nth-child(2n) .timeline-point_container {
    padding: 0 0 20px;
  }
  #experience .timeline-point,
  #experience .timeline-item:nth-child(2n) .timeline-point {
    margin: 0 0 0 8px;
  }
  #experience .timeline-point {
    height: 40px;
    line-height: 40px;
    width: 40px;
  }
  #experience .timeline-item_card {
    width: auto;
    margin: -65px 0 0 75px;
  }
  #experience .timeline-item:nth-child(2n+1) .timeline-item_card,
  #experience .timeline-item:nth-child(2n) .timeline-item_card {
    transform: translateX(200%);
  }
  #experience h2, #experience p {
    text-align: left !important;
  }
}

#expertise {
  background: #383840;
  padding: 45vh 0 10rem;
}
#expertise h1 {
  margin-bottom: 5rem;
}
@media screen and (max-width: 1100px) {
  #expertise {
    padding: 50vh 0 10rem;
  }
}
@media screen and (max-width: 900px) {
  #expertise {
    padding: 55vh 0 10rem;
  }
}
@media screen and (max-width: 700px) {
  #expertise {
    padding: 65vh 0 10rem;
  }
}
@media screen and (max-width: 400px) {
  #expertise {
    padding: 80vh 0 10rem;
  }
}
#expertise .expertise-container {
  width: 90%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25vw, 1fr));
  gap: clamp(20px, 2vw, 50px);
}
@media screen and (max-width: 900px) {
  #expertise .expertise-container {
    grid-template-columns: repeat(auto-fit, minmax(40vw, 1fr));
  }
}
@media screen and (max-width: 600px) {
  #expertise .expertise-container {
    grid-template-columns: 1fr;
  }
}
#expertise .expertise-container .expertise-item {
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid #fff;
  border-radius: 3px;
  background: #101418;
  overflow: hidden;
}
#expertise .expertise-container .expertise-item h2 {
  margin: 0;
  padding: 14px 16px;
  border-bottom: 1px solid #fff;
  font-size: 0.8rem;
  letter-spacing: 0.2rem;
}
#expertise .expertise-container .expertise-item h2 i {
  margin-right: 8px;
}
#expertise .expertise-container .expertise-item ul {
  margin: 0;
  padding: 14px 16px;
  margin-left: 20px;
  list-style-type: "-  ";
}
#expertise .expertise-container .expertise-item li {
  margin: 0;
}
#expertise .expertise-container .expertise-item li::marker {
  color: #FF9021;
  font-weight: bold;
}

#bwd {
  background: #0a0d10;
  padding: 4rem 0;
}
#bwd .bwd-container {
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}
#bwd .bwd-container > div {
  text-align: left;
  display: flex;
  justify-content: center;
  align-items: start;
  gap: 4rem;
  width: 70%;
  margin: 3rem auto 0;
}
#bwd .bwd-container > div p, #bwd .bwd-container > div img {
  width: 50%;
  height: auto;
}
#bwd .bwd-container > div p {
  font-size: 1rem;
}
@media screen and (max-width: 950px) {
  #bwd .bwd-container > div {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 0 auto;
  }
  #bwd .bwd-container > div p {
    width: 100%;
  }
  #bwd .bwd-container > div img {
    width: 70%;
  }
}
@media screen and (max-width: 600px) {
  #bwd .bwd-container > div {
    width: 90%;
  }
}

#portfolio {
  background: #0a0d10;
  padding: 8rem 0 12rem;
}
#portfolio .title {
  margin-bottom: 4rem;
}
#portfolio .portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 5rem;
}
#portfolio .filter-btn {
  border: 1.5px solid var(--cat-color);
  color: var(--cat-color);
  background: var(--cat-bg);
  padding: 8px 12px;
  border-radius: 999px;
  transition: transform 0.06s ease, background 0.15s ease;
  cursor: pointer;
}
#portfolio .filter-btn:hover {
  transform: translateY(-1px);
  background: var(--cat-bg-strong);
}
#portfolio .filter-btn.is-active {
  background: var(--cat-color);
  color: #111;
  border-color: var(--cat-color);
}
#portfolio .portfolio-grid {
  display: grid;
  gap: clamp(12px, 2vw, 20px);
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  #portfolio .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
#portfolio .portfolio-card {
  border-radius: 10px;
  padding: 2rem 2rem 2.5rem 2rem;
  background: #101418;
}
#portfolio .portfolio-card_title {
  margin: 0;
  font-weight: bold;
  font-family: "Raleway", sans-serif;
}
#portfolio .portfolio-card_category {
  font-size: 0.85rem;
  opacity: 0.8;
  margin: 0;
}
#portfolio .portfolio-card_summary {
  margin: 2rem 0;
  line-height: 1.55;
}
#portfolio .portfolio-card_tags {
  display: flex;
  flex-wrap: wrap;
  gap: 2%;
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}
#portfolio .portfolio-card_tags li {
  border: 1px solid rgb(224, 224, 224);
  border-radius: 999px;
  background: rgba(224, 224, 224, 0.4);
  padding: 0.3rem 0.6rem;
  opacity: 0.6;
  font-size: 0.6rem;
}
#portfolio .btn.btn-primary {
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  min-width: 3rem;
  text-align: center;
  font-size: 0.7rem;
  margin-top: 1rem;
}
#portfolio .portfolio-container {
  width: 90%;
  margin: 0 auto;
}
@media screen and (max-width: 600px) {
  #portfolio .portfolio-container {
    width: 100%;
  }
}

.modal.hidden {
  display: none;
}

html {
  scrollbar-gutter: stable both-edges;
} /* prevents layout shift */
.modal {
  overscroll-behavior: contain;
} /* no rubber-banding */
.modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: stretch;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
}

.modal__dialog {
  position: relative;
  max-width: min(920px, 92vw);
  margin: 6vh auto;
  background: #0a0d10;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  padding: 3vw;
}

.modal__close {
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 28px;
  line-height: 1;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
}

.modal__content {
  height: 100%;
  overflow: auto;
}

.project-page h1 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  margin: 0 0 0.5rem;
}

.project-page__header {
  margin-bottom: 5vh;
}

.project-page__header p {
  opacity: 0.8;
  font-size: 0.8rem;
  margin: 0 0 1rem;
}

.project-page__body h2 {
  letter-spacing: 0.2rem;
  margin: 1rem 0 0.5rem;
}

.project-page__body li {
  letter-spacing: 0.2rem;
  font-size: 0.9rem;
}

.project-page__body ul {
  list-style-type: "-  ";
}

.project-page__body ul {
  margin: 0 0 1rem 1.2rem;
}

.project-page__downloads {
  margin-top: 6vh;
}

.project-note {
  margin: 12px 0 8px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  font-size: 0.975rem;
  line-height: 1.45;
}
.project-note p {
  margin: 0;
}

/* hide page scrollbar, keep scrollable */
html {
  scrollbar-width: none;
}

body {
  -ms-overflow-style: none;
}

body::-webkit-scrollbar {
  display: none;
}

/* hide modal content scrollbar too */
.modal__content {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.modal__content::-webkit-scrollbar {
  display: none;
}

#contact {
  padding: 10rem 0;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url("../Images/desk_bg.webp") no-repeat center center/cover fixed;
}
#contact > div {
  width: 50%;
  margin: 0 auto;
  border-radius: 15px;
  background: #101418;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 2rem;
  padding: 5rem;
}
@media screen and (max-width: 600px) {
  #contact > div {
    padding: 4rem;
  }
}
#contact > div > div {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5rem;
}
@media screen and (max-width: 700px) {
  #contact > div > div {
    flex-direction: column;
    gap: 2rem;
  }
}
#contact > div > div h1 {
  font-size: 2rem;
  margin-bottom: 2rem;
}
@media screen and (min-width: 700px) {
  #contact > div > div h1 {
    text-align: left;
  }
}
#contact .contact-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}
#contact .contact-icons a {
  color: #FF9021;
  font-size: 1.5rem;
  padding: 1rem;
  border: 2px solid #FF9021;
  border-radius: 100%;
  width: 2rem;
  height: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

#floating-contact-btn {
  position: fixed;
  bottom: 1rem;
  right: 5rem;
  z-index: 1;
  background: #101418;
  padding: 7px 7px 7px 15px;
  border-radius: 50px;
  color: white;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  gap: 50px;
  align-items: center;
}
@media screen and (max-width: 750px) {
  #floating-contact-btn {
    right: 50%;
    transform: translateX(50%);
    min-width: 90%;
  }
}

#floating-contact-btn a {
  background: #FF9021;
  padding: 8px 15px;
  text-decoration: none;
  text-align: center;
  color: white;
  font-weight: unset;
  border-radius: 50px;
}

footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  text-align: center;
  background: #0a0d10;
  box-sizing: border-box;
  padding: 10rem 0;
}
footer h3 {
  text-transform: lowercase;
  font-weight: bold;
  line-height: 2.5rem;
  letter-spacing: 0.2rem;
}
footer img {
  width: 10vh;
  height: auto;
}

/*# sourceMappingURL=main.css.map */
