@media (max-width: 760px) {
    :root {
        --page-padding: 12px;
        --radius: 20px;
    }

    #card {
        max-height: calc(100svh - 24px);
    }

    .profile-header {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .profile-actions {
        justify-content: center;
    }

    .education-grid,
    .user-talent {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    :root {
        --page-padding: 0px;
        --radius: 0px;
    }

    #main {
        display: block;
    }

    #card {
        width: 100%;
        min-height: 100svh;
        max-height: 100svh;
        border-width: 0;
    }

    .card-container {
        padding: 24px 18px 28px;
    }

    .avatar {
        width: 112px;
        height: 112px;
    }

    .profile-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .button {
        width: 100%;
    }

    .section-heading {
        align-items: flex-start;
    }

    .talent-list {
        grid-template-columns: 1fr;
    }
}

@media (max-height: 620px) and (min-width: 761px) {
    :root {
        --page-padding: 10px;
    }

    #card {
        max-height: calc(100svh - 20px);
    }
}
