* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
}

body{
    font-size: 2rem;
    font-family: sans-serif;
    background-color: #549b8c;
    padding: 4rem;
}

ul{
    list-style-type: none;
}

.cards{
    height: 85vh;
    display: grid;
    width: 100%;
    grid-template-columns: repeat(12,1fr);
    grid-template-rows: repeat(12,1fr);
    gap: 2rem;
}

.card{
    list-style: none;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 1rem;
    box-shadow: 0 2rem 3rem 0 rgba(0, 0, 0, 0.2);
}

.card--first{
    grid-column: 1 / 5;
    grid-row: 1 / 7;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#js--pokemon-info-name{
    font-size: 2.5rem;
}

.card--second{
    grid-column: 5 / 13;
    grid-row: 1 / 10;
    padding: 4rem;
    overflow: scroll;
}

.card--second > h1{
    margin-bottom: 2rem;
}

#js--pokemon-storage{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
    width: 100%;
}

.js--pokemon-in-storage{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.card--third{
    grid-row: 7 / 13;
    grid-column: 2 / 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 4rem;
}

.card--third > img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.card--third > button{
    width: 15rem;
    height: 6rem;
    font-size: 2rem;
    font-family: sans-serif;
    border: none;
    background-color: #ee1515;
    color: #eee;
    border-radius: 0.5rem;
}

.card--third > button:hover{
    cursor: pointer;
}

#js--again-button{
    background-color: rgb(103, 72, 116);
    display: none;
}

@media screen and (max-width: 87.5rem){
    .card--second{
        grid-row: 1 / 13;
    }

    .card--third{
        grid-column: 1 / 5;
    }
}

@media screen and (max-width: 62.5rem){
    .card--first, .card--second{
        display: none;
    }

    .card--third{
        grid-row: 1 / 13;
        grid-column: 1 / 13;
    }
}