/* Reset for nav + lists */
        * {
            box-sizing: border-box;
        }

        html, body {
            height: 100%;
            margin: 0;
            padding: 0;
            overflow-x: hidden;
            font-family: Georgia, 'Times New Roman', Times, serif;
        }

       body {
            min-height: 100vh;
        }

        main { /* wrap your form and heading in a main container */
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 100%;
            z-index: 1;
        }

        form {
            background-color: rgba(255,255,255,0.95);
            color: #000; 
            padding: 30px 40px;
            border-radius: 12px;
            box-shadow: 0 8px 20px rgba(0,0,0,0.3);
            width: 350px;
            display: flex;
            flex-direction: column;

            z-index: 1; /* ensures it's above background but below nav */
        }

        nav, nav ul, nav li {
            list-style: none;
            margin: 0;
            padding: 0;
        }

        /* Nav container */
        nav {
            position: relative;
            width: 100%;
            margin: 0;
            padding: 0;
            overflow: hidden;
            background-color: rgba(0,0,0,0.5);
            z-index: 100;
        }

        h1{
            text-align: center;
            color: white;
            text-align: center;
            text-shadow:
            /* Black outline around main text */
            -1px -1px 0 black,
            1px -1px 0 black,
            -1px  1px 0 black,
            1px  1px 0 black,

            /* "Shadow" layer (2px offset, white text duplicated with black outline) */
            2px 2px 0 black,
            1px 1px 0 black,
            3px 3px 0 black;

            text-transform: uppercase;
        }

        /* Hamburger button */
        .hamburger {
            width: 40px;
            height: 40px;
            padding: 8px;
            cursor: pointer;
            position: absolute;
            top: 20px;
            left: 15px;
            z-index: 2000;
            display: none;
            flex-direction: column;
            justify-content: space-between;
            border: 1px solid white;
            border-radius: 6px;
            box-sizing: border-box;
        }

        .hamburger .bar {
            height: 3px;
            background: white;
            width: 24px;
            margin: 3px 0;
            transition: 0.4s;
        }

        .hamburger.open .bar:nth-child(1) {
            transform: rotate(45deg) translate(6px, 6px);
        }

        .hamburger.open .bar:nth-child(2) {
            opacity: 0;
        }

        .hamburger.open .bar:nth-child(3) {
            transform: rotate(-45deg) translate(4px, -5px);
        }

        .hamburger:hover {
            transform: scale(1.2);
            transition: transform 0.4s ease-in-out;
            border-color: white;
        }

        /* Nav links */
        nav li {
            float: right;
        }

        nav li.home {
            float: left;
        }

        nav li.MyStory {
            font-style: italic;
        }

        li a {
            display: block;
            color: white;
            text-align: center;
            padding: 30px 12px;
            text-decoration: none;
            letter-spacing: 2px;
            font-size: 10px;
            text-transform: uppercase;
            transition: transform 0.4s ease, color 0.4s ease;
        }

        li a:hover {
            transform: scale(1.2);
            color: black;
        }

        /* Centered logo */
        li.logo {
            float: none;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }

        li.logo img {
            height: 100px;
        }

        .login-link {
            color: #780090; /* text color */
            font-weight: bold; /* bold text */
            text-decoration: underline; /* underline */
            transition: all 0.3s ease; /* smooth hover effects */
        }

        .login-link:hover {
            color: #FFD700; /* change color on hover */
            width: 100%; /* slightly bigger on hover */
        }

        #ios-banner {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            background-color: #f0f0f0;
            color: #000;
            padding: 12px;
            text-align: center;
            font-family: sans-serif;
            font-size: 14px;
            z-index: 9999;
            box-shadow: 0 2px 5px rgba(0,0,0,0.2);
            }

            #ios-banner p {
            margin: 0;
            }

            #ios-banner-close {
            float: right;
            cursor: pointer;
            margin-right: 8px;
            font-weight: bold;
            }

        .footerBottom{
            background-color: rgba(0,0,0,0.5);
            padding: 20px;
            text-align: center;
            font-size: 15px;
            clear: both;
            margin-top:auto;
        }

        .footerBottom p{
            color: white;
        }

        .designer{
            text-transform: uppercase;
            font-weight: 400;
        }

        input[type="checkbox"] {
            accent-color: #FFD700; /* gold, for example */
            width: 15px;
            height: 15px;
        }
        

        /* Mobile styles */
        @media (max-width: 800px) {
            nav li.home, nav li {
                float: none;
            }

            li a {
                padding: 0 12px;
            }

            h1 {
                padding-top: 30px;
            }

            li.logo {
                position: relative;
                top: 0;
                left: 0;
                transform: none;
                width: fit-content;
                margin: 0 auto;
            }

            li.logo img {
                height: 125px;
            }

            .hamburger {
                display: flex;
                top: 15px;
                left: 15px;
            }

            .mobile-menu {
                position: fixed;
                top: 0;
                left: 0;
                height: 100vh;
                width: 100vw;
                background-color: rgba(0, 0, 0, 0.8);
                z-index: 1000;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                opacity: 0;
                transform: translateY(-80px);
                pointer-events: none;
                transition: opacity 0.5s ease, transform 0.5s ease;
            }

            .mobile-menu.open {
                opacity: 1;
                transform: translateY(0);
                pointer-events: auto;
            }

            .mobile-menu li {
                margin: 70px 0;
            }

            .mobile-menu li a:hover {
                color: #fff;
                background-color: rgba(255, 255, 255, 0.1);
                border-radius: 8px;
                transition: background 0.3s;
            }

            .login-box {
                max-width: 90%;
                padding: 30px 20px;
            }
        }

        