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; |
Unknown | d2db0f1 | 2019-01-10 14:22:00 -0500 | [diff] [blame] | 187 | height:300px; |
Unknown | dafcc3d | 2018-10-15 23:30:11 -0400 | [diff] [blame] | 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 { |
Unknown | d2db0f1 | 2019-01-10 14:22:00 -0500 | [diff] [blame] | 212 | /*position:absolute; |
Unknown | dafcc3d | 2018-10-15 23:30:11 -0400 | [diff] [blame] | 213 | right: 65px; |
| 214 | top: 130px; |
Unknown | d2db0f1 | 2019-01-10 14:22:00 -0500 | [diff] [blame] | 215 | width: 215px;*/ |
Unknown | dafcc3d | 2018-10-15 23:30:11 -0400 | [diff] [blame] | 216 | } |
| 217 | |
| 218 | #popup-modal .modal-box { |
| 219 | margin: auto; |
| 220 | position:absolute; |
Unknown | d2db0f1 | 2019-01-10 14:22:00 -0500 | [diff] [blame] | 221 | top: 40%; left: 15%; bottom: 50%; right: 15%; |
Unknown | dafcc3d | 2018-10-15 23:30:11 -0400 | [diff] [blame] | 222 | z-index:9999; |
| 223 | } |
| 224 | |
Unknown | dafcc3d | 2018-10-15 23:30:11 -0400 | [diff] [blame] | 225 | .overlay { |
| 226 | position: fixed; |
| 227 | top: 0; |
| 228 | bottom: 0; |
| 229 | left: 0; |
| 230 | right: 0; |
| 231 | background: rgba(0, 0, 0, 0.7); |
| 232 | transition: opacity 500ms; |
| 233 | visibility: hidden; |
| 234 | opacity: 0; |
| 235 | } |
| 236 | .overlay:target { |
| 237 | visibility: visible; |
| 238 | opacity: 1; |
| 239 | } |
| 240 | |
| 241 | .popup { |
| 242 | margin: 70px auto; |
| 243 | padding: 20px; |
| 244 | background: #fff; |
| 245 | border-radius: 5px; |
| 246 | width: 30%; |
| 247 | position: relative; |
| 248 | transition: all 5s ease-in-out; |
| 249 | } |
| 250 | |
| 251 | .popup h2 { |
| 252 | margin-top: 0; |
| 253 | color: #333; |
| 254 | font-family: Tahoma, Arial, sans-serif; |
| 255 | } |
| 256 | .popup .close { |
| 257 | position: absolute; |
| 258 | top: 20px; |
| 259 | right: 30px; |
| 260 | transition: all 200ms; |
| 261 | font-size: 30px; |
| 262 | font-weight: bold; |
| 263 | text-decoration: none; |
| 264 | color: #333; |
| 265 | } |
| 266 | .popup .close:hover { |
| 267 | color: #06D85F; |
| 268 | } |
| 269 | .popup .content { |
| 270 | max-height: 30%; |
| 271 | overflow: auto; |
| 272 | } |
| 273 | |
| 274 | @media screen and (max-width: 700px){ |
| 275 | .box{ |
| 276 | width: 70%; |
| 277 | } |
| 278 | .popup{ |
| 279 | width: 70%; |
| 280 | } |
| 281 | } |
| 282 | |
Unknown | 9af69b1 | 2019-01-17 20:21:59 -0500 | [diff] [blame] | 283 | .layout { |
| 284 | margin: 0 auto; |
| 285 | max-width: 1170px; |
| 286 | width: 100%; |
| 287 | padding: 0 15px; |
| 288 | } |
| 289 | |
Unknown | dafcc3d | 2018-10-15 23:30:11 -0400 | [diff] [blame] | 290 | /********Grid Widht *******/ |
| 291 | .grid-3 { width: 25%; float: left; min-height: 1px; padding-left: 15px; padding-right: 15px; |
| 292 | position: relative;} |
| 293 | /********Grid Widht *******/ |
| 294 | |
Unknown | dafcc3d | 2018-10-15 23:30:11 -0400 | [diff] [blame] | 295 | /***Section Css******/ |
| 296 | .counting { |
| 297 | /* background: #34495e none repeat scroll 0 0; */ |
| 298 | color: #fff; |
| 299 | overflow: hidden; |
| 300 | padding: 36px 0; |
| 301 | } |
| 302 | |
| 303 | .counting span { |
| 304 | font-size: 70px; |
| 305 | font-weight: 700; |
| 306 | position: relative; |
| 307 | text-align:center; |
| 308 | display:block; |
| 309 | } |
| 310 | .counting p { |
| 311 | font-size: 20px; |
| 312 | font-weight: 700; |
| 313 | letter-spacing: 2px; |
| 314 | padding-top: 30px; |
| 315 | text-transform: uppercase; |
| 316 | text-align:center; |
| 317 | } |
| 318 | |
| 319 | .counting span::before { |
| 320 | /*background: #b7b7b7 none repeat scroll 0 0; */ |
| 321 | bottom: -10px; |
| 322 | content: " "; |
| 323 | height: 4px; |
| 324 | left: 32%; |
| 325 | position: absolute; |
| 326 | width: 36%; |
| 327 | } |
| 328 | |
| 329 | |
| 330 | @media (max-width:980px) { |
| 331 | .layout { width: 767px; } |
| 332 | .grid-3 { width: 50%; } |
| 333 | } |
| 334 | @media (max-width:640px) { |
| 335 | .layout { width: 300px; } |
| 336 | .grid-3 { width: 100%; } |
Unknown | 9af69b1 | 2019-01-17 20:21:59 -0500 | [diff] [blame] | 337 | } |
Unknown | dafcc3d | 2018-10-15 23:30:11 -0400 | [diff] [blame] | 338 | |
Unknown | e3ebd89 | 2018-10-13 05:35:38 -0400 | [diff] [blame] | 339 | @-webkit-keyframes drip2 { |
| 340 | 0% { |
| 341 | height: 0px; |
| 342 | } |
| 343 | 50% { |
| 344 | height: 45px; |
| 345 | } |
| 346 | 75% { |
| 347 | height: 45px; |
| 348 | } |
| 349 | 80% { |
| 350 | height: 45px; |
| 351 | } |
| 352 | 100% { |
| 353 | height: 52.5px; |
| 354 | } |
| 355 | } |
| 356 | |
| 357 | @keyframes drip2 { |
| 358 | 0% { |
| 359 | height: 0px; |
| 360 | } |
| 361 | 50% { |
| 362 | height: 45px; |
| 363 | } |
| 364 | 75% { |
| 365 | height: 45px; |
| 366 | } |
| 367 | 80% { |
| 368 | height: 45px; |
| 369 | } |
| 370 | 100% { |
| 371 | height: 52.5px; |
| 372 | } |
| 373 | } |
| 374 | @-webkit-keyframes drip1 { |
| 375 | 0% { |
| 376 | height: 0px; |
| 377 | } |
| 378 | 100% { |
| 379 | height: 75px; |
| 380 | } |
| 381 | } |
| 382 | @keyframes drip1 { |
| 383 | 0% { |
| 384 | height: 0px; |
| 385 | } |
| 386 | 100% { |
| 387 | height: 75px; |
| 388 | } |
| 389 | } |
| 390 | @-webkit-keyframes bubbles { |
| 391 | 0% { |
| 392 | -webkit-transform: translatey(0%); |
| 393 | transform: translatey(0%); |
| 394 | } |
| 395 | 99% { |
| 396 | -webkit-transform: translatey(-50%); |
| 397 | transform: translatey(-50%); |
| 398 | } |
| 399 | 100% { |
| 400 | opacity: 0; |
| 401 | } |
| 402 | } |
| 403 | @keyframes bubbles { |
| 404 | 0% { |
| 405 | -webkit-transform: translatey(0%); |
| 406 | transform: translatey(0%); |
| 407 | } |
| 408 | 99% { |
| 409 | -webkit-transform: translatey(-50%); |
| 410 | transform: translatey(-50%); |
| 411 | } |
| 412 | 100% { |
| 413 | opacity: 0; |
| 414 | } |
| 415 | } |
Unknown | d2db0f1 | 2019-01-10 14:22:00 -0500 | [diff] [blame] | 416 | |
| 417 | /* Anim |
| 418 | width: 378px; |
| 419 | height: 290px; |
| 420 | */ |
| 421 | .animation { |
| 422 | display: inline-block; |
| 423 | position: relative; |
Unknown | 3155b86 | 2019-01-17 21:23:29 -0500 | [diff] [blame] | 424 | width: 26em; |
| 425 | height: 16em; |
Unknown | d2db0f1 | 2019-01-10 14:22:00 -0500 | [diff] [blame] | 426 | margin: -2vh auto 0 auto; |
| 427 | vertical-align: middle; |
| 428 | } |
Unknown | 9af69b1 | 2019-01-17 20:21:59 -0500 | [diff] [blame] | 429 | /*@media (max-width:720px) { |
Unknown | d2db0f1 | 2019-01-10 14:22:00 -0500 | [diff] [blame] | 430 | .animation {margin-left:-30rem;margin-right:-30rem;} |
Unknown | 3155b86 | 2019-01-17 21:23:29 -0500 | [diff] [blame] | 431 | } |
Unknown | d2db0f1 | 2019-01-10 14:22:00 -0500 | [diff] [blame] | 432 | @media (max-width:450px) { |
| 433 | .animation {width:58rem;height:38rem;} |
| 434 | } |
| 435 | @media (max-width:450px) { |
| 436 | .animation {width:58rem;height:38rem;} |
| 437 | } |
| 438 | @media (max-width:400px) { |
| 439 | .animation {width:55rem;height:36rem;} |
| 440 | } |
| 441 | @media (max-width:380px) { |
| 442 | .animation {width:50rem;height:33rem;} |
| 443 | } |
| 444 | @media (max-width:340px) { |
| 445 | .animation {width:47rem;height:31rem;} |
| 446 | } |
| 447 | @media (max-width:320px) { |
| 448 | .animation {width:42rem;height:28rem;} |
Unknown | 3155b86 | 2019-01-17 21:23:29 -0500 | [diff] [blame] | 449 | }*/ |
Unknown | d2db0f1 | 2019-01-10 14:22:00 -0500 | [diff] [blame] | 450 | @media (max-height:650px) { |
| 451 | .animation {margin-top: -7vh !important;margin-bottom: 10vh !important;} |
| 452 | } |
| 453 | @media (min-height:651px) { |
| 454 | .animation {margin-top: -8vh !important;margin-bottom: 10vh !important;} |
| 455 | } |
| 456 | @media (min-height:670px) { |
| 457 | .animation {margin-top: -6.5vh !important;margin-bottom: 10vh !important;} |
| 458 | } |
| 459 | @media (min-height:720px) { |
| 460 | .animation {margin-top: -2vh !important;margin-bottom: 10vh !important;overflow-y:visible} |
| 461 | } |
| 462 | @media (min-height:800px) { |
| 463 | .animation {margin-top: 0 !important;margin-bottom: 10vh !important;overflow-y:visible} |
| 464 | } |
| 465 | .animation .device { |
| 466 | position: absolute; |
| 467 | width: 100%; |
| 468 | height: 100%; |
| 469 | left: 50%; |
| 470 | top: 50%; |
| 471 | background: #111; |
| 472 | -webkit-transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); |
| 473 | -moz-transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); |
| 474 | -ms-transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); |
| 475 | transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); |
| 476 | -moz-transform: translate(-50%, -50%); |
| 477 | -ms-transform: translate(-50%, -50%); |
| 478 | -webkit-transform: translate(-50%, -50%); |
| 479 | transform: translate(-50%, -50%); |
| 480 | } |
| 481 | .animation .device .phone-home-button, |
| 482 | .animation .device .tablet-home-button { |
| 483 | position: absolute; |
| 484 | border-radius: 50%; |
| 485 | background: #444; |
| 486 | opacity: 0; |
| 487 | z-index: 1; |
| 488 | -webkit-transition: all 0.4s ease; |
| 489 | -moz-transition: all 0.4s ease; |
| 490 | -ms-transition: all 0.4s ease; |
| 491 | transition: all 0.4s ease; |
| 492 | } |
| 493 | .animation .device .phone-home-button { |
| 494 | width: 16px; |
| 495 | height: 16px; |
| 496 | margin-top: -8px; |
| 497 | right: 11px; |
| 498 | top: 50%; |
| 499 | } |
| 500 | .animation .device .tablet-home-button { |
| 501 | width: 12px; |
| 502 | height: 12px; |
| 503 | margin-left: -6px; |
| 504 | bottom: 7px; |
| 505 | left: 50%; |
| 506 | } |
| 507 | .animation .device .screen-stand { |
| 508 | position: absolute; |
| 509 | width: 100%; |
| 510 | margin-left: -10px; |
| 511 | margin-top: -1px; |
| 512 | top: 60%; |
| 513 | opacity: 0; |
| 514 | z-index: 1; |
| 515 | -webkit-transition: all 0.4s ease-out; |
| 516 | -moz-transition: all 0.4s ease-out; |
| 517 | -ms-transition: all 0.4s ease-out; |
| 518 | transition: all 0.4s ease-out; |
| 519 | } |
| 520 | .animation .device .screen-stand .leg { |
| 521 | position: absolute; |
| 522 | width: 12px; |
| 523 | height: 16px; |
| 524 | left: 50%; |
| 525 | top: 0; |
| 526 | margin-left: -6px; |
| 527 | background: #111; |
| 528 | } |
| 529 | .animation .device .screen-stand .foot { |
| 530 | position: absolute; |
| 531 | width: 120px; |
| 532 | height: 4px; |
| 533 | left: 50%; |
| 534 | top: 15px; |
| 535 | margin-left: -60px; |
| 536 | border-top-left-radius: 2px; |
| 537 | border-top-right-radius: 2px; |
| 538 | background: #111; |
| 539 | } |
| 540 | .animation .device .display { |
| 541 | position: relative; |
| 542 | width: 100%; |
| 543 | height: 100%; |
| 544 | overflow: hidden; |
| 545 | background: #34495e; |
| 546 | z-index: 3; |
| 547 | } |
| 548 | .animation .device .display div { |
| 549 | position: absolute; |
| 550 | width: 100%; |
| 551 | height: 100%; |
| 552 | left: 100%; |
| 553 | white-space: nowrap; |
| 554 | -webkit-transition: all 0.4s ease; |
| 555 | -moz-transition: all 0.4s ease; |
| 556 | -ms-transition: all 0.4s ease; |
| 557 | transition: all 0.4s ease; |
| 558 | } |
| 559 | .animation .device .display div div { |
| 560 | position: absolute; |
| 561 | width: 100%; |
| 562 | left: 0; |
| 563 | top: 50%; |
Unknown | 3155b86 | 2019-01-17 21:23:29 -0500 | [diff] [blame] | 564 | margin-top: -24px; |
| 565 | font-size: 18px; |
Unknown | d2db0f1 | 2019-01-10 14:22:00 -0500 | [diff] [blame] | 566 | text-align: center; |
| 567 | /* color: #0080ff;*/ |
| 568 | } |
Unknown | e98c2c7 | 2019-01-21 22:34:47 -0500 | [diff] [blame^] | 569 | @media (max-width:650px) { |
| 570 | .display-3 { font-size: 4.1rem;} |
| 571 | } |
| 572 | @media (max-width:550px) { |
| 573 | .display-3 { font-size: 3.8rem;} |
| 574 | } |
| 575 | @media (max-width:430px) { |
| 576 | .display-3 { font-size: 2.8rem;} |
| 577 | } |
| 578 | @media (max-width:400px) { |
| 579 | .display-3 { font-size: 2.5rem;} |
| 580 | } |
Unknown | d2db0f1 | 2019-01-10 14:22:00 -0500 | [diff] [blame] | 581 | @media (max-width:450px) { |
| 582 | .animation .device .display div div {width:100%;max-width:100%;font-size:12px !important;} |
Unknown | e98c2c7 | 2019-01-21 22:34:47 -0500 | [diff] [blame^] | 583 | .display-3 { font-size: 3.0rem;} |
Unknown | d2db0f1 | 2019-01-10 14:22:00 -0500 | [diff] [blame] | 584 | } |
| 585 | .animation .device .display .slide1 div {margin-top:0px;} |
| 586 | .animation .device .display div div em { |
| 587 | font-weight: bold; |
| 588 | } |
| 589 | .animation .device .display .slide1 { |
| 590 | /* background: #000; */ |
| 591 | background: url("https://i.imgur.com/wCp0xpe.jpg"); |
| 592 | background-size: cover; |
| 593 | background-repeat: no-repeat; |
| 594 | background-position: center center; |
| 595 | text-shadow: 1px 1px 2px #1f1f1f, -1px -1px 2px #1f1f1f, -1px 0 2px #1f1f1f, 0 -1px 2px #1f1f1f, 1px 0 2px #1f1f1f, 0 1px 2px #1f1f1f, 1px -1px 2px #1f1f1f, -1px 1px 2px #1f1f1f, |
| 596 | 2px 2px 2px #1f1f1f, -2px -2px 2px #1f1f1f, -2px 0 2px #1f1f1f, 0 -2px 2px #1f1f1f, 2px 0 2px #1f1f1f, 0 2px 2px #1f1f1f, 2px -2px 2px #1f1f1f, -2px 2px 2px #1f1f1f, |
| 597 | 3px 3px 2px #1f1f1f, -3px -3px 2px #1f1f1f, -3px 0 2px #1f1f1f, 0 -3px 2px #1f1f1f, 3px 0 2px #1f1f1f, 0 3px 2px #1f1f1f, 3px -3px 2px #1f1f1f, -3px 3px 2px #1f1f1f, |
| 598 | 4px 4px 4px #1f1f1f, -4px -4px 4px #1f1f1f, -4px 0 4px #1f1f1f, 0 -4px 4px #1f1f1f, 4px 0 4px #1f1f1f, 0 4px 4px #1f1f1f, 4px -4px 4px #1f1f1f, -4px 4px 4px #1f1f1f; |
| 599 | color:white; |
| 600 | } |
| 601 | .animation .device .display .slide2 { |
| 602 | /* background: #000; */ |
| 603 | background: url("https://i.imgur.com/KfArkPZ.jpg"); |
| 604 | background-size: cover; |
| 605 | background-repeat: no-repeat; |
| 606 | background-position: center center; |
| 607 | text-shadow: 1px 1px 2px #fff, -1px -1px 2px #fff, -1px 0 2px #fff, 0 -1px 2px #fff, 1px 0 2px #fff, 0 1px 2px #fff, 1px -1px 2px #fff, -1px 1px 2px #fff, |
| 608 | 2px 2px 2px #fff, -2px -2px 2px #fff, -2px 0 2px #fff, 0 -2px 2px #fff, 2px 0 2px #fff, 0 2px 2px #fff, 2px -2px 2px #fff, -2px 2px 2px #fff, |
| 609 | 3px 3px 2px #fff, -3px -3px 2px #fff, -3px 0 2px #fff, 0 -3px 2px #fff, 3px 0 2px #fff, 0 3px 2px #fff, 3px -3px 2px #fff, -3px 3px 2px #fff, |
| 610 | 4px 4px 4px #fff, -4px -4px 4px #fff, -4px 0 4px #fff, 0 -4px 4px #fff, 4px 0 4px #fff, 0 4px 4px #fff, 4px -4px 4px #fff, -4px 4px 4px #fff; |
| 611 | color:#0080ff; |
| 612 | } |
| 613 | .animation .device .display .slide3 { |
| 614 | /* background: #000; */ |
| 615 | background: url("https://i.imgur.com/c55mey7.jpg"); |
| 616 | background-size: cover; |
| 617 | background-repeat: no-repeat; |
| 618 | background-position: center center; |
| 619 | text-shadow: 1px 1px 2px #000, -1px -1px 2px #000, -1px 0 2px #000, 0 -1px 2px #000, 1px 0 2px #000, 0 1px 2px #000, 1px -1px 2px #000, -1px 1px 2px #000, |
| 620 | 2px 2px 2px #000, -2px -2px 2px #000, -2px 0 2px #000, 0 -2px 2px #000, 2px 0 2px #000, 0 2px 2px #000, 2px -2px 2px #000, -2px 2px 2px #000, |
| 621 | 3px 3px 2px #000, -3px -3px 2px #000, -3px 0 2px #000, 0 -3px 2px #000, 3px 0 2px #000, 0 3px 2px #000, 3px -3px 2px #000, -3px 3px 2px #000, |
| 622 | 4px 4px 4px #000, -4px -4px 4px #000, -4px 0 4px #000, 0 -4px 4px #000, 4px 0 4px #000, 0 4px 4px #000, 4px -4px 4px #000, -4px 4px 4px #000; |
| 623 | color:white; |
| 624 | } |
| 625 | .animation[data-animation-step="1"] .device { |
| 626 | width: 87%; |
| 627 | height: 90%; |
| 628 | padding: 10px; |
| 629 | border-radius: 4px; |
| 630 | } |
| 631 | .animation[data-animation-step="1"] .device .slide1 { |
| 632 | left: 0%; |
| 633 | } |
| 634 | .animation[data-animation-step="1"] .device .screen-stand { |
| 635 | opacity: 1; |
| 636 | top: 100%; |
| 637 | } |
| 638 | .animation[data-animation-step="2"] .device { |
| 639 | width: 74%; |
| 640 | height: 75%; |
| 641 | padding: 16px; |
| 642 | border-radius: 10px; |
| 643 | } |
| 644 | .animation[data-animation-step="2"] .device .slide1 { |
| 645 | left: -100%; |
| 646 | } |
| 647 | .animation[data-animation-step="2"] .device .slide2 { |
| 648 | left: 0%; |
| 649 | } |
| 650 | .animation[data-animation-step="2"] .device .tablet-home-button { |
| 651 | opacity: 1; |
| 652 | } |
| 653 | .animation[data-animation-step="3"] .device { |
| 654 | width: 27%; |
| 655 | height: 75%; |
| 656 | padding: 16px 4px; |
| 657 | border-radius: 6px; |
| 658 | } |
| 659 | .animation[data-animation-step="3"] .device .slide1, |
| 660 | .animation[data-animation-step="3"] .device .slide2 { |
| 661 | left: -100%; |
| 662 | } |
| 663 | .animation[data-animation-step="3"] .device .slide3 { |
| 664 | left: 0%; |
| 665 | } |
| 666 | .animation[data-animation-step="3"] .device .phone-home-button { |
| 667 | opacity: 1; |
| 668 | } |
| 669 | @media (min-height:800px) { |
| 670 | .animation[data-animation-step="1"] .device {width:87%; height:90%;} |
| 671 | .animation[data-animation-step="2"] .device {width:80%; height:80%;} |
| 672 | .animation[data-animation-step="3"] .device {width:28%; height:80%;} |
| 673 | } |
| 674 | @media (max-height:720px) { |
| 675 | .animation[data-animation-step="1"] .device {width:72%; height:75%;} |
| 676 | .animation[data-animation-step="2"] .device {width:59%; height:60%;} |
| 677 | .animation[data-animation-step="3"] .device {width:22%; height:63%;} |
| 678 | .animation .device .display div div {font-size:16px;} |
| 679 | } |
| 680 | @media (max-height:650px) { |
| 681 | .animation[data-animation-step="1"] .device {width:62%; height:65%;} |
| 682 | .animation[data-animation-step="2"] .device {width:54%; height:55%;} |
| 683 | .animation[data-animation-step="3"] .device {width:22%; height:63%;} |
| 684 | .animation .device .display div div {font-size:15px;} |
| 685 | } |
| 686 | @media (max-width:560px) { |
| 687 | .animation[data-animation-step="1"] .device {margin-top:1%;width:72%; height:75%;} |
| 688 | .animation[data-animation-step="2"] .device {margin-top:1%;width:65%; height:66%;} |
| 689 | .animation[data-animation-step="3"] .device {margin-top:1%;width:28%; height:80%;} |
| 690 | .animation .device .display div div {font-size:15px;} |
| 691 | } |
| 692 | @media (max-width:520px) { |
| 693 | .animation[data-animation-step="1"] .device {margin-top:0%;width:66%; height:69%;} |
| 694 | .animation[data-animation-step="2"] .device {margin-top:0%;width:62%; height:63%;} |
| 695 | .animation[data-animation-step="3"] .device {margin-top:0%;width:28%; height:80%;} |
| 696 | .animation .device .display div div {font-size:15px;} |
| 697 | } |
| 698 | @media (max-width:460px) { |
| 699 | .animation[data-animation-step="1"] .device {margin-top:0%;width:58%; height:61%;} |
| 700 | .animation[data-animation-step="2"] .device {margin-top:0%;width:54%; height:55%;} |
| 701 | .animation[data-animation-step="3"] .device {margin-top:0%;width:25%; height:72%;} |
| 702 | .animation .device .display div div {font-size:15px;} |
| 703 | } |
| 704 | @media (max-width:350px) { |
| 705 | .animation[data-animation-step="1"] .device {margin-top:3%;width:62%; height:65%;} |
| 706 | .animation[data-animation-step="2"] .device {margin-top:3%;width:58%; height:60%;} |
| 707 | .animation[data-animation-step="3"] .device {margin-top:9%;width:30%; height:80%;} |
| 708 | .animation .device .display div div {font-size:15px;} |
| 709 | } |
| 710 | @media (max-width:320px) { |
| 711 | .animation[data-animation-step="1"] .device {margin-top:6%;width:62%; height:65%;} |
| 712 | .animation[data-animation-step="2"] .device {margin-top:6%;width:58%; height:60%;} |
| 713 | .animation[data-animation-step="3"] .device {margin-top:12%;width:30%; height:80%;} |
| 714 | .animation .device .display div div {font-size:15px;} |
| 715 | } |
Unknown | 0405159 | 2019-01-10 20:56:19 -0500 | [diff] [blame] | 716 | |
| 717 | .glow { |
| 718 | font-size: 80px; |
| 719 | color: #fff; |
| 720 | text-align: center; |
| 721 | -webkit-animation: glow 1s ease-in-out infinite alternate; |
| 722 | -moz-animation: glow 1s ease-in-out infinite alternate; |
| 723 | animation: glow 1s ease-in-out infinite alternate; |
| 724 | } |
| 725 | |
| 726 | @-webkit-keyframes glow { |
| 727 | from { |
| 728 | text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #0095e6, 0 0 40px #0095e6, 0 0 50px #0095e6, 0 0 60px #0095e6, 0 0 70px #0095e6; |
| 729 | } |
| 730 | to { |
| 731 | text-shadow: 0 0 20px #fff, 0 0 30px #4db1ff, 0 0 40px #4db1ff, 0 0 50px #4db1ff, 0 0 60px #4db1ff, 0 0 70px #4db1ff, 0 0 80px #4db1ff; |
| 732 | } |
| 733 | } |
Unknown | d2db0f1 | 2019-01-10 14:22:00 -0500 | [diff] [blame] | 734 | |
Unknown | 086c035 | 2019-01-11 23:40:31 -0500 | [diff] [blame] | 735 | .device { |
| 736 | transform: rotateX(25deg) rotateZ(-25deg) translateX(0) scale(.93); |
| 737 | margin: auto; |
| 738 | position: relative; |
| 739 | display: inline-block; |
| 740 | background: #333333; |
| 741 | box-shadow: |
| 742 | 0 1px 4px 0 rgba(0,0,0,0.20), |
| 743 | 0 8px 24px 0 rgba(0,0,0,0.20), |
| 744 | 0 0 0 1px rgba(0, 0, 0, 0.53), |
| 745 | inset 0 -2px 2px 2px rgba(0,0,0,0.55); |
| 746 | box-shadow: -1px 1px 4px 0 rgba(0, 0, 0, 0.20), -8px 8px 24px 0 rgba(0, 0, 0, 0.20), inset 5px -5px 5px 5px rgba(0, 0, 0, 0.24); |
| 747 | border-radius: 40px; |
| 748 | position: relative; |
| 749 | box-sizing: content-box; |
| 750 | padding: 50px 10px; |
| 751 | padding: 45px 10px 55px 20px; |
| 752 | width: 200px; |
| 753 | height: 360px; |
| 754 | } |
| 755 | .device-screen { |
| 756 | width: 98%; |
| 757 | height: 98%; |
| 758 | background: #111111; |
| 759 | overflow: hidden; |
| 760 | border-radius: 4px; |
| 761 | box-shadow: inset 0px 1px 3px rgba(0,0,0,0.1); |
| 762 | position: relative; |
| 763 | } |
| 764 | .device-screen:before { |
| 765 | content: ""; |
| 766 | top: 0; |
| 767 | bottom: 0; |
| 768 | width: 98%; |
| 769 | height: 98%; |
| 770 | box-shadow: inset 0px 1px 3px rgba(0,0,0,0.1); |
| 771 | position: absolute; |
| 772 | border-radius: 8px; |
| 773 | overflow: hidden; |
| 774 | } |
| 775 | .device video { |
| 776 | border-radius: 0px; |
| 777 | width: 100%; |
| 778 | height: 105%; |
| 779 | object-fit: cover; |
| 780 | } |
| 781 | |
| 782 | .device-screen img { |
| 783 | height: 100%; |
| 784 | width: 105%; |
| 785 | object-fit: cover; |
| 786 | } |
| 787 | |
| 788 | @media (max-width: 850px) { |
| 789 | .device { |
| 790 | border-radius: 4.6vw; |
| 791 | padding: 6vw 1.2vw; |
| 792 | width: 33vw; |
| 793 | height: 59vw; |
| 794 | } |
| 795 | .device video, |
| 796 | .device-screen { |
| 797 | border-radius: .33vw; |
| 798 | } |
| 799 | } |
| 800 | |
| 801 | |
| 802 | |
| 803 | |