body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;  
  flex-direction: column;
  background: #3e8d5c;
}
header {
  background-color: #111;
  color: white;
  padding: 1em;
}
nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 1em;
}
nav a {
  color: white;
  text-decoration: none;
}
.language-switch {
  margin-top: 1em;
}
main {
  padding: 2em;
  flex: 1;
}
footer {
  text-align: center;
  padding: 1em;
  background-color: #ccc;
  position: sticky;
  bottom: 0;
}
.container {
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
  padding: 16px;
}


  /* Responsive styles for phones and small screens */
@media (max-width: 768px) {
  body {
    font-size: 16px;
    padding: 10px;
  }

  .container {
    padding: 10px;
  }

  .project {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .project-date,
  .project-description {
    width: 100%;
    text-align: left;
  }

  header, footer {
    text-align: center;
  }

  nav ul {
    flex-direction: column;
    gap: 8px;
    padding: 0;
  }

  nav li {
    margin: 0;
  }
}
header, footer {
  width: 100%; /* not 100vw */
  max-width: 100%;
  box-sizing: border-box;
  padding: 16px;
}
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100%;
}

iframe {
  max-width: 100%;
  max-height: 50%;
}
html, body {
  overflow-x: hidden;
  width: 100%;
}
body {
  touch-action: pan-y; /* disables horizontal swipe */
  overscroll-behavior-x: none; /* no sideways bounce */
}
.spotify-embed {
  width: 60%;
  height: 552px; /* taille normale */
  border-radius: 12px;
  border: none;
}

/* Sur téléphone */
@media (max-width: 768px) {
  .spotify-embed {
    height: 300px; /* taille réduite */
    width: 450px; 
  }
}

.social-buttons {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: left;
  gap: 10px;
}

.social-buttons button {
  background-color: #333;
  color: white;
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.social-buttons button:hover {
  background-color: #555;
}


/* General button styling */
.nav-button {
  background-color: transparent; /* Transparent background */
  color: white;                  /* White text */
  border: 2px solid white;       /* White border */
  padding: 10px 20px;            /* Top/bottom and left/right padding */
  font-size: 16px;               /* Text size */
  cursor: pointer;               /* Pointer cursor on hover */
  text-decoration: none;         /* Remove underline from links */
  display: inline-block;         /* Align buttons properly */
  border-radius: 5px;            /* Optional: rounded corners */
  transition: background-color 0.3s, color 0.3s; /* Smooth transition */
}

/* Hover effect */
.nav-button:hover {
  background-color: white; /* White background on hover */
  color: black;            /* Black text on hover */
}

.footer-3col {
  background-color: #111;
  color: #fff;
  padding: 30px 20px;
  font-family: Arial, sans-serif;
}

.footer-columns {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto 20px auto;
}

.footer-column {
  flex: 1;
  min-width: 200px;
  margin: 10px;
}

.footer-column h3 {
  color: #3581ad;
  margin-bottom: 10px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 6px;
}

.footer-column ul li a {
  color: #aaa;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom {
  text-align: center;
  font-size: 14px;
}

.indev {
  font-size: 15px;
}