/* defult color */ :root{ --pr-color : #048853; } body { font-family: 'Poppins', sans-serif; background-color: #f3fff4 } /* navbar style */ .navbar{ z-index: 3; } *{ z-index: 2; } .accent-img{ z-index: 1; } .img-hero{ z-index: 1; } .navbar-brand{ font-weight: 700; font-size: 20px; } .nav-link{ font-size: 16px; } .nav-link.active{ font-weight: 700; } /* button daftar */ .button-secondary{ width: 133px; height: 40px; background-color: #fff; color: var(--pr-color); border: none; font-size: 16px; font-weight: 700; } /* button masuk */ .button-primary{ width: 133px; height: 40px; background-color: transparent; color: #fff; border: none; font-size: 16px; font-weight: 400; } /* button temukan rumah */ .button-lg-primary{ width: 237px; height: 70px; background-color: #fff; color: var(--pr-color); border: none; font: 20px; font-weight: 700; } /* Hero Section */ #hero{ background: linear-gradient(160deg, var(--pr-color), #000); height: 100vh; width: 100%; } /* gambar rumah */ .img-hero{ height: 100%; } /* tagline */ .hero-tagline h1{ color:#fff; font-weight: 700; font-size: 50px; line-height: 72px; } .hero-tagline p { color: #fff; margin-bottom: 60px; margin-top: 20px; line-height: 30px; width: 85%; } .button-lg-primary{ } /* LAYANAN SECTION */ #layanan{ padding: 100px 0; /* Memberi Jarak (atas&bawah kanan&kiri) */ } h2 { font-size: 48px; font-weight: 500; color: var(--pr-color); } .sub title { font-size: 18px; color: #000; } /* card */ .card-layanan{ width: 100%; height: 313px; border-radius: 5px; background-color: #fff; padding: 40px; box-shadow: 0 0 7px 3px rgb(0, 0, 0, 0.05); transition: all .2s ease-in; } .circle-icon{ width: 70px; height: 70px; background: var(--pr-color); border-radius: 50%; transition: all .1s ease-in; } .card-layanan h3{ color: var(--pr-color); font-size: 24px; transition: all .2s ease-in; } .card-layanan p{ color: #000000; font-size: 14px; transition: all .3s ease-in; } /* KONDISI KETIKA HOOVER */ .card-layanan:hover{ width: 100%; height: 313px; border-radius: 5px; background : linear-gradient(160deg, var(--pr-color), #000000); padding: 40px; box-shadow: 0 0 7px 3px rgb(0, 0, 0, 0.05); transition: all .2s ease-in; } .card-layanan:hover .circle-icon{ width: 70px; height: 70px; background-color: #fff; border-radius: 50%; transition: all .2s ease-in; } .card-layanan:hover h3{ color: #fff; font-size: 24px; transition: all .2s ease-in; } .card-layanan:hover p{ color: #fff; font-size: 14px; transition: all .2s ease-in; }