.idg img {opacity: 0.5; transition: all 0.3s} .idg img:hover {opacity: 1} .idg a {transition: all 0.3s} .idg a:hover {color: #CC0000; font-weight: bold} .idg a:active {color: #CC0000; font-weight: bold}