html, body {
    overflow: hidden;
    height: 100%;
}

body {
    background-color: #0f0f0f;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #ffffff;
    margin: 0;
    padding: 0;
}

nav {
  margin: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background: linear-gradient(90deg, #00f2ff, #0b0f19);
  border-radius: 10px;
  margin-bottom: 50px;
  box-shadow: 0 4px 20px rgba(0, 255, 255, 0.2);
  background-size: 200% 200%;
  animation: navGradientMove 10s ease infinite;
}

nav .part_1 h1 {
  font-size: 24px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
}

nav .part_1 img {
  height: 40px;
  width: auto;
}

nav .part_2 a {
  font-size: 16px;
  color: #00f2ff;
  text-decoration: none;
  padding: 10px 20px;
  border: 1px solid #00f2ff;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

nav .part_2 a:hover {
  background-color: #00f2ff;
  color: #0b0f19;
}

.warper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 100vh;
    padding: 20px;
    background: linear-gradient(135deg, #0f0f0f, #1a1a1a, #0f0f0f);
    background-size: 400% 400%;
    animation: pulseBg 20s ease infinite;
    box-sizing: border-box;
    
}

.cards {
    width: 90%;
    max-width: 700px;
    background: #1c1c1c;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.4), 0 0 80px rgba(0, 255, 255, 0.2);
    border: 1px solid rgba(0, 255, 255, 0.4);
    animation: glow 2s infinite ease-in-out;
    margin-top: 30px;
    position: relative;
    top: -100px;
}

.card {
    margin-bottom: 20px;
}

.card h1 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #00ffe7;
}

select, input, button {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

select, input {
    background-color: #2c2c2c;
    color: #ffffff;
    outline: none;
}

button {
    background-color: #00ffe7;
    color: #000;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #00c4b4;
    border: 5px solid #00ffe7;
}

.buttton {
    display: flex;
    justify-content: center;
}

@media (max-width: 768px) {
    .cards {
        width: 100%;
        padding: 15px;
    }

    .card h1 {
        font-size: 1.1rem;
    }

    select, input, button {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }
    .card h1 {
        font-size: 0.95rem;
    }
    select, input, button {
        font-size: 0.85rem;
        padding: 6px;
    }
    .cards {
        max-width: 80vw;
        margin: 0 auto;
    }
    nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    nav .part_1 h1 {
        font-size: 16px;
    }
    nav .part_2 a {
        font-size: 14px;
        padding: 8px 15px;
        width: 100%;
        text-align: center;
    }
}
@keyframes glow {
    0% {
        box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
    }
    20% {
        box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
    }
    40% {
        box-shadow: 0 0 10px rgba(0, 255, 255, 0.6);
    }
    60% {
        box-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
    }
    80% {
        box-shadow: 0 0 10px rgba(0, 255, 255, 0.6);
    }
    100% {
        box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
    }
}

@keyframes pulseBg {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes navGradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}