* {
    margin: auto;
    box-sizing: border-box;
}

header {
    margin: auto;
    padding: 0;
    color: white;
    background-color: #102c57;
}

header #title {
    margin: 1%;
    color: white;
    text-decoration: none;
    font-size: calc(2px + 6vw);
}

header p {
    font-size: calc(2px + 1.25vw);
    line-height: 1.5;
}

header #intro {
    padding: 17% 0;
    font-family:  'Courier', monospace;
}

nav {
    padding: 0;
    margin: 0;
    background-color: rgba(22, 121, 171, 0.5);
}


nav ul {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    list-style: none;
    padding-left: 0;
    align-items: center;
}

nav a {
    font-size: calc(2px + 1.5vw);

}

nav li {
    padding: 2%;
    /*border: #ffcbcb 3px solid;*/
    margin: 2%;
    width: 80%;
    font-size: calc(2px + 1.5vw)
}

nav img {
    max-width: 70%;
}

#page-wrapper {
    margin: auto;
    text-align: center;
}

main {
    margin: auto;
    padding: 3%;
    background-color: #ffb1b1;
    height: 100%;
    width: 100%;
    font-size: calc(2px + 1.5vw);
}

#container {
    display: flex;
    flex-direction: row;
    width: 100%;
}

h3 {
    padding: 2%;
    font-family:  'Courier', monospace;
    background-color: rgba(89, 197, 247, 0.5);
    text-align: center;
}

/*block1: history*/
/*sally li (jiaxuanl@bu.edu)*/

#block1 {
    margin: 2%;
    text-align: left;
}

#block1 ul {
    list-style: none;
    padding-left: 0;
}

#block1 li {
    margin: 1% 0;
    position: relative;
    line-height: 1.5;
    background-color: rgba(22, 121, 171, 0.5);
    padding: 2%;
    border-radius: 1rem;
    transition: transform 0.3s ease-in-out;
}

#block1 li:hover {
    color: #102c57;
    background-color: #ffcbcb;
    transform: scale(1.1);
}

/*block2: key figures*/
/*Seunghyeok Lim, limsh@bu.edu*/

.text {
    color: white;
    text-align: center;
    margin: 5%;
    padding: 30% 0;
    font-family: 'Courier', monospace;
    background-color: rgba(0, 0, 0, .5);
    transition: opacity 1s linear;
    opacity: 0;
}

.images-key-figures {
    /*margin: 2%;*/
}

.line-break {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 1% auto;
}

.key-one {
    background-image: url(../src/Louis-Armstrong.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    max-width: 30%;
    border-radius: 1rem;
}

.key-two {
    background-image: url(../src/Duke-Alington.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    max-width: 30%;
    border-radius: 1rem;
}

.key-three {
    background-image: url(../src/Charlie-Parker.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    max-width: 35%;
    border-radius: 1rem;
}

.key-four {
    background-image: url(../src/Miles-Davis.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    max-width: 30%;
    border-radius: 1rem;
}

.key-five {
    background-image: url(../src/John-coltrane.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    max-width: 39%;
    border-radius: 1rem;
}

.key-one:hover .text {
    opacity: 1;
}

.key-two:hover .text {
    opacity: 1;
}

.key-three:hover .text {
    opacity: 1;
}

.key-four:hover .text {
    opacity: 1;
}

.key-five:hover .text {
    opacity: 1;
}

/*block3: concerts*/
/*Seunghyeok Lim, limsh@bu.edu*/

#block3 {
    margin: 2%;
    text-align: left;
}

#block3 ul {
    list-style: none;
    padding-left: 0;
}

#block3 li {
    margin: 1% 0;
    position: relative;
    line-height: 1.5;
    background-color: rgba(22, 121, 171, 0.5);
    padding: 2%;
    border-radius: 1rem;
    transition: transform 0.3s ease-in-out;
}

#block3 li:hover {
    color: #102c57;
    background-color: #ffcbcb;
    transform: scale(1.1);
}

#map {
    height: 450px;
    width: 90%;
    margin: 2% auto;
}

/*block4: editors pick*/
/*sally li (jiaxuanl@bu.edu)*/

#block4 {
    margin: 2%;
    text-align: left;
}

#block4 ul {
    list-style: none;
    padding-left: 0;
}

#block4 li {
    margin: 1% 0;
    position: relative;
    line-height: 1.5;
    background-color: rgba(22, 121, 171, 0.5);
    padding: 2%;
    border-radius: 1rem;
    transition: transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#block4 li:hover {
    color: #102c57;
    background-color: #ffcbcb;
    transform: scale(1.1);
}

/*responsive iframe*/

.videos {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
}

.responsive-iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 95%;
    height: 95%;
}

footer {
    background-color: #ffcbcb;
    font-size: calc(2px + 1.5vw);
}

@media screen and (max-width: 750px) {
    #container {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .line-break {
        display: flex;
        flex-direction: column;
    }
}