/* general-universal design */
* {
    box-sizing: border-box;
}

/* style the header */
header {
    background-image: url(../img/stars.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    /* background-color: aqua; (for testing)*/
    padding: 30px;
    text-align: center;
    font-size: 35px;
    color: azure;
}

/* Create two columns/boxes that float next to each other */
nav {
    float: left;
    width: 30%;
    background-color: #77cbb9;
    padding: 20px;
}

a:link {
    text-decoration: none;
}

a {
    color: white;
    font-size: large;
}

nav ul {
    list-style-type: none;
    padding: 0;
}

nav a:hover {
    background-color: #7692ff;
}

div {
    float: left;
    padding: 5px;
    width: 70%;
    background-color: azure;
}

main::after {
    content: "";
    display: table;
    clear: both;
}

p {
    font-family: Arial, Helvetica, sans-serif;
}


/* footer */
footer {
    background-color: darkblue;
    padding: 10px;
    text-align: center;
    color: white;
}

/* Make 2 equal columns */
.col-container {
    display: flex;
}

.col {
    padding: 16px;
}

/* For responsive website */
@media screen and (max-width: 600px) {
    nav, div,header {
        width: 100%;
        height: auto;
    }

    .col {
        display: block;
        width: 100%;
    }
}