/* Importing font library "Poppins" from Google Fonts */ @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800;900&display=swap'); /* Creating a default style for all elements in webpage */ * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; scroll-behavior: smooth; } body { /* webpage background white */ background-color: #fff; } header { position: fixed; top: 0; left: 0; width: 100%; padding: 40px 50px; z-index: 10000; display: flex; /* space between logo and nav menu */ justify-content: space-between; /* centered heightwise */ align-items: center; /* 0.5s animated transition into screen */ transition: 0.01s; }