1 | body {
|
---|
2 | margin: 0;
|
---|
3 | padding: 0;
|
---|
4 | font-family: Arial, sans-serif;
|
---|
5 | background-image: url('/Images/library.jpg');
|
---|
6 | background-size: cover;
|
---|
7 | background-position: center;
|
---|
8 | background-repeat: no-repeat;
|
---|
9 | color: #333;
|
---|
10 | }
|
---|
11 |
|
---|
12 | .container {
|
---|
13 | display: flex;
|
---|
14 | flex-direction: column;
|
---|
15 | justify-content: center;
|
---|
16 | align-items: center;
|
---|
17 | height: 100vh;
|
---|
18 | }
|
---|
19 |
|
---|
20 | header {
|
---|
21 | text-align: center;
|
---|
22 | margin-bottom: 20px;
|
---|
23 | font-size: 2.5em;
|
---|
24 | color: #fff;
|
---|
25 | text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
|
---|
26 | }
|
---|
27 |
|
---|
28 | .divider {
|
---|
29 | display: flex;
|
---|
30 | justify-content: space-between;
|
---|
31 | width: 80%;
|
---|
32 | max-width: 900px;
|
---|
33 | background-color: rgba(255, 255, 255, 0.9);
|
---|
34 | border-radius: 8px;
|
---|
35 | box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
|
---|
36 | padding: 20px;
|
---|
37 | }
|
---|
38 |
|
---|
39 | .section {
|
---|
40 | flex: 1;
|
---|
41 | text-align: center;
|
---|
42 | }
|
---|
43 |
|
---|
44 | .section h2 {
|
---|
45 | font-size: 1.8em;
|
---|
46 | margin-bottom: 15px;
|
---|
47 | }
|
---|
48 |
|
---|
49 | .inputfield {
|
---|
50 | position: relative;
|
---|
51 | }
|
---|
52 |
|
---|
53 | .inputfield input {
|
---|
54 | width: 275px;
|
---|
55 | padding: 10px 20px 10px 20px;
|
---|
56 | border: 1px solid rgb(207, 207, 207);
|
---|
57 | outline: none;
|
---|
58 | font-size: 1.25em;
|
---|
59 | border-radius: 6px;
|
---|
60 | line-height: 35px;
|
---|
61 | }
|
---|
62 |
|
---|
63 | .inputfield span {
|
---|
64 | position: absolute;
|
---|
65 | top: 50%;
|
---|
66 | transform: translateY(-50%);
|
---|
67 | left: 0;
|
---|
68 | padding: 10px;
|
---|
69 | pointer-events: none;
|
---|
70 | font-size: 1.25em;
|
---|
71 | color: rgb(170, 170, 170);
|
---|
72 | transition: 0.35s;
|
---|
73 | margin-left: 10px;
|
---|
74 | border-radius: 6px;
|
---|
75 | }
|
---|
76 |
|
---|
77 | .inputfield input:valid ~ span,
|
---|
78 | .inputfield input:focus ~ span {
|
---|
79 | top: 0;
|
---|
80 | color: rgb(76, 194, 95);
|
---|
81 | transform: translateY(-10px);
|
---|
82 | font-size: 1.19em;
|
---|
83 | padding: 0px 10px;
|
---|
84 | background: rgb(255, 255, 255);
|
---|
85 | }
|
---|
86 |
|
---|
87 | .inputfield input:focus {
|
---|
88 | border-color: rgb(76, 194, 95);
|
---|
89 | }
|
---|
90 |
|
---|
91 | button {
|
---|
92 | padding: 10px 20px;
|
---|
93 | background-color: rgb(127, 221, 238);
|
---|
94 | color: white;
|
---|
95 | border: none;
|
---|
96 | border-radius: 6px;
|
---|
97 | cursor: pointer;
|
---|
98 | font-size: 1.25em;
|
---|
99 | width: 315px;
|
---|
100 | height: 50px;
|
---|
101 | margin-bottom: 20px;
|
---|
102 | transition: 0.2s;
|
---|
103 | }
|
---|
104 |
|
---|
105 | button:hover {
|
---|
106 | background-color: rgb(39, 69, 241);
|
---|
107 | }
|
---|
108 |
|
---|
109 | p {
|
---|
110 | text-align: center;
|
---|
111 | font-size: 17px;
|
---|
112 | }
|
---|
113 |
|
---|
114 | a {
|
---|
115 | color: green;
|
---|
116 | text-decoration: none;
|
---|
117 | }
|
---|
118 |
|
---|
119 | form {
|
---|
120 | display: flex;
|
---|
121 | flex-direction: column;
|
---|
122 | align-items: center;
|
---|
123 | gap: 19px;
|
---|
124 | }
|
---|
125 |
|
---|
126 | .line {
|
---|
127 | width: 1px;
|
---|
128 | background-color: #ccc;
|
---|
129 | margin: 0 10px;
|
---|
130 | }
|
---|