/* Copyright 2023 GlobalDomain.net */
/* Last Updated 2.7.2023 */
/* Version 1.0 */
/* Stylesheet */

@charset "UTF-8";

*, *::before, *::after {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

body {
	font-family: "Monda", "Helvetica Neue", Helvetica, Arial, sans-serif;
	color: #333;
}

.container {
	height: 100%;
	width: 100%;
}

h1, h2, h3, h4, h5, h6 {
	color: #00008b;
}

a {
	color: #00008b;
}

a:hover {
	color: #5050ff;
}

/* IE Fix */
article, aside, dialog, figcaption, figure, footer, header, hgroup, main, nav, section, address {
	display: block;
}

time {
	display: inline;
}

/* Header */

#main-header {
	display: block;
	position: absolute;
	height: 350px;
	width: 100%;
	top: 0;
	left: 0;
	right: 0;
	background-image: url("../images/main-image-background.jpg");
	background-repeat: repeat-y;
	background-size: 100%;
	background-position: center;
}

#main-header h1, #main-header h2 {
	text-align: center;
	text-shadow: 0 1px 2px #fff;
}

#main-header h1 {
	margin-bottom: 0;
}

#main-header h2 {
	margin-top: 0;
}

#main-image {
	display: block;
	position: absolute;
	height: 225px;
	width: 146px;
	bottom: 0;
	left: calc(50% - 81px);
}

#main-header a {
	color: #00008b;
	text-decoration: none;
}

#main-header a:hover {
	color: #00008b;
}

/* Main Text */

#main-text h2, #main-text h3 {
	text-align: center;
	margin-top: 1rem;
	margin-bottom: 1rem;
}

#main-text p {
	padding: 0 10%;
	margin-top: 0;
}

#main-text {
	text-align: center;
	margin-bottom: 1rem;
}

.spacer {
	height: 350px;
}

/* Search */

form {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50px;
  margin-top: 20px;
}

input[type="text"] {
  width: 50%;
  height: 100%;
  padding: 0 10px;
  font-size: 16px;
  border-radius: 20px 0 0 20px;
  border: none;
  border-right: 1px solid gray;
  background-color: #e6e6e6;
  color: #000;
}

button[type="submit"] {
  width: 90px;
  height: 100%;
  background-color: #00008b;
  border: none;
  border-radius: 0 20px 20px 0;
  cursor: pointer;
  color: #fff;
  font-size: 1.2em;
}

/* Video */

#video {
	margin-top: 1rem;
}

.embed-container {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	max-width: 100%;
}
.embed-container iframe, .embed-container object, .embed-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 80%;
	height: 80%;
	margin-left: 10%;
	margin-right: 10%;
}

/* Table */

#inventory h3 {
	text-align: center;
	margin-top: 0;
	margin-bottom: 0;
}

#inventory {
	overflow-x: auto;
	width: 80%;
	margin-left: 10%;
	margin-right: 10%;
}

#domains {
  border-collapse: collapse;
  width: 100%;
  margin-top: 0.5rem;
}

#domains td, #domains th {
  border: 1px solid #ddd;
  padding: 8px;
}

#domains tr {background-color: #fff;}

#domains tr:nth-child(even) {background-color: #f2f2f2;}

#domains tr:hover {background-color: #ddd;}

#domains th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: #00008b;
  color: white;
}

/* Button */

.big-button {
	display: block;
	color: #fff;
	background-color: #00008b;
	text-align: center;
	text-decoration: none;
	font-size: 1em;
	line-height: 3em;
	letter-spacing: 1px;
	height: 50px;
	width: 240px;
	border-radius: 14px;
	margin: 1rem auto;
}

.big-button:hover {
	color: #fff;
	background-color: #5050ff;
}

.big-button .font-fix {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* Footer */

footer {
	position: relative;
	width: 100%;
	text-align: center;
	font-size: 0.75em;
	bottom: 0;
	left: 0;
}

footer a {
	text-decoration: none;
}

/* Error Page */

#error-message h3 {
	font-size: 3em;
	text-align: center;
	margin-top: 0;
	margin-bottom: 0;
}

#error-message p {
	font-size: 1.25em;
	padding: 0 10%;
	margin-top: 0;
}

#error-message {
	text-align: center;
	margin-bottom: 12rem;
}

/* Responsive Code */

@media (max-width: 576px) {
	
	#main-text p {
		padding: 0 5%;
	}
	
	#inventory {
		width: 100%;
		margin-left: 0;
		margin-right: 0;
	}
}

@media (max-width: 480px) {
	
	#main-header {
		height: 300px;
		background-size: cover;
	}
	
	.spacer {
		height: 300px;
	}
	
	#main-header h2 {
		font-size: 1.25em;
	}
	
	#main-image {
		height: 180px;
		width: 117px;
		left: calc(50% - 59px);
	}
	
	input[type="text"] {
	  width: 70%;
	  height: 100%;
	}

}

/* End of Stylesheet */