.project { margin-bottom: 30px; } .project a { text-decoration: none; color: #be00a9; transition: 0.5s; font-size: 34px; } .project:hover a { color: #e8004d; } .project p a { font-size: 24px; } .project:hover p a { color: #be00a9; } .project p a:hover { color: #e8004d; } .project p { font-size: 24px; color: #c4c4c4; margin-top: 5px; margin-bottom: 5px; transition: 0.5s; } .project:hover p { color: #ffffff; }