@font-face {
    font-family: 'PP Neue Montreal';
    src: url('../styles/fonts/PPNeueMontreal-Regular.woff2') format('woff2'),
        url('../styles/fonts/PPNeueMontreal-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PP Neue Montreal';
    src: url('../styles/fonts/PPNeueMontreal-Medium.woff2') format('woff2'),
        url('../styles/fonts/PPNeueMontreal-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: whitesmoke;
    font-family: 'PP Neue Montreal', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.5rem;
    min-height: 100vh;
    padding: 1rem;
}

ul {
    margin-left: 1rem;
    list-style-type: disc;
}

li {
    font-size: 1rem;
    transition: 0.3s;
    line-height: 1.5rem;
    margin-bottom: 0.5rem;
}

li span {
    cursor: pointer;
    display: inline;
    position: relative;
}

span img {
    visibility: hidden;
    position: fixed;
    width: 300px;
    max-width: 100%;
    border: 2px solid black;
    transition: 0.2s;
    z-index: 999;
    top: 50%;
    left: 50%;
    margin-top: -200px;
    margin-left: -150px;
    box-shadow: 0 0 2rem red;
}

span:hover img {
    visibility: visible;
}

li .thumbnail {
    filter: grayscale(1);
    vertical-align: top;
    display: inline-block;
    min-height: 1.25rem;
    max-height: 1.25rem;
    margin-left: 0.25rem;
    border: 1.5px solid black;
    transition: filter 0.3s ease;
}

span:hover+.thumbnail {
    filter: grayscale(0);
}

li a {
    word-break: break-word;
}

.header {
    background-color: black;
    color: white;
    padding: 1rem 1rem 0 1rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border: 2px solid black;
    border-bottom: none;
}

.header h1 {
    font-weight: normal;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.heading::after {
    content: 'now';
}

.heading:hover::after {
    content: 'go back?';
    color: blue;
}

.header a {
    color: white;
    text-decoration: none;
}

.header p {
    color: gray;
}

.now {
    min-height: calc(100vh - 2px - 2rem);
    max-height: calc(100vh - 2px - 2rem);
    margin-bottom: 1rem;
    background-color: whitesmoke;
    display: flex;
    flex-direction: column;
    padding-bottom: 1rem;
    border-bottom: 2px dashed red;
}

.content {
    display: flex;
    flex: 1;
    overflow: hidden;
}

.now-details {
    background: white;
    border: 2px solid black;
    padding: 1rem;
    flex: 3;
    overflow-y: auto;
}

.images {
    background-color: darkolivegreen;
    border: 2px solid black;
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-start;
    overflow-y: auto;
    padding: 1rem;
    border-left: none;
}

.images img {
    width: calc(50% - 0.5rem);
    min-width: 10vw;
    border: 2px solid black;
    display: block;
}

@media (max-width: 1100px) {
    .images img {
        width: 100%;
    }
}

@media (max-width: 800px) {
    .content {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .images img {
        width: calc(50% - 0.5rem);
    }

    .images {
        border-left: 2px solid black;
    }
}

.about {
    background-color: gold;
    color: blue;
    margin-top: 1rem;
    border: 2px dashed blue;
    padding: 1rem;
}

::selection {
    color: blue;
}