diff --git a/.vscode/settings.json b/.vscode/settings.json index 155422b0..0361472b 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,3 +1,4 @@ { - "liveServer.settings.port": 5503 + "livePreview.defaultPreviewPath": "/login/login.html", + "liveServer.settings.port": 5501 } \ No newline at end of file diff --git a/login/1.jpg b/login/1.jpg new file mode 100644 index 00000000..88690af6 Binary files /dev/null and b/login/1.jpg differ diff --git a/login/login.css b/login/login.css index 9ee3c0a0..9a80549a 100644 --- a/login/login.css +++ b/login/login.css @@ -1,517 +1,280 @@ -* { - box-sizing: border-box; - margin: 0; - padding: 0; -} -/*to change bg image use here*/ -body { - background: url("https://images.pexels.com/photos/7135057/pexels-photo-7135057.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2") - no-repeat center center fixed; - background-size: cover; - font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", - "Lucida Sans", Arial, sans-serif; - display: flex; - justify-content: center; - align-items: center; - height: 100vh; - color: white; - text-shadow: 1px 1px 2px #000; -} -.login-container { - backdrop-filter: blur(10px); - opacity: 0.85; - background-color: rgba(0, 0, 0, 0); - padding: 2rem; - border-radius: 20px; - box-shadow: 0 0px 0px rgba(0, 0, 0, 0.5); - text-align: center; - max-width: 40px; - width: 100%; - animation: fadeIn 2s ease-in-out; -} - -@keyframes fadeIn { - from { - opacity: 0; - transform: scale(0.9); - } - to { - opacity: 0.75; - transform: scale(10); - } -} - -h1 { - margin-bottom: 2rem; - font-size: 1.5rem; - color: #fb5283; -} - -.input-group { - margin-bottom: 1.5rem; - text-align: left; -} - -label { - display: block; - margin-bottom: 0.5rem; - font-size: 16px; -} - -input[type="text"], -input[type="password"] { - width: 100%; - padding: 0.75rem; - border: 2px solid #6a1b9a; - border-radius: 5px; - background-color: #3a3f44; - color: white; - font-family: "Press Start 2P", cursive; - font-size: 0.875rem; -} - -input[type="text"]:focus, -input[type="password"]:focus { - outline: none; - border-color: #ba68c8; - background-color: #2a2e32; -} +/* Import Fonts */ +@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500&family=Roboto:wght@400&display=swap'); +/* General Reset */ * { - box-sizing: border-box; - margin: 0; - padding: 0; -} -/* and here for bg image*/ -body { - background: url("https://images.pexels.com/photos/7135057/pexels-photo-7135057.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2") - no-repeat center center fixed; - background-size: cover; - font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", - "Lucida Sans", Arial, sans-serif; - display: flex; - justify-content: center; - align-items: center; - height: 100vh; - color: white; - text-shadow: 1px 1px 2px #000; -} - -.login-container { - background-color: rgba(0, 0, 0, 0.8); - padding: 5rem; - border-radius: 20px; - box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5); - text-align: center; - max-width: 500px; - width: 100%; - animation: fadeIn 1.5s ease-in-out; -} - -@keyframes fadeIn { - from { - opacity: 0; - transform: scale(0.9); - } - to { - opacity: 0.75; - transform: scale(1); - } -} - -h1 { - margin-bottom: 2rem; - font-size: 1.5rem; - color: #fb5283; -} - -.input-group { - margin-bottom: 1.5rem; - text-align: left; -} - -label { - display: block; - margin-bottom: 0.5rem; - font-size: 16px; -} - -input[type="text"], -input[type="password"] { - width: 100%; - padding: 0.75rem; - border: 2px solid #6a1b9a; - border-radius: 5px; - background-color: #3a3f44; - color: white; - font-family: "Press Start 2P", cursive; - font-size: 0.875rem; -} - -input[type="text"]:focus, -input[type="password"]:focus { - outline: none; - border-color: #ba68c8; - background-color: #2a2e32; + margin: 0; + padding: 0; + box-sizing: border-box; } body { - text-align: center; - background-color: #ffcc8e; -} - -.button { - position: relative; - display: inline-block; - margin: 15px; -} -/*login button*/ -.button a { - color: white; - font-family: Helvetica, sans-serif; - font-weight: bold; - font-size: 20px; - text-align: center; - text-decoration: none; - background-color: #ffa12b; - display: block; - position: relative; - padding: 15px 50px; - - -webkit-tap-highlight-color: rgba(0, 0, 0, 0); - text-shadow: 0px 1px 0px #000; - filter: dropshadow(color=#000, offx=0px, offy=1px); - - -webkit-box-shadow: inset 0 1px 0 #ffe5c4, 0 10px 0 #915100; - -moz-box-shadow: inset 0 1px 0 #ffe5c4, 0 10px 0 #915100; - box-shadow: inset 0 1px 0 #ffe5c4, 0 10px 0 #915100; - - -webkit-border-radius: 5px; - -moz-border-radius: 5px; - border-radius: 5px; -} - -.button a:active { - top: 10px; - background-color: #f78900; - - -webkit-box-shadow: inset 0 1px 0 #ffe5c4, inset 0 -3px 0 #915100; - -moz-box-shadow: inset 0 1px 0 #ffe5c4, inset 0 -3pxpx 0 #915100; - box-shadow: inset 0 1px 0 #ffe5c4, inset 0 -3px 0 #915100; -} - -.button:after { - content: ""; - height: 100%; - width: 100%; - padding: 4px; - position: absolute; - bottom: -15px; - left: -4px; - z-index: -1; - background-color: #2b1800; - -webkit-border-radius: 5px; - -moz-border-radius: 5px; - border-radius: 5px; -} -.links { - margin-top: 18px; - display: flex; - justify-content: space-between; + font-family: 'Roboto', sans-serif; + background: url('1.jpg') no-repeat center center/cover; + color: #fff; + display: flex; + justify-content: center; + align-items: center; + height: 100vh; + background-size: cover; } -.links a { - color: #fb5283; - text-decoration: none; - transition: color 0.3s; - font-size: 18px; - flex: 1; - text-align: center; +/* Container */ +.login-container { + display: flex; + justify-content: center; + align-items: center; + height: 100%; + width: 100%; } -.links a:first-child { - font-size: 15px; +/* Login Box */ +.login-box { + background: rgba(42, 18, 75, 0.85); + padding: 40px; + border-radius: 10px; + box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5); + text-align: center; + width: 100%; + max-width: 400px; + border: 1px solid #0077b6; } -.links a:first-child:hover { - text-decoration: underline; +/* Title */ +.login-title { + font-family: 'Orbitron', sans-serif; + font-size: 32px; + color: #00b4d8; + margin-bottom: 10px; + text-transform: uppercase; } -.links a:not(:last-child) { - margin-right: 20px; -} -.hal::after { - content: ""; - position: absolute; - width: 100%; - height: 2px; - bottom: 0; - left: 0; - background-color: white; - transform-origin: bottom left; - transition: transform 0.25s ease-out; - transform: scaleX(0); -} -.hal2::after { - content: ""; - position: absolute; - width: 100%; - height: 2px; - bottom: 0; - left: 0; - background-color: white; - transform-origin: bottom right; - transition: transform 0.25s ease-out; - transform: scaleX(0); -} -.hal:hover::after { - transform: scaleX(0.6); -} -.hal2:hover::after { - transform: scaleX(0.6); +.subtitle { + font-size: 16px; + color: #fff; + margin-bottom: 30px; } -.links a:hover { - color: #ff80ab; +/* Input Group */ +.input-group { + text-align: left; + margin-bottom: 20px; } -.links { - margin-top: 18px; - display: flex; - justify-content: space-between; +.input-group label { + font-size: 14px; + margin-bottom: 15px; + display: block; + text-align: left; } -.links a { - color: #fb5283; - text-decoration: none; - transition: color 0.3s; - font-size: 18px; - flex: 1; - text-align: center; +.input-group input { + width: 100%; + padding: 12px; + border: none; + border-radius: 5px; + background: #1c1c1c; + color: #fff; + font-size: 16px; + outline: none; + transition: all 0.3s ease-in-out; } -.links a:first-child { - font-size: 15px; +.input-group input:focus { + box-shadow: 0 0 10px 2px #00b4d8; } -.links a:first-child:hover { - text-decoration: underline; +/* Login Button */ +.login-button { + width: 100%; + padding: 15px; + font-size: 16px; + font-family: 'Orbitron', sans-serif; + background: linear-gradient(45deg, #00b4d8, #0077b6); + border: none; + border-radius: 5px; + color: #fff; + cursor: pointer; + transition: 0.3s; + margin-bottom: 20px; } -.links a:not(:last-child) { - margin-right: 20px; +.login-button:hover { + background: linear-gradient(45deg, #0077b6, #00b4d8); + transform: scale(1.05); } -.links a:hover { - color: #ff80ab; +/* Social Login */ +.social-login p { + margin-bottom: 10px; + color: #fff; + font-size: 14px; } -.linksHome { - position: absolute; - top: 20px; - left: 20px; - cursor: pointer; - padding: 10px; - font-size: large; - text-decoration: none; - border-radius: 15px; - border: none; - background: linear-gradient( - 0deg, - rgba(255, 193, 219, 1) 0%, - rgba(245, 131, 202, 1) 100% - ); - color: #fff; - overflow: hidden; +.social-login { + display: flex; + flex-direction: column; + gap: 10px; } -.linksHome:hover { - text-decoration: none; - background: linear-gradient( - 0deg, - rgba(245, 131, 202, 1) 0%, - rgba(255, 193, 219, 1) 100% - ); - color: #fff; +.social-button { + width: 100%; + padding: 10px; + font-family: 'Roboto', sans-serif; + font-size: 14px; + border: none; + border-radius: 5px; + cursor: pointer; + transition: all 0.3s ease; } -.linksHome:before { - position: absolute; - content: ""; - display: inline-block; - top: -180px; - left: 0; - width: 30px; - height: 100%; - background-color: rgba(255, 255, 255, 0.3); - animation: shiny-btn1 3s ease-in-out infinite; +.google { + background-color: #171a21; + color: #fff; } -.linksHome:active { - box-shadow: 4px 4px 6px 0 rgba(255, 193, 219, 0.3), - -4px -4px 6px 0 rgba(245, 131, 202, 0.3), - inset -4px -4px 6px 0 rgba(255, 193, 219, 0.3), - inset 4px 4px 6px 0 rgba(245, 131, 202, 0.3); +.google:hover { + background-color: #cccccc; + color: black; } - -@keyframes shiny-btn1 { - 0% { - transform: scale(0) rotate(45deg); - opacity: 0; +.footer { + position: absolute; + top:100%; + width: 100%; + background: #000000; + min-height: 100px; + padding: 20px 50px; + display: flex; + justify-content: center; + align-items: center; + flex-direction: column; } - 80% { - transform: scale(0) rotate(45deg); - opacity: 0.5; + +.social-icon, + .menu { + position: relative; + display: flex; + justify-content: center; + align-items: center; + margin: 10px 0; + flex-wrap: wrap; + } + + .social-icon__item, + .menu__item { + list-style: none; + } + + .social-icon__link { + font-size: 2rem; + color: #fff; + margin: 0 10px; + display: inline-block; + transition: 0.5s; + } + .social-icon__link:hover { + transform: translateY(-10px); } - 81% { - transform: scale(4) rotate(45deg); + + .menu__link { + font-size: 1.2rem; + color: #fff; + margin: 0 10px; + display: inline-block; + transition: 0.5s; + text-decoration: none; + opacity: 0.75; + font-weight: 300; + } + + .menu__link:hover { opacity: 1; } - 100% { - transform: scale(50) rotate(45deg); - opacity: 0; + + .footer p { + color: #fff; + margin: 15px 0 10px 0; + font-size: 14px; + font-weight: 300; } -} -.linksHome a { - color: #ffe4e9; + .links { + position: relative; /* Position relative for absolute positioning of links */ + margin-top: 5px; /* Space above the links */ + margin-bottom: 10px; /* Space below the links */ + height: 50px; /* Height for the container (adjust as needed) */ } -a { - text-decoration: none; -} - - - - - -@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800;900&display=swap"); - -* { - margin: 0; - padding: 0; - box-sizing: border-box; - font-family: "Poppins", sans-serif; -} -.footer { - position: absolute; - top:100%; - width: 100%; - background: #3586ff; - min-height: 100px; - padding: 20px 50px; - display: flex; - justify-content: center; - align-items: center; - flex-direction: column; -} - -.social-icon, -.menu { - position: relative; - display: flex; - justify-content: center; - align-items: center; - margin: 10px 0; - flex-wrap: wrap; -} - -.social-icon__item, -.menu__item { - list-style: none; -} - -.social-icon__link { - font-size: 2rem; - color: #fff; - margin: 0 10px; - display: inline-block; - transition: 0.5s; -} -.social-icon__link:hover { - transform: translateY(-10px); -} - -.menu__link { - font-size: 1.2rem; - color: #fff; - margin: 0 10px; - display: inline-block; - transition: 0.5s; - text-decoration: none; - opacity: 0.75; - font-weight: 300; +.links a { + color: #fb5283; /* Default link color */ + text-decoration: none; /* No underline */ + transition: color 0.3s; /* Smooth color transition */ + font-size: 18px; /* Font size */ + padding: 20px 20px; /* Padding for better button-like appearance */ + border-radius: 5px; /* Rounded corners */ + position: absolute; /* Position absolutely within the container */ } -.menu__link:hover { - opacity: 1; +/* Position the Forgot Password link to the bottom left */ +.hal { + bottom: 0; /* Align to the bottom */ + left: 0; /* Align to the left */ } -.footer p { - color: #fff; - margin: 15px 0 10px 0; - font-size: 1rem; - font-weight: 300; +/* Position the Sign Up link to the bottom right */ +.hal2 { + bottom: 0; /* Align to the bottom */ + right: 0; /* Align to the right */ } -.wave { - position: absolute; - top: -100px; - left: 0; - width: 100%; - height: 100px; - background: url("https://i.ibb.co/wQZVxxk/wave.png"); - background-size: 1000px 100px; +/* Add hover effects */ +.hal:hover, .hal2:hover { + color: #ff80ab; /* Change color on hover */ } -.wave#wave1 { - z-index: 1000; - opacity: 1; - bottom: 0; - animation: animateWaves 4s linear infinite; +.hal::after, .hal2::after { + content: ""; /* For decorative underline */ + position: absolute; /* Position absolutely */ + width: 100%; /* Full width */ + height: 2px; /* Height of underline */ + bottom: 0; /* Position at bottom */ + left: 0; /* Align to left */ + background-color: white; /* Color of underline */ + transform-origin: center; /* Transform origin for scaling */ + transition: transform 0.25s ease-out; /* Smooth transition */ + transform: scaleX(0); /* Initial scale */ } -.wave#wave2 { - z-index: 999; - opacity: 0.5; - bottom: 10px; - animation: animate 4s linear infinite !important; +/* Scale the underline on hover */ +.hal:hover::after { + transform: scaleX(1.5); /* Scale to full width */ } -.wave#wave3 { - z-index: 1000; - opacity: 0.2; - bottom: 15px; - animation: animateWaves 3s linear infinite; +.hal2:hover::after { + transform: scaleX(1.3); /* Scale to full width */ } -.wave#wave4 { - z-index: 999; - opacity: 0.7; - bottom: 20px; - animation: animate 3s linear infinite; +.password-container { + position: relative; + display: inline-block; + width: 100%; /* Ensure full width */ } - -@keyframes animateWaves { - 0% { - background-position-x: 1000px; - } - 100% { - background-positon-x: 0px; - } +.toggle-password { + position: absolute; + right: 8px; + top: 55%; + transform: translateY(-50%); + cursor: pointer; + width: 20px; /* Adjust as needed */ + height: 20px; /* Adjust as needed */ + margin-top: 13px; + color: white; } - -@keyframes animate { - 0% { - background-position-x: -1000px; - } - 100% { - background-positon-x: 0px; - } +/* Optional: Ensure the input takes full width */ +.password-container input { + width: calc(100% - 0px); /* Adjust for icon size */ } ::placeholder { - color: white; -} - - + color: grey; + } \ No newline at end of file diff --git a/login/login.html b/login/login.html index b891d785..67d1ca95 100644 --- a/login/login.html +++ b/login/login.html @@ -1,74 +1,59 @@ + - Collect your GamingTools - + Collect Your Gaming Tools - Login - + + +
←Back
-

Login to Your Account

-
-
- - -
-
- - - Toggle Password -
-
-
- Login + - -
-
-
-
-
-
-
-

©2024 Collect your Gaming Tools | All Rights Reserved

- - +