|
| 1 | +.tickets-block { |
| 2 | + font-family: 'Montserrat', sans-serif; |
| 3 | + .items-container { |
| 4 | + margin: 30px auto; |
| 5 | + display: flex; |
| 6 | + flex-wrap: wrap; |
| 7 | + flex-direction: column; |
| 8 | + gap: 1em; |
| 9 | + @media screen and (min-width: 768px) { |
| 10 | + flex-direction: row; |
| 11 | + justify-content: center; |
| 12 | + align-items: flex-start; |
| 13 | + gap: 1.5em; |
| 14 | + } |
| 15 | + } |
| 16 | + .ticket-item { |
| 17 | + // background: linear-gradient(to left, #0074a9 50%, #e32dfd 50%); |
| 18 | + padding: 3.5px; |
| 19 | + text-align: center; |
| 20 | + font-family: 'Lato'; |
| 21 | + border-radius: 8px; |
| 22 | + background: linear-gradient(-45deg, #0074a9, #e32dfd, #2aea9c, #e32dfd); |
| 23 | + background-size: 400% 400%; |
| 24 | + position: relative; |
| 25 | + z-index: 1; |
| 26 | + animation: gradientAnimation 9s linear infinite; |
| 27 | + @media screen and (min-width: 768px) { |
| 28 | + flex: 0 1 25%; |
| 29 | + } |
| 30 | + &:nth-child(even) { |
| 31 | + background: linear-gradient(-45deg, #e32dfd, #2aea9c, #e32dfd, #0074a9); |
| 32 | + } |
| 33 | + > div { |
| 34 | + background-color: #fff; |
| 35 | + padding: 30px 20px; |
| 36 | + border-radius: 8px; |
| 37 | + } |
| 38 | + |
| 39 | + h3 { |
| 40 | + font-size: 20px; |
| 41 | + font-weight: bold; |
| 42 | + margin-bottom: 1em; |
| 43 | + } |
| 44 | + .price { |
| 45 | + margin: 0.75em auto; |
| 46 | + font-size: 35px; |
| 47 | + display: flex; |
| 48 | + flex-direction: column; |
| 49 | + gap: 10px; |
| 50 | + align-items: center; |
| 51 | + span { |
| 52 | + display: inline-block; |
| 53 | + width: auto; |
| 54 | + font-size: 1rem; |
| 55 | + |
| 56 | + background-color: $secondary; |
| 57 | + padding: 3px 8px; |
| 58 | + } |
| 59 | + } |
| 60 | + .description { |
| 61 | + margin: 1em auto; |
| 62 | + } |
| 63 | + a { |
| 64 | + align-items: center; |
| 65 | + border: 1px solid $brand; |
| 66 | + color: $brand; |
| 67 | + border-radius: 0.3em; |
| 68 | + margin: 1em auto; |
| 69 | + font-size: 0.75em; |
| 70 | + font-weight: 500; |
| 71 | + letter-spacing: 0.16em; |
| 72 | + padding: 0.5em 2.7em; |
| 73 | + display: inline-block; |
| 74 | + transition: all 0.3s linear; |
| 75 | + &:hover { |
| 76 | + background-color: $brand; |
| 77 | + color: #ffffffff; |
| 78 | + } |
| 79 | + } |
| 80 | + |
| 81 | + hr { |
| 82 | + margin: 1em auto !important; |
| 83 | + height: 1px; |
| 84 | + background: lightgray; |
| 85 | + } |
| 86 | + .features { |
| 87 | + padding: 18px 30px; |
| 88 | + ul { |
| 89 | + text-align: left; |
| 90 | + margin: 20px 0; |
| 91 | + list-style-type: '👉'; |
| 92 | + padding-inline-start: 1em; |
| 93 | + li { |
| 94 | + margin-bottom: 10px; |
| 95 | + padding-left: 0.5em; |
| 96 | + } |
| 97 | + } |
| 98 | + } |
| 99 | + .conditions p { |
| 100 | + font-size: 0.7rem; |
| 101 | + margin-bottom: 8px; |
| 102 | + opacity: 0.86; |
| 103 | + color: #000; |
| 104 | + } |
| 105 | + } |
| 106 | +} |
| 107 | + |
| 108 | +@keyframes gradientAnimation { |
| 109 | + 0% { |
| 110 | + background-position: 0% 50%; |
| 111 | + } |
| 112 | + 50% { |
| 113 | + background-position: 100% 50%; |
| 114 | + } |
| 115 | + 100% { |
| 116 | + background-position: 0% 50%; |
| 117 | + } |
| 118 | +} |
0 commit comments