@import url('https://fonts.googleapis.com/css2?family=PT+Sans:wght@400;700&display=swap');

body {
    box-sizing: border-box;
    height: 100vh;
    background-color: #3B4CCA;
    font-family: 'PT Sans', sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

main {
    margin-top: 5vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.poke-logo {
    max-width: 50%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.container {
    text-align: center;
    background-color: #FFDE00;
    min-height: 0;
    max-width: 700px;
    position: relative;  
    border-radius: 20px;
    padding: 80px 50px 50px;
    transition: height 0.3s ease;
}

.container p {
    font-size: 1.2em;
}

button {
    margin: 30px 0;
    font-size: 1.5em;
    font-weight: bold;
    padding: 12px 30px;
    border: none;
    border-radius: 16px;
    box-shadow: 1px 2px 9px black;
    background-color: #3B4CCA;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.5s ease;
}

button:hover {
    background-color: #1a2891;
    color: #f5f5f5;
}

.information {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.poke-img {
   opacity: 0;
   width: 200px;
   transition: opacity 0.5s ease;   
}

h2 {
    margin: 0;
    border-bottom: 2px solid #B3A125;
    padding: 5px;
    font-size: 1.9em;
    font-weight: 400;
    color: #000000;
    opacity: 0;
    transition: opacity 0.5s ease;   
}

.visible {
    opacity: 1;
}

footer {
    text-align: center;
    color: white;
    justify-self: end;
}

@media (max-width: 480px) {
    body {
        justify-content: flex-start;
    }
}