* {
    box-sizing: border-box;
    cursor: none;
    margin: 0;
    padding: 0;
}


body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background-image: url("wallpaper.webp");
    background-size: cover;
    color: #FFD700;
    display: flex;
    align-items: center;
    height: 100vh;
}


.card {
    position: absolute;
    top: 50%;
    left: 30%;
    transform: translate(-50%, -50%);
    background: #111;
    padding: 30px;
    border-radius: 15px;
    width: 400px;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.card2 {
    position: absolute;
    top: 50%;
    left: 70%;
    transform: translate(-50%, -50%);
    background: #111;
    padding: 30px;
    border-radius: 15px;
    width: 400px;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.titre {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    -webkit-text-stroke: 1px rgb(0, 0, 0);
}


h1 {
    text-align: center;
    margin-bottom: 20px;
}


label {
    font-size: 14px;
    opacity: 0.8;
}


textarea, input {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: none;
    background: #222;
    color: #fff;
    outline: none;
}


.buttons {
    display: flex;
    justify-content: space-between;
}

button {
    flex: 1;
    margin: 5px;
    padding: 10px;
    border: none;
    border-radius: 8px;
    background: #FFD700;
    color: black;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    transform: scale(1.05);
    background-color: rgb(179, 178, 178);
    color :#000000
}


#output,
#output2,
#output-result,
#output-result2,
#output-key {
    background: #222;
    color: #fff;
}


.menu-btn {
    position: absolute;
    top: 20px;
    right: 20px;
}


.menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background-color: yellow;
    transition: 0.3s;
}

.menu-btn:hover  span{
background-color: #18c57d;
}


.menu {
    display: none;
    flex-direction: column;
    background-color: #000000;
    position: absolute;
    top: 50px;
    right: 20px;
    border-radius: 5px;
    overflow: hidden;
    z-index: 10;
    
}

.menu a {
    color: #FFD700;
    padding: 10px 20px;
    text-decoration: none;
    transition: 0.5s;

}

.menu a:hover {
    transform: scale(1.05);
    background-color: rgb(179, 178, 178);
    color :#000000;
    border-radius: 12px;
}


.close-btn {
    font-size: 20px;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    text-align: right;
    padding: 10px 20px;
}
a:visited {
    color: #FFD700;
}

.logo-img {
    width: 120px;
    margin-bottom: 20px;
}

.logo {
    font-size: 22px;
    font-weight: bold;
    position: absolute;
	top: 2%;
    left: 2%;
}



    #cursor {
      position: fixed;
      width: 6px;
      height: 6px;
      background: #f5c518;
      border-radius: 50%;
      pointer-events: none;
      transform: translate(-50%, -50%);
      z-index: 9999;
      transition: transform 0.1s, background 0.2s;
    }

    #cursor-ring {
      position: fixed;
      width: 38px;
      height: 38px;
      border: 3px solid #f5c518;
      border-radius: 50%;
      pointer-events: none;
      transform: translate(-50%, -50%);
      z-index: 9998;
      transition: width 0.25s, height 0.25s, border-color 0.2s, opacity 0.2s;
    }

    #cursor.hovered { transform: translate(-50%, -50%) scale(2.5); }
    #cursor-ring.hovered { width: 58px; height: 58px; border-color: rgba(245,197,24,0.4); }
    #cursor.clicked { transform: translate(-50%, -50%) scale(0.5); }
    #cursor-ring.clicked { width: 22px; height: 22px; }

    .trail {
      position: fixed;
      border-radius: 50%;
      pointer-events: none;
      transform: translate(-50%, -50%);
      z-index: 9997;
      background: #f5c518;
      opacity: 0;
    }