diff --git a/public/css/add-Hall-of-Fame.css b/public/css/add-Hall-of-Fame.css index 93ec3c3729fb8cb497c538e34c7cc578f3f45d71..dfcb875570f74f3eaad840671bf46dd51ab0fbc1 100644 --- a/public/css/add-Hall-of-Fame.css +++ b/public/css/add-Hall-of-Fame.css @@ -1,25 +1,34 @@ body { - background-color: white; + background-image: url('../img/basic-wallpaper5.jpeg'); + text-align: center; + font-family: Arial, sans-serif; + background-size: cover; + background-repeat: no-repeat; + background-attachment: fixed; + background-position: center center; +} + +.back { + background-color: #007BFF; + color: #fff; + border: none; + padding: 10px 20px; + border-radius: 3px; + font-size: 18px; + cursor: pointer; + margin-top: 21px; } #form { font-family: Arial, sans-serif; - padding: 0; display: flex; - justify-content: center; + justify-content: center; align-items: center; - margin-bottom: 20px; - max-width: 40%; - margin-left: 400px; - -} - -.center-content { - background-color: #ffffff; + margin: 50px auto 20px auto; + max-width: 80%; padding: 20px; - border-radius: 5px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); - text-align: center; + border-radius: 5px; } h1 { @@ -28,13 +37,18 @@ h1 { .form-grid { display: grid; - grid-template-columns: repeat(2, 1fr); - gap: 40px; + grid-template-columns: 1fr; + gap: 20px; } +.form-group { + margin-right: 10px; +} + + label { display: block; - margin-bottom: 5px; + margin-bottom: 10px; font-weight: bold; color: #007BFF; } @@ -44,13 +58,12 @@ input[type="email"], input[type="password"], input[type="checkbox"] { width: 100%; - max-width: 300px; padding: 8px; border: 3px solid #ccc; border-radius: 3px; font-size: 16px; color: #333; - margin-bottom: 8px; + margin-bottom: 15px; } input[type="submit"] { @@ -68,3 +81,18 @@ input[type="submit"] { margin-bottom: 20px; text-align: center; } + + +@media (min-width: 768px) { + #form { + max-width: 40%; + margin-left: 400px; + margin-top: 50px; + } + + .form-grid { + grid-template-columns: repeat(2, 1fr); + + + } +}