@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap'); * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; } body { height: 100vh; background-color: #000; background-image: url(https://images.unsplash.com/photo-1645102201624-1906a0ae19a6?q=80&w=1287&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D); background-size: cover; background-position: center; } li { list-style: none; } a { text-decoration: none; color: #fff; font-size: 1rem; padding: 2px 10px; border-radius: 3px; } a:hover { background-color: #000; } /* Header */ header { position: relative; padding: 0 2rem; } .navbar { width: 100%; height: 60px; max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; } .navbar .logo { display: flex; align-items: center; } .navbar .logo a { font-size: 1.5rem; font-weight: bold; } .navbar .logo img { width: 25px; } .navbar .menu { display: flex; gap: 2rem; } .navbar .toggle_btn { color: #fff; font-size: 1.5rem; cursor: pointer; display: none; } .action_btn { background-color: #fff; padding: 0.5rem 1rem; border: none; outline: none; border-radius: 15px; font-size: 0.8rem; font-weight: bold; color: #000; font-weight: bold; cursor: pointer; transition: scale 0.2 ease; } .action_btn:hover { color: #fff; scale: 1.1; } .action_btn:active { scale: 0.95; } /* Dropdown */ .dropdown_menu { display: none; position: absolute; right: 2rem; top: 60px; width: 300px; height: 0; background-color: rgba(255, 255, 255, 0.1); backdrop-filter: blur(15px); border-radius: 10px; overflow: hidden; transition: height 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275); } .dropdown_menu.open { height: 264px; } .dropdown_menu li { padding: 0.7rem; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid rgba(255, 255, 255, 0.2); } .dropdown_menu .action_btn { width: 100%; display: flex; justify-content: center; } /* Hero */ section#hero { height: calc(60vh - 60px); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #fff; padding: 0 2rem; font-size: larger; } /* #hero h1 { font-size: 3rem; margin-bottom: 1rem; } */ /* Responsive */ @media (max-width: 992px) { .navbar .menu, .navbar .action_btn { display: none; } .navbar .toggle_btn { display: block; } .dropdown_menu { display: block; } section#hero{ height: calc(70vh - 60px); font-size: medium; } } @media (max-width: 576px) { .dropdown_menu { left: 2rem; width: unset; } }