:root {
  --bg-color: #11161d;
  --link: #ca511d;
  --light-bg: #2c3642;
  --link-hover: #f26c33;
  --header-color: #ffffff;
  --text-color: #d5efff;

  --btn-border: #2c3744;
  --btn: linear-gradient(45deg, #435060 0%, #5f8289 100%);
  --highlight-btn-border: #6f290a;
  --highlight-btn: linear-gradient(45deg, #9b3c13 0%, #f26c33 100%);
}

* {
	/* outline: 1px dotted red; */
	box-sizing: border-box;
	scroll-behavior: smooth;
	font-family: "Montserrat", sans-serif;	
}

body {
	background-color: var(--bg-color);
	color: var(--text-color);
}

body::before, #loader::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 65vh;
	background: #262e38;
	background: linear-gradient(80deg, #262e3880 0%, #262e3800 100%);
	transform-origin: 0;
	transform: skewY(-12deg);
	z-index: -1;
}

#loader {
	width: 100vw;
	height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
	background: var(--bg-color);
	position: fixed;
	overflow: hidden;
	z-index: 9999;
	animation-name: loader;
	animation-duration: 0.5s;
	animation-timing-function: ease;
	animation-delay: 1.2s;
	animation-fill-mode: forwards;
	visibility: initial;
}

#loader::before {
	z-index: 1;
}

#logo-loader {
	width: 20vw;
	z-index: 2;
	animation-name: loader-logo;
	animation-duration: 1.5s;
	animation-timing-function: linear;
	animation-delay: 0s;
	animation-fill-mode: forwards;
	transform: scale(0);
}

@keyframes loader {
	0% {opacity: 1}
	99% {opacity: 0;}
	100% {visibility: hidden;}
}

@keyframes loader-logo {
	0% {transform: scale(0); opacity: 0;}
	20% {transform: scale(1); opacity: 1;}
	50% {transform: rotate(0deg) scale(1);}
	70% {transform: rotate(180deg) scale(1); opacity: 1;}
	90% {transform: rotate(360deg) scale(0); opacity: 0;}
}

h1, h2, h3, h4, h5, h6 {
	font-weight: 900;
	text-transform: uppercase;
	color: var(--header-color);
}

.content p {
	text-align: justify;
}

p a, ul a {
	color: var(--link);
	font-weight: 600;
}

p a:hover, ul a:hover {
	color: var(--link-hover);
}

.image-gallery {
	width: 100%;
	display: flex;
}

p img {
	border: 5px solid white;
	border-radius: 20px;
	width: 100%;
	max-width: 600px;
	display: inline-block;
	margin: 20px;
}

.header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 90%;
	max-width: 1400px;
	margin: auto;
	min-height: 100vh;
	/* flex-wrap: wrap; */
}

.hero-container {
	width: 100%;
	max-width: 600px;
	padding: 50px;
}

.hero-container h1 {
	font-size: 2em;
	margin: 0;
}

.hero-container h2 {
	font-size: 1.5em;
}

.hero-container p {
	text-align: justify;
}

.hero-container .date{
	white-space: nowrap;
}

.logo-container {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	padding: 50px;
}

#logo {
	width: 100%;
	max-width: 600px;
	min-width: 400px;
}

.hero-cta a, .btn {
	padding: 10px 20px;
	font-weight: 900;
	text-transform: uppercase;
	text-decoration: none;
	border: 2px solid;
	border-radius: 10px;
	color: white;
	margin-right: 1em;
	display: inline-block;
	transition: all 0.3s ease;
}

.hero-cta a:first-of-type, .btn {
	border-color: var(--btn-border);
	background: var(--btn);
}

.hero-cta a:last-of-type, .btn.highlight {
	border-color: var(--highlight-btn-border);
	background: var(--highlight-btn);
}

.hero-cta a:hover, .btn:hover {
	transform: scale(0.95);
}

.hero-cta a:active, .btn:active {
	transform: scale(0.9);
}

.main-container {
	display: flex;
	justify-content: flex-start;
	flex-direction: column;
	min-height: 100vh;
	overflow-x: hidden;
}

.main-content{
	padding: 50px 20px;
	flex-grow: 1;
	position: relative;
}

.main-content:before {
	content: '';
	position: absolute;
	left: 0;
	width: 100%;
	height: 100%;
	background: #2c3642;
	background: linear-gradient(-45deg, #181f27 0%, #2c364200 75%);
	transform-origin: 0;
	z-index: 0;
	top: 0;
}

.content {	
	scroll-margin-top: 100px;
	width: 90%;
	max-width: 1400px;
	margin: auto;
	position: relative;
	z-index: 1;
	padding: 10px 20px;
}

.content:first-of-type, .content.focus, .content.highlight {
	scroll-margin-top: 120px;
}

.content.focus:before {
	content: "";
	position: absolute;
	border: 3px solid;
	border-color: var(--btn-border);
	background: var(--btn);
	height: 100%;
	top: -1rem;
	width: 100vw;
	z-index: -1;
	right: -2em;
	border-top-right-radius: 20px;
	border-bottom-right-radius: 20px;
}

.content.highlight, .content.focus {
	color: var(--header-color);
}

.content.highlight a, .content.focus a {
	color: #5fbef7;
}

.content.highlight a:hover, .content.focus a:hover {
	color: #3e9fd9;
}

.content.highlight:before {
	content: "";
	position: absolute;
	border: 3px solid;
	border-color: var(--highlight-btn-border);
	background: var(--highlight-btn);
	height: 100%;
	top: -1rem;
	width: 100vw;
	z-index: -1;
	left: -2em;
	border-top-left-radius: 20px;
	border-bottom-left-radius: 20px;
}


@media (max-width: 940px) {
	body {
		font-size: 1.6em;
	}

	.header-container {
		display: flex;
		justify-content: center;
		align-items: center;
		min-height: 100vh;
	}

	.header {
		display: block;
		min-height: 0;
		padding: 50px 0;
	}

	.hero-container {
		padding: 20px;
		margin: auto;
		text-align: center;
	}

	.hero-container p {
		text-align: center;
	}

	.logo-container {
		padding: 20px;
	}
	
	#logo {
		margin: auto;
		max-width: 300px;
		min-width: 150px;
	}
}

@media (max-width: 320px) {
	body {
		font-size: 1.4em;
	}
}



nav {
	font-weight: 900;
	text-transform: uppercase;
	width: 90%;
	max-width: 1400px;
	margin: auto;
	position: relative;
}

nav::before{
	content: "";
	position: absolute;
	width: 200vw;
	left: -100vw;
	height: 5px;
	background: white;
	z-index: -1;
	top: 50%;
	transform: translateY(-50%);
}

.navbar.fixed-top {
	position: fixed;
	left: 50%;
	transform: translateX(-50%);
	z-index: 99;
	top: 10px;
}

nav ul {
	position: relative;
	list-style: none;
	display: flex;
	align-items: center;
	background-color: var(--nav-bg);
	background: var(--highlight-btn);
	width: 100%;
	justify-content: space-between;
	padding: 10px 20px;
	margin: 0;
	border: 5px solid white;
	border-radius: 20px;
	overflow: hidden;
}

nav ul li {
	margin: 0;
}

nav ul li a {
	font-weight: 900;
	color: var(--header-color);
	text-decoration: none;
	position: relative;
	height: 20px;
	overflow: hidden;
}

nav ul li a:hover {
	color: var(--header-color);
}

nav ul li a::after {
	content: "";
	width: calc(100% + 10px);
	position: absolute;
	height: 50px;
	background-color: var(--header-color);
	left: -5px;
	top: 50px;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	transition: all 0.3s;
}

nav ul li a:hover::after {
	top: 25px;
}

#to-top {
	width: 2.5em;
	height: 2.5em;
	display: block;
	position: fixed;
	bottom: 2em;
	right: 0;
	background: var(--highlight-btn);
	z-index: 999;
	border: 5px solid white;
	border-right: 0;
	border-top-left-radius: 15px;
	border-bottom-left-radius: 15px;
	display: flex;
	justify-content: center;
	align-items: center;
	transform-origin: 100% 50%;
	transition: all 0.3s ease;
}

#to-top.hidden {
	right: -3em;
}

#to-top .icon {
	color: var(--header-color);
	background: url(img/chevrons-up.svg) no-repeat;
	background-size: 100%;
	width: 2.5em;
	height: 2.5em;
	display: block;
	margin-top: 0.3em;
}

#to-top:hover {
	transform: scale(0.95);
}

#to-top:active {
	transform: scale(0.9);
}

@media (max-width: 715px) {
	.content {
		scroll-margin-top: 0 !important;
	}
	
	nav ul {
		flex-direction: column;
	}

	nav ul li {
		width: 100%;
		text-align: center;
	}

	nav ul li a::after {
		content: none;
	}

	nav ul li a {
		padding: 10px;
		display: block;
		height: auto;
		width: 100%;
	}

	.navbar.fixed-top {
		position: relative;
		left: auto;
		transform: none;
		top: auto;
	}

	.image-gallery {
		flex-wrap: wrap;
	}
}

.footer {
	font-size: 0.8em;
	z-index: 10;
	position: relative;
	display: flex;
	justify-content: space-between;
	align-items: center;
	scroll-margin-top: 100px;
	width: 90%;
	max-width: 1400px;
	margin: auto;
	position: relative;
	z-index: 1;
	padding: 10px 20px;
}

.footer p {
	margin: 0 20px 0 0;
}

.footer div {
	display: flex;
	align-items: center;
}

.footer img {
	width: 60px;
	margin-right: 20px;
}

#noai {
	max-width: 80px;
	display: inline-block;
}

#noai img {
	width: 100%;
	width: 80px;
  	opacity: 0.5;

}
