diff --git a/Components/Cards/404-Error-Card/style.css b/Components/Cards/404-Error-Card/style.css index 8084d3f5..e721543a 100644 --- a/Components/Cards/404-Error-Card/style.css +++ b/Components/Cards/404-Error-Card/style.css @@ -8,6 +8,13 @@ body { align-items: center; } +/* Media query for mobile devices */ +@media (max-width: 768px) { + body { + padding: 50px; /* Add padding only for mobile */ + } +} + .main_wrapper { display: flex; align-items: center; @@ -28,7 +35,7 @@ body { align-items: center; justify-content: center; margin-top: 5em; -} +} .antenna { width: 5em; diff --git a/Components/Forms/Slide-Login-Register-Form/style.css b/Components/Forms/Slide-Login-Register-Form/style.css index 625ea5b7..9b15edc7 100644 --- a/Components/Forms/Slide-Login-Register-Form/style.css +++ b/Components/Forms/Slide-Login-Register-Form/style.css @@ -1,3 +1,18 @@ +*{ + margin: 0; + padding: 0; + box-sizing: border-box; +} + +body{ + width: 100%; + height: 100vh; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; +} + .theme-switch { --toggle-size: 15px; --container-width: 5.625em; @@ -18,6 +33,9 @@ --circle-transition: .3s cubic-bezier(0, -0.02, 0.35, 1.17); display: flex; justify-content: right; + position: absolute !important; + right: 0px; + top: 0px; } .theme-switch, @@ -219,14 +237,13 @@ } .main { - position: relative; - left: 600px; + max-height: 470px; + width: 350px; + overflow: hidden; + border: 2px solid blue; display: flex; flex-direction: column; background-color: #240046; - max-height: 500px; - max-width: 350px; - overflow: hidden; border-radius: 12px; box-shadow: 7px 7px 10px 3px #24004628; }