*{ margin: 0; padding:0; font-family: 'times roman'; } body{ background-image:url(img/8.png) ; background-size:100%; } .con2{ background-color: rgb(0, 255, 242); text-align:center; text-shadow: 3px 3px rgb(0, 174, 255); font-size: 50px; padding: 10px; } .co1 i{ width:10px; height:10px; float:right; } ul{ float: right; margin-top: 15px; } .con4{ font-size: 40px; font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif; font-style: normal; text-decoration-line:underline ; margin-left: 10px; } .con5{ width: 900px; font-size: 20px; text-indent: 40px; padding:20px; text-align: justify; } ul li{ margin-right: 50px; width: 80px; display: inline; font-size:20px ; padding: 10px; text-decoration: none; border: 3px solid black; } li a{ text-decoration: none; color: black; } .con6{ font-size: 40px; font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif; font-style: normal; text-decoration-line:underline ; margin-left: 10px; } .maincon{ width: 500px; display: flex; flex-direction: row; margin: 10px 10px; padding: 10px; } .child1{ width: 400px; } .child1 img{ width: 200px; padding: 10px; margin: 10px; height: 200px; border: 1px solid black; } .child1:hover{ transform: scale(1.2); z-index: 1; } con3 :hover{ transform: scale(1); z-index: 1; } .con7 h3{ font-size: 40px; font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif; font-style: normal; text-decoration-line:underline ; margin-left: 10px; color: black; } .maincon1{ width: 500px; display: flex; flex-direction: row; margin: 10px 10px; padding: 10px; } .child2{ width: 400px; } .child2 img{ width: 200px; padding: 10px; margin: 10px; height: 200px; border: 1px solid black; } .child2:hover{ transform: scale(1.2); z-index: 1; } .maincon2{ width: 500px; display: flex; flex-direction: row; margin: 10px 10px; padding: 10px; } .child3{ width: 400px; } .child3 img{ width: 200px; padding: 10px; margin: 10px; height: 200px; border: 1px solid black; } .child3:hover{ transform: scale(1.2); z-index: 1; }