@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    background: linear-gradient(to bottom, #ffcccc, #ccffff);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    text-align: center;
    padding: 40px;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
}

h1, h2 {
    font-size: 28px;
    color: #FF4500;
    margin-bottom: 20px;
}

p {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
}

input[type="text"], input[type="password"], input[type="number"] {
    padding: 12px;
    font-size: 18px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 20px;
    width: 200px;
}

button {
    padding: 12px 24px;
    font-size: 18px;
    background-color: #2196F3;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin: 10px;
}

button:hover {
    background-color: #1976D2;
}

.choiceBtn {
    padding: 10px 20px;
    margin: 10px;
    font-size: 18px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.choiceBtn:hover {
    background-color: #45a049;
}

/* Center the input box wrapper */
.input-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

/* Center the submit button wrapper */
.button-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

/* Style for multiple-choice options when shown */
#multipleChoiceOptions {
    display: none;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

/* Remove any default margins from the input to avoid extra spacing */
#answerInput {
    margin: 0;
}

#feedback {
    margin-top: 20px;
    padding: 10px;
    background: #f0f0f0;
    border-radius: 5px;
    text-align: center;
    font-size: 18px;
    display: none;
    color: #4CAF50;
}

#progressText {
    font-size: 18px;
    color: #FF4500;
    margin: 20px 0;
}

#progressBarContainer {
    width: 80%;
    height: 20px;
    background: #ddd;
    margin: 20px auto;
    border-radius: 10px;
}

#progressBar {
    width: 0%;
    height: 100%;
    background: #4CAF50;
    border-radius: 10px;
    transition: width 0.3s ease-in-out;
}

#collectionModal, #winScreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border: 3px solid #2196F3;
    max-width: 900px;
    width: 90%;
    text-align: center;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

#pokemonCards, #winPokemonCards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    max-height: 60vh;
}