| 1 | .search-highlight { |
| 2 | background-color: #c016c6; |
| 3 | color: #000; |
| 4 | font-weight: bold; |
| 5 | padding: 1px 2px; |
| 6 | border-radius: 3px; |
| 7 | } |
| 8 | |
| 9 | .search-form { |
| 10 | text-align: center; |
| 11 | margin: 20px 0; |
| 12 | } |
| 13 | |
| 14 | .search-form form { |
| 15 | display: flex; |
| 16 | justify-content: center; |
| 17 | flex-wrap: wrap; |
| 18 | gap: 10px; |
| 19 | } |
| 20 | |
| 21 | .search-form input[type="text"] { |
| 22 | width: 60%; |
| 23 | padding: 8px; |
| 24 | border: 1px solid #ea79d8; |
| 25 | background-color: #232320; |
| 26 | color: #ea79d8; |
| 27 | border-radius: 4px; |
| 28 | } |
| 29 | |
| 30 | .search-form input[type="submit"] { |
| 31 | padding: 8px 16px; |
| 32 | background-color: #c016c6; |
| 33 | color: #12120f; |
| 34 | border: none; |
| 35 | border-radius: 4px; |
| 36 | cursor: pointer; |
| 37 | transition: background-color 0.3s; |
| 38 | } |
| 39 | |
| 40 | .search-form input[type="submit"]:hover { |
| 41 | background-color: #ea79d8; |
| 42 | } |
| 43 | |
| 44 | @media screen and (max-width: 768px) { |
| 45 | .search-form input[type="text"] { |
| 46 | width: 70%; |
| 47 | } |
| 48 | } |
| 49 | |
| 50 | @media screen and (max-width: 480px) { |
| 51 | .search-form form { |
| 52 | flex-direction: column; |
| 53 | align-items: center; |
| 54 | } |
| 55 | |
| 56 | .search-form input[type="text"] { |
| 57 | width: 90%; |
| 58 | } |
| 59 | |
| 60 | .search-form input[type="submit"] { |
| 61 | width: 90%; |
| 62 | } |
| 63 | } |