/*
    EverAfter Wedding Platform
    Mobile Layout Styles

    Mobile-first adjustments.
    Optimised for wedding guests using
    phones as the primary device.
*/


/* =====================================
   Small Mobile Devices
===================================== */


@media (max-width: 480px) {


    :root {

        --section-padding:
            3rem 1rem;

    }



    /*
        Hero
    */


    .hero {

        padding:

            var(--space-lg)

            var(--space-md);

    }



    .hero h1 {

        font-size:

            2.5rem;

        line-height:

            1.1;

    }



    .small-title {

        font-size:

            0.7rem;

        letter-spacing:

            2px;

    }



    .guest-message {

        font-size:

            var(--text-md);

    }



    .wedding-date {

        font-size:

            var(--text-lg);

    }



    .primary-button {

        width:

            100%;

        max-width:

            280px;

    }





    /*
        Countdown
    */


    .countdown-container {

        gap:

            var(--space-xs);

    }



    .count-box {

        width:

            75px;

        padding:

            0.8rem;

    }



    .count-box span {

        font-size:

            1.4rem;

    }



    .count-box label {

        font-size:

            0.65rem;

    }





    /*
        Guest Card
    */


    .card {

        padding:

            var(--space-md);

        border-radius:

            var(--radius-md);

    }



    .guest-details {

        flex-direction:

            column;

        gap:

            var(--space-md);

    }





    /*
        Navigation
    */


    .navigation-grid {

        grid-template-columns:

            repeat(2,1fr);

        gap:

            0.8rem;

    }



    .navigation-grid button {

        padding:

            1rem 0.5rem;

        min-height:

            100px;

    }



}





/* =====================================
   Tablet Portrait
===================================== */


@media (min-width:481px) and (max-width:768px) {


    .hero h1 {

        font-size:

            3rem;

    }



    .navigation-grid {

        max-width:

            600px;

    }



    .count-box {

        width:

            100px;

    }


}