*{ margin: 0; padding: 0; font-family: 'Roboto', sans-serif; } .container{ width: 100%; height: 100vh; background: #292929; background-position: center; background-size: cover; padding-left: 8%; padding-right: 8%; box-sizing: border-box; } .navbar{ height: 12%; display: flex; align-items: center; } .logo{ width: 50px; cursor: pointer; } .menu-icon{ width: 30px; cursor: pointer; margin-left: 40px; } nav{ flex: 1; text-align: right; } nav ul li{ list-style: none; display: inline-block; margin-left: 60px; } nav ul li a{ text-decoration: none; color: #fff; font-size: 13px; } .row{ display: flex; height: 88%; align-items: center; } .col{ flex-basis: 50%; } h1{ color: #fff; font-size: 100px; } p{ color: #fff; font-size: 20px; line-height: 15px; } button{ width: 180px; color: #000; font-size: 12px; padding: 12px 0; background: #fff; border: 0; border-radius: 20px; outline: none; margin-top: 30px; } .card{ width: 200px; height: 230px; display: inline-block; border-radius: 10px; padding: 15px 25px; box-sizing: border-box; cursor: pointer; margin: 10px 15px; background-image: url(images/pic-1.png); background-position: center; background-size: cover; transition: transform 0.5s; } .col h5{ color: white; } .card1{ background-image: url(images/pic-1.png); } .card2{ background-image: url(images/pic-2.png); } .card3{ background-image: url(images/pic-3.png); } .card4{ background-image: url(images/pic-4.png); } .card:hover{ transform: translateY(-10px); } .more h1{ padding-bottom: 60px; }