body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #e0f7d4;
    text-align: center;
}
header {
    background-color: #a7e063;
    padding: 20px;
    font-size: 24px;
    font-weight: bold;
    color: #2e7d32;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header a {
    color: #2e7d32;
    text-decoration: none;
    display: inline-block;
}
.container {
    padding: 20px;
    display: flex;
    flex-direction: row;
}
.generation-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 20px;
}
.pokemon-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
    position: relative;
}
.pokemon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
img {
    width: 300px;
    height: 300px;
    filter: blur(10px);
}
.revealed img {
    filter: none;
}
input, button {
    margin-top: 10px;
    padding: 10px;
    font-size: 16px;
    border-radius: 20px;
    font-family: Arial, sans-serif;
}
.generation-btn {
    display: inline-block;
    padding: 10px;
    margin: 5px;
    border: 2px solid transparent;
    background-color: white;
    cursor: pointer;
}
.generation-btn.selected {
    border-color: purple;
}
.suggestions {
    background: white;
    border: 1px solid #ccc;
    width: 200px;
    max-height: 100px;
    overflow-y: auto;
    position: relative;
    margin: auto;
    font-family: Arial, sans-serif;
}
.suggestions div {
    padding: 5px;
    cursor: pointer;
}
.suggestions div:hover {
    background: #e0e0e0;
}
#pokemon-name, #correct-count, #skipped-count {
    font-family: Arial, sans-serif;
    font-size: 20px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-height: 80%;
    overflow-y: auto;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

@media (max-width: 768px) {
    body {
        font-family: Arial, sans-serif;
        font-size: 16px;
    }

    .generation-container {
        display: flex; 
        flex-direction: column;
        align-items: center; 
        margin: 0;
    }
}