* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Spartan', sans-serif;
}

body {
    width: 100%;
}


/* Header */
#header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 10px 100px;
    background: #e5d3c2;
    position: sticky;
    top: 0;
    z-index: 100;
}

#navbar {
    display: flex;
    align-items: center;
    justify-content: center;
}

#navbar li {
    list-style: none;
    padding: 0 20px;
    position: relative;
}

#navbar li a {
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    transition: 0.2s ease;
}

#navbar li a:hover,
#navbar li a.active {
    color: #ee8f12;
}

#navbar li a.active::after,
#navbar li a:hover::after {
    content: "";
    width: 30%;
    height: 2px;
    background: #ee8f12;
    position: absolute;
    bottom: -4px;
    left: 20px;
}

#menu-btn{
    list-style: none;
    font-size: 30px;
    display: none;
}


/* Heading */
#heading {
    background: url(Images/pg-header.jpg) no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    padding: 60px 0 40px 0;
    color: aliceblue;
    -webkit-text-stroke: 0.5px bisque;
}

#heading h1 {
    font-size: 30px;

}


/* Container */
#container {
    margin: auto;
    width: 75%;
    border: 2px solid #e5d3c2;
    padding: 30px;
    margin-bottom: 70px;
    margin-top: 50px;
}

#container hr {
    border-color: #e5d3c2;
    margin-top: 20px;
    margin-bottom: 20px;
}

h2 {
    padding: 10px;
    font-size: 25px;
}

p {
    font-size: 20px;
    padding: 10px;
}

#container li {
    padding: 5px;
    font-size: 20px;
}

a {
    text-decoration: none;
    color: #eeb076;
}

a:hover {
    color: #ee8f12;
}

#container code {
    font-family: 'Source Code Pro';
    background-color: #ececec;
    padding: 8px;
}

#container mark {
    background-color: #ececec;
    padding: 7px;
}


/* Footer */
footer {
    padding: 15px;
    background-color: bisque;
}

footer .copyright {
    width: 100%;
    text-align: center;
}

footer p {
    font-size: 14px;
    margin: 3px 0 10px 0;
}


/* Responsiveness */
@media (max-width:900px) {

    #header ul#navbar {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        background: #e5d3c2;
        transform: translate(-500px);
        width: 40%;
        height: 1050%;
        box-shadow: 20px 20px 34px rgba(0, 0, 0, 0.3);
        border-right: 1px solid #ee8f12;
        opacity: 0.9;
        padding: 50px;
        transition: transform 0.5s ease-in-out;
    }

    #header ul#navbar.show{
        transform: translate(-20px);
    }

    #header ul#navbar li {
        padding: 5px;
        margin-bottom: 20px;
    }

    #navbar li a.active::after,
    #navbar li a:hover::after {
        content: "";
        width: 30%;
        height: 2px;
        background: #ee8f12;
        position: absolute;
        bottom: -2px;
        left: 5px;
    }

    #model-btn{
        display: none;
    }

    #menu-btn{
        cursor: pointer;
        display: block;
        transition: 0.2s ease;
    }

    #menu-btn:hover{
        color: #ee8f12;
    }

    #header{
        padding: 10px 60px;
    }

    #container p{
        font-size: 18px;
        line-height: 1.5;
    }

    #container h2{
        font-size: 23px;
    }

    #heading{
        background: url('Images/pg-header.jpg') no-repeat -805px 0;
    }

    #heading h1{
        font-size: 25px;
    }

    #heading p{
        font-size: 18px;
        text-align: center;
    }

    #container li{
        font-size: 18px;
        line-height: 1.5;
    }

    #container code{
        font-size: 14px;
    }

    #container mark{
        font-size: 18px;
    }
}

@media (max-width:426px) {

    #header ul#navbar{
        padding: 35px;
        padding-top: 100px;
    }
}
