Unknown | e3ebd89 | 2018-10-13 05:35:38 -0400 | [diff] [blame] | 1 | /* -------------------------------- |
| 2 | |
| 3 | Main Components |
| 4 | Source: https://codepen.io/elorenn/pen/qXzXPv |
| 5 | |
| 6 | -------------------------------- */ |
Unknown | 286d294 | 2018-10-13 12:34:42 -0400 | [diff] [blame] | 7 | .bsection { |
Unknown | e3ebd89 | 2018-10-13 05:35:38 -0400 | [diff] [blame] | 8 | position: relative; |
| 9 | display: flex; |
| 10 | flex-direction: column; |
| 11 | justify-content: center; |
| 12 | align-items: center; |
| 13 | min-width: 1em; |
| 14 | overflow: scroll; |
| 15 | flex-wrap: wrap; |
| 16 | flex-basis: 50%; |
| 17 | } |
Unknown | 286d294 | 2018-10-13 12:34:42 -0400 | [diff] [blame] | 18 | .bsection:first-of-type { |
Unknown | e3ebd89 | 2018-10-13 05:35:38 -0400 | [diff] [blame] | 19 | border-right: 2px solid #fff; |
| 20 | } |
| 21 | |
| 22 | .badge { |
| 23 | cursor: help; |
| 24 | background: #e7cc9c; |
| 25 | height: 33%; |
| 26 | width: 33%; |
| 27 | min-width: 30%; |
| 28 | border-radius: 50%; |
| 29 | display: flex; |
| 30 | justify-content: center; |
| 31 | align-items: center; |
| 32 | position: relative; |
| 33 | -webkit-filter: drop-shadow(0px 0px 0px rgba(0, 0, 0, 0)); |
| 34 | filter: drop-shadow(0px 0px 0px rgba(0, 0, 0, 0)); |
| 35 | transition: 150ms linear; |
| 36 | } |
| 37 | .badge:hover { |
| 38 | -webkit-transform: translateY(-2px); |
| 39 | transform: translateY(-2px); |
| 40 | -webkit-filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, 0.15)); |
| 41 | filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, 0.15)); |
| 42 | } |
| 43 | .badge:active:after { |
| 44 | content: 'Prost!'; |
| 45 | position: absolute; |
| 46 | color: #fff; |
| 47 | font-family: sans-serif; |
| 48 | text-transform: uppercase; |
| 49 | font-weight: bold; |
| 50 | font-size: 3em; |
| 51 | letter-spacing: .1em; |
| 52 | top: -25%; |
| 53 | } |
| 54 | .badge.anim { |
| 55 | height: 33%; |
| 56 | width: 33%; |
| 57 | } |
| 58 | .badge.anim:active:after { |
| 59 | content: 'cheers!'; |
| 60 | } |
| 61 | |
| 62 | .beer-single-div { |
| 63 | position: relative; |
| 64 | height: 150px; |
| 65 | width: 112.5px; |
| 66 | min-width: 112.5px; |
| 67 | margin-top: 30px; |
| 68 | background-image: radial-gradient(97.5px 22.5px at 50% 103%, #f1ecdb 40%, transparent 40%), radial-gradient(6px 9px at 15% 67%, #ffe799 80%, transparent 83%), radial-gradient(6px 9px at 15% 18%, #ffe799 80%, transparent 83%), radial-gradient(9px 9px at 25% 85%, #ffda66 80%, transparent 80%), radial-gradient(25.5px 45px at 15% 90%, #ffc200 70%, transparent 70%), radial-gradient(25.5px 25.5px at 15% 5%, #ffc200 70%, transparent 70%), linear-gradient(to right, transparent 0%, transparent 10%, #ffe799 10%, #ffe799 20%, transparent 20%), radial-gradient(6px 6px at 70% 45%, #fecf75 80%, transparent 80%), radial-gradient(7.5px 7.5px at 35% 27%, #ffda66 80%, transparent 80%), radial-gradient(4.5px 4.5px at 80% 12%, #fecf75 80%, transparent 80%), radial-gradient(6px 6px at 60% 81%, #fecf75 80%, transparent 80%), radial-gradient(4.5px 4.5px at 89% 89%, #fecf75 80%, transparent 80%), radial-gradient(7.5px 7.5px at 77% 78%, #fecf75 80%, transparent 80%), radial-gradient(4.5px 4.5px at 40% 57%, #ffda66 80%, transparent 80%), linear-gradient(to right, #ffc200 50%, #fdac10 50%); |
| 69 | border-radius: 0 0 15% 15%; |
| 70 | border: 9px solid #f1ecdb; |
| 71 | /*mug*/ |
| 72 | box-sizing: border-box; |
| 73 | } |
| 74 | .beer-single-div:before { |
| 75 | content: ''; |
| 76 | position: absolute; |
| 77 | z-index: -1; |
| 78 | border-radius: 0 50% 50% 0; |
| 79 | height: 75px; |
| 80 | width: 52.5px; |
| 81 | top: 22.5px; |
| 82 | right: -49.5px; |
| 83 | background-color: transparent; |
| 84 | box-sizing: border-box; |
| 85 | border: 12px solid #f1ecdb; |
| 86 | /*mug handle*/ |
| 87 | border-left: 12px solid transparent; |
| 88 | } |
| 89 | .beer-single-div:after { |
| 90 | content: ''; |
| 91 | position: absolute; |
| 92 | top: -20%; |
| 93 | right: 20%; |
| 94 | height: 15px; |
| 95 | width: 15px; |
| 96 | background: #fffef8; |
| 97 | border-radius: 25.5px; |
| 98 | box-shadow: 0 16.5px 0 10.5px #fff9de, 0 10.5px 0 10.5px #fffef8, -40.5px 10.5px 0 6px #fff9de, -58.5px 9px 0 9px #fffef8, -27px 18px 0 6px #fff9de, -75px 12px 0 6px #fff9de, -22.5px 0 0 9px #fffef8, 21px 10.5px 0 9px #fffef8, -48px -12px 0 7.5px #fffef8, -27px -21px 0 7.5px #fff9de, -7.5px -10.5px 0 7.5px #fff9de, 10.5px -7.5px 0 1.5px #fffef8, 13.5px -10.5px 0 1.5px #fff9de, 37.5px 10.5px 0 1.5px #fff9de; |
| 99 | } |
| 100 | |
| 101 | .beer-animation-wrapper { |
| 102 | position: relative; |
| 103 | overflow-y: hidden; |
| 104 | padding: 25.5px; |
| 105 | padding-right: 0; |
| 106 | padding-top: 10%; |
| 107 | } |
| 108 | .beer-animation-wrapper .beer { |
| 109 | position: relative; |
| 110 | height: 150px; |
| 111 | width: 112.5px; |
| 112 | min-width: 112.5px; |
| 113 | margin-top: 48px; |
| 114 | margin-right: 40.5px; |
| 115 | margin-left: 13.5px; |
| 116 | z-index: -2; |
| 117 | background-image: radial-gradient(97.5px 22.5px at 50% 103%, #f1ecdb 40%, transparent 40%), linear-gradient(to right, #ffc200 50%, #fdac10 50%); |
| 118 | border-radius: 0 0 15% 15%; |
| 119 | /*mug*/ |
| 120 | border: 9px solid #f1ecdb; |
| 121 | box-sizing: border-box; |
| 122 | } |
| 123 | .beer-animation-wrapper .beer:before { |
| 124 | content: ''; |
| 125 | position: absolute; |
| 126 | height: 130%; |
| 127 | width: 100%; |
| 128 | bottom: -5%; |
| 129 | z-index: -1; |
| 130 | opacity: 1; |
| 131 | -webkit-animation: 3s bubbles linear infinite; |
| 132 | animation: 3s bubbles linear infinite; |
| 133 | background: radial-gradient(9px 9px at 25% 85%, #ffda66 80%, transparent 80%), radial-gradient(6px 6px at 70% 45%, #fecf75 80%, transparent 80%), radial-gradient(7.5px 7.5px at 35% 40%, #fecf75 80%, transparent 80%), radial-gradient(4.5px 4.5px at 80% 30%, #fecf75 80%, transparent 80%), radial-gradient(6px 6px at 60% 81%, #fecf75 80%, transparent 80%), radial-gradient(4.5px 4.5px at 89% 89%, #fecf75 80%, transparent 80%), radial-gradient(7.5px 7.5px at 77% 78%, #fecf75 80%, transparent 80%), radial-gradient(4.5px 4.5px at 40% 57%, #ffda66 80%, transparent 80%), radial-gradient(3px 3px at 30% 67%, #ffda66 80%, transparent 80%), radial-gradient(3px 3px at 30% 17%, #ffda66 80%, transparent 80%), radial-gradient(4.5px 4.5px at 40% 10%, #ffda66 80%, transparent 80%), radial-gradient(7.5px 7.5px at 62% 24%, #ffda66 80%, transparent 80%), radial-gradient(6px 6px at 18% 31%, #ffda66 80%, transparent 80%), radial-gradient(9px 9px at 83% 60%, #ffda66 80%, transparent 80%); |
| 134 | } |
| 135 | .beer-animation-wrapper .beer:after { |
| 136 | /*mug handle*/ |
| 137 | content: ''; |
| 138 | position: absolute; |
| 139 | border-radius: 0 50% 50% 0; |
| 140 | height: 75px; |
| 141 | width: 49.5px; |
| 142 | top: 22.5px; |
| 143 | right: -49.5px; |
| 144 | background-color: transparent; |
| 145 | box-sizing: border-box; |
| 146 | border: 12px solid #f1ecdb; |
| 147 | border-left: 9px solid #f1ecdb; |
| 148 | } |
| 149 | .beer-animation-wrapper .foam { |
| 150 | position: relative; |
| 151 | top: -20%; |
| 152 | left: 63%; |
| 153 | height: 15px; |
| 154 | width: 15px; |
| 155 | background: #fffef8; |
| 156 | border-radius: 25.5px; |
| 157 | box-shadow: -52.5px 42px 0 -2.25px #ffe799, -52.5px 43.5px 0 -2.25px #ffe799, -52.5px 45px 0 -2.25px #ffe799, -52.5px 46.5px 0 -2.25px #ffe799, -52.5px 48px 0 -2.25px #ffe799, -52.5px 49.5px 0 -2.25px #ffe799, -52.5px 51px 0 -2.25px #ffe799, -52.5px 52.5px 0 -2.25px #ffe799, -52.5px 54px 0 -2.25px #ffe799, -52.5px 55.5px 0 -2.25px #ffe799, -52.5px 57px 0 -2.25px #ffe799, -52.5px 58.5px 0 -2.25px #ffe799, -52.5px 60px 0 -2.25px #ffe799, -52.5px 61.5px 0 -2.25px #ffe799, -52.5px 63px 0 -2.25px #ffe799, -52.5px 64.5px 0 -2.25px #ffe799, -52.5px 66px 0 -2.25px #ffe799, -52.5px 67.5px 0 -2.25px #ffe799, -52.5px 69px 0 -2.25px #ffe799, -52.5px 70.5px 0 -2.25px #ffe799, -52.5px 72px 0 -2.25px #ffe799, -52.5px 73.5px 0 -2.25px #ffe799, -52.5px 75px 0 -2.25px #ffe799, -52.5px 76.5px 0 -2.25px #ffe799, -52.5px 78px 0 -2.25px #ffe799, -52.5px 79.5px 0 -2.25px #ffe799, -52.5px 81px 0 -2.25px #ffe799, -52.5px 82.5px 0 -2.25px #ffe799, -52.5px 84px 0 -2.25px #ffe799, -52.5px 85.5px 0 -2.25px #ffe799, -52.5px 87px 0 -2.25px #ffe799, -52.5px 88.5px 0 -2.25px #ffe799, -52.5px 90px 0 -2.25px #ffe799, -52.5px 91.5px 0 -2.25px #ffe799, -52.5px 93px 0 -2.25px #ffe799, -52.5px 94.5px 0 -2.25px #ffe799, -52.5px 96px 0 -2.25px #ffe799, -52.5px 97.5px 0 -2.25px #ffe799, -52.5px 99px 0 -2.25px #ffe799, -52.5px 100.5px 0 -2.25px #ffe799, -52.5px 102px 0 -2.25px #ffe799, -52.5px 103.5px 0 -2.25px #ffe799, -52.5px 105px 0 -2.25px #ffe799, -52.5px 106.5px 0 -2.25px #ffe799, -52.5px 108px 0 -2.25px #ffe799, -52.5px 109.5px 0 -2.25px #ffe799, 0 16.5px 0 10.5px #fff9de, 0 10.5px 0 10.5px #fffef8, -40.5px 10.5px 0 6px #fff9de, -58.5px 9px 0 9px #fffef8, -27px 18px 0 6px #fff9de, -75px 12px 0 6px #fff9de, -22.5px 0 0 9px #fffef8, 21px 10.5px 0 9px #fffef8, -48px -12px 0 7.5px #fffef8, -27px -21px 0 7.5px #fff9de, -7.5px -10.5px 0 7.5px #fff9de, 10.5px -7.5px 0 1.5px #fffef8, 13.5px -10.5px 0 1.5px #fff9de, 37.5px 10.5px 0 1.5px #fff9de; |
| 158 | } |
| 159 | .beer-animation-wrapper .foam:before, .beer-animation-wrapper .foam:after { |
| 160 | z-index: -1; |
| 161 | content: ''; |
| 162 | position: absolute; |
| 163 | top: 200%; |
| 164 | width: 15px; |
| 165 | border-radius: 25.5px; |
| 166 | background: #fff9de; |
| 167 | background: linear-gradient(to right, #fff9de 75%, #fffef8 75%); |
| 168 | } |
| 169 | .beer-animation-wrapper .foam:after { |
| 170 | left: 100%; |
| 171 | height: 0px; |
| 172 | -webkit-animation: drip1 2s ease-out forwards; |
| 173 | animation: drip1 2s ease-out forwards; |
| 174 | } |
| 175 | .beer-animation-wrapper .foam:before { |
| 176 | right: 25%; |
| 177 | height: 0px; |
| 178 | -webkit-animation: drip2 5s ease-out forwards; |
| 179 | animation: drip2 5s ease-out forwards; |
| 180 | } |
| 181 | |
Unknown | dafcc3d | 2018-10-15 23:30:11 -0400 | [diff] [blame^] | 182 | #popup-modal .modal-body { |
| 183 | background:url(https://i.imgur.com/f4wfsnL.jpg); |
| 184 | background-size:cover; |
| 185 | padding:0; |
| 186 | position:relative; |
| 187 | height:500px; |
| 188 | border-top-left-radius:6px; |
| 189 | border-top-right-radius:6px; |
| 190 | } |
| 191 | |
| 192 | #popup-modal h1 { |
| 193 | color:#fff; |
| 194 | margin:0; |
| 195 | padding-top:30px; |
| 196 | text-transform:uppercase; |
| 197 | letter-spacing:3px; |
| 198 | font-weight:100; |
| 199 | } |
| 200 | |
| 201 | #popup-modal h1 span { |
| 202 | color:#888; |
| 203 | font-weight:700; |
| 204 | } |
| 205 | |
| 206 | #popup-modal p { |
| 207 | color:#ccc; |
| 208 | font-weight:400; |
| 209 | } |
| 210 | |
| 211 | #popup-modal .modal-social { |
| 212 | position:absolute; |
| 213 | right: 65px; |
| 214 | top: 130px; |
| 215 | width: 215px; |
| 216 | } |
| 217 | |
| 218 | #popup-modal .modal-box { |
| 219 | margin: auto; |
| 220 | position:absolute; |
| 221 | top: 40%; left: 25%; bottom: 50%; right: 25%; |
| 222 | z-index:9999; |
| 223 | } |
| 224 | |
| 225 | |
| 226 | .overlay { |
| 227 | position: fixed; |
| 228 | top: 0; |
| 229 | bottom: 0; |
| 230 | left: 0; |
| 231 | right: 0; |
| 232 | background: rgba(0, 0, 0, 0.7); |
| 233 | transition: opacity 500ms; |
| 234 | visibility: hidden; |
| 235 | opacity: 0; |
| 236 | } |
| 237 | .overlay:target { |
| 238 | visibility: visible; |
| 239 | opacity: 1; |
| 240 | } |
| 241 | |
| 242 | .popup { |
| 243 | margin: 70px auto; |
| 244 | padding: 20px; |
| 245 | background: #fff; |
| 246 | border-radius: 5px; |
| 247 | width: 30%; |
| 248 | position: relative; |
| 249 | transition: all 5s ease-in-out; |
| 250 | } |
| 251 | |
| 252 | .popup h2 { |
| 253 | margin-top: 0; |
| 254 | color: #333; |
| 255 | font-family: Tahoma, Arial, sans-serif; |
| 256 | } |
| 257 | .popup .close { |
| 258 | position: absolute; |
| 259 | top: 20px; |
| 260 | right: 30px; |
| 261 | transition: all 200ms; |
| 262 | font-size: 30px; |
| 263 | font-weight: bold; |
| 264 | text-decoration: none; |
| 265 | color: #333; |
| 266 | } |
| 267 | .popup .close:hover { |
| 268 | color: #06D85F; |
| 269 | } |
| 270 | .popup .content { |
| 271 | max-height: 30%; |
| 272 | overflow: auto; |
| 273 | } |
| 274 | |
| 275 | @media screen and (max-width: 700px){ |
| 276 | .box{ |
| 277 | width: 70%; |
| 278 | } |
| 279 | .popup{ |
| 280 | width: 70%; |
| 281 | } |
| 282 | } |
| 283 | |
| 284 | /********Grid Widht *******/ |
| 285 | .grid-3 { width: 25%; float: left; min-height: 1px; padding-left: 15px; padding-right: 15px; |
| 286 | position: relative;} |
| 287 | /********Grid Widht *******/ |
| 288 | |
| 289 | |
| 290 | |
| 291 | |
| 292 | /***Section Css******/ |
| 293 | .counting { |
| 294 | /* background: #34495e none repeat scroll 0 0; */ |
| 295 | color: #fff; |
| 296 | overflow: hidden; |
| 297 | padding: 36px 0; |
| 298 | } |
| 299 | |
| 300 | .counting span { |
| 301 | font-size: 70px; |
| 302 | font-weight: 700; |
| 303 | position: relative; |
| 304 | text-align:center; |
| 305 | display:block; |
| 306 | } |
| 307 | .counting p { |
| 308 | font-size: 20px; |
| 309 | font-weight: 700; |
| 310 | letter-spacing: 2px; |
| 311 | padding-top: 30px; |
| 312 | text-transform: uppercase; |
| 313 | text-align:center; |
| 314 | } |
| 315 | |
| 316 | .counting span::before { |
| 317 | /*background: #b7b7b7 none repeat scroll 0 0; */ |
| 318 | bottom: -10px; |
| 319 | content: " "; |
| 320 | height: 4px; |
| 321 | left: 32%; |
| 322 | position: absolute; |
| 323 | width: 36%; |
| 324 | } |
| 325 | |
| 326 | |
| 327 | @media (max-width:980px) { |
| 328 | .layout { width: 767px; } |
| 329 | .grid-3 { width: 50%; } |
| 330 | } |
| 331 | @media (max-width:640px) { |
| 332 | .layout { width: 300px; } |
| 333 | .grid-3 { width: 100%; } |
| 334 | |
| 335 | |
| 336 | } |
| 337 | |
Unknown | e3ebd89 | 2018-10-13 05:35:38 -0400 | [diff] [blame] | 338 | @-webkit-keyframes drip2 { |
| 339 | 0% { |
| 340 | height: 0px; |
| 341 | } |
| 342 | 50% { |
| 343 | height: 45px; |
| 344 | } |
| 345 | 75% { |
| 346 | height: 45px; |
| 347 | } |
| 348 | 80% { |
| 349 | height: 45px; |
| 350 | } |
| 351 | 100% { |
| 352 | height: 52.5px; |
| 353 | } |
| 354 | } |
| 355 | |
| 356 | @keyframes drip2 { |
| 357 | 0% { |
| 358 | height: 0px; |
| 359 | } |
| 360 | 50% { |
| 361 | height: 45px; |
| 362 | } |
| 363 | 75% { |
| 364 | height: 45px; |
| 365 | } |
| 366 | 80% { |
| 367 | height: 45px; |
| 368 | } |
| 369 | 100% { |
| 370 | height: 52.5px; |
| 371 | } |
| 372 | } |
| 373 | @-webkit-keyframes drip1 { |
| 374 | 0% { |
| 375 | height: 0px; |
| 376 | } |
| 377 | 100% { |
| 378 | height: 75px; |
| 379 | } |
| 380 | } |
| 381 | @keyframes drip1 { |
| 382 | 0% { |
| 383 | height: 0px; |
| 384 | } |
| 385 | 100% { |
| 386 | height: 75px; |
| 387 | } |
| 388 | } |
| 389 | @-webkit-keyframes bubbles { |
| 390 | 0% { |
| 391 | -webkit-transform: translatey(0%); |
| 392 | transform: translatey(0%); |
| 393 | } |
| 394 | 99% { |
| 395 | -webkit-transform: translatey(-50%); |
| 396 | transform: translatey(-50%); |
| 397 | } |
| 398 | 100% { |
| 399 | opacity: 0; |
| 400 | } |
| 401 | } |
| 402 | @keyframes bubbles { |
| 403 | 0% { |
| 404 | -webkit-transform: translatey(0%); |
| 405 | transform: translatey(0%); |
| 406 | } |
| 407 | 99% { |
| 408 | -webkit-transform: translatey(-50%); |
| 409 | transform: translatey(-50%); |
| 410 | } |
| 411 | 100% { |
| 412 | opacity: 0; |
| 413 | } |
| 414 | } |