/* General Styles */ body { font-family: 'Noto Sans', sans-serif; background-color: #282c34; color: #fff; margin: 0; padding: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; background-image: url('https://i.imgur.com/lnQm0RN.jpeg'); background-size: cover; background-position: center; background-repeat: no-repeat; background-attachment: fixed; min-height: 100vh; position: relative; } /* Overlay Effect */ body::after { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.6); /* Darker overlay for better text contrast */ z-index: -1; } /* Header */ header { margin-bottom: 30px; padding-top: 20px; /* Adds space from the top */ } h1 { font-size: 3em; margin: 0; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Shadow effect for text */ } p { font-size: 1.2em; margin: 10px 0; text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3); /* Adds a subtle shadow to the paragraph */ } /* Form */ form { display: flex; justify-content: center; align-items: center; } /* Input Styles */ input[type="email"] { padding: 10px; font-size: 1em; margin-right: 10px; border: none; border-radius: 5px; } /* Button Styles */ button { padding: 10px 20px; font-size: 1em; background-color: #9b59b6 !important; /* Purple color */ color: white; border: none; border-radius: 5px; cursor: pointer; } button:hover { background-color: #8e44ad !important; /* Darker purple for hover */ } /* Footer */ footer { margin-top: 30px; font-size: 0.8em; } footer a { color: #9b59b6; /* Purple color for the link */ text-decoration: none; } footer a:hover { text-decoration: underline; /* Underline the link on hover */ } /* Mobile Responsiveness */ @media (max-width: 600px) { h1 { font-size: 2.5em; /* Smaller font size for mobile */ } p { font-size: 1em; /* Adjust text size for better fit */ } form { flex-direction: column; /* Stack the input and button vertically */ } input[type="email"] { margin-bottom: 10px; /* Add margin between input and button */ } }