* {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
  background-image: url(assets/10-0_10.1--thumb.png);
  background-size: cover; /* Couvre tout l'écran */
  background-position: center; /* Centre l'image */
  background-repeat: no-repeat; /* Empêche la répétition de l'image */
  height: 100vh; /* Assure que le body prend toute la hauteur de la fenêtre */
  margin: 0; /* Retire les marges par défaut */
  display: flex; /* Active le mode flexbox */
  flex-direction: column; /* Si les éléments doivent être empilés verticalement */
  justify-content: space-between; /* Distribue les éléments avec un espace entre eux */
  overflow-y: none;
}

.imgdossier {
  width: 50px;
  height: auto;
  justify-content: center;
  align-items: center;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
}
.navbar {
  background: linear-gradient(to bottom, #f7f7f7, #e2e2e2);
  border-bottom: 1px solid #c0c0c0;
  color: black;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.navbar .trapo-logo {
  font-size: 20px;
  font-weight: bold;
  color: black;
}
.voirplus {
  text-align: right;
  margin-top: 5px;
}
.hide {
  display: none;
}

.window {
  background: linear-gradient(to bottom, #f9f9f9, #e6e6e6);
  border: 1px solid #c0c0c0;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  width: 300px;
  margin: 10px auto;
  overflow: hidden;
}
.window:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 15px rgba(84, 84, 84, 0.3);
}
.imgdossier:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 15px rgba(84, 84, 84, 0.3);
}

.window .title-bar {
  background: linear-gradient(to bottom, #ededed, #d8d8d8);
  border-bottom: 1px solid #c0c0c0;
  color: black;
  padding: 5px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.window .title-bar .buttons {
  display: flex;
  gap: 5px;
}

.window .title-bar .button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.window .title-bar .button.close {
  background-color: #ff5e57;
  border-color: #cc4a48;
}

.window .title-bar .button.minimize {
  background-color: #ffcc00;
  border-color: #d4a700;
}

.window .title-bar .button.maximize {
  background-color: #28c940;
  border-color: #1f9e30;
}

.window .content {
  padding: 15px;
  color: #333;
}
/* 
grande fenetre */

.window2 {
  background: linear-gradient(to bottom, #f9f9f9, #e6e6e6);
  border: 1px solid #c0c0c0;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  width:90%; 
  max-width: 100%; 
  box-sizing: border-box;
  margin: 20px auto;
  overflow: auto;
  position: absolute;
  resize: both; /* "both" permet le redimensionnement horizontal et vertical */
}
/* Poignée visible en bas à droite */
#basewindow::after {
  content: "";
  width: 15px;
  height: 15px;
  position: absolute;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  cursor: nwse-resize;
}
.window2 .title-bar2 {
  background: linear-gradient(to bottom, #ededed, #d8d8d8);
  border-bottom: 1px solid #c0c0c0;
  color: black;
  padding: 5px 10px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box; /* Pour inclure le padding dans la largeur */
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10; /* Assure que la barre reste au-dessus du contenu */
}

.window2 .title-bar2 .buttons {
  display: flex;
  gap: 5px;
}

.window2 .title-bar2 .button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.window2 .title-bar2 .button.close {
  background-color: #ff5e57;
  border-color: #cc4a48;
}

.window2 .title-bar2 .button.minimize {
  background-color: #ffcc00;
  border-color: #d4a700;
}

.window2 .title-bar2 .button.maximize {
  background-color: #28c940;
  border-color: #1f9e30;
}

.window2 .content {
  padding: 15px;
  color: #333;
}

/* end grande fenetre */
#socials-container {
  display: flex;
  width: 100%;
  justify-content: center;
  margin-top: 1rem;
  gap: 1rem;
}

.project-img {
  border-radius: 2rem;
  width: 100px;
  height: 100px;
  object-fit: cover;
}

.absolute {
  position: absolute;
  left: 10%;
  top: 10%;
}
.relative {
  position: relative;
  top: 50px;
  right: -170px;
}
.absolute2 {
  position: absolute;
  left: 33%;
  top: 40%;
}
.relative2 {
  position: relative;
  top: 40px;
  right: -170px;
}
.heightWindow {
  height: auto;
  width: 50%;
  align-items: center;
}
.heightWindow2 {
  height: 90vh;
  width: 50%;
  align-items: center;
}
.heightWindow2 {
  height: 90vh;
  width: auto;
  align-items: center;
}
section {
  padding:8vh 0;
  margin: 0 10rem;
  box-sizing: border-box;
  min-height: fit-content;
}
.section-container {
  display: flex;
}

.draggable {
  position: absolute; /* Important pour pouvoir le déplacer */
  cursor: grab;
}
.article-container {
  display: flex;
  text-align: initial;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 2.5rem;
  justify-content: space-around;
  height: 200px;
}
/* ICONS */
.project-img {
  border-radius: 2rem;
  width: auto;
  height: 90%;
}
.icon {
  cursor: pointer;
  height: 2rem;
  width: 2rem;
  color: #000000;
}

/* BUTTONS */

.btn-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.btn {
  font-weight: 600;
  transition: all 300ms ease;
  padding: 1rem;
  width: 8rem;
  border-radius: 2rem;
}

.btn-color-1,
.btn-color-2 {
  border: 1px solid #c0c0c0;
}

.btn-color-1:hover,
.btn-color-2:hover {
  cursor: pointer;
}

.btn-color-1,
.btn-color-2:hover {
  background: linear-gradient(to bottom, #f7f7f7, #e2e2e2);
  color: rgb(0, 0, 0);
}

.btn-color-1:hover {
  background: linear-gradient(to bottom, #a2a2a2, #e2e2e2);
}

.btn-color-2 {
  background: none;
}

.btn-color-2:hover {
  border: 1px solid #c0c0c0;
}

.btn-container {
  gap: 1rem;
}
.logo {
  width: 20px;
  height: auto;
}

.flex-col {
  display: flex;
  flex-direction: column;
  gap: 5%;
}
.flex-col2 {
  display: flex;
  flex-direction: column;
  gap: 1%;
  align-items: center;
  justify-content: center;
}

.imageProfil {
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  width: 60%;
  height: 60%;
  object-fit: cover;
}
#about{
  padding-right: 200px;
}
.info {
  font-size: 15px;
}
.flex-col2 {
  display: flex;
  flex-direction: column;
  gap: 10%;
}

.flex {
  display: flex;
  gap: 1%;
}
.flex2 {
  display: flex;
  gap: 5%;
}
.flex3 {
  display: flex;
  gap: 10%;
}
.w33 {
  width: 33%;
}
html {
  scroll-behavior: smooth;
}

p {
  color: #424242;
  font-size: 15px;
}

h1,
h2,
h3 {
  font-size: 20px;
  color: #000000;
}
/* TRANSITION */

a,
.btn {
  transition: all 300ms ease;
}

/* DESKTOP NAV */

nav,
.nav-links {
  display: flex;
}

nav {
  background: linear-gradient(to bottom, #f7f7f7, #e2e2e2);
  border: 1px solid #c0c0c0;
  color: black;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-links {
  gap: 1rem;
  list-style: none;
  font-weight: bold;
  text-decoration: none;
}

a {
  color: rgb(0, 0, 0);
  list-style: none;
  text-decoration: none;
}

a:hover {
  background: linear-gradient(to bottom, #f7f7f7, #e2e2e2);
  border: 1px solid #c0c0c0;
  text-decoration: none;
  text-underline-offset: 1rem;
  text-decoration-color: rgb(181, 181, 181);
}

.logo {
  font-size: 20px;
  font-weight: bold;
  color: black;
}

.logo:hover {
  cursor: default;
}

/* HAMBURGER MENU */

#hamburger-nav {
  display: none;
}

.hamburger-menu {
  position: relative;
  display: inline-block;
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 24px;
  width: 30px;
  cursor: pointer;
}

.hamburger-icon span {
  width: 100%;
  height: 2px;
  background: linear-gradient(to bottom, #f7f7f7, #e2e2e2);
  border: 1px solid #c0c0c0;
  transition: all 0.3 ease-in-out;
}

.menu-links {
  position: absolute;
  top: 100%;
  right: 0;
  background: linear-gradient(to bottom, #f7f7f7, #e2e2e2);
  border: 1px solid #c0c0c0;
  width: fit-content;
  max-height: 0;
  transition: all 0.3 ease-in-out;
  z-index: 5;
  overflow: scroll;
  border-radius: 2px;
}

.menu-links a {
  display: block;
  padding: 10px;
  text-align: center;
  font-size: 1rem;
  color: #000000;
  text-decoration: none;
  transition: all 0.3 ease-in-out;
}

.menu-links li {
  list-style: none;
}

.menu-links.open {
  max-height: 300px;
}

.hamburger-icon.open span:first-child {
  transform: rotate(45deg) translate(10px, 5px);
}

.hamburger-icon.open span:nth-child(2) {
  opacity: 0;
}

.hamburger-icon.open span:last-child {
  transform: rotate(-45deg) translate(10px, -5px);
}

.hamburger-icon span:first-child {
  transform: none;
}

.hamburger-icon span:first-child {
  opacity: 1;
}

.hamburger-icon span:first-child {
  transform: none;
}

.justify-center2 {
  justify-content: center;
  align-items: center;
}
.justify-center {
  justify-content: center;
}
.justify-left {
  justify-content: left;
}
.space-between {
  justify-content: space-between;
  height: 200px;
}
.space-around {
  height: 200px;
}
.p20 {
  padding: 20px;
}
.experience-sub-title {
  font-weight: 600;
  font-size: 1.5rem;
  text-align: center;
}

.none1,
.none2,
.none3,
.none4 {
  display: none;
}

.block {
  display: block;
}

