/* Global styles */ * { margin: 0; padding: 0; box-sizing: border-box; } /* Font face definitions */ @font-face { font-family: 'neutron'; src: url('/fonts/NEUTRONA.TTF') format('truetype'); font-weight: 400; font-style: normal; } @font-face { font-family: 'neutron'; src: url('/fonts/neutronai.ttf') format('truetype'); font-weight: 400; font-style: italic; } @font-face { font-family: 'neutron'; src: url('/fonts/NEUTRONB.TTF') format('truetype'); font-weight: 700; font-style: normal; } @font-face { font-family: 'neutron'; src: url('/fonts/neutronz.ttf') format('truetype'); font-weight: 700; font-style: italic; } /* Apply font to the entire body */ body { font-family: 'neutron', sans-serif; font-size: 1.1rem; /* Base font size */ line-height: 1.6; display: flex; justify-content: center !important; /* Center container horizontally */ align-items: center; margin-top: 0px; background-color: #ffffff; min-height: 100vh; } /* Container and section spacing */ .container { text-align: center; padding: 12px; max-width: 800px; width: 21%; /* Default for devices 1920px and above */ margin: 0 auto; } /* Header styling */ h1 { font-size: 1.25rem; margin-bottom: -8px; /*margin-bottom: -10rem;*/ letter-spacing: .1em; } .website-text { padding-bottom: 12px; font-size: inherit; } #zohd-logo { max-width: 100%; /* Ensures the image doesn't exceed its container */ height: auto; /* Maintains aspect ratio */ width: 5.5rem; /* Set desired width */ display: block; /* Ensures no inline spacing */ margin: 0 auto; /* Centers the image horizontally */ padding-bottom: 12px; } nav { /*margin: 12px 0;*/ padding-bottom: 12px; justify-content: space-evenly; /* Distribute items evenly with equal space */ display: flex; /* Use flexbox */ text-align: center; } /* Navigation link */ nav a { display: inline-block; /* Make only the text clickable */ margin: 0 0; padding: 5px; /* Add some padding for clickability without extra spacing */ text-decoration: underline; flex: 1; /* Allow each link to take up equal space */ color: black; } nav a:hover { text-decoration: none; } /* Left-aligned section */ .left-section { text-align: center; margin-bottom: 12px; width: 100%; } .left-link { text-decoration: underline; color: black; display: inline-block; } .left-link:hover { text-decoration: none; } /* Right-aligned section */ .right-section { text-align: right; margin-bottom: 12px; width: 100%; } .right-link { text-decoration: underline; color: black; display: inline-block; } .right-link:hover { text-decoration: none; } /* Welcome message */ .welcome-message p { margin: 10px 0; } /* Twitch Embed */ .stream-container { width: 100%; /* Inherit full width of parent */ aspect-ratio: 16 / 9; /* Maintain 16:9 video ratio */ position: relative; background: white; /* Optional: for placeholder before embed loads */ } /* Ensure the Twitch embed's internal iframe fits */ .stream-container iframe { width: 100%; height: 100%; border: 0; position: absolute; top: 0; left: 0; border-radius: 8px; } /* Subscription section */ .subscription { margin-top: 12px; display: flex; flex-direction: column; /*gap: 10px;*/ } /* Consistent button and input styling */ .btn, .email-form input, .email-form button { font-family: 'neutron', sans-serif; height: 60px; border-radius: 12px !important; font-size: inherit; } /* Button styling */ .btn { display: block; width: 100%; background-color: #000; color: white; border: none; cursor: pointer; padding: 15px; margin-bottom: 12px; } #subscribe-btn { background-color: #000; } .btn:hover { background-color: #333; } #subscribe-btn:hover { background-color: #333; } .email-form { display: flex; gap: 6px; width: 100%; align-items: center; padding-bottom: 12px; } .email-form input { flex: 1; min-width: 0; /* Allow input to shrink if necessary */ padding: 15px; border: 1px solid #ccc; background-color: #ffffff; } .email-form button { background-color: #333; color: white; border: none; cursor: pointer; padding: 15px; white-space: nowrap; /* Prevent button text from breaking */ } .email-form button:hover { background-color: #555; } /* Footer */ footer { /* margin-top: 28px; */ justify-content: space-evenly; /* Distribute items evenly with equal space */ display: flex; /* Use flexbox */ text-align: center; padding-bottom: 12px; } footer a { /* text-decoration: underline; color: black; */ display: inline-block; /* Make only the text clickable */ margin: 0 0; padding: 5px; /* Add some padding for clickability without extra spacing */ text-decoration: underline; flex: 1; /* Allow each link to take up equal space */ color: black; /*transition: transform 0.2s ease-in-out;*/ } footer a:hover { text-decoration: none; transform: scale(1.1); /* Slightly enlarge on hover */ } /* For devices with a max-width of 1919px */ @media (max-width: 1919px) { .container { width: 30%; } } /* For tablets with a max-width of 1199px */ @media (max-width: 1199px) { .container { width: 45%; } } /* For phones with a max-width of 809px */ @media (max-width: 809px) { .container { width: 95%; } }