@media (max-width:640px) {
    header {
        flex-direction: column;
        justify-content: center;
    }

    .headerTitle {
        width: fit-content;
    }

    header img {
        height: 40px;
    }

    header h1 {
        font-size: 40px;
    }

    #search {
        margin-bottom: 8px;
    }

    #dialog {
        width: 400px;
    }

    .poke-content h1 {
        font-size: 32px;
    }

    .poke-content .img {
        width: 130px;
        height: 130px;
    }
}

@media (max-width:535px) {
    .header-content {
        flex-direction: column;
    }

    .poke-content .img {
        width: 85px;
        height: 85px;
        border-radius: 12px;
    }
}

@media (max-width:430px) {
    #dialog {
        width: 320px;
        margin-right: 12px;
        margin-left: 12px;
    }

    .dialogFoot p,
    .dialogHead {
        font-size: 24px;
    }

    .pokemon-overlay-nav li {
        padding-left: 8px !important;
        padding-right: 8px !important;
        width: 100px !important;
    }

    .chain-content .evo img {
        width: 80px !important;
    }
}