@font-face {
  font-family: Freebooter;
  src: url("https://blu-voyager.neocities.org/fonts/Freebooter-6yn1.ttf");
}

@font-face {
  font-family: BlackPearl;
  src: url("https://blu-voyager.neocities.org/fonts/Blackpearl-vPxA.ttf");
}

:root {
			--text: white;
			--border: #5a6b78;
			--accent: #65c3be;
			--bg: rgba(0, 24, 60, 0.8);
			--gradientBottom: rgb(5, 19, 59);
			--gradientTop: rgb(47, 56, 79);
		}
		a:link { 
		  color: rgb(0,23,80); 
		  }

html { scrollbar-color: rgb(32, 83, 131) #e0eee0; box-sizing: border-box; }

body {
	padding: 10px;
	font-family: 'Freebooter', sans-serif;
	color: rgb(0,23,80);
	background-image:  url('nautical-bg.jpg');
	background-size: cover;
	background-position: center;
  background-repeat: no-repeat;
	cursor: url('./cursor.png'), pointer;
}

#topBar {
          width: 100%;
          height: 30px;
          margin: 1em;
          padding: 10px;
          font-size: 2em;
          font-weight: normal;
		  color: rgb(0, 0, 0);
        }

.moon{
position: absolute;
width: 450px;
right: 70px;
top:18px;
filter:contrast(130%) grayscale(30%) drop-shadow(10px 5px 10px #ffffff2f) brightness(80%);
z-index: 9;
}

.container {
  color:rgb(0, 15, 53);
	max-width: 55rem;
	margin: 2vw auto 12px auto;
	box-sizing: border-box;
	border: 50px solid transparent;
	border-image: url(map-border.png) 100;
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	background-image: url('map.png');
	background-repeat:no-repeat;
	background-position: center center;
  background-size:cover;
	background-origin: padding-box;
  background-clip: padding-box;
}

/* these control the column widths */
.small { flex: 1 1 9%; }
.large { flex: 1 1 82%; }
.full { flex: 1 1 100%; margin: 2em;}
.half { flex: 1 1 49%; background-repeat: no-repeat;background-size: cover;padding: 5px;transform: translateX(-30px);}


header {
	width: 100%;
	height: 100px; 
	margin: 3em;
	position: relative;
}
header span {
  font-family: 'BlackPearl', sans-serif;
	font-size: 4.5rem;
	position: absolute;
	bottom: 0;
	left: 50px;
	right: 50px;
	text-align: center;
	margin: 10px;
	font-weight: normal;
	text-shadow: 1px 1px white,
		-1px 1px white,
		1px -1px #062d80,
		-1px -1px #2248c4;
	color: rgb(32, 83, 131);
}


nav {
	font-family: 'BlackPearl', sans-serif;
	text-align: center;
	background-image: url(nav.png);
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	height: 430px;
	width: 200px;
	position: relative;
	left: 0;
	transform: translateX(-60%); 
	z-index: 2;
}
nav div {
	text-shadow: 1px 1px rgb(32, 83, 131);
	color: rgb(213, 255, 63);
	text-align: center;
	font-size: 1.25rem;
	margin: 110px 5px 5px 5px;
	padding: 2px 7px;
}
nav a {
  color: rgb(213, 255, 63);
	font-family: 'Freebooter', sans-serif;
	text-shadow: 1px 1px rgb(32, 83, 131);
	font-size: 1.15rem;
	display: block;
	margin: 14px;
	border-radius: 10px;
	padding: 2px 7px;
	text-decoration: none;
	cursor: url('./cursor.png'), auto;
}
nav a:link, nav a:visited { 
	color: rgb(213, 255, 63);
}
nav a:hover, nav a:focus {
	color: rgb(63, 185, 255);
}

a:visited {
	color: #064075;
}

section.half img {
  display: flex;
	width: 100%;
	height:auto;
	object-fit: cover;
}

.gallery {
  background: #EEE;
  width: 50%;
  overflow: hidden;
}

.gallery-cell {
  width: 100%;
  height: 400px;
  margin-right: 10px;
  background: #8C8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: flex;
}

footer {
	text-align: center;
	margin-bottom: 5vw;
	font-size: 0.8rem;
}
footer a { 
	text-decoration: none;
}


h1, h2, h3, h4, h5, h6, p  { 
	margin: 5px;
	line-height: 1.2;
	text-align: center;
}
h1 { 
	font-size: 1.6rem;
	letter-spacing: 2px;
	font-weight: normal;
	text-align: center;
	padding-bottom: 5px;
}
h2, p { 
	font-size: 1.25rem;
	font-weight: normal;
	text-align: center;
}
h3 { 
	font-size: 1.1rem;
}
h4 { 
	font-size: 1rem;
	color: #65c3be;
	padding-left: 12px;
}

/* prevents overflow on smaller screens */
img { max-width: 100%; }
pre { overflow-x: auto; }


a:hover, a:focus {
	font-style: italic;
}
a:visited {
	color: #65c3be;
}

.bottom-overlay img {
  width: 100vw;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 10;
}