.icon{ background-color: #d82231; } .border{ border: 2px solid #d82231; } .title{ color: #d82231; } .scale{ /* transform: scale(20%); */ width: 25%; border-radius: 20px; border: 3px solid #fff; transition: .3s linear; } .scale:hover{ border: 3px solid #d82231; border-radius: 20px; } @media(max-width:992px){ .scale{ /* transform: scale(20%); */ width: 40%; } } @media(max-width:768px){ .scale{ /* transform: scale(20%); */ width: 50%; } } @media(max-width:576px){ .scale{ /* transform: scale(20%); */ width: 75%; } }