a:visited {
    
    color: #000000;
}

a:hover {
    color:  #8F3985;
    opacity: .9;
}

#body-style {
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #209CEE;
    font-size: x-large;
    color: #000000;
    
}

.title {
    border-bottom: .75vh solid #8F3985;
    margin: 1%;
    text-align: center;
    padding: 2vh;
    font: 3em;
    width: 80vw;
    margin-top: 0%;
}

#main-style {
    justify-items: center;
    background-color: #209CEE;
    flex-grow: 1;
    justify-content: inter-word;
    margin: 0 auto;
}

.row {
    align-items: center;
    justify-content: center;
    padding: 2vh;
    display: flex;
    flex-direction: row;
    grid-template-columns: 1fr 1fr;
    grid-gap: 1vw;
    width: 80vw;
    max-height: 70vh;
    resize: vertical;
    justify-content: space-between;
    margin: 1%;
    border-bottom: .75vh solid #8F3985;
}

#last-row {
    border-bottom: none;
}

#picture-cycling {
    flex-direction: column;
    margin: 0;
    display: flex;
    max-height: 70vh;
    width: 100%;
    align-items: center;
    justify-content: center;
    resize: vertical;
}

.column {
    justify-content: middle;
    text-align: left;
    padding: 1vh;
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    resize: vertical;
    max-height: auto;
}

#image-container {
    justify-content: center;
    align-self: center;
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
}

.column img {
    max-width: 100%;
    max-height: 70vh;
    flex: 1 1 auto;
    object-fit: contain;
    overflow-y: hidden;
    align-self: center;
}

/*Used to special style the piano that couldn't directly be an image*/
#picture-with-link {
    justify-content: center;
    align-items: center;
    height: auto;
    max-width: 40vw;
    object-fit: contain;
    overflow-y: hidden;
    object-position: center;
}

h2{
    text-align: center;
}

/*Checks the size of viewport to make screen responsive*/
@media screen and (max-width: 650px) {
    .column {
        max-height: fit-content;
        overflow-y: show;
    }
    .row {
        overflow-y: show;
        flex-direction: column;
        width: 80%;
        max-height: fit-content;
        align-items: center;
        justify-content: center;
    }
    .title {
        width: 80%;
    }

}

 