@import url("https://fonts.googleapis.com/css2?family=VT323&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

body {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	background-color: black;
	font-family: "VT323", monospace;
	font-weight: 400;

	width: 100%;
	height: 100vh;
	/* padding: 10px; */

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

	user-select: none;
	/* user-select: text; */
}

.container {
	background-color: #faf2e8;
	/* border-radius: 10px; */
	width: 100%;
	height: 100%;
}

/* BACKGROUND */
.background {
	width: 100%;
	/* height: 100vh; */
	display: flex;
	align-items: center;
	justify-content: center;
}

.background-text {
	font-size: 80px;
	color: #ede4d9;
	-webkit-user-select: none; /* Safari */
	-ms-user-select: none; /* IE 10 and IE 11 */
	user-select: none; /* Standard syntax */

	position: absolute;
	top: 35vh;
	z-index: 0;
}

/* NAV */
button {
	text-decoration: none;
	color: black;
}

.bar {
	width: 100%;
	height: 25px;
	background-color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: space-between;
	/* border-radius: 10px 10px 0 0; */
	border-bottom: 1px solid #ccc;

	position: relative;
	z-index: 100;
}

.bar-btn-cont {
	margin-left: 10px;
	display: flex;
}

.bar-time {
	margin-right: 10px;
}

.bar-btn {
	font-family: "VT323", monospace;
	border: none;
	background-color: #ffffff;
	font-size: 15px;
}

.bar-btn:hover {
	cursor: pointer;
	background-color: #e0e0e0;
}

.time {
	font-family: "VT323", monospace;
	font-size: 15px;
}

/* DROP DOWN MENU */

.dropdown-menu {
	display: none;
	position: absolute;
	z-index: 10;

	background-color: #ffffff;
	border: 1px solid #ccc;
	/* box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); */
	/* padding: 8px 0; */
	min-width: 120px;
}

.dropdown-menu.active {
	display: block;
}

.dropdown-menu button {
	font-family: "VT323", monospace;
	font-size: 15px;
	display: block;
	width: 100%;
	padding: 8px;
	background: none;
	border: none;
	text-align: left;
	cursor: pointer;
}

.dropdown-menu button:hover {
	background: #eee;
	/* background-color: #e0e0e0; */
}

/* ICONS */
.desktop {
	width: 100%;
	height: 96vh;
	position: relative;

	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
	gap: 10px;
	overflow: hidden;
}

/* Individual desktop icon */
.icon {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;

	width: 50px;
	height: 70px;
	/* background: grey; */
	/* border: black 1px solid; */

	border-radius: 10px;
	cursor: grab;
	user-select: none;
	position: absolute;
	z-index: 1;

	user-select: none;
}

.icon-name {
	margin: 0;
	font-size: 14px;
	/* font-weight: bold; */
}

.icon-img {
	font-size: 25px;
}

.note {
	position: absolute;
	top: 50px;
	right: 40px;
	color: red;
	font-size: 20px;
}

/* WINDOWS */
.window {
	position: absolute;
	z-index: 3; /* Default z-index for all windows */
}

/* ABOUT */
.about-window {
	width: 400px;
	height: 300px;
	background: #f9f9f9;
	border: 2px solid #ccc;
	/* box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.2); */
	position: absolute;
	top: 20%;
	left: 20%;
	border-radius: 5px;
	font-family: monospace;
	display: flex;
	flex-direction: column;
	/* z-index: 3; */
	display: none;
}

/* Title bar */
.title-bar {
	/* background: #0078d7; */
	background-color: white;
	color: black;
	padding: 5px 10px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-weight: bold;
	cursor: grab;
	user-select: none;
}

/* Close button */
.close-btn {
	background: white;
	color: black;
	border: none;
	width: 20px;
	height: 20px;
	border-radius: 3px;
	cursor: pointer;
	font-size: 14px;
	display: flex;
	justify-content: center;
	align-items: center;
	font-family: "VT323", monospace;
}

.close-btn:hover {
	background-color: #e0e0e0;
}

/* Text area styling to look like Notepad */
.about-content {
	flex: 1;
	padding: 10px;
	font-size: 14px;
	/* white-space: pre-wrap; */
	overflow: auto;
	background: #f9f9f9;
	border-top: 1px solid #ccc;
	font-family: "VT323", monospace;
	user-select: text;
}

/* FOLDER */
.folder-window {
	width: 300px;
	height: 300px;
	background: #f9f9f9;
	/* background: lightgray; */
	border: 2px solid #ccc;
	/* box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.2); */
	position: absolute;
	top: 40%;
	left: 50%;
	border-radius: 5px;
	font-family: monospace;
	display: flex;
	flex-direction: column;
	/* z-index: 3; */
	display: none;
}

.folder-content {
	/* background-color: grey; */
	padding: 10px;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
}

.folder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.folder-icon {
	font-size: 25px;
}

/* FILE */
.file-window {
	width: 300px;
	height: 300px;
	background: #f9f9f9;
	/* background: lightgray; */
	border: 2px solid #ccc;
	/* box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.2); */
	position: absolute;
	top: 20%;
	left: 60%;
	border-radius: 5px;
	font-family: monospace;
	display: flex;
	flex-direction: column;
	/* z-index: 3; */
	display: none;
}

.file-content {
	/* background-color: grey; */
	/* padding: 10px;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(50px, 1fr)); */
}

#file-text-area {
	resize: none;
	width: 98%;
	height: 265px;
	border: 1px solid #ccc;
	outline: none;
}

#file-text-area:focus {
	border: 1px solid #ccc; /* Prevents border from changing on focus */
	box-shadow: none; /* Removes glow or shadow */
}

/* IMAGE */
.image-window {
	width: 300px;
	height: 300px;
	background: #f9f9f9;
	/* background: lightgray; */
	border: 2px solid #ccc;
	/* box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.2); */
	position: absolute;
	top: 30%;
	left: 30%;
	border-radius: 5px;
	font-family: monospace;
	display: flex;
	flex-direction: column;
	/* z-index: 3; */
	display: none;
}

.image-content {
	display: flex;
	justify-content: center;
	align-items: center;
}

.image-cont {
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	gap: 5px;
	background-color: black;
	padding: 10px;
}

.image-1 {
	max-width: 250px;
	max-height: 250px;
}

.image-2 {
	/* display: none; */
	max-width: 250px;
	max-height: 250px;
}

.image-btns {
	display: flex;
	justify-content: center;
	gap: 10px;
}

.forward-btn,
.back-btn {
	background-color: white;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	font-family: "VT323", monospace;
	font-size: 15px;
	width: 50px;
}
