@import url('https://fonts.googleapis.com/css2?family=Fleur+De+Leah&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    font-size: 62.5%;
}

body {
    background-color: #4D040F;
    color: black;
    font-size: 2rem;
    line-height: 2.6rem;
}

header {
    background-color: #DF7E2D;
    margin: 20px 30px;
    border-radius: 50px;
    overflow: hidden;
}

h1, h2 {
    font-family: "Fleur De Leah", cursive;
    font-size: 5rem;
}


/* Mobile - Up to 700px */

/* Header */
.index header.page {
    margin: 20px auto;
    display: flex;
    flex-flow: row wrap;
    position: relative;
    max-width: 440px;
}
.index header.page figure.half-rest {
    background-image: url(../images/half-rest.png);
    background-size: cover;
    width: 50%; max-width: 220px;
    aspect-ratio: 2/1;
}
.index header.page figure.full-rest {
    background-image: url(../images/full-rest.png);
    background-size: cover;
    width: 50%; max-width: 220px;
    aspect-ratio: 2/1;
}
.index header.page h1 {
    position: absolute;
    bottom: 13px; left: 23%;
    padding: 0;
    text-align: left;
}

/* Navbar */
nav.navbar {
    margin: 10px 30px;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}
nav.navbar a {
    background-color: #2c0309;
    color: #DF7E2D; 
    text-decoration: none;
    padding:3px;
    padding-bottom:5px;
    border-radius: 10px;
    border: 2px solid #9A2007;
    margin-top: 5px;
    width: 30%;
    hyphens: auto;
}
nav.navbar a:hover {
    transition: all 200ms linear;
    color: #C23C17;
    border: 2px solid #DF7E2D;
}

/* Hero Image */
.index section.hero figure {
    background-image: url(../images/violin-paper.jpg);
    background-size: cover;
    height: 200px;
    position: relative;
}
.index section.hero figure h2 {
    background-color: rgba(252, 209, 159, 0.8);
    padding: 25px 10px 20px 10px;
    border-radius: 8px;
    position: absolute;
    left: 30px; top: 115px;
}

/* Main */
main {
    background-color: #9A2007;
    padding: 30px;
}
article {
    border: 2px solid #4D040F;
    background:#DF7E2D; 
    border-radius: 10px;
    box-shadow: 2px 4px 8px;
    overflow: hidden;
    margin-bottom: 20px;
}
article p {
    margin: 10px 20px;
}

/* Intro Article */
.index article.intro figure {
    background-image: url(../images/violin-sheet-music.jpg);
    background-size: cover;
    min-height: 200px;
    position: relative;
}
.index article.intro figure h2 {
    background-color: rgba(252, 209, 159, 0.8);
    padding: 25px 10px 20px 10px;
    border-radius: 8px;
    position: absolute;
    left: 10px; top: 65px;
}

/* Info Article */
.index article.info figure {
    background-image: url(../images/violin-clutter.jpg);
    background-size: cover;
    background-position: right;
    min-height: 200px;
    position: relative;
}
.index article.info figure h2 {
    background-color: rgba(252, 209, 159, 0.8);
    padding: 25px 10px 20px 10px;
    border-radius: 8px;
    position: absolute;
    right: 10px; top: 65px;
}

/* Footer */
footer {
    padding: 10px 30px;
    color: #DBB07B;
}


/* Tablets - 700px and above */

@media screen and (min-width: 700px) {

    /* Navbar */
    nav.navbar {
        justify-content: space-evenly;
    }
    nav.navbar a {
        width: 22%;
        text-align: center;
    }

    /* Main */
    article p {
        margin: 10px 45px;
    }
    .index section figure h2 {
        font-size: 7rem;
        padding: 35px 20px 20px 10px;
    }

    /* Hero Section */
    .index section.hero figure {
        height: 300px;
    }
}

/* Monitors - 1020px and above */

@media screen and (min-width: 1020px) {

    /* Navbar */
    nav.navbar {
        margin: 10px 15%;
    }
    nav.navbar a {
        width: 16%;
    }

    /* Hero Section */
    .index section.hero figure h2 {
        left: 15%;
        padding: 35px 20px 20px 10px;
    }

    /* Main */
    main {
        padding: 30px 15%;
    }
    .index article figure {
        height: 300px;
    }
    article p {
        margin: 10px 70px;
    }

    /* Footer */
    footer {
        padding: 10px 15%;
    }

}





/* Orchestra Songs Page */

/* Header */
header {
    margin: 20px 30px;
}
header h1 {
    padding: 2.5rem;
    text-align: center;
}

/* Main */

/* Song Table */
table {
    width: 100%;
}
.orchestra_table {
    border-collapse: collapse;
}
.orchestra_table caption {
    text-align: left;
    padding: 8px;
}
.orchestra_table thead th {
    border: 2px solid #2c0309;
}
.orchestra_table tbody td:last-child {
    text-align: right;
}
.orchestra_table tbody th, .orchestra_table tbody td {
    border-bottom: 2px solid #C23C17 ;
    padding: 2px 4px;
}
.orchestra_table tbody tr:last-child td, .orchestra_table tbody tr:last-child th {
    border-bottom: 0;
}
.orchestra_table tbody {
    border-left: 2px solid #2c0309;
}
.orchestra_table tbody th {
    background-color: #2c0309;
}
.orchestra_table a {
    text-decoration: none;
    color: #DF7E2D;
}
.orchestra_table a:hover {
    transition: 150ms;
    color: #C23C17;
}


/* Monitors - 1020px and above */

@media screen and (min-width: 1020px) {
    
    header {
        max-width: 70%;
        margin: 20px auto;
    }
}



/* Online Sheet Music Page */

.sheet-music-table {
    border-collapse: collapse;
}
.sheet-music-table caption {
    text-align: left;
    padding: 8px;
}
.sheet-music-table thead th {
    border: 2px solid #2c0309;
}
.sheet-music-table tbody th, .sheet-music-table tbody td {
    border-bottom: 2px solid #C23C17 ;
    padding: 2px 4px;
}
.sheet-music-table tbody tr:last-child td, .sheet-music-table tbody tr:last-child th {
    border-bottom: 0;
}
.sheet-music-table tbody {
    border-left: 2px solid #2c0309;
}
.sheet-music-table tbody th {
    background-color: #2c0309;
}
.sheet-music-table a {
    text-decoration: none;
    color: #DF7E2D;
}
.sheet-music-table a:hover {
    transition: 150ms;
    color: #C23C17;
}