html{
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    font-style: normal
}

body{
    background-image: url("photos/foliage.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin: 0;
}

nav{
    background-color: #ACC9CA;
    overflow: hidden;
    height: 80px;
    position: sticky;
    top: 0;
    width: 100%;
    border-bottom: 5px solid #154747;
}

#navbar{
    margin: 20px
}

nav a{
    color: #154747;
    font-weight: bold;
    float: left;
    display: block;
    padding: 14px 16px;
    text-decoration: none
}

nav a:hover{
    color: white;
    text-shadow: 2px 2px 4px grey
}

#heading{
    margin: 6%;
    font-size: 60px;
    font-weight: 700;
    font-family: "Playfair Display", serif;
    color: white;
    letter-spacing: 2px;
}

hr{
    border: none;
    height: 2px;
    float: left;
    width: 100%;
    background-color: #4A8787;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4)
}

#text_box{
    display: grid;
    margin: 8%;
    text-align: left;
}

#text_box h2{
    font-size: 30px;
    color: #033333;
    display: inline-block
}

#text_box p{
    font-size: 20px;
    line-height: 1.5
}

#hobby_one{
    display: inline-block;
    background-color: #C7C7C7;
    border-radius: 15px;
    padding: 2%;
    margin-top: 5%;
    margin-bottom: 5%;
    box-shadow: 5px 5px 10px 0 rgba(74, 135, 135);
    border-left: 6px solid #033333;
}

#hobby_two{
    display: inline-block;
    background-color: #C7C7C7;
    border-radius: 15px;
    padding: 2%;
    margin-top: 5%;
    margin-bottom: 5%;
    box-shadow: 5px 5px 10px 0 rgba(74, 135, 135);
    border-left: 6px solid #033333;
}

#hobby_three{
    display: inline-block;
    background-color: #C7C7C7;
    border-radius: 15px;
    padding: 2%;
    margin-top: 5%;
    margin-bottom: 5%;
    box-shadow: 5px 5px 10px 0 rgba(74, 135, 135);
    border-left: 6px solid #033333;
}

#hobby_four{
    display: inline-block;
    background-color: #C7C7C7;
    border-radius: 15px;
    padding: 2%;
    margin-top: 5%;
    margin-bottom: 5%;
    box-shadow: 5px 5px 10px 0 rgba(74, 135, 135);
    border-left: 6px solid #033333;
}

p{
    width: 450px;
}

figure{
    float: right;
    display: inline-block;
    margin-right: 5%;
}

figure img{
    box-shadow: 10px 10px 5px 0 rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    border: 1px solid rgba(3, 51, 51, 0.8);
}

figcaption{
    font-style: italic;
    margin-top: 10px
}

ul{
    list-style-type: none;
    width: 40%;
    background-color: #C7C7C7;
    border-radius: 15px;
    padding: 2%;
    margin: 15px 15px 5% 15px;
    box-shadow: 5px 5px 10px 0 white
}

ul a{
    color: #154747;
    display: block;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 18px
}

 ul a:hover{
     color: white;
     text-shadow: 2px 2px 4px grey
 }

 #external h2{
     color: white;
     margin: 5% 5% 5% 0
 }

footer{
    color: black;
    background-color: #ACC9CA;
    margin: 0;
    width: 100%;
    position: absolute;
    box-shadow: 0 0 5px 5px rgba(255 255 255)
}

footer p{
    float: left;
    margin: 10px
}