@media(max-width: 1383px) {

    #content {
        margin-top: 24px;
    }
}

@media(max-width: 700px) {

    #content {
        margin-top: 16px;
    }


    .card-header {
        height: 35px;
    }

    .outside-card-main {
        height: calc(100% - 75px);
    }


    .card-footer {
        height: 40px;
    }

    .pokemon-name {
        font-size: 1.5rem;
    }

    #pokemon_id {
        font-size: 1.1rem;
    }

    .evo-pokemon-name {
        font-size: 1.2rem;
    }


}

@media(max-width: 600px) {

    .header {
        height: auto;
    }

    .footer {
        height: 70px;
    }

    .logo-icon {
        height: 40px;
    }

    .logo-icon-bottom {
        height: 40px;
    }

    .logo-text {
        font-size: 2rem;
    }

    .spinner img {
        width: 60px;
    }

    .load-more-btn {
        font-size: 1.5rem;
    }


    .logo-text {
        font-size: 2rem;
    }


    .evo-pokemon-name {
        font-size: 1.2rem;
    }

    .pokemon-name {
        font-size: 1.5rem;
    }

    .pokemon-img {
        height: 120px;
    }

    .type-switch-row {
        min-height: 36px;
    }

    .switch-button.switch-left,
    .switch-button.switch-right {
        min-width: 28px;
        height: 28px;
    }

    .type-icons-center {
        gap: 2px;
    }
}



@media(max-width: 500px) {

    .card-outside {
        height: 240px;
        width: 180px;
        margin: 8px;
    }

    .header-content {
        display: flex;
        align-items: center !important;
        justify-content: center !important;
        flex-direction: column;
        gap: 8px;
        height: auto;
    }

    .overlay-template {
        height: 500px !important;
        width: 360px;
    }

    .info-sections {
        font-weight: 600;
        font-size: 1.2rem;   
    }

    .stats-info-container {
        font-size: 1rem;
        margin-top: 40px !important;   
    }

    .main-infos {
        margin-top: 16px !important;   
    }

    .main-infos-span {
        font-size: 1.3rem !important;
    }

    .pokemon-name {
        font-size: 1.2rem;
    }

    #pokemon_id {
        font-size: 1.2rem;
    }

    .evo-pokemon-name {
        font-size: 1.2rem;
    }

    .x {
        font-size: 1.5rem;
    }

    .type-icon {
        width: 20px;
        height: 20px;
        margin: 2px;
    }

    .load-more-btn {
        font-size: 1.3rem;
    }


    .card-header {
        height: 30px;
    }

    .stats-list {
        font-size: 1.3rem;
    }

    .outside-card-main {
        height: calc(100% - 60px);
    }

    .pokemon-img {
        height: 100px;
    }

    .card-footer {
        height: 30px;
    }

    .type-icon {
        width: 18px;
        height: 18px;
        margin: 2px;
    }
}



@media(max-width: 410px) {
    
    header {
        display: flex;
        height: auto;
    }

    .header-content {
        display: flex;
        align-items: center !important;
        justify-content: center !important;
        flex-direction: column;
        height: auto;
    }

    .logo-icon {
        height: 40px;
        margin-left: 0px;
    }

    .logo-text {
        font-size: 1.9rem;
        margin: 0;
        max-width: 100%;
    }

    input {
        font-size: 1.5rem;
        max-width: 100%;
    }

    .input-div {
        margin-bottom: 16px;
    }

    .header {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 16px;
        height: auto;
    }

    .spinner img {
        width: 40px;
    }

    .overlay-template {
        height: 450px !important;
        width: 300px;
    }

    .stats-bar-and-label {
        display: flex;
        justify-content: center;
        margin-left: -20px;
        margin-top: -8px;
    }

    .stats-list {
        font-size: 1.3rem;
    }

    .main-infos-divs {
        gap: 5px !important;

    }

    .main-infos {
        padding: 20px !important;
    }

    .main-infos-span {
        font-size: 1.2rem !important;
    }

    .evo-img {
        height: 100px !important;
    }

    .evo-pokemon-name {
        font-size: 1.3rem;
    }

    .type-switch-row {
        min-height: 28px;
    }

    .switch-button.switch-left,
    .switch-button.switch-right {
        min-width: 22px;
        height: 22px;
        font-size: 1rem;
    }

    .type-icons-center {
        gap: 1px;
    }

    .evo-chain-nav-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        background: none;
        border: none;
        font-size: 2rem;
        color: #444;
        cursor: pointer;
        padding: 0 8px;
        transition: color 0.2s;
    }
    .evo-chain-nav-btn:disabled {
        color: #bbb;
        cursor: default;
    }
    .evo-chain-nav-btn-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        margin-right: 4px;
    }
    .Evo-Chain-infos {
        flex-direction: row;
        align-items: center;
    }
}

@media(max-width: 350px) {

    .overlay-template{
        margin: 8px;
    }
}