        :root {
            --navbar-bg: rgba(248, 242, 236, 1);
            --navbar-text: black;
            --main-bg: white;
            --photo-bg: #ddd;
            --detailView-bg: white;
            --detailView-text: black;
        }

	@font-face {
            font-family: 'EBGaramond';
            src: url('src/font/EB_Garamond/EBGaramond-VariableFont_wght.ttf') format('truetype');
            font-weight: 100 900;
            font-style: normal;
        }

	@font-face {
            font-family: "EBGaramondItalic";
            src: url('src/font/EB_Garamond/EBGaramond-Italic-VariableFont_wght.ttf') format('truetype');
            font-weight: 100 900;
            font-style: italic;
        }

        /* @media (prefers-color-scheme: dark) {
            :root {
                --navbar-bg: #222;
                --navbar-text: #ddd;
                --filterbar-bg: #333;
                --filterbar-text: #ccc;
                --main-bg: #111;
                --photo-bg: #222;
                --detailView-bg: rgba(0, 0, 0, 0.9);
                --detailView-text: #fff;
            }
        } */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        html, body {
            height: 100%;
            font-family: 'EBGaramond';
		background: var(--main-bg);
        }
        #gallery-container {
            flex: 1;
            padding: 20px var(--page-margin) 20px var(--page-margin);
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            justify-content: flex-start;
            align-content: flex-start;
        }
        .gallery-image-container {
            width: calc(33.333% - 10px);
            background: var(--photo-bg);
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
            overflow: hidden;
            aspect-ratio: 1 / 1;
            cursor: pointer;
        }
        .gallery-image-container img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease-in-out;
        }
        .gallery-image-container:hover img {
            transform: scale(1.05);
        }
        @media (max-width: 1200px) {
            .gallery-image-container {
                width: calc(50% - 10px);
            }
        }
        @media (max-width: 750px) {
            .main-content {
                width: 100%;
                padding: 10px;
            }
            .gallery-image-container {
                width: 100%;
            }
        }
        .detailView {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--detailView-bg);
            color: var(--detailView-text);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 2000;
        }
        .detailView-content {
            display: flex;
            align-items: center;
		justify-content: space-between;
            gap: 20px;
            padding: 20px;
		width: 100%;
        }
        .detailView-content img {
            max-width: calc(100% - 400px);
            height: auto;
            max-height: calc(100vh - 80px);
		margin: auto;
        }
        .detailView-info {
        	width: 350px;
		height: 500px;
    	    padding: 20px;
            flex-shrink: 0;
            font-family: 'EBGaramond';
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		text-align: justify;
        }
        .detailView-info h1 {
		font-family: 'EBGaramond';
            font-size: 24px;
            font-weight: normal;
        }
        .detailView-info h2 {
            font-size: 20px;
            font-weight: normal;
            font-family: 'EBGaramondItalic';
            margin-bottom: 5px;
        }
	#detailViewTextSpacer {
		border-bottom: 1px solid var(--detailView-text);
		width: 100%;
		margin-bottom: 30px;
	}
	.directionControl {
		display: flex;
		justify-content: space-between; 
	}
	.directionControl button {
		border: none;
		background: none;

		font-family: 'EBGaramond';
		font-weight: normal;
		font-size: 16px;
		
		width: 100px;

		padding: 2px;
		margin-left: 20px;
		margin-right: 20px;

	}

	.directionControl button:hover {
		cursor: pointer;

		border-bottom: 1px solid var(--detailView-text);

		padding-bottom: 1px;
	}


	.downloadControl {
		display: flex;
		justify-content: space-between; 
	}
	.downloadControl button {
		border: none;
		background: none;

		font-family: 'EBGaramond';
		font-weight: normal;
		font-size: 16px;
		
		width: 100px;

		padding: 2px;
	}

