style.css
210 lines
| 1 | @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;500;700;800&family=Roboto&display=swap'); |
| 2 | .bmi-banner { |
| 3 | font-family: 'Montserrat', Helvetica, Arial, sans-serif; |
| 4 | background: linear-gradient(180deg, #FFFFFF -10.65%, #C3EAF2 103.46%); |
| 5 | position: relative; |
| 6 | max-width: 1000px; |
| 7 | margin: 30px auto; |
| 8 | border-radius: 10px; |
| 9 | padding: 30px 60px; |
| 10 | color: #000; |
| 11 | } |
| 12 | |
| 13 | .bmi-banner__close { |
| 14 | position: absolute; |
| 15 | top: 20px; |
| 16 | right: 20px; |
| 17 | font-size: 40px; |
| 18 | color: #999; |
| 19 | text-decoration: none; |
| 20 | } |
| 21 | .bmi-banner__close:hover { |
| 22 | color: #929498; |
| 23 | } |
| 24 | |
| 25 | .bmi-banner__header { |
| 26 | margin-bottom: 10px; |
| 27 | } |
| 28 | |
| 29 | .bmi-banner__header div { |
| 30 | margin-bottom: 25px; |
| 31 | font-weight: 400; |
| 32 | font-size: 27px; |
| 33 | color: #000; |
| 34 | text-align: center; |
| 35 | } |
| 36 | |
| 37 | .bmi-banner__header div .bb-highlight { |
| 38 | color: #0C7872; |
| 39 | font-weight: 700; |
| 40 | } |
| 41 | |
| 42 | .bmi-banner__header .small { |
| 43 | font-size: 0.9rem; |
| 44 | } |
| 45 | |
| 46 | .bmi-banner__cards { |
| 47 | display: flex; |
| 48 | justify-content: space-between; |
| 49 | margin-top: 5px; |
| 50 | gap: 25px; |
| 51 | } |
| 52 | |
| 53 | .bmi-banner__card { |
| 54 | display: flex; |
| 55 | flex-direction: column; |
| 56 | background: #fff; |
| 57 | padding: 20px 25px 20px 20px; |
| 58 | gap: 10px; |
| 59 | border-radius: 20px; |
| 60 | } |
| 61 | |
| 62 | .bmi-banner__card-header{ |
| 63 | display: flex; |
| 64 | align-items: center; |
| 65 | gap: 15px; |
| 66 | font-weight: 700; |
| 67 | font-size: 18px; |
| 68 | line-height: 28px; |
| 69 | } |
| 70 | |
| 71 | .bmi-banner__card img { |
| 72 | display: block; |
| 73 | height: 70px; |
| 74 | width: 70px; |
| 75 | } |
| 76 | |
| 77 | .bmi-banner__card h3 { |
| 78 | margin: 0 0 10px; |
| 79 | font-size: 1.1rem; |
| 80 | font-weight: normal; |
| 81 | } |
| 82 | |
| 83 | .bmi-banner__card .bmi-banner__card-text { |
| 84 | margin: 0; |
| 85 | font-size: 15px; |
| 86 | line-height: 22.5px; |
| 87 | } |
| 88 | |
| 89 | |
| 90 | .bmi-banner__footer { |
| 91 | display: flex; |
| 92 | flex-direction: column; |
| 93 | flex-wrap: wrap; |
| 94 | align-items: center; |
| 95 | justify-content: space-between; |
| 96 | margin-top: 25px; |
| 97 | gap: 25px; |
| 98 | } |
| 99 | |
| 100 | .bmi-banner__footer-text { |
| 101 | display: flex; |
| 102 | align-items: center; |
| 103 | gap: 6px; |
| 104 | font-size: 15px; |
| 105 | } |
| 106 | |
| 107 | .bmi-banner__footer span { |
| 108 | margin: 0; |
| 109 | font-size: 15px; |
| 110 | line-height: 22.5px; |
| 111 | } |
| 112 | |
| 113 | .bmi-banner__cta-button { |
| 114 | background: #00a6b2; |
| 115 | color: #fff; |
| 116 | border: none; |
| 117 | border-radius: 20px; |
| 118 | padding: 10px 20px; |
| 119 | font-size: 1rem; |
| 120 | cursor: pointer; |
| 121 | margin-right: 20px; |
| 122 | } |
| 123 | .bmi-banner__cta-button:hover { |
| 124 | background: #008a92; |
| 125 | } |
| 126 | |
| 127 | .bmi-banner .bmi-links { |
| 128 | color: #148E87; |
| 129 | text-decoration: none; |
| 130 | font-weight: 600; |
| 131 | } |
| 132 | |
| 133 | .bmi-banner__dismiss-link{ |
| 134 | position: absolute; |
| 135 | right: 20px; |
| 136 | bottom: 20px; |
| 137 | color: #929498; |
| 138 | text-decoration: none; |
| 139 | } |
| 140 | |
| 141 | .bmi-banner__dismiss-link:hover { |
| 142 | color: #999; |
| 143 | } |
| 144 | |
| 145 | |
| 146 | |
| 147 | |
| 148 | /* |
| 149 | Underline effect for the free link |
| 150 | */ |
| 151 | .bmi-banner__free-underlined { |
| 152 | display: inline-block; |
| 153 | position: relative; |
| 154 | } |
| 155 | .bmi-banner__free-underlined::after { |
| 156 | content: ""; |
| 157 | position: absolute; |
| 158 | left: -2px; |
| 159 | right: 0; |
| 160 | bottom: 4px; |
| 161 | height: 7px; |
| 162 | background-color: #55BDBD; |
| 163 | border-radius: 5px; |
| 164 | z-index: 0; |
| 165 | width: 110%; |
| 166 | } |
| 167 | .bmi-banner__free-underlined span { |
| 168 | position: relative; |
| 169 | z-index: 1; |
| 170 | } |
| 171 | |
| 172 | .bmi-banner__left-bg{ |
| 173 | position: absolute; |
| 174 | top: 0; |
| 175 | left: 0; |
| 176 | width: 50%; |
| 177 | height: 50%; |
| 178 | border-radius: 10px 0 0 10px; |
| 179 | } |
| 180 | |
| 181 | |
| 182 | .bmi-banner__card.bmi-banner__premium-card { |
| 183 | display: flex; |
| 184 | flex-direction: row; |
| 185 | } |
| 186 | |
| 187 | .bmi-banner__premium-card .bmi-banner__card-content { |
| 188 | display: flex; |
| 189 | flex-direction: column; |
| 190 | } |
| 191 | |
| 192 | |
| 193 | |
| 194 | /* Responsive adjustments */ |
| 195 | @media (max-width: 768px) { |
| 196 | .bmi-banner__cards { |
| 197 | flex-direction: column; |
| 198 | align-items: stretch; |
| 199 | } |
| 200 | .bmi-banner__card { |
| 201 | margin: 0 auto; |
| 202 | max-width: 300px; |
| 203 | } |
| 204 | .bmi-banner__footer { |
| 205 | flex-direction: column; |
| 206 | align-items: flex-start; |
| 207 | gap: 10px; |
| 208 | } |
| 209 | } |
| 210 |