|
1 | | -nav { |
2 | | - ul { |
| 1 | +.meetup__default { |
| 2 | + display: flex; |
| 3 | + flex-direction: column; |
| 4 | + font: 1rem 'Syncopate', sans-serif; |
| 5 | + width: 100%; |
| 6 | + |
| 7 | + > div { |
3 | 8 | display: flex; |
4 | | - height: 5rem; |
5 | | - color: #2E2E2E; |
6 | | - font-size: 1.5rem; |
7 | | - font-family: 'Syncopate', sans-serif; |
8 | | - border: 4px solid #2E2E2E; |
9 | | - box-sizing: border-box; |
10 | | - |
11 | | - li { |
12 | | - border-right: 4px solid #2E2E2E; |
13 | | - height: 100%; |
14 | | - justify-content: center; |
| 9 | + width: 100%; |
| 10 | + |
| 11 | + &:first-child { |
| 12 | + background: #3967D1; |
15 | 13 | align-items: center; |
16 | | - display: flex; |
17 | | - background: #fff; |
18 | | - box-sizing: border-box; |
| 14 | + position: relative; |
19 | 15 |
|
20 | | - &:first-child { flex: 3; background: #F6EEEC; a:hover { background-color: inherit; } } |
21 | | - &:nth-child(2) { background: #F6EEEC; flex: 10; } |
22 | | - &:nth-child(n+3):not(:last-child) { flex: 6 } |
23 | | - &:nth-last-child(2) { border: 0; } |
24 | | - &:last-child { display: none; } |
| 16 | + h1 { |
| 17 | + color: #fcc24e; |
| 18 | + font: 700 6rem/1 'Syncopate', sans-serif; |
| 19 | + margin-left: 52px; |
| 20 | + padding: 50px 0; |
| 21 | + width: 55%; |
25 | 22 |
|
26 | | - img { |
27 | | - width: 35px; |
| 23 | + @media (max-width: 992px) { |
| 24 | + font-size: 75px; |
| 25 | + } |
| 26 | + |
| 27 | + @media (max-width: 768px) { |
| 28 | + font-size: 2rem; |
| 29 | + margin: 0; |
| 30 | + padding: 36px 0; |
| 31 | + width: 85%; |
| 32 | + } |
28 | 33 | } |
29 | 34 |
|
30 | | - a { |
31 | | - align-items: center; |
32 | | - color: inherit; |
33 | | - display: flex; |
34 | | - height: 100%; |
35 | | - justify-content: center; |
36 | | - text-decoration: none; |
37 | | - width: 100%; |
| 35 | + img { |
| 36 | + position: absolute; |
| 37 | + right: 15%; |
| 38 | + width: 350px; |
| 39 | + z-index: 1; |
| 40 | + |
| 41 | + @media (max-width: 1300px) { |
| 42 | + top: 68%; |
| 43 | + width: 430px; |
| 44 | + right: 15%; |
| 45 | + } |
38 | 46 |
|
39 | | - &:hover { |
40 | | - background-color: rgba(57, 126, 120, 0.5); |
| 47 | + @media (max-width: 992px) { |
| 48 | + top: 75%; |
| 49 | + width: 330px; |
| 50 | + right: 10%; |
| 51 | + } |
| 52 | + |
| 53 | + @media (max-width: 768px) { |
| 54 | + position: relative; |
| 55 | + left: -25%; |
| 56 | + padding: 15px; |
41 | 57 | } |
42 | 58 | } |
43 | 59 |
|
44 | | - button { |
45 | | - background: transparent; |
46 | | - width: 100%; |
47 | | - height: 100%; |
48 | | - border: 0; |
| 60 | + @media (max-width: 768px) { |
| 61 | + justify-content: center; |
49 | 62 | } |
50 | 63 | } |
51 | 64 |
|
52 | | - @media (max-width: 712px) { |
53 | | - li { |
54 | | - &:nth-child(n+3):not(:last-child) { |
55 | | - position: absolute; |
56 | | - height: 4rem; |
57 | | - width: 100%; |
58 | | - border-left: 4px solid #2E2E2E; |
59 | | - border-right: 4px solid #2E2E2E; |
60 | | - left: 0; |
61 | | - display: none; |
62 | | - z-index: 10; |
63 | | - } |
| 65 | + &:last-child { |
| 66 | + flex-direction: row; |
| 67 | + |
| 68 | + div { |
| 69 | + align-items: center; |
| 70 | + border: 4px solid #2E2E2E; |
| 71 | + display: flex; |
| 72 | + flex-wrap: wrap; |
| 73 | + flex-basis: 50%; |
| 74 | + padding: 96px 0; |
| 75 | + |
| 76 | + &:first-child { |
| 77 | + border-left-width: 0; |
| 78 | + background-color: #F6EEEC; |
| 79 | + justify-content: flex-start; |
| 80 | + |
| 81 | + h2 { |
| 82 | + color: #3967D1; |
| 83 | + font: 900 4rem/1 'Syncopate', sans-serif; |
| 84 | + margin-left: 52px; |
| 85 | + width: 35%; |
| 86 | + |
| 87 | + @media (max-width: 992px) { |
| 88 | + font-size: 2.5rem; |
| 89 | + margin-left: 26px; |
| 90 | + } |
64 | 91 |
|
65 | | - &:nth-last-child(2) { |
66 | | - border-bottom: 4px solid #2E2E2E; |
| 92 | + @media (max-width: 768px) { |
| 93 | + font-size: 1.5rem; |
| 94 | + } |
| 95 | + } |
| 96 | + |
| 97 | + @media (max-width: 768px) { |
| 98 | + width: 100%; |
| 99 | + padding: 30px 0; |
| 100 | + } |
67 | 101 | } |
68 | 102 |
|
69 | 103 | &:last-child { |
70 | | - display: flex; |
71 | | - border: 0; |
72 | | - flex: 2; |
73 | | - background: #F6EEEC; |
74 | | - } |
75 | | - } |
| 104 | + background: rgb(57, 126, 120); |
| 105 | + border-width: 4px 0; |
| 106 | + justify-content: flex-start; |
| 107 | + padding: 4rem 2rem; |
| 108 | + gap: 1rem; |
| 109 | + |
| 110 | + @media (max-width: 992px) { |
| 111 | + justify-content: space-around; |
| 112 | + padding: 2rem 1rem; |
| 113 | + gap: 0; |
| 114 | + } |
| 115 | + |
| 116 | + a { |
| 117 | + align-items: center; |
| 118 | + border: 3.3px solid #FFF; |
| 119 | + border-radius: 59.396px; |
| 120 | + color: #fff; |
| 121 | + display: inline-flex; |
| 122 | + font-weight: 900; |
| 123 | + padding: 0.75rem 1.5rem; |
| 124 | + text-decoration: none; |
| 125 | + min-width: 9rem; |
| 126 | + justify-content: space-between; |
| 127 | + |
| 128 | + &:hover { |
| 129 | + background-color: rgba(0,0,0,0.5); |
| 130 | + } |
| 131 | + |
| 132 | + @media (max-width: 992px) { |
| 133 | + font-size: 14px; |
| 134 | + margin-top: 12px; |
| 135 | + } |
76 | 136 |
|
77 | | - @for $i from 3 through 5 { |
78 | | - li:nth-child(#{$i}) { |
79 | | - top: calc(5rem + if($i == 3, 5rem, 4rem) * ($i - 3)); |
| 137 | + img { |
| 138 | + width: 2rem; |
| 139 | + padding-left: 0.5rem; |
| 140 | + } |
| 141 | + } |
80 | 142 | } |
81 | 143 | } |
82 | 144 | } |
|
0 commit comments