* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #fff #000;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  background-color: #000 !important;
  color: #fff;
  overflow-x: hidden;
  max-width: 100vw;
}
body.modal-open {
  overflow: hidden;
}

html, body {
  background-color: #000 !important;
}

a {
  color: #a9a9ff;
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover {
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
}

p {
  color: #fff;
}

h1, h2, h3 {
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
}

header {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 100;
  transition: all 0.3s ease;
  padding: 0 20px;
}
header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
header nav .nav-buttons {
  display: flex;
  gap: 10px;
}
header nav button {
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: 1px solid #fff;
  padding: 8px 15px;
  margin-left: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 20px;
}
header nav button:hover {
  background-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}
header nav p {
  position: static;
  color: #fff;
  font-size: 18px;
  margin-left: 0;
  letter-spacing: 2px;
  user-select: none;
  display: inline;
}

.profile,
.about,
.projects,
.contact {
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
  position: relative;
}

.profile,
.about,
.projects {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

div h1 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
div h2 {
  text-align: center;
  font-size: 30px;
}

.about p {
  text-align: center;
  font-size: 20px;
  margin: 0;
  flex: 1;
  max-width: 600px;
}

.profile-pic {
  display: block;
  border-radius: 50%;
  border: 2px solid #fff;
  flex-shrink: 0;
}

.all-contact {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.profile-all {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 10%;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .profile-all p {
    font-size: 16px;
    word-break: break-word;
  }
}
.all-contact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.contact-form {
  width: 100%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.contact-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.contact-form .form-group label {
  font-size: 16px;
  color: #fff;
  letter-spacing: 1px;
}
.contact-form .form-group input,
.contact-form .form-group textarea {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid #fff;
  border-radius: 5px;
  padding: 10px 15px;
  color: #fff;
  font-size: 14px;
  transition: all 0.3s ease;
}
.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
  outline: none;
  background-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 10px rgba(169, 169, 255, 0.5);
}
.contact-form .form-group input::placeholder,
.contact-form .form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}
.contact-form .form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.contact-form button[type=submit] {
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: 1px solid #fff;
  padding: 12px 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 20px;
  font-size: 16px;
  letter-spacing: 1px;
}
.contact-form button[type=submit]:hover {
  background-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.contact-links {
  width: 100%;
  max-width: 600px;
}
.contact-links ul {
  list-style: none;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
}
.contact-links ul li a {
  font-size: 16px;
  padding: 12px 24px;
  display: inline-block;
  border: 1px solid #fff;
  border-radius: 10px;
  transition: all 0.3s ease;
  background-color: rgba(0, 0, 0, 0.4);
  min-width: 120px;
  text-align: center;
}
.contact-links ul li a:hover {
  border-color: #a9a9ff;
  background-color: rgba(169, 169, 255, 0.2);
  transform: translateY(-3px);
}

.stage {
  width: 100vw;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.container {
  perspective: 2000px;
  width: 300px;
  height: 400px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  position: absolute;
}

.ring {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.img {
  width: 300px;
  height: 400px;
  position: absolute;
  transform-style: preserve-3d;
  cursor: pointer;
}

.card {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 1s ease;
}

.card.flipped {
  transform: rotateY(180deg);
}

.front, .back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  backface-visibility: hidden;
  background-size: cover;
  background-position: center;
}

.front {
  z-index: 2;
}

.back {
  background: linear-gradient(135deg, #333, #111);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Arial, sans-serif;
  font-size: 22px;
  transform: rotateY(180deg);
  border: 2px solid rgba(255, 255, 255, 0.2);
  position: relative;
}
.back img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.front-button-container {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 15px;
  z-index: 10;
  pointer-events: none;
  display: flex;
  justify-content: flex-start;
}

.voir-plus-btn {
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  border: 1px solid #fff;
  padding: 8px 20px;
  font-size: 14px;
  cursor: pointer;
  border-radius: 20px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  font-weight: 500;
  letter-spacing: 0.5px;
  pointer-events: auto;
}
.voir-plus-btn:hover:not(.disabled) {
  background-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}
.voir-plus-btn.disabled {
  cursor: not-allowed;
  opacity: 0.3;
  background-color: rgba(0, 0, 0, 0.5);
}

.project-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.project-modal.active {
  opacity: 1;
}

.modal-content {
  --pointer-x: 50%;
  --pointer-y: 50%;
  --pointer-angle: 0deg;
  --pointer-distance: 0;
  background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
  border-radius: 15px;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 0 50px rgba(169, 169, 255, 0.3);
  animation: modalSlideIn 0.3s ease;
  isolation: isolate;
}
.modal-content::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(var(--pointer-angle), transparent, rgba(169, 169, 255, 0.8), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}
.modal-content h2 {
  font-size: 28px;
  margin-bottom: 20px;
  padding: 30px 30px 0;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
}
.modal-content h3 {
  font-size: 20px;
  margin-top: 25px;
  margin-bottom: 10px;
  color: #a9a9ff;
}
.modal-content p {
  line-height: 1.6;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
}

.modal-glow {
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  pointer-events: none;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.modal-glow::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: conic-gradient(from var(--pointer-angle) at var(--pointer-x) var(--pointer-y), transparent 0deg, rgba(169, 169, 255, 0.6) 30deg, rgba(169, 169, 255, 0.8) 60deg, rgba(169, 169, 255, 0.6) 90deg, transparent 120deg);
  filter: blur(20px);
}

.modal-content:hover::before {
  opacity: 1;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 10;
}
.modal-close:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: rotate(90deg);
}

.modal-body {
  padding: 0 30px 30px;
}

.modal-image {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.modal-details {
  margin-top: 20px;
}

@keyframes modalSlideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.modal-content {
  scrollbar-width: thin;
  scrollbar-color: #fff #000;
}
.modal-content::-webkit-scrollbar {
  width: 8px;
}
.modal-content::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
}
.modal-content::-webkit-scrollbar-thumb {
  background: #fff;
  border-radius: 10px;
}
.modal-content::-webkit-scrollbar-thumb:hover {
  background: #a9a9ff;
}

#hole.hole {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
}

.projects .stage {
  z-index: 10;
  position: relative;
}

@media (max-width: 768px) {
  .about {
    flex-direction: column;
    text-align: center;
  }
  .about p {
    text-align: center;
  }
  header {
    background-color: #000;
    top: 0px;
    max-width: 100vw;
    padding: 0 10px;
    box-sizing: border-box;
  }
  header nav {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
  }
  header nav p {
    text-align: center;
    position: relative;
    user-select: none;
    margin-bottom: 5px;
  }
  header nav .nav-buttons {
    gap: 5px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
  }
  header nav button {
    padding: 6px 10px;
    font-size: 16px;
  }
  .all-contact {
    gap: 2rem;
    padding: 0 1rem;
  }
  .contact-form {
    max-width: 100%;
  }
  .contact-links ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
  }
  .contact-links ul li a {
    width: calc(50% - 0.5rem);
    max-width: 250px;
  }
  .modal-content {
    max-height: 95vh;
    margin: 10px;
  }
  .modal-content h2 {
    font-size: 24px;
    padding: 20px 20px 0;
  }
  .modal-content h3 {
    font-size: 18px;
  }
  .modal-content p {
    font-size: 14px;
  }
  .modal-body {
    padding: 0 20px 20px;
  }
  .modal-image {
    max-height: 250px;
  }
  .front-button-container {
    padding: 10px;
  }
  .voir-plus-btn {
    padding: 6px 16px;
    font-size: 12px;
  }
}

/*# sourceMappingURL=styles.css.map */
