#hero {
    min-height: calc(100vh - var(--navbar-height));
    padding-inline-start: 5vw;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

#hero .image {
    text-align: center;
}

#hero .image img {
    width: 100%;
    max-height: 80vh;
    object-fit: cover;
}

#hero .text {
    padding: 4rem;
    max-width: 600px;
    text-align: justify;
    font-size: 1.4rem;
}

#about {
    min-height: calc(60vh - var(--navbar-height));
    padding-inline-end: 5vw;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    overflow: hidden;
    color: var(--light-text-color);
    text-shadow: 0 0 3em rgba(0, 0, 0, 0.8);
}

#about::before {
    content: '';
    display: block;
    z-index: -1;
    background-image: url('../images/bg-guitar.png');
    background-size: cover;
    background-position: center;
    position: absolute;
    top: -20px;
    left: -20px;
    width: calc(100% + 40px);
    height: calc(100% + 40px);
    background-attachment: fixed;
}

#about .image {
    min-width: 400px;
    max-width: 40%;
}

#about .image img {
    width: 100%;
    max-height: 80vh;
    object-fit: cover;
    max-width: 500px;
}

#about .text {
    padding: 4rem;
    max-width: 600px;
    text-align: justify;
    font-size: 1.2rem;
}

#selected-compositions,
#selected-performances {
    padding: 2em;
    min-height: 40vh;
    position: relative;
    overflow: hidden;
}

#selected-compositions .heading,
#selected-performances .heading {
    margin-top: 0;
    font-size: 1.4em;
}

.compositions {
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.compositions .item {
    margin: 1em;
    border: 3px solid var(--navbar-color);
    padding: 1em 1em 0.4em 1em;
    min-width: 120px;
    text-align: center;
    max-width: 80%;
}

.compositions .item h4 {
    margin-top: 0;
}

.compositions .links {
    width: 100%;
    height: 40px;
    display: flex;
    flex-wrap: wrap;
    grid-column-gap: 0.4em;
}

.compositions .links>a {
    width: 40px;
    height: 100%;
    display: block;
    background-size: cover;
    background-position: center;
}

.compositions .links a.youtube {
    background-image: url('../images/youtube.png');
}

.compositions .links a.sound-cloud {
    background-image: url('../images/sound-cloud.png');
}

#selected-performances {
    color: var(--light-text-color);
    text-shadow: 0 0 1em rgb(0, 0, 0);
}

#selected-performances::before {
    content: '';
    display: block;
    z-index: -1;
    position: absolute;
    top: -10px;
    left: -10px;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    background-image: url('../images/bg-score.png');
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

.performances {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.performances .item {
    border: 4px solid currentColor;
    margin: 0.3em;
    padding: 0.6em;
    backdrop-filter: blur(20px);
    max-width: 270px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.performances .item h4 {
    margin-top: 0;
    margin-bottom: 0.4em;
    min-height: 45px;
}

.performances .item .location {
    font-size: 0.9em;
}

.performances .item .date {
    text-align: end;
}

#why-bother {
    min-height: 60vh;
    padding: 2em;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

#why-bother h4 {
    font-size: 1.2em;
}

#why-bother > * {
	margin-inline: 6em;
}

#why-bother ul {
	font-weight: bold;
}

@media only screen and (min-width: 1600px) {
    .compositions {
        max-width: 80%;
    }

    .performances .item {
        margin: 2em;
    }
}

@media only screen and (max-width: 1200px) {
    #hero {
        flex-direction: column-reverse;
        padding: 0;
    }

    #hero .image {
        margin-bottom: auto;
    }

    #hero .image img {
        width: 65%;
    }

    #about {
        padding: 0;
        justify-content: center;
    }

    #about .image {
        display: none;
    }
}


@media only screen and (max-width: 800px) {
    #about .text {
        padding: 20px
    }

    #why-bother > * {
        margin-inline: 0;
    }
}