*{ margin: 0; padding: 0; font-family: 'Roboto', sans-serif; } .container{ width: 100%; height: 100vh; background-image: linear-gradient(rgba(0,0,0,0.7),rgba(0,0,0,0.7)),url(background.jpg); 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; color: white; font-size: 20px; } .navbar i{ 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; color: white; font-size: 13px; } .row{ display: flex; height: 88%; align-items: center; } .col { flex-basis: 50%; } h1{ color: white; font-size: 100px; } p{ color: white; font-size: 11px; line-height: 15px; } button{ width: 180px; color: #000; font-size: 12px; padding: 12px 0; background: whitesmoke; border: 0; border-radius: 20px; -webkit-border-radius: 20px; -moz-border-radius: 20px; -ms-border-radius: 20px; -o-border-radius: 20px; outline: none; margin-top: 30px; } .card { width: 200px; height: 230px; display: inline-block; border-radius: 10px; -webkit-border-radius: 10px; -moz-border-radius: 10px; -ms-border-radius: 10px; -o-border-radius: 10px; padding: 15px 25px; box-sizing: border-box; margin: 10px 15px; background-position: center; background-size: cover; } .card h5{ color: white; text-decoration: bold; } .card1{ background-image: linear-gradient(rgba(0,0,0,0.75),rgba(0,0,0,0.75)),url(card1.jpg); } .card2{ background-image: linear-gradient(rgba(0,0,0,0.75),rgba(0,0,0,0.75)),url(card2.jpg); } .card3{ background-image: linear-gradient(rgba(0,0,0,0.75),rgba(0,0,0,0.75)),url(card3.jpg); } .card4{ background-image: linear-gradient(rgba(0,0,0,0.75),rgba(0,0,0,0.75)),url(card4.jpg); }