﻿:root {
    --box-content-color: rgb(58, 66, 79);
    --big-box-content-color: rgb(58, 66, 79);
    --table-color: rgb(68, 80, 91);
    --box-selected: rgb(112, 115, 124);
    --link-color: rgb(183, 204, 245);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: rgb(240, 240, 240);
    text-shadow: -1px -1px 0 rgb(0, 0, 0), 1px -1px 0 rgb(0, 0, 0), -1px 1px 0 rgb(0, 0, 0), 1px 1px 0 rgb(0, 0, 0);
    font-family: Arial, Helvetica, sans-serif;
}

html {
    margin-right: calc(-1 * (100vw - 100%));
}

body {
    font-size: 18px;
    background: rgb(0, 0, 0) url(images/background.jpg);
}

hr {
	color: grey;
}

.content {
    display: flex;
    justify-content: center;
    gap: 50px;
}

.content-box {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	background-color: var(--big-box-content-color);
	padding: 20px;
	border-radius: 15px;
	margin: 10px;
	border: 1px solid black;
	-webkit-box-shadow: 0 5px 7px 6px rgba(42, 42, 42, 0.8);
    box-shadow: 0 5px 7px 6px rgba(42, 42, 42, 0.8);
}

.preview-item {
    width: 100px;
    height: 100px;
    border: 1px black solid;
    border-radius: 10px;
    cursor: pointer;
}

.preview-item img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

#construction {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 10px;
    gap: 10px;
}

#full-image-container {
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
    z-index: 1000;
	overflow: auto;
}

#full-img-cont {
    position: relative;
    width: 100%;
    height: 100%;
}

#full-image {
    position: absolute; /* Absolute positioning to enable scrolling */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1); /* Default scale */
    max-width: 100%; /* Ensure the image does not exceed container width initially */
    max-height: 100%; /* Ensure the image does not exceed container height initially */
    z-index: 1003;
	overflow: auto;
}

#close-button {
    position: fixed;
    top: 15px;
    right: 20px;
    font-size: 30px;
    color: white;
    cursor: pointer;
    z-index: 1004;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 15px;
}

.nav-button {
    position: fixed;
    top: 50%;
    font-size: 30px;
    color: white;
    cursor: pointer;
    z-index: 1004;
    user-select: none;
}

#prev-button {
    left: 15px;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 10px;
}

#next-button {
    right: 15px;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 10px;
}