body {
  background-color: rgb(15 23 42/1);
  min-height: 100vh;
  margin: 0 auto;
  font-family: "__inter_20b187", "__inter_Fallback_20b187", ui-sans-serif,
    system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-feature-settings: "ss03", "cv02", "cv11";
  color: rgb(148 163 184/1);
  font-size: 1rem;
}

.portfolio {
  min-height: 100vh;
  display: flex;
}

.marge {
  width: 60%;
  margin: 0 20%;
  min-height: 100vh;
  display: flex;
}

.portfolio_nav {
  width: 400px;
  height: calc(100vh - 40px);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  position: sticky;
  top: 0;
}

.portfolio_content {
  width: 80%;
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 1rem;
}

.portfolio_nav h1 {
  color: rgb(226 232 240/1);
  font-size: 3em;
}

.portfolio_nav h2 {
  margin-top: -15px;
  margin-bottom: 0px;
}

.portfolio_header {
  display: none;
  width: 100%;
  padding: 20px;
}

.portfolio_header h1 {
  color: rgb(226 232 240/1);
  font-size: 3em;
}

.portfolio_header h2 {
  margin-top: -15px;
}

.portfolio_nav li {
  text-decoration: none;
  width: 100%;
}

.portfolio_nav a {
  color: rgb(71 85 105/1);
  text-decoration: none;
  font-size: 1.1em;
  margin: 10px 0;
  transition: color 0.3s ease;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

nav ul li {
  width: 50px;
}

nav ul li {
  position: relative;
  padding-left: 50px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: padding-left 0.3s ease;
}

nav ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 2px;
  width: 30px;
  background-color: rgb(71 85 105 / 1);
  transition: width 0.3s ease, background-color 0.3s ease;
}

nav ul li a {
  text-decoration: none;
  color: #333;
  transition: color 0.3s ease;
}

nav ul li:hover::before {
  width: 70px;
  background-color: rgb(226 232 240/1);
}

nav ul li:hover {
  padding-left: 90px;
}

nav ul li:hover a {
  color: rgb(226 232 240/1);
}

nav ul li.active::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 70px;
  height: 2px;
  background-color: rgb(226, 232, 240);
  transition: width 0.3s ease;
  transform: translateY(-50%);
}

nav ul li.active {
  padding-left: 90px;
}

nav ul li.active a {
  color: rgb(226, 232, 240);
}

#about {
  padding: 20px;
  margin-top: 120px;
  width: 100%;
}

#experiences {
  margin: 150px 0;
  padding: 20px;
  width: 100%;
}

#projects {
  padding: 20px;
  margin-bottom: 120px;
  width: 100%;
}

.card {
  display: flex;
  border-radius: 5px;
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
  padding-right: 20px;
}

.card:hover {
  box-shadow: 0 0 #0000, 0 0 #0000, inset 0 1px 0 0 rgba(148, 163, 184, 0.1);
  background-color: rgba(30, 41, 59, 0.5);
}

.card_left,
.card_right {
  padding: 20px;
}

.card_left {
  width: 30%;
}

.card_right span {
  color: rgb(226 232 240/1);
  font-weight: 500;
  transition: color 0.3s ease;
}

.arrow {
  width: 1em;
  height: 1em;
  margin-bottom: -3px;
  margin-left: -3px;
  transition: margin-bottom 0.3s ease, margin-left 0.3s ease;
}

.card:hover .arrow {
  margin-bottom: 0px;
  margin-left: 0px;
}

.card:hover .card_right span {
  color: rgb(94 234 212/1);
}

#projects a,
#experiences a {
  color: inherit;
  text-decoration: none;
}

#projects a:hover,
#experiences a:hover {
  color: inherit;
  text-decoration: none;
}

.project-img {
  max-width: 100%;
  height: auto;
  border-color: rgba(226, 232, 240, 0.1);
  border-width: 2px;
  border-style: solid;
  border-radius: 0.25rem;
  color: transparent;
  transition: border-color 0.3s ease;
}

.card:hover .project-img {
  border-color: rgba(226, 232, 240, 0.3);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.tags span {
  background-color: rgba(226, 232, 240, 0.1);
  color: rgb(94 234 212/1);
  padding: 0.25rem 0.75rem;
  border-radius: 5px;
  margin-right: 0.375rem;
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  transition: background-color 0.3s ease;
}

@media screen and (max-width: 1250px) {
  .marge {
    width: 70%;
    margin: 0 15%;
  }

  .card {
    display: block;
  }

  .card_left {
    width: 100%;
    padding-bottom: 0;
    margin-bottom: -15px;
  }

  .card_left_img {
    display: none;
  }
}

@media screen and (max-width: 1100px) {
  .marge {
    width: 80%;
    margin: 0 10%;
  }
}

@media screen and (max-width: 900px) {
  .marge {
    width: 90%;
    margin: 0 5%;
  }
}

@media screen and (max-width: 800px) {
  .portfolio_header {
    display: block;
  }

  .portfolio_nav {
    display: none;
  }

  .portfolio_content {
    width: 100%;
  }

  .card_right {
    width: 95%;
  }

  #about {
    margin-top: 60px;
  }

  #experiences {
    margin: 75px 0;
  }

  #projects {
    margin-bottom: 60px;
  }
}

@media screen and (max-width: 600px) {
  .marge {
    width: 98%;
    margin: 0 1%;
  }

  #about,
  #experiences,
  #projects,
  .portfolio_header {
    padding: 0;
  }
}

.loading-container {
  width: 100px;
  height: 100px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 1s, opacity 1s;
  display: none;
}

.loader {
  position: relative;
  width: 100px;
  height: 100px;
}

.dot {
  width: 10px;
  height: 10px;
  background-color: rgba(226, 232, 240, 0.6);
  position: absolute;
  border-radius: 50%;
  animation: dot-fade 1.2s infinite ease-in-out;
}

.dot:nth-child(1) {
  transform: rotate(0deg) translate(40px);
}
.dot:nth-child(2) {
  transform: rotate(30deg) translate(40px);
}
.dot:nth-child(3) {
  transform: rotate(60deg) translate(40px);
}
.dot:nth-child(4) {
  transform: rotate(90deg) translate(40px);
}
.dot:nth-child(5) {
  transform: rotate(120deg) translate(40px);
}
.dot:nth-child(6) {
  transform: rotate(150deg) translate(40px);
}
.dot:nth-child(7) {
  transform: rotate(180deg) translate(40px);
}
.dot:nth-child(8) {
  transform: rotate(210deg) translate(40px);
}
.dot:nth-child(9) {
  transform: rotate(240deg) translate(40px);
}
.dot:nth-child(10) {
  transform: rotate(270deg) translate(40px);
}
.dot:nth-child(11) {
  transform: rotate(300deg) translate(40px);
}
.dot:nth-child(12) {
  transform: rotate(330deg) translate(40px);
}

@keyframes dot-fade {
  0%,
  100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
    background-color: rgb(226, 232, 240);
  }
}

.dot:nth-child(1) {
  animation-delay: 0s;
}
.dot:nth-child(2) {
  animation-delay: 0.1s;
}
.dot:nth-child(3) {
  animation-delay: 0.2s;
}
.dot:nth-child(4) {
  animation-delay: 0.3s;
}
.dot:nth-child(5) {
  animation-delay: 0.4s;
}
.dot:nth-child(6) {
  animation-delay: 0.5s;
}
.dot:nth-child(7) {
  animation-delay: 0.6s;
}
.dot:nth-child(8) {
  animation-delay: 0.7s;
}
.dot:nth-child(9) {
  animation-delay: 0.8s;
}
.dot:nth-child(10) {
  animation-delay: 0.9s;
}
.dot:nth-child(11) {
  animation-delay: 1s;
}
.dot:nth-child(12) {
  animation-delay: 1.1s;
}

@keyframes slideUp {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(-100%);
    opacity: 0;
  }
}

.loading-container.hide {
  animation: slideUp 1s forwards;
  pointer-events: none;
}

.social {
  display: flex;
  justify-content: center;
  margin: 10px;
}