@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap');

body {
    font-family: 'Orbitron', sans-serif;
    text-align: center;
    background-color: #0a0a0a;
    color: #00eaff;
    margin: 0;
    padding: 0;
}

.container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    width: 90%;
    margin: auto;
    padding: 20px;
}

.pokemon {
    background: linear-gradient(135deg, #0044ff, #00eaff);
    border-radius: 15px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.7);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid #00eaff;
}

.pokemon:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(0, 255, 255, 1);
}

.pokemon img {
    width: 130px;
    height: 130px;
    filter: drop-shadow(0 0 15px cyan);
}

.pokemon p, .back-btn {
    font-size: 18px;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
}

.type-btn{
    height: 40px;
    margin: 5px;
    cursor: pointer;
    transition: transform 0.3s;
    border: 2px solid #00eaff;
    border-radius: 30px;
    box-shadow: 0 0 5px rgba(0, 255, 255, 1);
}

.type-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 5px rgba(0, 255, 255, 1);
}

.type-button:hover {
    background-color: #004488;
    transform: scale(1.1);
}

.show-all-button {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    background-color: #ffcc00;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s, transform 0.2s;
}

.show-all-button:hover {
    background-color: #ff9900;
    transform: scale(1.05);
}

.modal, .modal-overlay {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.modal {
    background: rgba(0, 10, 50, 0.95);
    color: #00eaff;
    width: 400px;
    border: 3px solid #00eaff;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.8);
}

.modal.active, .modal-overlay.active {
    display: block;
}

.close-btn, .back-btn{
    background: #0044ff;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.2s;
}

.back-btn {
    border-radius: 20PX;
    border: 2px solid #00eaff;
    box-shadow: 0 0 5px rgba(0, 255, 255, 0.8);
}

.back-btn:hover {
    background-color: #002ad1;
}

.close-btn:hover{
    background: #0022aa;
}

select {
    margin: 15px;
    padding: 10px;
    font-size: 14px;
    border-radius: 5px;
    border: 2px solid #00eaff;
    background: #001a33;
    color: #00eaff;
    font-weight: bold;
}
