* { padding: 0; margin: 0; font-family: 'Times New Roman', Times, serif; box-sizing: border-box; } .header { min-height: 100vh; width: 100%; background-image: linear-gradient(rgba(4,9,30,0.7), rgba(4,9,30,0.7)), url(img/langitbmw.jpg); background-position: center; background-size: cover; position: relative; } nav { display: flex; justify-content: space-between; padding: 2% 6%; align-items: center; } nav img { width: 90px; } .header nav a { text-align: center; text-decoration: none; color: #fff; letter-spacing: 2px; } .nav-links { flex: 1; text-align: right; } .nav-links ul li { list-style-type: none; display: inline-block; padding: 0px 17px; position: relative; } .nav-links ul li a { text-decoration: none; color: #fff; font-size: 16px; } .nav-links ul li::after { content: ''; width: 0%; display: block; height: 3px; margin: auto; background-color: #f44336; } .nav-links ul li:hover::after { width: 100%; transition: 0.3s; } /* Tombol Login */ .login-btn { position: ; right: 6%; top: 20px; } .login-btn img { width: 30px; cursor: pointer; } .login-btn { display: inline-block; text-decoration: none; text-transform: uppercase; color: #fff; border-radius: 30px; font-size: 14px; cursor: pointer; } .login-btn:hover { background-color: #f44336b6; transition: 1s; border: 1px solid #f44336; } .text-box { width: 70%; color: #fff; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; } .text-box p { font-size: 32px; margin-bottom: 20px; color: #fff; } .text-box h1 { margin-bottom: 30px; font-size: 56px; color: #fff; } .hero-btn { display: inline-block; background-color: #f44336; text-decoration: none; text-transform: uppercase; color: #fff; border: 1px solid #f44336; padding: 12px 34px; border-radius: 30px; font-size: 14px; position: relative; cursor: pointer; } .hero-btn:hover { background-color: #f44336b6; transition: 1s; border: 1px solid #f44336; } nav .fa { display: none; } @media(max-width:700px) { .text-box h1 { font-size: 20px; } .nav-links ul li { display: block; } .nav-links { position: fixed; background: #f44336; height: 100vh; width: 200px; top: 0; right: -200px; text-align: left; z-index: 2; transition: 1s; } nav .fa { display: block; color: #fff; margin: 10px; font-size: 22px; cursor: pointer; } .nav-links ul { padding: 30px; } } /* Section Content Styling */ .jurusan { width: 80%; margin: auto; text-align: center; padding-top: 100px; } h1 { font-size: 36px; font-weight: 700; } p { color: #777; font-size: 15px; font-weight: 400; padding-top: 6px; line-height: 22px; } .row { display: flex; margin-top: 5%; justify-content: space-between; } .jurusan-col { flex-basis: 31%; background: #ffe5d9; padding: 20px 20px; border-radius: 15px; margin-bottom: 5%; } h3 { text-align: center; font-weight: 600; margin: 10px 0px; } .jurusan-col:hover { box-shadow: 0 0 20px 4px rgba(0, 0, 0, 0.2); transition: 0.4s; filter: saturate(3.5); } @media(max-width:700px) { .row { flex-direction: column; } } /* cta */ .cta{ width: 80%; margin: 100px auto; text-align: center; background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url(img/bmwcs.jpg); background-position: center; background-size: cover; border-radius: 10px; padding: 100px 0px; } .cta h1{ color: #fff; margin-bottom: 40px; padding: 0px; } @media(max-width:700px){ .cta h1{ font-size: 24px; } } /* ------------------ Testimonials ----------------------- */ .testimoni{ width: 80%; padding-top: 100px; text-align: center; margin: auto; } .testimoni-col{ flex-basis: 44%; display: flex; margin-bottom: 5%; text-align: left; background: #fff3f3; padding: 20px; border-radius: 10px; cursor: pointer; } .testimoni img{ height: 40px; margin-left: 10px; margin-right: 30px; border-radius: 50%; } .testimoni-col h3{ text-align: left; } .testimoni-col p{ padding: 0; } .testimoni-col .fa{ color: #f44336; } @media(max-width:700px) { .testimoni-col img{ margin-left: 0px; margin-right: 15px; } } /* Footer */ .footer { background-color: #03071e; width: 100%; text-align: center; padding: 30px 0px; color: #fff; margin-top: 5%; } .footer h4 { margin-bottom: 20px; margin-top: 30px; font-weight: 600; font-size: 33px; } .footer p { color: #adb5bd; } .icon { margin-left: 10px; margin-top: 20px; margin-bottom: 10px; } p .fa-solid { color: #f44336; } .icon .fa-brands { margin-left: 10px; }