h1 {
    color: white;
    font-weight: 400;
}

header {
    display: flex;
    padding: 0 15px;
    max-width: 800px;
    margin: 0 auto;
    justify-content: space-between;
    align-items: center;
}

header img {
    width: 30px;
}

ul {
    list-style: none;
}

li {
    display: inline;
    /* padding: 6px; */
}

li a {
    text-decoration: none;
    color: black;
}

li a:hover {
    text-decoration: underline;
}

.hero {
    background-image: url("http://richardmiddleton.me/modal-hero.jpg");
    background-size: cover;
    height: 420px;
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-button {
    background-color: #A683E3;
    border-radius: 30px;
    text-decoration: none;
    padding: 10px 28px;
    color: b;
    margin-top: 10px;
    display: inline-block;
}

.-homebutton:hover {
    background-color: white;
}


.bg-modal {
    background-color: rgba(0, 0, 0, 0.8);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    display: none;
    justify-content: center;
    align-items: center;
}

.modal-contents {
    width: 400px;
    background-color: white;
    text-align: center;
    padding: 20px;
    position: relative;
    border-radius: 4px;
}

input {
    margin: 15px auto;
    display: block;
    width: 50%;
    padding: 8px;
    border: 1px solid gray;
}

.close {
    position: absolute;
    top: 0;
    right: 10px;
    font-size: 42px;
    color: #333;
    transform: rotate(45deg);
    cursor: pointer;
}

.close:hover {
    color: #666;
}