body {
    background-color: hsl(200,100%,19%);
}

h1 {
    /* height: 300px; */
    /* line-height: 280; */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: left;
    padding: 90px 8px 150px 8px;  /* better method for multi line text */
    margin: 16px 0px;
    text-indent: 9vw;
    text-shadow: whitesmoke 1px 2px 6px;
    position: relative; /* important for positioning something absolute inside the element */

    /* background image declarations */
    background-image: url(../images/mountains2.jpg);
    background-size: cover;
    background-position: 50% 40%;
}

h1 > span {
    /* background-color: hsla(200,100%,100%,1; */
    display: block; 
}

h1 > a {
    position: absolute;
    border: 2px solid green;
    display: block;
    width: fit-content;
}

h1 > a:nth-of-type(1) {
    border: 0px solid orange;
    bottom: 8px; right: 8px;

}

h1 > a:nth-of-type(2) {
    border: 0px solid purple;
    bottom: 8px; right: 43px;
}

/* first section element within a parent */

section:nth-child(1) {
    border: 4px solid orange;
    margin: 10px;
    min-height: 200px;
}

div.mainlink {
    width: 48px; height: 48px;
    margin: 50px auto;
}

div.mainlink a {
    border: 4px solid salmon;
    background-color: lightgray;
    display: block;
    width: 100%; height: 100%;
    border-radius: 50%;
    transition: all .7s;
}

div.mainlink img {
    display: block;
    width: 80%; height: 80%;
    /* border-radius: 50%; */
    margin: 0px auto;
    padding-top: 6px;
}

div.mainlink a:hover {
    background-color: #FF9;
    border: 4px solid #567;
    outline: 4px solid teal;
}

section:nth-child(2) {
    border: 4px solid skyblue;
    margin: 10px;
    min-height: 700px;
    background-image: url(../images/beachsunset.jpg);
    background-size: 100% 150%;
    background-repeat: no-repeat;
    background-position: center 50%;
}


section:nth-child(3) {
    border: 4px solid yellowgreen;
    margin: 10px;
    min-height: 700px;
    background-image: url(../images/trees-silhouette-white.png), url(../images/pine.jpg);
    background-repeat: no-repeat, no-repeat;
    background-size: 100%, 115%;
    background-attachment: scroll, fixed;
}

section:nth-child(4) {
    border: 4px solid yellow;
    margin: 10px;
    min-height: 500px;
    background-image: url(../images/mountains2.jpg);
    background-repeat: no-repeat, no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

section:nth-child(5) {
    border: 4px solid green;
    margin: 10px;
    min-height: 500px;
    background-image: linear-gradient(to right, hsla(19,100%,55%,.3),white),
                      linear-gradient(to left, hsla(150,100%,45%,.6),pink);
}