main {
    width: 100%;
}

.grid {
    display: flex;
}

.grid li {
    list-style-type: none;
}

summary {
    cursor: pointer;
    user-select: none;
    width: 100%;
	margin-top: 10px;
	font-size: 1.5rem;
	list-style-type: none;
}

summary:hover {
    background-color: var(--summary-hover-bg);
    color: var(--summary-hover-fg);
}

ul {
    width: 100%;
}

.folder-content {
	text-align: center;
	margin-top: 5px;
}

.img-container {
	text-align: center;
	height: fit-content;
	width: 30%;
    display: inline-block; 
    margin: 5px;
    cursor: pointer;
	position: relative;
}

.img-container a {
	text-decoration: none;
	width: 100%;
	color: var(--gallery-link-fg);
}

.img-container ul {
	background-color: var(--cam-details-bg);
	margin-bottom: 0;
	display: inline-block;
}

.img-container:hover {
    background-color: var(--folder-card-hover-bg);
}

.full-img-button {
	margin: 10px 10px 0 0;
	color: red;
	position: absolute;
	top: 0;
	right: 0;
}

.full-img-button a {
	color: var(--full-img-button-fg);
	background-color: var(--full-img-button-bg);
	padding: 3px;
}

.full-img-button a:hover {
	color: var(--full-img-button-hover-fg) !important;
	background-color: var(--full-img-button-hover-bg) !important;
}

ul {
    padding-left: 0 !important;
}

@media only screen and (max-width: 1100px) {
	.img-container {
		width: 40%;
	}
	.folder-content {
		border-left: none;
		border-right: none;
	}
}

@media only screen and (max-width: 600px) {
	.img-container {
		width: 100%;
	}
}
