* {
    box-sizing: border-box;
}

body {
    background-image: url(../img/ease-gill.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

header {
    display: flex;
}

h2, h3, p {
    font-family: "Roboto", sans-serif;
    color: white;
}

h1 {
    color: white;
    font-family: "Workbench", sans-serif;
    margin: auto;
}

.song {
    margin: 5px;
    background-color: hsla(0, 0%, 0%, 0.85);
    padding: 15px;
}

.center {
    padding-top: 20px;
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: auto;
}

.caption {
    width: 100%;
    max-width: 1200px;
    background-color: hsl(0, 0%, 0%, 0.5);
    padding: 5px;
}


.navbar {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: auto;
    padding-bottom: 15px;
}

.navbar ul {
    list-style-type: none;

}

.navbar a {
    background-color: darkslategray;
    color: white;
    font-family: "Roboto", sans-serif;
    text-decoration: none;
    padding: 15px;
    text-align: center;
    display: block;
}

/* Overrides button formatting when hovered over. */
.navbar a:hover {
    background-color: white;
    color: black;
}

.navbar li {
    float: left;
}

img {
    width: auto;
}



.caving-area {
    margin: auto;
    width: 40%;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

/* Formatting for embedded youtube videos */
iframe {
    border: 0;
    height: 250px;
    width: 444px;
}

.knot {
    width: 33%;
    padding-top: 10px;
}

#knot-content {
    display: flex;
    flex-wrap: wrap;

}

#songs-content {
    display: flex;
    flex-wrap: wrap;
}

/* Adjusts display for smaller screens like phones (If width is smaller than 1350 pixels. */
@media screen and (max-width:1350px) {
    .caving-area {
        width: 100%;
    }

    #knot-content {
        flex-direction: column;
    }

    .knot {
        width: 100%;
    }

    .center {
        width: 80%;
    }
}