*,
 *::after,
 *::before {
  box-sizing: border-box;
}
body {
  margin: 0;
  padding: 0;
  font-size: 20px;
  color: white;

  background-image: url("../img/fond_1.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
}

ul {
  list-style-type: none;
  margin: 50;
  padding: 0;
  overflow: hidden;
  position: sticky;
  top: 0;
  margin-right: 100px ;
}

ul li {
  float: right;
  margin-right: 20px;
}

ul li a:hover {
  background-color: #111111;
}

.content {
  text-align: center;
  padding: 50px 30px;
  font-size: 1.25rem;
  color: #fff;
  background-color:rgb(55, 54, 54);
  margin-bottom: 100px;
}

.logo{
  height: 50px; /* taille du logo */
  width: auto;  /* garde les proportions */
}

.title{
  font-family: "Orbitron", sans-serif;
  font-optical-sizing: auto;
  font-weight: weight;
  font-style: normal;
}

.corps{
  font-family: "Roboto Condensed", sans-serif;
  font-optical-sizing: auto;
  font-weight: weight;
  font-style: normal;
}

/* Mise en page desktop à partir de 768px */

@media screen and (min-width: 768px) {

  nav ul {
    display: flex;
    justify-content: flex-end;
    gap: 20px;

    list-style: none;
    margin: 0;
    padding: 20px;
  }
}

a {

  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  text-decoration: none;
  cursor: pointer;

  /* Mon glassmorphisme */
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px); /* Safari */
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25),
              inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);

  /* Transition au survol */
  transition: all 0.2s ease;
}

a:hover {
  background: rgba(255, 255, 255, 0.22);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.35),
              inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

a:active {
  transform: translateY(0px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* image décorative */
.imgvoiture{
  margin-top: 20px;
  transform: rotate(-90deg);
  width: 500px;
}

/* Texte À propos de moi */

.about-container{
    display: flex;
    align-items: center;
    gap: 50px;
    margin: 50px;
}

.moi{
    color: white;
    font-family: "Montserrat", sans-serif;
    max-width: 700px;
}

.moi h2{
    font-family: "Orbitron", sans-serif;
    margin-bottom: 20px;
}

/* Texte sur les mentions légales */

.mention {
  color: white;
  font-family: "Montserrat", sans-serif;
  max-width: 700px;
  margin-left: 30px;

}

.mention h3{
   font-family: "Orbitron", sans-serif;
    margin-bottom: 20px;
}

.imgroute{
   width: 300px;
  height: auto;
  align-self: flex-end;
}

.mention-container{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
}
.nav-logo {
  height: 40px;      
  width: auto;
  vertical-align: middle;
  border-radius: 5px; 
  
}
footer {
  display: flex;
  gap: 200px;
}