/* Appliquer le curseur par défaut sur les éléments de texte spécifiques */

#zone {
    background: #ddeeff;
    margin: 1% 7% 1% 7%;
    padding: 0.01% 1% 0.01% 1%;
    border-radius: 25px;
    font-style: arial;
    font-weight: normal;
    font-size: 14px;
    text-align: justify;
}

#navbar {
    margin: 1;
    padding: 1;
}

/* styles pour les textes des pages creatures armes et explications*/

.pp {
    font-family: Arial;
    font-weight: normal;
    font-size: 14px;
    text-align: justify;
}

/* tableau creatures */
table {
    font-family: Arial, Helvetica, sans-serif;
    border: 0;
    margin: 0;
    padding: 0;
    width: 85%;
}

tr,
td {
    background: lightgray;
    font-weight: normal;
    font-size: 12px;
}

th {
    background: lightgray;
    font-size: 14px;
    font-weight: bold;
}

/* NAVBAR */
a:hover {
    color: rgb(18, 156, 0);
    text-transform: inherit;
    -moz-transition: .8s all .3s;
    -webkit-transition: .8s all .3s;
    transition: .8s all .3s;
    cursor: pointer;
}

a {
    color: black;
    text-transform: inherit;
    -moz-transition: .8s all .3s;
    -webkit-transition: .8s all .3s;
    transition: .8s all .3s;
}

h1 {
    font-family: "Arial";
    color: black;
    font-size: 22px;
    position: relative;
}

h2 {
    font-family: "Arial";
    position: relative;
    font-size: 20px;
}

h3 {
    font-family: "Arial";
    position: relative;
    font-size: 18px;
}

h4 {
    font-family: "Arial", normal;
    position: relative;
    font-size: 16px;
}

h6 {
    font-family: "Arial", normal;
    font-size: 25px;
    margin: 1%;
    text-align: center;
}
#site-title {
    position: relative;
    transition: all 0.4s ease;
  }

  #site-title.stuck {
    position: fixed;
    top: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    font-size: 1.4em;
    padding: 5px;
    z-index: 999;
  }

/* -------- Scrollbar globale (Chrome, Edge, Safari) -------- */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #000000;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #00640d, #00ff0d);
    border-radius: 10px;
    transition: all 0.3s ease;
}

#search-wrapper {
    position: relative;
    max-width: 400px;
    margin: 60px auto;
    text-align: center;
}

#search-input {
    width: 100%;
    padding: 14px 20px;
    border-radius: 50px;
    border: none;
    font-size: 17px;
    color: rgb(0, 196, 33);
    box-shadow: 0 0 10px rgba(0, 255, 64, 0.4), 0 0 25px rgba(0, 255, 76, 0.2) inset;
    outline: none;
    transition: 0.3s ease;
}

#search-input::placeholder {
    color: rgb(0, 196, 33);
}

#search-input:focus {
    box-shadow: 0 0 20px rgba(0, 255, 42, 0.8), 0 0 40px rgba(0, 255, 42, 0.3) inset;
}

#suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    border-radius: 12px;
    box-shadow: 0 0 12px rgba(0, 255, 76, 0.1), 0 0 25px rgba(0, 255, 42, 0.05) inset;
    margin-top: 10px;
    display: none;
    z-index: 10;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.suggestion-item {
    padding: 14px 20px;
    cursor: pointer;
    transition: 0.2s ease;
    font-size: 15px;
    color: rgb(0, 196, 33);
    border-bottom: 1px solid rgba(0, 255, 42, 0.05);
}

.suggestion-item:hover {
    color: rgb(0, 0, 0);
    font-weight: bold;
    letter-spacing: 0.5px;
}

html {
    cursor: default;
    font-family: Arial;
    font-weight: normal;
}