|
1 | | -.App { |
2 | | - text-align: center; |
| 1 | +.main { |
| 2 | + display: flex; |
| 3 | + flex-direction: column; |
| 4 | + justify-content: center; |
| 5 | + height: 100vh; |
| 6 | + align-items: center; |
3 | 7 | } |
4 | 8 |
|
5 | | -.App-logo { |
6 | | - height: 40vmin; |
7 | | - pointer-events: none; |
| 9 | +.main__logo { |
| 10 | + max-width: 15rem; |
| 11 | + margin-bottom: 5rem; |
8 | 12 | } |
9 | 13 |
|
10 | | -@media (prefers-reduced-motion: no-preference) { |
11 | | - .App-logo { |
12 | | - animation: App-logo-spin infinite 20s linear; |
13 | | - } |
| 14 | +.main__heading { |
| 15 | + font-size: 45px; |
| 16 | + margin-top: 2rem; |
| 17 | + font-weight: 700; |
| 18 | + margin-bottom: 20px; |
| 19 | + color: white; |
14 | 20 | } |
15 | 21 |
|
16 | | -.App-header { |
17 | | - background-color: #282c34; |
18 | | - min-height: 100vh; |
19 | | - display: flex; |
20 | | - flex-direction: column; |
21 | | - align-items: center; |
22 | | - justify-content: center; |
23 | | - font-size: calc(10px + 2vmin); |
| 22 | +.main__text { |
| 23 | + text-align: center; |
| 24 | + max-width: 40rem; |
| 25 | + color: #529dad; |
| 26 | + font-style: italic; |
| 27 | + line-height: 1.5; |
| 28 | + font-weight: 400; |
| 29 | + font-size: 22px; |
| 30 | +} |
| 31 | + |
| 32 | +.main__link { |
| 33 | + text-decoration: none; |
| 34 | + font-size: 22px; |
| 35 | + font-weight: 600; |
| 36 | + margin-top: 2rem; |
| 37 | + color: white; |
| 38 | +} |
| 39 | + |
| 40 | +.main__input { |
| 41 | + font: inherit; |
24 | 42 | color: white; |
| 43 | + width: 40rem; |
| 44 | + border: 1px solid white; |
| 45 | + height: 1.1876em; |
| 46 | + margin: 2.5rem 0; |
| 47 | + display: block; |
| 48 | + padding: 1rem; |
| 49 | + min-width: 0; |
| 50 | + background: none; |
| 51 | + box-sizing: content-box; |
| 52 | + letter-spacing: inherit; |
| 53 | + animation-duration: 10ms; |
| 54 | + -webkit-tap-highlight-color: transparent; |
25 | 55 | } |
26 | 56 |
|
27 | | -.App-link { |
28 | | - color: #61dafb; |
| 57 | +.main__btn { |
| 58 | + font-size: 0.875rem; |
| 59 | + color: #60c093; |
| 60 | + border: 1px solid #529dad; |
| 61 | + padding: 5px 15px; |
| 62 | + font-weight: 500; |
| 63 | + line-height: 1.75; |
| 64 | + min-width: 64px; |
| 65 | + cursor: pointer; |
| 66 | + border-radius: 4px; |
| 67 | + text-transform: uppercase; |
| 68 | + background-color: transparent; |
| 69 | + transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, |
| 70 | + box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, |
| 71 | + border 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; |
29 | 72 | } |
30 | 73 |
|
31 | | -@keyframes App-logo-spin { |
32 | | - from { |
33 | | - transform: rotate(0deg); |
34 | | - } |
35 | | - to { |
36 | | - transform: rotate(360deg); |
37 | | - } |
| 74 | +.main__btn:hover { |
| 75 | + color: #ffffff; |
| 76 | + border: solid 1px #529dad; |
| 77 | + background-color: #60c093; |
38 | 78 | } |
0 commit comments