body {
	margin: 0;
	padding: 0;
	font-family: 'Roboto', sans-serif;
	overflow: hidden;
	background: url('../img/GANDV_4K_alt.jpg') center/cover no-repeat fixed;
	color: #fff;
	height: 100vh;
}

header {
	text-align: center;
	padding: 20px;
	background-color: rgba(33, 33, 33, 0.9);
	margin-bottom: 20px;
}

h1 {
	margin: 0;
	font-size: 28px;
}

.grabbing {
	cursor: grabbing !important;
}

#desktop {
	position: relative;
	overflow: hidden;
	padding: 10px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	height: calc(100vh - 40px);
	/* Subtract header and taskbar height */
}

#start-menu-icon {
	position: relative;
	/* Adjusted position */
}

#start-menu {
	display: none;
	position: absolute;
	bottom: 100%;
	/* Adjusted position to be above the start menu button */
	left: 0;
	width: 250px;
	background-color: #2c2c2c;
	padding: 10px;
	text-align: left;
	z-index: 1;
	color: #fff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
	border: 1px solid #1c1c1c;
}

#start-menu-icon {
	cursor: pointer;
	font-size: 24px;
	color: #fff;
	padding: 10px;
	display: flex;
	align-items: center;
	/* Center vertically */
}

#start-menu ul {
	list-style-type: none;
	padding: 0;
	margin: 0;
}

#start-menu li {
	padding: 10px;
	border-bottom: 1px solid #1c1c1c;
	transition: background-color 0.2s ease-in-out;
	cursor: pointer;
	display: flex;
	align-items: center;
}

#start-menu li:hover {
	background-color: #1c1c1c;
}

#time {
	font-size: 18px;
	color: #fff;
	font-family: 'Courier New', Courier, monospace;
	letter-spacing: 1px;
	margin-left: auto;
	margin-right: 20px;
	/* Adjusted margin-right for correct positioning */
	display: flex;
	align-items: center;
	height: 100%;
}

.window {
	position: absolute;
	background-color: rgba(255, 255, 255, 0.95);
	color: #333;
	padding: 20px;
	border-radius: 15px;
	display: none;
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
	max-width: 400px;
	z-index: 3;
	cursor: grab;
	user-select: none;
}

.icon {
	display: inline-block;
	margin: 10px;
	cursor: grab;
	font-size: 32px;
	text-align: center;
	color: #4caf50;
	transition: none;
	/* Disabled animation on hover */
	text-decoration: none;
	position: relative;
	user-select: none;
}

.icon-text {
	font-size: 14px;
	color: #fff;
	background-color: #2c2c2c;
	padding: 5px;
	border-radius: 5px;
	position: absolute;
	bottom: 50px;
	left: 50%;
	transform: translateX(-50%);
	opacity: 0;
	transition: opacity 0.3s ease-in-out;
}

.icon:hover .icon-text {
	opacity: 1;
}

/* Taskbar styles */
.taskbar {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background-color: #2c2c2c;
	padding: 10px;
	text-align: center;
	display: flex;
	justify-content: space-between;
	/* Adjusted space between items */
	z-index: 4;
	align-items: center;
	/* Vertically align items in the taskbar */
}

.taskbar-icon {
	margin: 0 10px;
	/* Adjusted spacing */
	cursor: pointer;
	font-size: 24px;
	color: #fff;
	transition: transform 0.2s ease-in-out;
}

.taskbar-icon:hover {
	transform: scale(1.2);
}

#datetime-container {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	margin-right: 15px;
}

#time {
	font-size: 18px;
	font-family: 'Courier New', Courier, monospace;
	letter-spacing: 1px;
}

#date {
	font-size: 14px;
	color: #fff;
}

/* LibreOffice-like Window styles */
.libre-office-window {
	font-family: 'Courier New', Courier, monospace;
	width: 60%;
	/* Adjusted width for better responsiveness */
	max-width: 800px;
	/* Keep a maximum width for larger screens */
	margin: 20px auto;
	background-color: #2c2c2c;
	padding: 0;
	border-radius: 15px;
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
	z-index: 5;
	position: absolute;
	display: none;
	cursor: grab;
	user-select: none;
	overflow: auto;
}

.libre-office-window .title-bar {
	background-color: #1c1c1c;
	padding: 10px;
	border-top-left-radius: 15px;
	border-top-right-radius: 15px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	color: #fff;
	position: relative;
}

.libre-office-window .app-icon {
	width: 24px;
	height: 24px;
	margin-right: 10px;
}

.libre-office-window .menu {
	display: flex;
	background-color: #333;
	padding: 8px;
	border-bottom-left-radius: 15px;
	border-bottom-right-radius: 15px;
}

.libre-office-window .menu-item {
	padding: 10px;
	transition: background-color 0.2s ease-in-out;
	cursor: pointer;
	color: #fff;
}

.libre-office-window .menu-item:hover {
	background-color: #1c1c1c;
}

.libre-office-window .main-body {
	background-color: #fff;
	padding: 20px;
	border-bottom-left-radius: 15px;
	border-bottom-right-radius: 15px;
	max-height: 75vh; /* Example value; adjust based on your design */
	overflow-y: auto; /* Enable vertical scrolling if the content overflows */
}

.libre-office-window .close-button {
	cursor: pointer;
	font-size: 18px;
	color: #fff;
}

.libre-office-window h2 {
	font-size: 28px;
	margin-bottom: 10px;
	color: #333;
}

.libre-office-window p {
	font-size: 16px;
	line-height: 1.5;
	margin-bottom: 20px;
	color: #555;
}

.libre-office-window code {
	display: block;
	white-space: pre-wrap;
	font-family: 'Courier New', Courier, monospace;
	font-size: 16px;
	line-height: 1.5;
	color: #333;
	overflow: auto;
	margin: 0;
	background-color: #f9f9f9;
	padding: 10px;
	border-radius: 5px;
}

/* New styles for the contact form */
.contact-form {
	min-width: 300px;
	min-height: 300px;
	background-color: #2c2c2c;
	color: #fff;
	padding: 20px;
	border-radius: 15px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
	z-index: 999;
	max-width: 500px;
	width: 90%;
	user-select: none;
	cursor: grab;
	display: none;
	/* Initially hide the contact form */
	position: absolute;
	/* Set position to absolute */
}

.close-form {
	position: absolute;
	top: 10px;
	right: 10px;
	cursor: pointer;
	font-size: 18px;
}

.spacer {
    flex: 1;
}

.language-container {
    position: relative;
}

#language-switch {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center; /* Center the content horizontally */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 60px; /* Set a fixed width */
}

#language-icon {
    width: 20px; /* Adjust the icon size */
    height: auto;
    margin-right: 10px;
}

#language-code {
    font-size: 16px; /* Adjust the font size */
}

.language-panel {
    display: none;
    position: absolute;
    bottom: 100%; /* Position the panel above the language switch button */
    right: 0;
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1;
    width: 60px; /* Set a fixed width */
}

.language-panel ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.language-panel li {
    padding: 10px;
    cursor: pointer;
}

.language-panel li:hover {
    background-color: #f0f0f0;
}

@media screen and (max-width: 768px) {
	.libre-office-window {
		width: 90%;
		/* Adjusted width for smaller screens */
		max-width: none;
		/* Remove the maximum width for smaller screens */
	}

	.libre-office-window .main-body {
		max-height: 60vh;
		/* Limit the height of the main body and add scrollbar if necessary */
		overflow-y: auto;
		/* Enable vertical scrollbar if content overflows */
	}
}