/* 070814 / 131421 / 27273F couleur*/
html, body {
  height: 100%; 
  margin: 0;
  padding: 0;
}

body .page1{
  font-family: Arial, sans-serif;
  background-color: whitesmoke ;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

header {
  background-color: black;
  color: white;
  padding: 20px 0; 
  text-align: center;
}

nav h1 {
  margin: 0;
  font-size: 28px;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 0 0; 
}

nav ul li {
  display: inline;
  margin: 0 15px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px; 
  position: relative;
  transition: transform 0.3s ease;
}
nav ul li a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #fff;
  transition: width 0.3s ease;
}

nav ul li a:hover {
  transform: scale(1.1);
}

nav ul li a:hover::after {
  width: 100%;
}

main.presentation {
  position: relative; 
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  width: 90%;
  margin: 0;
  margin-right: 5%;
  margin-left: 5%;
  margin-top: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 30px;
  box-sizing: border-box;
  overflow: hidden;
  z-index: 0; /
}
.profile-link {
  position: relative;
  color: black;
  text-decoration: underline;
  font-weight: bold;
  transition: color 0.3s ease;
}

.profile-link:hover {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.preview-tooltip {
  display: none;
  position: absolute;
  top: 120%;
  left: 0;
  width: 300px; 
  height: 200px;
  border: 1px solid #ccc;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  background: white;
  z-index: 1000;
}

.profile-link:hover .preview-tooltip {
  display: block;
}

.preview-tooltip iframe {
  width: 100%;
  height: 100%;
  pointer-events: none; 
}

main.presentation::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('gamedesign.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  opacity: 0.1; 
  z-index: -1; 
  border-radius: 8px; 
}

main.presentation.prenom {
  max-width: 45%;
  padding-right: 30px;
  box-sizing: border-box; 
}

main.presentation.prenom h2 {
  font-size: 120px; 
  margin-bottom: 15px;
  color: black; 
}

main.presentation.prenom p {
  font-size: 28px; 
  color: black;
  line-height: 1.6;  
}

.separator {
  width: 2px;
  background-color:black;
  height: 100%; 
  margin: 0 20px; 
  margin-right:60px;
}
.application img{
  width: 30%;
  height: auto;
}
.image-container {
  max-width: 35%; 
  display: flex;
  justify-content: center;
  margin-right:2%;
  margin-left: 2%;
}

.image-container img {
  width: 100%;  
  height: auto;
  border-radius: 50%; 
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);  
  border: 4px solid #fff; 
}

.box {
  width: 90%;
  margin-right: 5%;
  margin-left: 5%;
  margin-top: 50px;
  font-family: Arial, sans-serif;
  padding: 30px;
  border: 2px solid white; 
  border-radius: 8px;         
  background-color: #fff;     
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}


.education h2 {
  font-weight: 700;
  border-bottom: 2px solid #007bff; 
  padding-bottom: 5px;
  display: inline-block;
  margin-bottom: 20px;
}

.box2 {
  width: 90%;
  margin-right: 5%;
  margin-left: 5%;
  margin-top: 50px;
  font-family: Arial, sans-serif;
  padding: 30px;
  border: 2px solid white; 
  border-radius: 8px;         
  background-color: #fff;     
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}


.skills h2 {
  font-weight: 700;
  border-bottom: 2px solid #007bff; 
  padding-bottom: 5px;
  display: inline-block;
  margin-bottom: 20px;
}

.box3 {
  width: 90%;
  margin-right: 5%;
  margin-left: 5%;
  margin-top: 50px;
  font-family: Arial, sans-serif;
  padding: 30px;
  border: 2px solid white; 
  border-radius: 8px;         
  background-color: #fff;     
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}


.application h2 {
  font-weight: 700;
  border-bottom: 2px solid #007bff; 
  padding-bottom: 5px;
  display: inline-block;
  margin-bottom: 20px;
}
.application p{
  margin-left: 5%;
}
.application img{
  max-width: 100%;
  height: auto; 
  margin-left: 5%;
}
.box4 {
  width: 90%;
  margin-right: 5%;
  margin-left: 5%;
  margin-top: 50px;
  margin-bottom: 50px;
  font-family: Arial, sans-serif;
  padding: 30px;
  border: 2px solid white; 
  border-radius: 8px;         
  background-color: #fff;     
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}


footer {
  background-color: #070814;
  color: #ffffff;
  padding: 40px 60px;
  font-family: Arial, sans-serif;
}


footer .footer-container {
  display: flex !important;   
  justify-content: space-between !important;
  align-items: center;
  flex-wrap: nowrap !important;      
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

footer .footer-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 600px;
}

footer .footer-info p {
  margin: 0;
  font-size: 15px;
}

footer .footer-info a {
  color: #00b0ff;
  text-decoration: none;
}

footer .footer-info a:hover {
  text-decoration: underline;
}

footer .footer-socials {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-shrink: 0;
  margin-left: 40px;
}

footer img.social-map {
  width: 120px; 
  height: auto;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease, filter 0.3s ease;
}

footer img.social-map:hover {
  transform: scale(1.05);
  filter: brightness(0.8) invert(0.9);
}

@media (max-width: 768px) {
  footer .footer-container {
    flex-direction: column !important;
    align-items: center;
    text-align: center;
  }

  footer .footer-socials {
    margin-left: 0;
    margin-top: 20px;
    justify-content: center;
  }
}



/*css page game design et animation*/

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Inter", Arial, sans-serif;
}

body.page2 {
  background: radial-gradient(circle at top left, #0b0d13, #0a0a0a);
  color: white;
  justify-content: center; 
  align-items: center;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 100vh;
  padding: 60px;
  gap: 60px;
}

.phoenix {
  max-width: 600px;
  animation: fadeInLeft 1s ease forwards;
  opacity: 0;
}

.phoenix h1 {
  font-size: 4rem;
  font-weight: 1200;
  line-height: 1.2;
  margin-bottom: 20px;
}

.phoenix h1 span {
  color: #ffffff;
}

.phoenix p {
  font-size: 1.05rem;
  color: #ccc;
  margin-bottom: 40px;
  line-height: 1.6;
}

.image-container1 {
  position: relative;
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  animation: fadeInRight 1.2s ease forwards;
  opacity: 0;
}

.image-container1 img {
  width: 100%;
  max-width: 900px;
  border-radius: 30px;
}
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.container1 {
    display: flex;
    justify-content: center; 
    align-items: flex-start;
    gap: 30px;
    flex-wrap: nowrap;
}


.box6 {
    background-color: #1a1a1a;
    border-radius: 10px;
    padding: 20px;
    width: 340px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

.box6:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(255,255,255,0.1);
}


.box6 h2 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: bold;
}

.box6 p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #ccc;
}
.information {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 0;
}

.video {
  width: 70%;
  max-width: 70%;
  min-width: 30%;
  height: ;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  border: none;
}




/* css de la page 3 (portfolio)*/

body .page3{
  font-family: Arial, Helvetica, sans-serif;
  background-color: black;
  color: #e1e1e6;
  margin: 0;
  padding: 0;
}

.container3 {
  max-width: 70%;
  margin: 50px auto;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.card {
  display: flex;
  background-color: #1c1c1f;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  align-items: center;
}

.card.reverse {
  flex-direction: row-reverse;
}

.imagePort {
  flex: 1;
  position: relative;
}

.imagePort img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.caption {
  position: absolute;
  bottom: 10px;
  left: 10px;
  font-size: 0.8rem;
  color: #c0c0c0;
}

.contentPort {
  flex: 1;
  padding: 40px;
}

.contentPort h2 {
  font-size: 1.6rem;
  margin-bottom: 15px;
  color: #fff;
}

.contentPort p {
  line-height: 1.6;
  font-size: 0.95rem;
  color: #ccc;
}
video{
  width: 20%;
  height: auto;
  margin-left: 40%;
}