Body and header styling and fonts

PHOTO EMBED

Mon Jun 27 2022 00:48:18 GMT+0000 (UTC)

Saved by @mbala ##css

/* 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;
}
content_copyCOPY