/* Polices d'écriture */

@font-face {
  font-family: 'Sublima';
  src: url('/assets/fonts/sublima.eot'); /* IE9 Compat Modes */
  src: url('/assets/fonts/sublima.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/assets/fonts/sublima.otf') format('opentype'), /* Open Type Font */
       url('/assets/fonts/sublima.woff') format('woff'), /* Modern Browsers */
       url('/assets/fonts/sublima.ttf')  format('truetype'), /* Safari, Android, iOS */
       url('/assets/fonts/sublima.svg#Sublima') format('svg'); /* Legacy iOS */
}

@font-face {
  font-family: 'Interphases1';
  src: url('/assets/fonts/interphases1.eot'); /* IE9 Compat Modes */
  src: url('/assets/fonts/interphases1.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/assets/fonts/interphases1.otf') format('opentype'), /* Open Type Font */
       url('/assets/fonts/interphases1.woff') format('woff'), /* Modern Browsers */
       url('/assets/fonts/interphases1.ttf')  format('truetype'), /* Safari, Android, iOS */
       url('/assets/fonts/interphases1.svg#Interphases1') format('svg'); /* Legacy iOS */
}

@font-face {
  font-family: 'Interphases2';
  src: url('/assets/fonts/interphases2.eot'); /* IE9 Compat Modes */
  src: url('/assets/fonts/interphases2.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/assets/fonts/interphases2.otf') format('opentype'), /* Open Type Font */
       url('/assets/fonts/interphases2.woff') format('woff'), /* Modern Browsers */
       url('/assets/fonts/interphases2.ttf')  format('truetype'), /* Safari, Android, iOS */
       url('/assets/fonts/interphases2.svg#Interphases2') format('svg'); /* Legacy iOS */
}

/* Styles de base */


html {
  box-sizing: border-box;
}

body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, dl, dt, dd, blockquote, figure, figcaption, pre, hr, fieldset, legend, button, input, textarea, table, th, td {
  margin: 0;
  padding: 0;
}
  
body, html {
  height: 100%;
  min-height: 100vh; 
  background-repeat: no-repeat; 
  background-attachment: fixed; 
  background-size: cover; 
  position: relative; 
  padding-top: 65px;
}


/* Styles de la navbar */
  
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 15px 20px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 100px;
}
  
.navbar-logo img {
  width: 60px;
  transform: scale(1.35);
  margin-left: 10px;
}

.non-clickable {
  pointer-events: none; 
  cursor: default; 
}
  
.navbar-links a, .navbar-links a.non-clickable {
  display: inline-block;
  color: white;
  padding: 10px 25px;
  text-decoration: none;
  text-align: center;
  transition: color 0.3s ease, transform 0.3 ease;
  font-family: "Sublima", sans-serif;
  font-size: 26px;
}
  
.navbar-links a:hover, .navbar-links a.non-clickable:hover {
  color: #007bff;
  transform: scale(1.1);
}
  

.navbar-links a {
  -webkit-user-select: none; /* Chrome/Safari */
  -moz-user-select: none;    /* Firefox */
  -ms-user-select: none;     /* Internet Explorer/Edge */
  user-select: none;         /* Standard syntax */
}  
  

  
/* Styles de la section principale */

.search-section {
  padding-bottom: 40px;
  text-align: center;
  margin: 2em 0;
  z-index: 999;
}

.search-section h1 {
  font-size: 70px;
  color: rgb(255, 255, 255);
  text-align: center;
  font-family: "Sublima", sans-serif;
}


/* Styles du formulaire (zone de recherche) */

form {
  display: flex;
  justify-content: center;
  width: 40%; 
  margin: 0 auto;
}

input[type="text"] {
  flex-grow: 1;
  padding: 0.5em 2em;
  font-size: 1.3em;
  border: 2px solid #ccc; 
  border-right: none; 
}

#searchButton {
  width: 50px;
  height: 50px; 
  background-color: #119dff; 
  border: 2px solid #119dff;
  border-left: none;
  cursor: pointer;
}

#searchButton img {
  width: 24px;
  height: auto;
}

#searchResults {
  width: 50%;
  margin: 0 auto; 
  padding: 0;
  list-style: none;
  margin-bottom: 10px;
}

#searchResults a {
  background-color: #f0f0f0;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

#searchResults a:hover {
  background-color: #e0e0e0;
  transform: scale(1.03);
}


/* Styles des résultats de recherche */

.project-link {
  display: flex; 
  align-items: center; 
  text-decoration: none;
  background-color: #f8f9fa;
  border-radius: 10px; 
  margin-bottom: 1em; 
  padding: 2px; 
  overflow: hidden;
  color: #000000;
  font-size: 25px;
  font-family: 'Arial', sans-serif;
  margin-left: -10px;
}

.project {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%; 
}

.project-link img {
  width: 200px; 
  height: 200px;
}

.project-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start; 
  text-align: left; 
  width: calc(100% - 120px); 
  padding-right: 10px;
}

.no-results {
  color: #ffffff; 
  background-color: rgba(0, 0, 0, 0.7);
  padding: 20px; 
  border-radius: 8px;
  margin: 20px auto; 
  width: 80%; 
  font-family: "Interphases2", sans-serif; 
  text-align: center;
  font-size: 24px; 
}

.search-section h2 {
  color: #ffffff; 
  font-family: 'Interphases2', sans-serif;
  text-align: center; 
  font-size: 28px; 
  margin: 20px 30px; /* haut & bas | droite & gauche */
  line-height: 1.6; 
}


/* Styles pour la liste de projets */

#projetList {
  background-color: rgba(0, 0, 0, 0.7);
  width: 70%; /* Utilise 70% de la largeur disponible */
  margin: 0 auto; /* Centre la liste horizontalement */
  display: flex;
  flex-direction: column;
  justify-content: center; /* Centre les éléments enfants verticalement si possible */
  text-align: center;
}

.projet {
  display: flex;
  justify-content: space-between; /* Espacement entre le texte et le badge */
  align-items: center;
  border-bottom: 1px solid #ccc; /* Ligne séparatrice */
  padding: 15px 0; /* Espacement vertical pour chaque projet */
}

.projet h3 {
  margin-right: 70px; /* Espace entre le titre et le badge */
  margin-left: 10px; /* Espace entre le titre et le badge */
  font-size: 24px; /* Taille de police pour le titre */
  color: #ffffff; /* Couleur du texte */
  font-family: "Sublima", sans-serif;
}

.projet p {
  font-size: 20px;
  margin-right: 30px; /* Espace entre le titre et le badge */
  color: #ffffff; /* Couleur du texte */
  font-family: "Interphases1", sans-serif;
}

.projet a {
  font-family: "Interphases1", sans-serif;
  font-size: 22px;
  color: #e5ff00;
  margin-right: 10px;
}

.projet a:hover {
  color:#ffffff;
}


/* Styles d'animation des bulles */

.wrapper {
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(180deg, #04fafd, 5%, #119dff, 50%, #030423);
  position: fixed;
  z-index: -1;
}

.wrapper h1 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  position: absolute;
  font-family: sans-serif;
  letter-spacing: 1px;
  word-spacing: 2px;
  color: #fff;
  font-size: 40px;
  text-transform: uppercase;
}

.wrapper div {
  height: 60px;
  width: 60px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 50px;
  position: absolute;
  top: 10%;
  left: 10%;
  animation: 4s linear infinite;
}

div .dot {
  height: 10px;
  width: 10px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.5);
  position: absolute;
  top: 20%;
  right: 20%;
}

.wrapper div:nth-child(1) {
  top: 20%;
  left: 20%;
  animation: animate 8s linear infinite;
}

.wrapper div:nth-child(2) {
  top: 60%;
  left: 80%;
  animation: animate 10s linear infinite;
}

.wrapper div:nth-child(3) {
  top: 40%;
  left: 40%;
  animation: animate 3s linear infinite;
}

.wrapper div:nth-child(4) {
  top: 66%;
  left: 30%;
  animation: animate 7s linear infinite;
}

.wrapper div:nth-child(5) {
  top: 90%;
  left: 10%;
  animation: animate 9s linear infinite;
}

.wrapper div:nth-child(6) {
  top: 30%;
  left: 60%;
  animation: animate 5s linear infinite;
}

.wrapper div:nth-child(7) {
  top: 70%;
  left: 20%;
  animation: animate 8s linear infinite;
}

.wrapper div:nth-child(8) {
  top: 75%;
  left: 60%;
  animation: animate 10s linear infinite;
}

.wrapper div:nth-child(9) {
  top: 50%;
  left: 50%;
  animation: animate 6s linear infinite;
}

.wrapper div:nth-child(10) {
  top: 45%;
  left: 20%;
  animation: animate 10s linear infinite;
}

.wrapper div:nth-child(11) {
  top: 10%;
  left: 90%;
  animation: animate 9s linear infinite;
}

.wrapper div:nth-child(12) {
  top: 20%;
  left: 70%;
  animation: animate 7s linear infinite;
}

.wrapper div:nth-child(13) {
  top: 20%;
  left: 20%;
  animation: animate 8s linear infinite;
}

.wrapper div:nth-child(14) {
  top: 60%;
  left: 5%;
  animation: animate 6s linear infinite;
}

.wrapper div:nth-child(15) {
  top: 90%;
  left: 80%;
  animation: animate 9s linear infinite;
}

@keyframes animate {
  0% {
    transform: scale(0) translateY(0) rotate(70deg);
  }
  100% {
    transform: scale(1.3) translateY(-100px) rotate(360deg);
  }
}


/* Responsive */

@media (max-width: 1200px) {
  .navbar {
    padding: 20px 25px;
    height: auto;
  }
  .navbar-logo img {
    width: 60px;
  }
  .navbar-links a, .navbar-links a.non-clickable {
    font-size: 20px;
    padding: 12px 25px;
  }
  .dropdown-content a {
    font-size: 16px; 
  }
  form {
    width: 60%; 
  }
  .search-section h1 {
    font-size: 50px; 
  }
  .project-link {
    font-size: 18px;
  }
  .search-section h2,
  .no-results {
    font-size: 22px;
  }
  #projetList {
    width: 90%; 
  }

  .projet h3 {
    font-size: 22px; 
    margin-right: 10px; 
  }

  .projet p {
    font-size: 18px; 
  }

  .projet a {
    font-size: 20px; 
  }
}


@media (max-width: 992px) {
  .navbar {
    padding: 15px 20px;
    height: auto;
  }
  .navbar-logo img {
    width: 55px;
  }
  .navbar-links a, .navbar-links a.non-clickable {
    font-size: 18px;
    padding: 10px 20px;
  }
  .dropdown-content {
    min-width: 50%;
  }
  .dropdown-content a {
    font-size: 14px;
  }
  form {
    width: 70%; 
  }
  .search-section h1 {
    font-size: 40px; 
  }
  .project-link {
    font-size: 16px; 
  }
  .search-section h2,
  .no-results {
    font-size: 20px;
  }
  #projetList {
    width: 95%;
  }

  .projet h3 {
    font-size: 20px;
    margin-right: 5px;
  }

  .projet p {
    font-size: 16px;
  }

  .projet a {
    font-size: 18px;
  }
}


@media (max-width: 768px) {
  .navbar {
    padding: 10px 15px;
    height: auto;
  }
  .navbar-logo img {
    width: 50px;
  }
  .navbar-links a, .navbar-links a.non-clickable {
    font-size: 16px;
    padding: 8px 16px;
  }
  .dropdown-content {
    min-width: 60%; 
  }
  .dropdown-content a {
    font-size: 12px;
  }
  form {
    width: 80%; 
  }
  .search-section h1 {
    font-size: 35px;
  }
  .project-link {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center children */
    text-decoration: none;
    background-color: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 1em;
    padding: 2px;
    overflow: hidden;
    color: #000000;
    font-size: 14px;
    width: 100%; /* Take full width */
    margin-left: 0px; /* Adjust if necessary */
    margin-right: 0px; /* Adjust if necessary */
  }
  
  .project-link img {
    display: none; /* Hide the image */
  }
  .project-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; /* Center the text */
    text-align: center; /* Center the text */
    width: 100%; /* Take full width */
    padding-right: 0px; /* Adjust padding if necessary */
  }
  #searchButton {
    width: 40px; 
    height: 40px;
  }
  #searchButton img {
    width: 20px; 
    height: 20px;
  }
  .search-section h2,
  .no-results {
    font-size: 17px;
  }
  #projetList {
    width: 100%; 
  }

  .projet {
    flex-direction: column; 
    align-items: center; 
    padding: 10px 0;
  }

  .projet h3, .projet p, .projet a {
    margin-right: 0; 
    text-align: center; 
  }

  .projet h3 {
    font-size: 18px;
  }

  .projet p {
    font-size: 14px;
  }

  .projet a {
    font-size: 16px;
  }
}


@media (max-width: 480px) {
  .navbar {
    padding: 8px;
    height: 70px;
  }
  .navbar-logo img {
    width: 40px;
  }
  .navbar-links a, .navbar-links a.non-clickable {
    font-size: 12px;
    padding: 5px 10px;
  }
  .dropdown-content {
    min-width: 70%;
    left:-3px;
  }
  .dropdown-content a {
    font-size: 8px;
  }
  form {
    width: 90%; 
  }
  .search-section h1 {
    font-size: 30px; 
  }
  .project-link {
    font-size: 12px; 
  }
  input[type="text"] {
    font-size: 12px;
    padding: 8px;
  }
  #searchButton {
    width: 35px;
    height: 35px;
  }
  #searchButton img {
    width: 16px;
    height: 16px;
  }
  .search-section h2,
  .no-results {
    font-size: 14px;
  }
}



@media (max-width: 280px) {
  .navbar {
    flex-direction: column;
    padding: 5px;
    height: 80px;
  }
  .navbar-logo img {
    width: 30px;
    margin-bottom: 5px;
  }
  .navbar-links a, .navbar-links a.non-clickable {
    font-size: 6px;
    padding: 3px 6px;
  }
  .dropdown-content {
    min-width: 80%;
    left:0px;
  }
  .dropdown-content a {
    font-size: 4px;
  }
  form {
    width: 95%; 
  }
  .search-section h1 {
    font-size: 24px; 
  }
  .project-link {
    font-size: 10px; 
  }
  input[type="text"] {
    font-size: 10px; 
    padding: 6px;
  }
  #searchButton {
    width: 30px;
    height: 30px;
  }
  #searchButton img {
    width: 14px;
    height: 14px;
  }
  .search-section h2,
  .no-results {
    font-size: 12px;
  }
}