/*------------Wireframe site palette-----------------
Body background: #e7d6a8
Primary text: #1b251d
Nav bg: #908b44
Nav links: #cad3db
Footer bg: #edeee7
----------------------------------------------------*/

/* Required box-sizing fix */
*, *:before, *:after {
    box-sizing: inherit;
}

/* Global Reset */
html {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Hind Siliguri", sans-serif;
    background-color:#efe2b0;   /* matches your teacher's */
    color: #1b251d;
    font-size: 1.5em;
}

/* Content Wrapper */
.content-wrap {
    max-width: 1000px;
    margin: 0 auto;
    background: #ffffff;
    padding: 2.3em;
}

/* Headings */
h1, h2, h3 {
    font-family: "Playwrite IT Moderna", cursive;
    text-align: center;
    margin-top: 0;
}

/* Header */
header {
    background-image: url("../img/vrnzza.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 350px;
    padding-top: 2em;
}

header h1 {
    color: #edeee7;
    font-size: 3em;
    text-shadow: 1.5px 1.5px 2px #000;
}

/* Navigation */
nav {
    background-color: #908b44;
    text-align: center;
    margin: 0;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

nav ul li a {
    display: block;
    padding: 0.5em;
    text-decoration: none;
    color: #cad3db;
    border-bottom: thin solid #e7d6a8;
}

nav ul li a:hover {
    color: #1b251d;
}

/* Sections */
main section {
    padding: 20px 10px;
    border-bottom: 1px solid #cccccc;
}

main h2 {
    margin-bottom: 10px;
    font-size: 1.4em;
}

main p {
    margin-top: 0;
    line-height: 1.5;
}

/* Footer */
footer {
    margin-top: 30px;
    padding: 15px;
    background-color: #edeee7;
    text-align: center;
}

/* Grid IDs */
#sect-1 { grid-area: sect-1; }
#sect-2 { grid-area: sect-2; }
#sect-3 { grid-area: sect-3; }
#sect-4 { grid-area: sect-4; }

/* Desktop Grid Layout */
@media screen and (min-width: 800px) {
    main {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "sect-1 sect-2"
            "sect-3 sect-4";
        grid-gap: 25px;
        justify-content: space-around;
    }

    nav ul {
        display: flex;
        flex-direction: row;
        justify-content: center;
    }

    nav ul li a {
        border-bottom: none;
    }
}