/* Default styles */
body {
	margin: 0;
	padding: 0;
}

.search-bar {
	width: 500px;
	height: 35px;
	font-size: 20px;
}

.input-button {
	height: 40px;
	width: 100px;
	font-size: 20px;
}

.download-button {
	height: 40px;
	width: 360px;
	font-size: 20px;
}

.clink-bar {
	width: 300px;
	height: 35px;
	font-size: 20px;
}

.checkbox {
	height: 35px;
	width: 35px;
	margin-right: 10px;
}

.center {
	display: flex;
	flex-direction: row;
	align-items: center;
}

.footer {
	background-color: #333;
	color: #fff;
	text-align: center;
	position: absolute;
	bottom: 0;
	width: 100%;
}

.footer-file {
	padding-top: 20px;
	padding-bottom: 20px;
	font-size: 18px;
}

.footer-item {
	padding: 10px;
}

a:link {
	text-decoration: none;
	color: inherit;
}

a:visited {
	text-decoration: none;
	color: inherit;
}

/* Modal styles */
.modal {
	display: none;
	position: fixed;
	z-index: 1;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0,0,0,0.4);
}

.modal-content {
	background-color: #fefefe;
	margin: 15% auto;
	padding: 20px;
	border: 3px solid #888;
	width: 80%;
}

.close {
	color: #aaa;
	float: right;
	font-size: 28px;
	font-weight: bold;
}

.close:hover,
.close:focus {
	color: black;
	text-decoration: none;
	cursor: pointer;
}

/* Responsive styles */
@media only screen and (max-width: 768px) {
	/* Adjust the width of the search bar and input button */
	.search-bar {
		width: 80%;
	}
	.input-button {
		width: 40%;
	}
	/* Adjust the width of the download button */
	.download-button {
		width: 80%;
	}
	/* Adjust the width of the custom link checkbox and input */
	.center {
		flex-direction: column;
		align-items: flex-start;
	}
	.clink-bar {
		width: 80%;
		margin-top: 10px;
	}
}

@media only screen and (max-width: 480px) {
	/* Adjust the font size of various elements */
	.search-bar, .input-button, .download-button, .clink-bar {
		font-size: 16px;
	}
	.checkbox {
		height: 25px;
		width: 25px;
		margin-right: 5px;
	}
	.footer-file {
		font-size: 14px;
	}
}

@media only screen and (max-width: 320px) {
	/* Adjust the font size of various elements */
	.search-bar, .input-button, .download-button, .clink-bar {
		font-size: 14px;
	}
	.checkbox {
		height: 20px;
		width: 20px;
		margin-right: 5px;
	}
	.footer-file {
		font-size: 12px;
	}
}
