
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}

.paper:hover {
    transform: scale(1.05);
}

body {
    width: 1550px;
    height: 1100px;
    overflow: auto;
    margin: auto;
    text-align: center;
    /*background-image: url(Art/portfolio/port-bg-1.jpg);*/
    background-image: url(Art/portfolio/port-bg-2.jpg);
    /*background-image: url(Art/portfolio/port-bg3.jpg);*/
    background-size: 1535px;
    background-repeat: repeat;
    background-position: fixed;
}

.port-container {
    margin-left: 0;
    width: 1550px;
    height: 1090px;
    display: grid;
    grid-template-columns: 1fr 0.8fr 1fr;
    grid-template-rows: 3.9fr 4fr 1fr;
    grid-template-areas: 
    't t t',
    's m s',
}

.paper {
    position: relative;
    grid-column: 2;
    grid-row: 2;
    top: 50px;
    left: 7px;
}


#overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    display: none;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 2;
    cursor: pointer
}


#text {
    overflow-y: scroll;
    position: absolute;
    width: 80vw;
    height: 95%;
    left: 50%;
    top: 50%;
    background-image: url(Art/paper-background1.jpg);
    background-attachment: local;
    border: 1px black solid;
    text-align: start;
    font-size: medium;
    padding: 2%;
    transform: translate(-50%, -50%);
}


#exit {
    width: 50px;
}


.authors {
    font-style: italic;
}

.fig-cap {
    font-size: x-small;
}
#knoevenagel {
    max-width: 70vw;
}
#fig4 {
    max-width: 70vw;
}
#fig5 {
    max-width: 70vw;
}
#fig6 {
    display: inline;
    max-width: 70vw;
}

#back {
    width: 125px;
}
.crossroads {
    grid-column: 3;
    grid-row: 3;
    position: relative;
    justify-content: flex-end;
    left: 150px
}
.crossroads:hover {
    transform: scale(1.05);
}