├── 1.css ├── carousel.html └── front.html /1.css: -------------------------------------------------------------------------------- 1 | * { 2 | padding: 0; 3 | margin: 0; 4 | box-sizing: border-box; 5 | } 6 | 7 | body { 8 | display: grid; 9 | place-items: center; 10 | position: relative; 11 | /* height: 100vh; */ 12 | /* background-color: #9a99f2; */ 13 | background: #212534; 14 | } 15 | 16 | .swiper-container { 17 | border-radius: 5px; 18 | width: 70vw; 19 | overflow: hidden; 20 | height: fit-content; 21 | height: fit-content; 22 | font-size: 50px; 23 | position: relative; 24 | padding-bottom: 50px; 25 | font-family: sans-serif; 26 | } 27 | 28 | .swiper-slide { 29 | width: auto; 30 | height: fit-content; 31 | display: flex; 32 | height: auto; 33 | border-radius: 5px; 34 | overflow: hidden; 35 | align-items: flex-start; 36 | flex-direction: column; 37 | padding: 0px; 38 | font-family: Nunito; 39 | /* background-color: white; */ 40 | } 41 | 42 | .swiper-slide .ImgHolder { 43 | /* background-color: #4361ee; */ 44 | display: flex; 45 | width: 100%; 46 | height: auto; 47 | padding: 30px; 48 | border-bottom-left-radius: 20px; 49 | } 50 | 51 | .ContentHolder::before { 52 | /* background-color: #4361ee; */ 53 | content: ""; 54 | width: 50px; 55 | height: 50px; 56 | position: absolute; 57 | top: -5px; 58 | z-index: -1; 59 | right: 0px; 60 | } 61 | 62 | .ContentHolder { 63 | position: relative; 64 | padding: 10px; 65 | background-color: white; 66 | /* border-top-right-radius: 20px; */ 67 | border-radius: 20px; 68 | margin: 10px; 69 | width: 90%; 70 | } 71 | 72 | .swiper-pagination-bullet { 73 | background-color: white; 74 | opacity: 1; 75 | border: 1px solid #4361ee; 76 | } 77 | 78 | .swiper-pagination-bullet-active { 79 | background-color: #4361ee; 80 | } 81 | 82 | .swiper-button { 83 | border: 1px solid white; 84 | } 85 | 86 | .swiper-slide img { 87 | width: 100px; 88 | height: 100px; 89 | /* border-radius: 50%; */ 90 | margin: auto; 91 | object-fit: cover; 92 | /* border: 3px solid #4361ee; */ 93 | /* outline: 2px solid white; */ 94 | } 95 | 96 | .swiper-slide h3 { 97 | font-size: 1.1rem; 98 | text-align: center; 99 | font-weight: bold; 100 | } 101 | 102 | .swiper-slide p { 103 | font-size: 0.9rem; 104 | padding: 5px; 105 | } 106 | 107 | @media (max-width: 638px) { 108 | .swiper-container { 109 | width: 100%; 110 | } 111 | } 112 | 113 | @media (max-width: 500px) { 114 | .swiper-container { 115 | width: 90vw; 116 | } 117 | } 118 | 119 | @media (max-width: 300px) { 120 | .swiper-container { 121 | width: 100%; 122 | } 123 | 124 | .swiper-slide { 125 | border-radius: 0px; 126 | } 127 | 128 | .swiper-container .ImgHolder { 129 | border-radius: 0px; 130 | } 131 | .ContentHolder { 132 | border-radius: 0px; 133 | } 134 | } 135 | 136 | .header { 137 | margin: 0px 0px 40px; 138 | text-align: center; 139 | } 140 | .title { 141 | color: white; 142 | font-size: 40px; 143 | } 144 | .logo-img { 145 | width: 150px; 146 | height: 150px; 147 | } 148 | 149 | @property --rotate { 150 | syntax: ""; 151 | initial-value: 132deg; 152 | inherits: false; 153 | } 154 | 155 | .card { 156 | width: var(--card-width); 157 | height: var(--card-height); 158 | padding: 3px; 159 | position: relative; 160 | border-radius: 20px; 161 | justify-content: center; 162 | align-items: center; 163 | text-align: center; 164 | display: flex; 165 | font-size: 1.5em; 166 | color: rgb(88 199 250 / 100%); 167 | /* color: rgb(88 199 250 / 0%); */ 168 | cursor: pointer; 169 | font-family: cursive; 170 | } 171 | 172 | .card:hover { 173 | color: rgb(88 199 250 / 100%); 174 | transition: color 1s; 175 | border: 2px solid white; 176 | } 177 | .card:hover:before, 178 | .card:hover:after { 179 | animation: none; 180 | /* opacity: 0; */ 181 | } 182 | 183 | .card::before { 184 | content: ""; 185 | width: 104%; 186 | height: 102%; 187 | border-radius: 8px; 188 | background-image: linear-gradient( 189 | var(--rotate), 190 | #5ddcff, 191 | #3c67e3 43%, 192 | #4e00c2 193 | ); 194 | position: absolute; 195 | z-index: -1; 196 | top: -1%; 197 | left: -2%; 198 | animation: spin 3s linear infinite; 199 | } 200 | 201 | .card::after { 202 | position: absolute; 203 | content: ""; 204 | top: calc(var(--card-height) / 6); 205 | left: 0; 206 | right: 0; 207 | z-index: -1; 208 | height: 100%; 209 | width: 100%; 210 | margin: 0 auto; 211 | transform: scale(0.8); 212 | filter: blur(calc(var(--card-height) / 6)); 213 | /* background-image: linear-gradient( 214 | var(--rotate), 215 | #5ddcff, 216 | #3c67e3 43%, 217 | #4e00c2 218 | ); */ 219 | opacity: 1; 220 | transition: opacity 0.5s; 221 | animation: spin 5s linear infinite; 222 | } 223 | 224 | @keyframes spin { 225 | 0% { 226 | --rotate: 0deg; 227 | } 228 | 100% { 229 | --rotate: 360deg; 230 | } 231 | } 232 | 233 | a { 234 | color: #212534; 235 | text-decoration: none; 236 | font-family: sans-serif; 237 | font-weight: bold; 238 | margin-top: 2rem; 239 | } 240 | 241 | html { 242 | width: 100%; 243 | height: 100%; 244 | } 245 | body { 246 | /* background: aqua; */ 247 | text-align: center; 248 | transition: background 5s ease-in-out; 249 | } 250 | button:focus, 251 | input:focus { 252 | outline: none; 253 | } 254 | .main-app { 255 | /* top: 50%; */ 256 | /* transform: translateY(50vh); */ 257 | display: flex; 258 | justify-content: center; 259 | margin: 10px; 260 | } 261 | .submit { 262 | background: transparent; 263 | border: none; 264 | font-size: 30px; 265 | transition: 0.5s ease-in-out; 266 | margin-left: 5px; 267 | color: cadetblue; 268 | } 269 | .search-bar { 270 | background: transparent; 271 | width: 0%; 272 | height: 30px; 273 | border: none; 274 | font-size: 15px; 275 | color: cadetblue; 276 | font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; 277 | border-bottom: 2px solid cadetblue; 278 | transition: width 0.5s ease-in-out, padding 0.2s ease-in-out; 279 | font-weight: 800; 280 | text-align: center; 281 | } 282 | .icon-img { 283 | border: 0px !important; 284 | width: 30px !important; 285 | height: 30px !important; 286 | border-radius: 0px !important; 287 | } 288 | .submit-btn { 289 | background: none; 290 | border: none; 291 | margin: 20px 0px; 292 | padding: 10px; 293 | } 294 | .submit-btn:hover { 295 | cursor: pointer; 296 | } 297 | .send-img { 298 | width: 50px !important; 299 | height: 50px !important; 300 | opacity: 0.7; 301 | } 302 | .send-img:hover { 303 | opacity: 1; 304 | } 305 | -------------------------------------------------------------------------------- /carousel.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Document 9 | 590 | 591 | 592 | 593 | 732 | 733 | 734 | 735 | -------------------------------------------------------------------------------- /front.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 11 | 15 | 16 | 17 | 18 | 324 | 325 | 326 |
331 |
332 | logo 338 |

Traveler's Emergency

339 |
340 |
341 | 342 |
343 |
344 | 351 |
352 | 522 | 523 | 524 | --------------------------------------------------------------------------------