/* iPhone 14 Pro Max (430 x 932) */
@media (max-width: 430px) {
    body {
        background-image: url('../images/background-mobile.png');
        text-align: center;
        padding: 1rem;
    }

    h1 {
        font-size: 1.4rem;
    }

    p {
        font-size: 0.6rem;
    }
    
    span {
        text-align: center;
        font-size: 14px;
    }

    #ticket-name {
        font-size: 2rem;
    }

    strong {
        text-align: center;
        font-size: 1.3rem;
    }

    .card {
        padding: 1.5rem;
    }

    .ticket {
        width: 400px;
        height: auto;
        background-size: 100%;
    }

    .ticket-header {
        margin-bottom: 0.5rem;
    }

    .ticket-logo {
        gap: 0.25rem;
        font-weight: 700;
        font-size: 24px;
    }

    .logo-small {
        width: 20px;
    }  

    .ticket-info {
        padding-left: 20px;
        padding-top: 0px;
        color: var(--text-secondary-color);
    }

    .ticket-body {
        margin-top: -50px;
        display: flex;
        align-items: center;
    }

    .attendee-avatar {
        width: 40px;
        height: 40px;
        border-radius: 15%;
        object-fit: cover;
    }

    .attendee-details {
        display: flex;
        flex-direction: column;
    }

    .attendee-name {
        font-size: 0.75rem;
        font-weight: 700;
    }

    .attendee-github {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 0.75rem;
        color: var(--text-secondary-color);
    }

    .ticket-number {
        margin: 0px 0px 0px 0px;
        transform: rotate(90);
        padding-left: -90px;
    }
}

/* Galaxy Z Fold 5 (344 x 882) */
@media (max-width: 344px) {
    body {
        background-image: url('../images/background-mobile.png');
        text-align: center;
        padding: 1rem;
    }

    h1 {
        font-size: 1.4rem;
    }

    p {
        font-size: 0.6rem;
    }
    
    span {
        text-align: center;
        font-size: 10px;
    }

    #ticket-name {
        font-size: 2rem;
    }

    strong {
        text-align: center;
        font-size: 1.3rem;
    }

    .card {
        padding: 1.5rem;
    }

    .ticket {
        width: 400px;
        height: auto;
        background-size: 100%;
    }

    .ticket-header {
        margin-top: -15px;
        margin-bottom: 0.5rem;
    }

    .ticket-logo {
        gap: 0.25rem;
        font-weight: 700;
        font-size: 24px;
        margin-left: -15px;
    }

    .logo-small {
        width: 20px;
    }  

    .ticket-info {
        padding-left: 10px;
        padding-top: -10px;
        color: var(--text-secondary-color);
    }

    .ticket-body {
        margin-top: -50px;
        display: flex;
        align-items: center;
    }

    .attendee-avatar {
        width: 30px;
        height: 30px;
        border-radius: 15%;
        object-fit: cover;
        margin-left: -18px;
        margin-top: -10px;
    }

    .ticket-number {
        margin: 0px 0px 0px 0px;
        transform: rotate(90);
        font-size: 12px;
    }
}

/* iPad Air (820 x 1180) */
@media (max-width: 820px) {
    body {
        background-image: url('../images/background-tablet.png');
        padding: 2rem 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    p{
        font-size: 1.775rem;
    }

    .card {
        padding: 2rem;
    }

    .ticket {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
        background-size: 100%;
    }

    .ticket-body {
        flex-direction: row;
        justify-content: space-between;
    }

    .ticket-info {
        font-size: 20px;
    }

    .attendee-name {
        font-size: 1.5rem;
    }

    .attendee-github {
        font-size: 1.5rem;
    }

    .ticket-number {
        margin-left: auto;
        margin-top: 40px;
        transform: rotate(90);
        font-size: 24px;
    }
}

/* Nest Hub Max (1280 x 800) */
@media (max-width: 1280px) {
    body {
        background-image: url('../images/background-tablet.png');
        align-items: flex-start;
        padding: 2rem;
    }

    p {
        font-size: 1.5rem;
    }

    .card {
        max-width: 800px;
        margin: 0 auto;
    }

    .ticket {
        width: 100%;
        max-width: 700px;
        background-size: 100%;
    }

    .ticket-body {
        justify-content: space-between;
    }

        .attendee-name {
        font-size: 1.5rem;
    }

    .attendee-github {
        font-size: 1.5rem;
    }

    .ticket-number {
        margin-left: auto;
        margin-top: 40px;
        transform: rotate(90);
        font-size: 24px;
    }
}
