/* reset rule to set defaults to zero */
* {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
}

/* body of the page */
body {
    background-color: mediumaquamarine;
    font-family: 'Dosis', sans-serif;
}

/* headline 1 */
h1 {
    font-family: 'Roboto Condensed', sans-serif;
    margin: 15px;
    text-align: center;
}

/* spanning for h1 (not in use but testing to see if it applies anyway) */
h1 span {
    background-color:  rgba(250, 250, 250, 0.7);
}

/* paragraph text */
p {
    margin: 10px 40px; /* horizontal and then vertical */
}

/* headline 2 */
h2 {
    text-align: center;
}

/* spanning for h2 */
h2 span {
    border-bottom: dotted rgba(23, 119, 98, 0.7);
}

/* descendent selector */
ul li {
    margin-left: 100px;
    list-style-type: square;
}

/* adjacent selector */
h1 + p {
    text-align: center;
    color: dimgray;
    margin-top: -13px;
    font-size: 30px;
}

/* type selector */
header {
    background-color: rgba(250, 250, 250, 0.7);
    border-top: 10px solid black;
    border-bottom: 10px solid black;
}

/* control hyperlinks in paragraphs */
p a {
    color: cyan;
}

/* control hyperlinks in navigation */
nav a {
    color: mediumturquoise;
}

/* class selector */
.special-alert {
    background-color: indianred;
    color: white;
    text-align: center;
    font-weight: bold;
    box-shadow: 0px 0px 4px #222;
    margin: 50px;
}

nav {
    margin: 30px 10px 50px 10px; 
}

.button1 {
    display: block; /* make them into block elements */
    background-color:rgba(23, 119, 98, 0.7);
    color: white;
    font-weight: bold;
    text-decoration: none; /* get rid of the underline */
    border-radius: 16px;
    padding: 12px; /* space between text and border */
    width: 180px;
    text-align: center;
    margin: 20px auto; /* center a block element */

/* transition effect for button hover */
transition: all .5s ease-in-out;
}

/* pseudo class */
.button1:hover {
background-color: rgb(146, 117, 165);
color: black;
}