/* LOGIN PAGE */

.loginBody {
	position: absolute;
	background-color: #1e1e2e;
	color: #cdd6f4;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	text-align: center;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.loginh1 {
	color: #89b4fa;
	font-size: 3rem;
	margin-top: 0;
}

.container {
	background-color: #313244;
	border-radius: 15px;
	box-shadow: 0 6px 20px rgba(0,0,0,0.3);
	
	padding: 40px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	min-width: 350px;
}

.logInput {
	background-color: #4a4b5e;
	color: #ffffff;
	outline: none;
	border-radius: 40px;

	border: 1px solid transparent;
	
	width: 250px;
	padding: 12px;
	box-sizing: border-box;
	text-align: center;
	margin-bottom: 10px;
}
input:focus {
    border: 1px solid #89b4fa;
}

.loginButton{
	background-color: #89b4fa;
	color: #ffffff;
	border: 1px solid transparent;
	outline: none;
	width: 100px;
	height: 30px;
	cursor: pointer;
	font-weight: bold;
	margin-top: 10px;
	margin-bottom: 10px;
}

.loginButton:hover{
	background-color: #5d9afc;
	border: 1px solid #ffffff;
}

/* LOGIN PAGE */

/* HOME PAGE */

.homeBody {
	background-color: #000000;
        color: #cdd6f4;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        text-align: center;

	display: flex;
	flex-direction: row;
        justify-content: center;
        align-items: center;

	width: 100%;
	height: 100%;

	position: absolute;
	top: 50%;
        transform: translate(0, -50%);

	overflow: hidden;
}

.homeButton {
	background-color: #292929;
	color: #ffffff;
	width: 200px;
	height: 50px;
	margin: 10px;
	cursor: pointer;
	border-radius: 10px;
	border: 2px solid #ffffff;

	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;

	
}

.homeNavImage {
	width: 50%;
	height: 50%;
	object-fit: contain;
	margin: 15px;
}

/* HOME PAGE */

/* GALLERY PAGE */

.galleryBody{
	background-color: black;
}

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 20px;
	padding: 20px;
	align-items: start;
}

.image-card, .upload-card {
	aspect-ratio: 16 / 9;
	width: 100%; 
	border-radius: 10px;
	overflow: hidden;
	background: #292929;
	border: 2px solid #ffffff;
	display: flex;
	justify-content: center;
	align-items: center;
}

.image-card img, .image-card video {
	width: 100%;
	height: 100%;
	object-fit: contain; 
}

.upload-card {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 50px;
	cursor: pointer;
	transition: 0.3s;

	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.upload-card:hover {
	background: #4a4b5e;
}

.modal {
	display: block;
	position: fixed;
	z-index: 1000;
	left: 0; top: 0;
	width: 100%; height: 100%;
	background-color: rgba(0,0,0,0.8);
}

.modal-content {
	background-color: #313244;
	margin: 10% auto;
	padding: 30px;
	border-radius: 15px;
	width: 400px;
	text-align: center;
	color: white;
}

#drop-zone {
	border: 2px dashed #89b4fa;
	padding: 40px;
	margin: 20px 0;
	cursor: pointer;
	border-radius: 10px;
}

#drop-zone.hover {
	background: rgba(137, 180, 250, 0.2);
}

.close {
	float: right;
	cursor: pointer;
	font-size: 28px;
}

.overlay {
	display: none;
	position: fixed;
	z-index: 2000;
	left: 0; top: 0;
	width: 100%; height: 100%;
	background-color: rgba(0,0,0,0.95);
	justify-content: center;
	align-items: center;
}

#overlayContent img, #overlayContent video {
	max-width: 90%;
	max-height: 90%;
	box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.close-overlay {
	position: absolute;
	top: 20px; right: 40px;
	color: white;
	font-size: 50px;
	cursor: pointer;
}

/* GALLERY PAGE */

/* SMART HOME */

.smartBody{
	background-color: #1e1e2e;
	display: grid; 
	grid-template-columns: repeat(2, auto);
        gap: 30px;
	min-height: 100vh;
	margin: 0px;

	justify-content: center;
	align-content: center;   

	justify-items: center; 
	align-items: center;
}

.cpButton {
	aspect-ratio: 25 / 9;
	width: 150px;
	background-color: #000000;
	color: #ffffff;
	border: 2px solid white;
	border-radius: 5px;
	cursor: pointer;
}

.cpButton:hover{
	border: 2px solid gray;
}

/* SMART HOME */
