|
| 1 | +.keyfeatures { |
| 2 | + margin: 50px 0; |
| 3 | +} |
| 4 | + |
| 5 | +.keyfeatures .container { |
| 6 | + display: flex; |
| 7 | + flex-direction: column; |
| 8 | +} |
| 9 | + |
| 10 | +.keyfeatures-header { |
| 11 | + display: flex; |
| 12 | + flex-direction: column; |
| 13 | + width: 100%; |
| 14 | + align-items: center; |
| 15 | + letter-spacing: 1.5px; |
| 16 | + font-size: 27px; |
| 17 | +} |
| 18 | + |
| 19 | +.keyfeatures-box-container { |
| 20 | + display: flex; |
| 21 | + flex-wrap: wrap; |
| 22 | + justify-content: center; |
| 23 | +} |
| 24 | + |
| 25 | +.keyfeatures-box-content { |
| 26 | + height: 175px; |
| 27 | + min-width: 275px; |
| 28 | + width: 325px; |
| 29 | + margin: 30px 30px 30px 0; |
| 30 | + border-radius: 3px; |
| 31 | +} |
| 32 | + |
| 33 | +.keyfeatures-box-title { |
| 34 | + margin: 15px; |
| 35 | + font-size: 16px; |
| 36 | + text-transform: uppercase; |
| 37 | +} |
| 38 | + |
| 39 | +.keyfeatures-box-text > a { |
| 40 | + color: #4D77CF; |
| 41 | +} |
| 42 | + |
| 43 | +.keyfeatures-box-text { |
| 44 | + margin: 30px 15px; |
| 45 | + font-size: 14px; |
| 46 | +} |
| 47 | + |
| 48 | +.keyfeatures-box-content:hover > .keyfeatures-box-text, .keyfeatures-box-content:focus > .keyfeatures-box-text, .keyfeatures-box-content:active > .keyfeatures-box-text { |
| 49 | + color: #6C7A89; |
| 50 | +} |
| 51 | + |
| 52 | +@media only screen and (max-width: 1280px) { |
| 53 | + .keyfeatures .container { |
| 54 | + align-items: center; |
| 55 | + justify-content: center; |
| 56 | + } |
| 57 | + |
| 58 | + .keyfeatures-box-container { |
| 59 | + justify-content: center; |
| 60 | + } |
| 61 | +} |
| 62 | + |
| 63 | +@media only screen and (max-width: 1090px) { |
| 64 | + .keyfeatures .container { |
| 65 | + margin: 0 6vw; |
| 66 | + } |
| 67 | +} |
| 68 | + |
| 69 | +@media only screen and (max-width: 525px) { |
| 70 | + .keyfeatures-header { |
| 71 | + flex-direction: column; |
| 72 | + } |
| 73 | +} |
| 74 | + |
| 75 | +@media only screen and (max-width: 425px) { |
| 76 | + .keyfeatures .container { |
| 77 | + align-items: center; |
| 78 | + justify-content: center; |
| 79 | + margin: 0 10%; |
| 80 | + } |
| 81 | + |
| 82 | + .keyfeatures-box-content { |
| 83 | + margin: 30px; |
| 84 | + } |
| 85 | +} |
| 86 | + |
| 87 | +.keyfeatures-underline { |
| 88 | + display: inline-block; |
| 89 | + vertical-align: middle; |
| 90 | + -webkit-transform: perspective(1px) translateZ(0); |
| 91 | + transform: perspective(1px) translateZ(0); |
| 92 | + /* Black, with 10% opacity */ |
| 93 | + box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1); |
| 94 | + position: relative; |
| 95 | + overflow: hidden; |
| 96 | +} |
| 97 | + |
| 98 | +.keyfeatures-underline:before { |
| 99 | + content: ""; |
| 100 | + position: absolute; |
| 101 | + z-index: -1; |
| 102 | + left: 0; |
| 103 | + right: 100%; |
| 104 | + bottom: 0; |
| 105 | + background: #013243; |
| 106 | + height: 4px; |
| 107 | + -webkit-transition-property: right; |
| 108 | + transition-property: right; |
| 109 | + -webkit-transition-duration: 0.3s; |
| 110 | + transition-duration: 0.3s; |
| 111 | + -webkit-transition-timing-function: ease-out; |
| 112 | + transition-timing-function: ease-out; |
| 113 | +} |
| 114 | + |
| 115 | +.keyfeatures-underline:hover:before, .keyfeatures-underline:focus:before, .keyfeatures-underline:active:before { |
| 116 | + right: 0; |
| 117 | +} |
0 commit comments