.link{ color: #111; font-family: 'Montserrat', sans-serif; font-size: 22px; font-weight: 700; line-height: 20px; text-transform: capitalize; display: inline-block; transition: all 0.1s ease-in-out; } .link:focus, .link:hover{ color: rgb(8, 122, 167); box-shadow: inset 0px -7px 10px 0px rgba(0, 0, 0, 0.15); } .link span{ display: inline-block; transition: all 0.2s ease-in-out; } .link:hover span{ transform: translateY(3px); } @media only screen and (max-width: 767px){ .link{ margin-bottom: 30px; } }