* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
}

body {
    font-size: 2rem;
    font-family: sans-serif;
    background-size: cover;
    padding: 4rem;
    background-image: url("https://fiverr-res.cloudinary.com/images/t_main1,q_auto,f_auto,q_auto,f_auto/v1/attachments/delivery/asset/0032398f86ea753194c5eeba97eccda2-1627249600/ExportBackgroundnomoveclound/draw-a-pixel-pokemon-battle-background.gif")
}

.cards {
    height: 85vh;
    display: grid;
    grid-template-columns: repeat(12,1fr);
    grid-template-rows: repeat(12,1fr);
    width: 100%;
    gap: 2rem;
}

.card {
    border-radius: 1rem;
    list-style: none;
    background: whitesmoke;
    box-shadow:  0 2rem 0rem 0 rgba(0,0,0,0.6);
}

.card--first{
    grid-column: 1/5;
    grid-row: 1/7;
}

.card--first > .email{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    margin: 10rem;
    width: 25rem;
    height: 10rem;
    font-size: 5rem;
}

.card--first> h1{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.PokeName > h1{
    padding: 100rem;
}

.card--second{
    grid-column: 5/13;
    grid-row: 1/9 ;
}

.card--third{
    grid-row: 7/13 ;
    grid-column: 1/5;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 4rem;
    margin: 1rem;
}


.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: red;
    color: whitesmoke;
    border-radius: 0.5rem;
}

@media screen and (max-width: 87.5rem) {
    body{
        background: red;
    }
    .card--second{
        grid-row: 1/13 ;
    }

    .card--third{
        grid-column: 1/5;
    }
    
}

@media screen and (max-width: 62.5rem) {
    body{
        background-color: blue;
    }
    .card--first,.card--second{
        display: none;
    }
}
