/* responsive design for message sent page */

@media (max-width: 768px) {

     nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--background-color);
        border-left: 1px solid var(--border-color);
        transition: right 0.3s ease;
        z-index: 1000;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    /* NAVIGATION LIST - Stack nav items vertically */
    nav ul {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    /* NAVIGATION LINKS - Make nav links larger and more touch-friendly */
    nav ul li a {
        font-size: 1.2rem;
        padding: 1rem;
    }
    
    /* MOBILE MENU TOGGLE - Show hamburger menu on tablets/mobile */
    .menu-toggle {
        display: flex;
        z-index: 1001;
    }

    /* NAVIGATION ACTIVE STATE - Show mobile menu when active class is added */
    nav.active {
        right: 0 !important; /* Slide menu in from the right */
    }

    /* MENU TOGGLE ACTIVE STATE - Animate hamburger to X when active */
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .logo-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 10vh;
        
    }
    
    .logo {
        font-size: 1.5rem;
        font-weight: 700;
        display: flex;
        align-items: center;
        margin-bottom: 1rem;
    }
    
    .logo-symbol {
        color: var(--primary-color);
        margin-right: 0.5rem;
    }
    

    .message-sent {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .container {
        text-align: center;
    }
    /* envelope unicode character */
    .message-success::before {
        content: '\2709';
        color: var(--primary-color);
        font-size: 2rem;
    }
    .message-success {
        color: var(--text-color);
        font-size: 1rem;
    }
    
    .message-success > p {
        color: var(--text-color);
        font-size: 0.75rem;
    }
    
    .timerCountdown {
        display: none;
        font-size: 1rem;
        color: white;
    }
}
