/* ==========================================
   LARGE DESKTOPS (1400px+)
========================================== */

@media (min-width:1400px){

    .glass-card{
        max-width:900px;
    }

    h1{
        font-size:4.8rem;
    }

    h2{
        font-size:2.3rem;
    }

}

/* ==========================================
   LAPTOPS (1200px)
========================================== */

@media (max-width:1200px){

    .glass-card{
        max-width:760px;
        padding:55px;
    }

}

/* ==========================================
   TABLETS (992px)
========================================== */

@media (max-width:992px){

    nav{
        padding:18px 5%;
    }

    .glass-card{
        padding:45px;
    }

    h1{
        font-size:3.2rem;
    }

    h2{
        font-size:1.7rem;
    }

    .subtitle{
        font-size:17px;
    }

}

/* ==========================================
   TABLETS (768px)
========================================== */

@media (max-width:768px){

    nav{
        padding:16px 20px;
    }

    .logo{
        font-size:20px;
    }

    .glass-card{
        padding:35px 28px;
    }

    h1{
        font-size:2.6rem;
    }

    h2{
        font-size:1.4rem;
        min-height:42px;
    }

    .subtitle{
        font-size:16px;
    }

    .start-btn{
        width:100%;
        padding:16px;
        font-size:17px;
    }

    .popup{
        padding:30px 22px;
    }

}

/* ==========================================
   MOBILE (480px)
========================================== */

@media (max-width:480px){

    body{
        font-size:15px;
    }

    nav{
        padding:15px;
    }

    .nav-buttons{
        gap:10px;
    }

    .nav-buttons button{

        width:44px;
        height:44px;

    }

    .hero{

        padding:
        110px
        16px
        60px;

    }

    .glass-card{

        padding:30px 20px;

        border-radius:20px;

    }

    .tag{

        font-size:12px;

        padding:8px 14px;

    }

    h1{

        font-size:2.2rem;

        line-height:1.2;

    }

    h2{

        font-size:1.2rem;

        min-height:35px;

    }

    .subtitle{

        font-size:15px;

        line-height:1.7;

    }

    .start-btn{

        margin-top:35px;

        font-size:16px;

        padding:16px;

    }

    footer{

        font-size:13px;

        padding:25px;

    }

}

/* ==========================================
   SMALL PHONES (390px)
========================================== */

@media (max-width:390px){

    .logo{

        font-size:18px;

    }

    h1{

        font-size:2rem;

    }

    h2{

        font-size:1.1rem;

    }

    .subtitle{

        font-size:14px;

    }

    .glass-card{

        padding:26px 18px;

    }

}

/* ==========================================
   EXTRA SMALL PHONES (320px)
========================================== */

@media (max-width:320px){

    h1{

        font-size:1.75rem;

    }

    h2{

        font-size:1rem;

    }

    .tag{

        font-size:11px;

    }

    .subtitle{

        font-size:13px;

    }

    .start-btn{

        font-size:15px;

        padding:14px;

    }

}

/* ==========================================
   LANDSCAPE MODE
========================================== */

@media (max-height:600px) and (orientation:landscape){

    .hero{

        padding-top:100px;

        padding-bottom:50px;

    }

    .glass-card{

        padding:28px;

    }

    h1{

        font-size:2.4rem;

    }

    h2{

        font-size:1.2rem;

    }

}

/* ==========================================
   TOUCH DEVICES
========================================== */

@media (hover:none){

    .start-btn:hover{

        transform:none;

    }

    .nav-buttons button:hover{

        transform:none;

    }

}

/* ==========================================
   REDUCED MOTION
========================================== */

@media (prefers-reduced-motion:reduce){

    *{

        animation:none !important;

        transition:none !important;

        scroll-behavior:auto !important;

    }

}