.form-container {
margin-top: 7rem;
padding: 2rem;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
}
.contact-form {
font-family: 'Amatic SC', serif;
.form {
display: flex;
flex-direction: column;
+ justify-content: center;
align-items: center;
padding: 1.7rem;
border: 0.1rem solid white;
border-radius: 1rem;
+ width: 100%;
max-width: 60rem;
}
label,
+
+
+
+/* UNDER CONSTRUCTION */
+.under-construction-ctn {
+ position: fixed;
+ height: 4rem;
+ width: 100%;
+ font-size: 2rem;
+ text-align: center;
+ margin-top: 6rem;
+ z-index: 1;
+ display: flex;
+ justify-content: center;
+}
+.under-construction-text {
+ width: 50%;
+ background-color: var(--mainbg2);
+}
+
+
+
@media (prefers-reduced-motion: no-preference) {
* {
scroll-behavior: smooth;
if(link.href.includes(active_page)) {
link.classList.add("active-page");
}
-})
\ No newline at end of file
+})
+
+// under constuction div
+const underConstruction = () => {
+ const header = document.querySelector('header');
+ if (!header) {
+ console.log('Header element not found.');
+ return;
+ }
+
+ header.insertAdjacentHTML('afterend',
+ `<div class="under-construction-ctn">
+ <div class="under-construction-text">
+ WEBSITE IS UNDER CONSTRUCTION :D
+ </div>
+ </div>`);
+};
+
+underConstruction();
\ No newline at end of file